@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Tilt+Warp&display=swap');

:root {
  --white: #fef5ef;
  --black: #08090a;
  --accent-1: #068D9D;
  --accent-2: #324684;
  --accent-3: #e8b731;
  --accent-3-semi: #e8b731aa;
  --image-display: #08090aaa;
}
a {
    color: var(--accent-2)
}
h1, h2 {
    font-family: "Tilt Warp", sans-serif;
    /* text-transform: uppercase; */
    font-weight: 400;
}
h1:first-child, h2:first-child, h3:first-child {
    margin-top: 0;
}
body {
    font-family: 'Lexend', sans-serif;
    background-image: linear-gradient(to bottom, var(--black), var(--accent-2));
    margin: 0;
    padding: 0;
}
header {
    background-color: var(--accent-1);
    color: white;
    font-weight: bold;
    position: sticky;
    top:0;
    text-align: right;
    width: 100%;
    z-index: 3;
    box-shadow: 0 1em 2em rgba(0, 0, 0, 0.2);
}
header ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
header ul li {
    float: left;
}
.selected {
    background-color: var(--accent-2);
}
header ul li a {
    color: var(--white);
    text-decoration: none;
    display: block;
}
header ul li a:hover {
    background-color: var(--accent-3);
    cursor: pointer;
}
.banner {
    width:100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color:var(--white);
    background-size: cover;
    background-position: center;
    max-height: 60vh;
    aspect-ratio: 2;
    position:relative;
    z-index: 2;
    box-shadow: 0 1em 2em rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}
.banner h1 {
    background-color:var(--accent-3-semi);
    padding:0.1em;
}
#temporary {
    max-height:40em;
    overflow-y:scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;
}
#temporary::-webkit-scrollbar {
    display: none;             /* Chrome, Safari, Opera */
}
.content, .temporary {
    background-color: var(--white);
    color: var(--black);
    margin-bottom: 0.5em;
    overflow: hidden;
}
.highlight {
    margin-bottom: 0;
    background-color: var(--accent-3);
    color: var(--black);
}
.white-highlight {
    background-color:var(--white);
}
.accent-3-highlight {
    background-color:var(--accent-3);
}
.temporary {
    border-radius: 1em;
    box-shadow: 0 1em 2em rgba(0, 0, 0, 0.2);
}
#about_images {
    display:grid;
    grid-template-columns: 25% 25% 25% 25%;
    width:100%;
    overflow:hidden;
}
.flex_display {
    display: flex;
    justify-content: center;
    width:100%;
    gap:1em;
}
.flex_display div {
    flex-grow:1;
}
.gallery {
    display:grid;
    grid-template-columns: auto auto auto auto;
    width:100%;
}
.gallery div {
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 1em 2em rgba(0, 0, 0, 0.2);
    background-position: center;
    background-size: cover;
}
.gallery_divider {
    width:100%;
    text-align: center;
    display:flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
}
.gallery_divider div {
    flex-grow:1;
    background-color: var(--accent-2);
    height:0.5em;
}
.thumbnail {
    overflow: hidden;
    border-radius: 1em;
}
.thumbnail img {
    width:100%;
}
footer {
    background-color: var(--accent-1);
    color: var(--white);
    padding: 1em 2em 1em 2em;
}
footer a {
    color: var(--white);
}
.image_display {
    background-color: var(--image-display);
    color: var(--white);
    position: fixed;
    width:100%;
    height: 100%;
    top: 0;
    text-align: center;
    z-index: 4;
}
.image_display_1 {
    display:flex;
    flex-direction: column;
    position:absolute;
    top:2em;
    bottom: 2em;
    left: 2em;
    right:2em;
    gap:1em;
}
.image_controls {
    cursor:pointer;
    user-select: none;
    font-size:3em;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image_display_gallery {
    margin: auto;
    display: flex;
    width:100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    align-items: stretch;
}
.image_display_gallery_1 {
    flex-grow: 1;
    display:flex;
    flex-direction:column;
    gap:1em;
}
#image_display_img {
    flex-grow: 1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.side_image_container {
    border-radius:2em;
    aspect-ratio: 1;
    overflow: hidden;
    width: 50%;
    max-width: 50vh;
    max-height: 50vh;
    float: right;
    margin: 1em;
}
.side_image_container img {
    object-fit: cover;
    object-position: center;
    width: 100%;
}
button {
    background-color: var(--accent-2);
    color: var(--white);
    padding: 1em;
    border: none;
    border-radius: 25%;
    font-family: "Tilt Warp", sans-serif;
    /* text-transform: uppercase; */
    font-weight: 400;
}
@media (orientation: landscape)  {
    header ul li a {
        padding: 1em 2em 1em 2em;
    }
    .content {
        width: 75%;
        margin-left:auto;
        margin-right:auto;
        padding: 2em 4em 2em 4em;
    }
    .temporary {
        padding: 2em 4em 2em 4em;
        margin-top:1em;
    }
    .flex_display {
        flex-direction: row;
    }
    .thumbnail {
        float:right;
        height: 20em;
        aspect-ratio: 1;
        margin-left: 1em;
    }
    #home_banner {
        align-items: start;
        padding-left:5em;
    }
    .banner h1 {
        font-size:3.5em;
    }
}
@media (orientation: portrait)  {
    header ul li a {
        padding: 0.5em 1em 0.5em 1em;
    }
    .flex_display {
        flex-direction: column;
    }
    .gallery {
        grid-template-columns: auto auto auto;
    }
    .content, .temporary {
        padding: 2em;
    }
    .banner h1 {
        font-size:10vw;
    }
    #about_images {
        display:grid;
        grid-template-columns: 50% 50%;
    }
}