@font-face {
    font-family: "Eagle Lake";
    src: url("/fonts/EagleLake-Regular.ttf"), format("truetype");
}

@font-face {
    font-family: "Noto Sans";
    src: url("/fonts/NotoSans-Regular.ttf"), format("truetype");
}

html { margin: 0; height: 100%; }

body { 
    margin: 0;
    height: 100%;
    background-image: url("/img/parchment.jpg");
    background-size: cover;
    display: grid;
    grid-template-rows: 2fr 0.2fr 9fr 1.2fr;
    font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
    font-size: 1.3rem;
}

a:link {
    color: rgb(100, 58, 0);
}

a:hover {
    font-weight: bold;
}

a:visited {
    color: rgb(33, 106, 0);
}


#header {
    padding: 50px 10%;
    text-align: center;
    font-family: 'Eagle Lake', Georgia, 'Times New Roman', Times, serif;
    font-size: 2em;
    background-color: #f9cf9499;
    border-image: url("/img/leaf-frame.png");
    border-image-slice: 30%;
    border-image-width: 50px;
    border-image-repeat: repeat;
    margin: 0 20%;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

#header a {
    color: black;
    text-decoration: none;
    font-size: 2rem;
}

#header a:hover {
    font-weight: normal;
}

#navbar {
    font-family: "Eagle Lake", Georgia, 'Times New Roman', Times, serif;
    background-color: #f9cf9499;
    margin: 0 20%;
    border-image: url("/img/leaf-frame.png");
    border-image-slice: 30%;
    border-image-width: 0 50px 50px;
    border-image-repeat: repeat;
    padding: 0px 35px 45px;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;

}

#navbar label {
    display: block;
    text-align: center;
    margin: 0 auto;
    font-size: 1.6em;
}

#navbar label:hover {
    background-color: #e6c293;
}

#navbar label:hover ~ #nav{
    background-color: #facb8e63;
}

#navbar a {
    font-size: 1.5rem;
    font-weight: bold;
}

#nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-height: 0;
    overflow: hidden;
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    /* padding-bottom: 50px; */
}

.nav-item {
    margin: 0.5em 1em;
    font-size: 1.4em;
    text-align: center;
}

input#menu {
    display: none;
}

#navbar input:checked ~ #nav {
    max-height: 100%;
}

#content {
    padding: 2% 10% 10%;
    background-color: #f9cf9499;
    margin: 4% 20% 0;
    /* background: linear-gradient(90deg, rgba(139,95,39,0.9) 0%, rgba(166,137,40,0.9) 15%, rgba(219,179,90,0.6) 51%, rgba(166,137,40,0.9) 80%, rgba(139,95,39,0.9) 100%);  */
    border-image: url("/img/leaf-frame.png");
    border-image-slice: 30%;
    border-image-width: 50px;
    border-image-repeat: repeat;
    border-radius: 50px;
}

#content h1 {
    font-size: 2em;
    font-family: "Eagle Lake", Georgia, 'Times New Roman', Times, serif;
}

#content h2 {
    font-size: 1.4em;
}

#content img {
    max-width: 100%;
    max-height: 70vw;
}

#content .original_artist {
    font-family: "Eagle Lake", Georgia, 'Times New Roman', Times, serif;
}

#content .live_desc {
    font-style: italic;
}

#content hr {
    color:green;
}

#footer {
    text-align: center;
    margin: 2% 20% 0;
    padding: 25px 0;
    background-color:#f9cf9499;
    border-image: url("/img/leaf-frame.png");
    border-image-slice: 30%;
    border-image-width: 40px;
    border-image-repeat: repeat;
    border-radius: 50px;
}

#footer p {
    padding: 5px 20px;
    font-size: 0.7rem;
}

#footer a {
    color:rgb(33, 106, 0);
    font-weight: bold;
    font-size: inherit;
}

/* */
.bio {
  font-weight: normal;
  font-size: 1em;
}

.bio a {
    font-size: 1rem;
}


/* */
#worksgallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}


.workpreview {
  margin: 0.5em;
  margin-bottom: 50px;
  padding: 1em;
  width: 30%;
  text-align: center;
  border: 2px rgba(100, 61, 2, 0.7) solid;
}

.link {
    display: block;
    text-align: center;
}

/* Media queries for mobile */
@media screen and (max-width: 900px) {
    #header {
        margin: 0;
        padding: 50px;
    }

    #navbar {
        margin: 0;
        border-radius: 0;
    }

    #nav {
        flex-direction: column;
        align-items: center;
        margin: 0;
        border-image-width: 0 50px;
        border-radius: 0;
    }

    .nav-item {
        margin-bottom: 45px;
    }

    #content {
        margin: 0;
        border-image-width: 0 50px 0 50px;
        border-radius: 0;
    }

    #footer {
        margin: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .workpreview a {
        font-size: 0.8rem;
    }
}
