*, html{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #c50000 #fff;
}

::selection {
    background: #c50000;
    color: #fff;
}
::-moz-selection {
    background: #c50000;
    color: #fff;
}
::-webkit-selection{
    background: #c50000;
    color: #fff;
}

body{
    font: normal 1em/150% 'Helvetica', 'Arial', sans-serif;
    color: #fff;
    background: #000;
    overflow-y: hidden;
    overflow-x: scroll;
    display: flex;
    flex-direction: row;
    height: 100vh;
}

#intro{
    min-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10vh;
}

#header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

#icon img{
    height: 150px;
    width: 150px;
    border-radius: 150px;
    box-shadow: 0 0 1px #fff;
}

h1{
    font: normal 1.5em/150% 'Helvetica', 'Arial', sans-serif;
    text-transform: lowercase;
}

p.post-count{
    color: #888;
    padding: 1em 0;
}

#photoCount{
    font-weight: bold;
    color: #fff;
}

p.bio{
    text-transform: lowercase;
    font: normal 1em/150% 'Helvetica', 'Arial', sans-serif;
}

#gallery{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

column{
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

photo{
    display: block;
    height: 50%;
}

photo:nth-child(even){
    width: 50%;
    float:left;
}

photo img{
    max-height: 100%;
}

#footer img:hover, #footer img:focus, #footer img:active{
    background: #fff;
    border-radius: 20px;
}

@media (max-width: 1024px) {
    body {
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: scroll;
        height: auto;
    }
    #intro {
        min-width: 100%;
        gap: 0;
        padding: 2em 1em;
    }
    #gallery {
        flex-direction: column;
        width: 100%;
        height: auto;
    }
    column {
        width: 100%;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
    }
    photo {
        width: 50%;
        height: auto;
        margin: -10px 0 0 0;
    }

    photo img{
        max-width: 100%;
    }

    #footer{
        padding-top: 2em;
    }
}

@media (max-width: 600px) {
    #header {
        flex-direction: column;
        gap: 20px;
    }
    #icon img {
        height: 100px;
        width: 100px;
        border-radius: 100px;
    }
    h1 {
        font-size: 1.2em;
    }
    #intro {
        gap: 2vh;
        padding: 1em 0.5em;
    }
    #gallery {
        flex-direction: column;
    }
    column {
        flex-direction: column;
        width: 100%;
    }
    photo, photo:nth-child(even) {
        width: 100%;
        float: none;
    }
    photo img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}