::-webkit-scrollbar {
        width: 8px;
        height: 8px;
        }

::-webkit-scrollbar-track {
        background-color: #e4e4e4;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        border: 1px solid #ccc;
        }

::-webkit-scrollbar-thumb {
        -webkit-border-radius: 10px;
        border-radius: 10px;
        background: #e4e4e4;
        border: 1px solid #aaa;
        }

h1, h2, h3, h4, h5, h6 {
    margin: 0.2em;
}

ul {
    padding-inline-start: 1em;
    margin-top: 0.3em;
}

img {
        width: 100%;
}

hr {
    border: 1px solid #d67f6f;
}

a {
    font-size: 1em;
    text-decoration: none;
}

body {
    margin: 2em auto;
    height: fit-content;
    background-image: url("/img/bg.webp");
    background-size: cover;
    background-repeat: no-repeat;
}

main {
    margin: 2em auto;
    display: grid;
    padding: 1em;
    height: auto;
    width: 800px;
    grid:
    [row1-start] "header header" auto [row1-end]
    [row2-start] "nav nav" auto [row2-end]
    [row3-start] "gall info" 300px [row3-end]
    [row4-start] "staff staff" auto [row4-end]
    [row5-start] "footer footer" auto [row5-end]
    / 2fr 1fr; 
    gap: 1em;
}

main > * {
    border: 3px solid #d67f6f;
    color: #a85748;
    background-color: #F6E9D6;
    padding: 0.5em;
    border-radius: 5px;
    corner-shape: scoop;
}

header {
    grid-area: header;
    height: fit-content;
    background: #F6E9D6;
    background: linear-gradient(0deg,#F6E9D6 60%, #ebb0b0 100%);
}

nav {
    grid-area: nav;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    border: none;
    background: none;
}

nav > * {
    border: 3px solid #d67f6f;
    color: #d67f6f;
    background-color: #F6E9D6;
    padding: 1px;
    border-radius: 5px;
    corner-shape: scoop;
    border: 20px solid transparent;
    border-image: url(img/rose.png) 70 round;
    border-image-outset: 5px;
    transition: 1s;
}

nav > *:hover {
    background-color: #ebb0b0;
    font-weight: bold;
    letter-spacing: 3px;
}

.gall {
    padding: 0;
    grid-area: gall;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gall img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info {
    grid-area: info;
    font-size: 1em;
    padding: 0 0.5em;
    background: linear-gradient(0deg,#f7c7c7 0%, #eeddc3 50%);
    overflow-y: auto;
}

.info > p::first-letter {
    font-size: 1.3em;
    font-weight: bold;
    background-color: #d67f6f;
    color: #F6E9D6;
    padding: 2px;
    margin-right: 3px;
}

.staff {
    grid-area: staff;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    border: none;
    background: none;
    padding: 0;
    h5, h6 {
        text-align: center;
    }
    figure {
        border: 3px solid #d67f6f;
        color: #a85748;
        background-color: #ebb0b0;
        background: linear-gradient(0deg,#e68e8e 0%, #f7c7c7 50%);
        background-clip: border-box;
        background-attachment:fixed;
        border-radius: 5px;
        corner-shape: scoop;
        margin: 0;
        padding: 1px;
        width: 150px;
    }
    img {
        width: 150px;
        border-radius: 100px;
        border: 3px solid #d67f6f;
    }
}

footer {
    grid-area: footer;
    text-align: center;
    background: #e68e8e;
}

@media only screen and (max-width: 800px) {
    body {
        margin: 0.5em;
    }

    main {
        width: 90vw;
        display: block;
    }

    main > * {
        margin-top: 1em;
    }

    .staff {
        display: grid;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
        figure {
            justify-self: center;
        }
    }

}