.float {
    clear: both;
}

p {
    line-height: 1.4em;
}

h2 {
    line-height: 1.3em;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    background: linear-gradient(0deg, rgba(175,153,255,1) 0%, rgba(50,13,109,1) 100%);
}

header {
    background: #AF99FF;
    width: 100vw;
    padding: 30px 0px 30px 0px;
    position: fixed;
    top: 0;
    left: 0;
    border-bottom: solid 5px white;
    z-index: 1;
}

header h2 {
    float: left;
    margin-left: 100px;
}

nav {
    float: right;
}

header a {
    margin-right: 100px;
    transition: 0.3s ease;
}

header a:hover {
    color: #FFADC7;
}

footer {
    position: relative;
    bottom: 0;
    padding: 30px 0px 30px 0px;
    background: #320d6d;
    border-top: solid 5px white;
}

footer p {
    margin-left: 100px;
}

#content {
    margin: auto;
    margin-top: 150px;
    margin-bottom: 50px;
    max-width: 75vw;
}

h1 {
    font-size: 3em;
    margin-bottom: 50px;
}

#content h2 {
    margin-bottom: 50px;
    font-size: 1.5em;
}

#content .about {
    margin-bottom: 50px;
}

#content #text {
    max-width: 50vw;
    float: left;
}

#pfp {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 50px;
    float: right;
    border: solid 5px white;
}

#pfp .about {
    margin-top: 0px;
}

#content a {
    display: block;
    margin-bottom: 50px;
}

#project {
    background: rgba(255, 173, 199, 70%);
    padding: 20px;
    margin-bottom: 20px;
    transition: 0.2s;
    border: solid white 5px;
}

#project #text {
    float: left;
    max-width: 40%;
}

#project img {
    float: right;
    max-width: 40%;
}

#project:hover {
    background: #FFADC7;
}

#container {
    position: relative;
    max-width: 30%;
    height: 300px;
    float: left;
    margin-right: 10px;
    margin-bottom: 50px;
}

.image {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
}

#overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.3s ease;
    background: rgba(255, 173, 199, 80%);
    cursor: pointer;
}

#overlay a {
    color: white;
    font-size: 2em;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

#container:hover #overlay {
    opacity: 1;
}

#more {
    transition: 0.3s ease;
}

#more:hover {
    color: #FFADC7;
}

#content p {
    margin-bottom: 10px;
}

.introvert img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    margin-top: 20px;
}

.clevercode img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    margin-top: 20px;
}

.fitgamer img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    margin-top: 20px;
}

.verhalenboot img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    margin-top: 20px;
}

.verhalenboot #centreceramique {
    display: block;
    max-width: 250px;
    margin: 0 auto;
    margin-bottom: 20px;
    margin-top: 20px;
}

#gallery {
    margin-bottom: 20px;
    margin-top: 20px;
    width: 100%;
}

#gallery img {
    width: 24%;
    height: 250px;
    object-fit: cover;
}

#back {
    font-style: italic;
    transition: 0.3s ease;
}

#back:hover {
    color: #FFADC7;
}

#small {
    visibility: hidden;
    position: fixed;
}

#small .smalltext {
    display: block;
    margin: 0 auto;
}

ul {
    list-style-type: circle;
    list-style-position: outside;
}

#funfacts h2 {
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: 700;
}

#funfacts {
    max-width: 75vw;
    float: none;
}

li {
    border-top: solid 2px #FFFFFF;
    margin-top: 15px;
    margin-bottom: 15px;
}

li h2 {
    margin-top: 10px;
}

#content #text ul {
    width: 75vw;
    float: left;
}

::selection {
    color: white;
    background: rgba(255, 173, 199, 80%);
  }

/* responsive */

@media all and (max-width: 1024px){
    #pfp {
        width: 150px;
        height: 150px;
    }
}

@media all and (max-width: 820px){
    header a {
        margin-right: 50px;
    }

    #container {
        max-width: 30%;
        height: 150px;
    }

    #overlay a {
        color: white;
        font-size: 1em;
    }
}

@media all and (max-width: 680px){
    #small {
        position: fixed;
        visibility: visible;
        width: 100vw;
        display: block;
        margin: 0 auto;
    }

    #small h1 {
        font-size: 1.5em;
        width: 70vw;
        margin: 0 auto;
    }

    #page {
        visibility: hidden;
    }

    body {
        overflow: hidden;
    }
}