:root {
    --bg-color: #fbfbfb;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: "gill sans", serif; 
    margin: 0px;
    background-color: var(--bg-color);
}

main{
    max-width: 900px;
    margin: 0 auto;     
    padding: 0.5rem 2ch;
    margin-top: 20px;
}

p{
    font: normal 16px "gill sans", serif;
    line-height: 36px;
    margin-top: 0px;
    margin-bottom: 32px;
    flex: 1;
}

/* Header */

#overlay{
    width: 100%; 
    height: 105%; 
    margin-top: -20px;
    position: fixed; 
    z-index: 2; 
    background-color: rgba(0, 0, 0, 60%); 
    display: none;
}

#overlay:hover, .zoomable:hover {
    cursor: pointer;
}

#fade-in{
    width: 100%; 
    height: 105%; 
    margin-top: -20px;
    position: fixed; 
    z-index: 2; 
    background-color: #fbfbfb; 
    transition: .3s;
    pointer-events: none;
}

.zoomable{
    transition: .3s;
}

.zoomable:hover{
    cursor: pointer;
    filter: drop-shadow(4px 4px 16px gray); 
    transform: translateY(-1px);
}

#zoomed-image{
    max-width: 800px; 
    max-height: 80%;
    position: fixed; 
    z-index: 3; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    filter: drop-shadow(0px 0px 120px black);
    display: none;
}

.navbar {
    position: fixed;
}

.navbar, .false-navbar{
    display: flex;
    flex-wrap: wrap;
    margin-top: 0px;
    align-items: baseline;
    list-style-type: none;
    background-color: var(--bg-color);
    width: 100%;
    padding: 30px 0 0 0;
}

.navbar h1, .false-navbar h1, .navbar li, .false-navbar li {
    padding: 0 0 30px 0;
    margin: 0;
    transition: .1s;
    color: black;
    padding-left: 60px;
}

.navbar h1, .false-navbar h1 { 
    font: normal 32px "garamond";
}

.navbar li, .false-navbar li {
    font: normal 18px "gill sans", serif;
}

.navbar a {
    text-decoration: none;
    color: rgb(100, 100, 100);
}

.navbar a:hover {
    color: black;
}

.false-navbar * {
    color: rgba(0, 0, 0, 0) !important;
}

#socials{
    position: fixed;
    z-index: 2;
    right: 50px;
    top: 80px;
    display: flex;
    flex-direction: column;
}

#socials img{
    width: 32px;
    filter: opacity(40%);
    padding-bottom: 14px;
}

.caption{
    width: 100%;
    font: normal 16px "gill sans", serif; 
    text-align: center;
    font-style: italic;
    margin-top: 20px;
    line-height: 20px;
}

.section-line{
    height: 0px;
    margin: 20px 0;
    
    border-bottom: solid 2px rgb(170, 170, 170);
    border-radius: 1px;
}

#software-showcase {
    margin-bottom: 72px;
}

#software-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    row-gap: 20px;
    margin: 0% 20% 0% 20%;
}

#software-list div{
    width: 90px;
    min-width: 90px;
}

.icon-text{
    font: normal 14px "gill sans", serif; 
    text-align: center; 
    margin-top: 8px;
    margin-bottom: 0px;
}

.icon{
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}

/* Content */

h2 {
    font: bold 24px "gill sans", serif; 
}

li {
    font: normal 16px "gill sans", serif;
    line-height: 30px;
    padding-bottom: 20px;
    list-style: none;
}

img {
    font: normal 16px "gill sans", serif; 
    color: white; /* broken image */
}

.sample p {
    margin-bottom: 0px;
}

.titled-block, .content-block{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 48px; 
}

.titled-block {
    margin: 0 0 48px 0;
}

.content-block {
    margin: 32px 0;  
}

.titled-block img, .content-block img, .image-spread img {
    filter: drop-shadow(4px 4px 10px gray);  
    object-fit: contain;
}

.image-spread {
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.image-spread img{
    max-width: 65%; 
    margin: 0 auto; 
}

.image-spread .caption {
    text-align: left;
}

.image-column{
    display: flex; 
    flex-direction: column; 
    align-items: center;
    justify-content: center;
}

.image-row{
    margin: 24px 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

.slide {
    display: none;
    position: block;
    width: 320px;
    height: auto;
    background-color: black;
}

.gallery-arrow {
    height: 25px;  
    margin: 0 20px;
    opacity: 50%;
    transition: .5s;
    filter: none;
}

.gallery-arrow:hover {
    cursor: pointer; 
    opacity: 100%;
}

.vertical-pdf-viewer {
    width: 100%;
    height: 550px;
    filter: drop-shadow(4px 4px 15px gray);
}

#pause-gifs-button{
    margin: 28px 0;
}

.small-itch {
    display: none;
}

@media only screen and (max-width: 1250px){  
    #socials {
        display: none;
    }
}

@media only screen and (max-width: 992px){       
    h2 {
        font: normal 32px "gill sans", serif; 
        line-height: 48px; 
    }

    p {
        font: normal 20px "gill sans", serif; 
        line-height: 32px;
    }

    .image-spread {
        margin-top: 48px;
    }

    .image-spread .caption {
        text-align: center;
    }
    
    .content-block {
        flex-direction: column;
        align-items: center;  
    }
    
    main {
        padding: 0 40px;
    }
}

@media only screen and (max-width: 700px){   
    header {
        display: none;
    }

    iframe {
        margin: 0 auto;
    }

    .titled-block {
        flex-direction: column;
        align-items: center;  
    }
    
    .big-itch {
        display: none;
    }

    .small-itch {
        display: block;
    }

    #software-list{
        margin: 0% 10% 0% 10%;
    }

    #software-list div{
        max-width: 80px;
    }

    .icon-text{
        font: normal 16px "gill sans", serif;
    }
    
    .icon{
        width: 30px;
        border-radius: 5px;
    }  
}
