@font-face {
    font-family: "Tangerine";
    src: url("/static/font/Tangerine-Bold.ttf")
}

.header {
    background-color: rgb(44, 4, 11);
    border-bottom: 1px solid rgb(117, 0, 10);
    width: 100%;
    font-family: monospace;
    color:rgb(238, 222, 210);
    padding-top: 1em;
}

body {
    padding: 0px;
    margin: 0px;
    background-image: url("/static/img/floral_pattern.jpg");
    background-size: 15vw;
    background-color: rgb(12, 12, 12);
    min-height: 100vh;
    background-blend-mode: multiply;
}

h2{
    font-family: serif;
    font-size: 2em;
    margin-bottom: 1.25em;
    color:rgb(255, 189, 151);
}

html{
    padding: 0px;
    margin: 0px;
    min-height: 100%;
}

.navbar {
    display: flex;
    margin: auto;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(117, 0, 10, 0.5);
}

.navbutton {
    width: fit-content;
    margin: 0px 1px 0px 1px;
    padding: 0.5em 1em 0.5em 1em;
    text-decoration: none;
    color:rgb(238, 222, 210);
    font-weight: bold;
    font-size: 1.5em;
    transition-duration: 0.4s;
}

.navbutton:hover{
    transition-duration: 0.2s;
    background-color: rgba(255, 71, 71, 0.3);
    color: rgb(255, 255, 255);
}

.logo{
    font-family: 'Tangerine', 'Courier New', Courier, monospace;
    font-weight: bold;
    width: fit-content;
    margin: auto;
    font-size: 5.5em;
    margin-bottom: 0.2em;
    margin-top: 0.2em;
    user-select: none;
    color:rgb(255, 128, 34);
}

.content{
    color:rgb(238, 222, 210);
    margin: 2em 10vw 2em 10vw;
    font-family: sans-serif;
    font-size: 1.1em;
}

.content_block{
    background-color: rgba(41, 25, 15, 0.6);
    border-radius: 0.5em;
    border: 1px solid rgba(255, 123, 0, 0.1);
    padding: 1.5em 3em 3em 3em;
    margin: 1em 1em 1em 1em;
    width: 50%;
    box-sizing: border-box;
}

.content_arranger {
    display: flex;
}

.profile_picture{
    width: 13vw;
    float: left;
    margin-right: 2em;
    margin-bottom: 1em;
    object-fit: contain;
}

.content_picture {
    width: 15vw;
    float: right;
    margin-right: 2em;
    margin-bottom: 1em;
    object-fit: contain;
}

p, li{
    color:rgb(231, 209, 190);
}

.gallery_grid{
    display: grid;
    grid-template-columns: auto auto auto;
}

.gallery_element {
    box-sizing: border-box;
    width: 20vw;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 0.5em;
    background-color: rgba(41, 25, 15, 0.6);
    border: 1px solid rgba(255, 123, 0, 0.1);
    border-radius: 0.5em;
    margin: 0.5em;
}

.on_sale_flag{
    background-color: rgb(184, 103, 11);
    color: white;
    font-size: 1.2em;
    position: relative;
    bottom: 2em;
    left: 1em;
    text-align: center;
    padding: 1em;
    border-radius: 0.5em;
    font-weight: bold;
    height: 2.3em;
    filter: drop-shadow(-0.1em -0.1em 0.1em rgba(0, 0, 0, 0.5));
}

.gallery_window{
    position: fixed;
    top: 15vh;
    bottom: 10vh;
    left: 15vw;
    right: 15vw;
    border-radius: 0.5em;
    padding: 1em;
    border: solid 1px white;
    background-color: rgba(0, 0, 0, 0.85);
    overflow: auto;
    display: none;
}

.gallery_window_image{
    max-width: 75%;
    height: 100%;
    object-fit: contain;
}

.gallery_window_content{
    display: flex;
    height: 100%;
    justify-content: right;
}

.gallery_window_text{
    width: 50%;
    margin-left: 1em;
}

.gallery_window_sale{
    background-color: rgba(184, 103, 11, 0.6);
    border-radius: 0.5em;
    padding: 1em;
}

.gallery_window_close {
    display: none;
}

.content_divider {
    display: flex;
    justify-content: space-between;
}

@media (max-aspect-ratio: 1/1) {
    .content_arranger {
        display: block;
    }
    .content_divider {
        display: block;
    }
    .content_block {
        margin: auto;
        width: 100%;
        padding: 1em;
        margin-bottom: 1em;
    }
    .content{
        margin: 2em 1vw 2em 1vw;
    }
    .profile_picture {
        width: 50%;
        margin-bottom: 2em;
        float: none;
    }
    .content_picture {
        display: none;
    }
    .gallery_window_image {
        width: 100%;
        object-fit: contain;
    }
    .gallery_window {
        top: 10vh;
        bottom: 10vh;
        left: 10vw;
        right: 10vw;
    }
    .gallery_window_content {
        display: block;
        height: 90%;
    }
    .gallery_window_text {
        width: 100%;
        margin: 0;
    }
    .gallery_window_image {
        width: 100%;
        object-fit: contain;
    }
    .gallery_grid {
        display: block;
    }
    .gallery_element {
        width: 100vw;
        margin: 0em;
        margin-bottom: 1em;
        cursor: pointer;
    }
    .on_sale_flag {
        left: 0em;
    }
    .navbar {
        display: block;
    }
    .navbutton {
        display: block;
    }
    .gallery_window {
        top: 10vh;
        bottom: 10vh;
        left: 1vw;
        right: 1vw;
    }
    .gallery_window_close {
        display: block;
        cursor: pointer;
        text-align: center;
        padding: 1em;
        border-radius: 0.5em;
        border: solid 1px white;
        background-color: rgba(255, 255, 255, 0.25);
    }
}