@font-face {
    font-family: 'Blonkra';
    src: url('/fonts/Blonkra.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Stack Sans Headline';
    src: url('/fonts/StackSansHeadline.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Monilora';
    src: url('/fonts/Monilora.ttf') format('truetype');
    font-display: swap;
}

body { 
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    min-height: 100dvh;
    position: relative;
    }

body::before {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;

    background-image: url("/assets/wood-background.jpg");
    background-size: cover;
    background-repeat: contain;
    opacity: 0.7;
}

.navbar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 15%;

}

.navbar-logo {
    width: 6em;
    margin: 0;
    padding-top: 3dvh;
    padding-left: 6dvh;
    padding-bottom:8dvh;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding-left: 3dvh;
    padding-bottom: 5em;
    max-width: 15vh;
}

.navbar a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 1em;
    color: royalblue;
    padding: 1rem 2rem;
    text-decoration: none;
    font-family: 'Monilora', sans-serif;
    font-weight: 200;
    text-shadow: 0.05rem 0.05rem 0.1rem #7d96bf;
}

.navbar a:hover {
    color: midnightblue;
    font-size: 1.3em;
    transition: color 0.2s, font-size 0.5s;
}

.grid-img {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 70%;
    flex: 1 0 30%;
    padding: 2em 0em 0em 0em;
}

.grid-img img {
    width: 100%;
    height: auto;
    display: block;
}

.grid-img img:hover {
    filter: drop-shadow(0.05rem 0.05rem 0.3rem #10104a);
    transition: filter 0.25s ease-in;
}

.photo-container {
    width: 30%;
    padding: 0.9em;
    box-sizing: border-box;
}

.photo-container img {
    border-width: 0.5em;
    border-style: solid;
    color: white;
    box-sizing: border-box;
}

.photo-container h2 {
    font-family: 'Monilora', serif;
    transform: skewX(-15deg);
    font-weight: 200;
    font-size: 1.55em;
    letter-spacing: -0.025rem;
    color: #10104a;
    text-align: center;
    margin: 0.7em 0.2em 0.3em 0.2em;
}

.photo-container p {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: 0.8em;
    font-weight: 200;
    color: #485D81;
    text-align: center;
}

.photo-container h3 {
    font-family: 'Stack Sans Headline', sans-serif;
    font-size: 0.9em;
    margin: 0;
    font-weight: 400;
    color: #2a2a75;
    text-align: center;
}

footer {
    display: flex;
    width: 100%;
    flex-direction: column;
    text-align: center;
    font-family: 'Stack Sans Headline', sans-serif;
    font-weight: 200;
    font-size: small;
    color: midnightblue;
}

.content h2 {
    font-family: 'Monilora', serif;
    text-shadow: 0.05rem 0.05rem 0.3rem #232e41;
    color: white;
    font-size: 2em;
}

.content p {
    font-family: 'Stack Sans Headline', serif;
    color: #232e41;
    font-weight: 200;
    font-size:1rem;
}

.break {
    flex-basis: 100%;
    height: 0;
}

@media screen and (max-width: 768px) {

    body { 
        flex-direction: column;
        margin: 0; 
        position: relative;
        -webkit-text-size-adjust: none;
        text-size-adjust: none;
    } 

    .navbar {
    width: 100%;    
    max-width: 100%; 
    min-height: auto;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    padding: 1rem 0;
    box-sizing: border-box;
    }

    .navbar-logo {
    width: 6em;
    margin: 0 0 1rem 0;
    padding: 0;
    }

    .navbar ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
    }

    .navbar a {
    padding: 0.5rem 1rem;
    }

    .break {
        flex-basis: 100%;
        height: 0;
    }

    .mobile-break {
        flex-basis: 100%;
        height: 0;
    }
    
    .grid-img {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        flex-shrink: 0;
        flex-wrap: wrap;
        flex-basis: 100%;
        min-height: auto;
        flex-direction: row;
        padding: 3rem 2rem;
        min-width: 0;
        box-sizing: border-box;
    }

    .photo-container {
        width: 100%;
        padding: 0.5em 0.5em 2.5em 0.5em;
        box-sizing: border-box;
    }

    .content h2 {
        font-size: 5dvw;
        margin: 0;
        padding-top: 2em;
    }

    footer {
        font-size: x-small;
    }

}

@media screen and (max-width: 1000px) {
    .grid-img {
        padding-left: 2.5em;
    }
}