/* --------------------------------------------------------------------- */
/* Variables */
:root { 
    --bckgrnd: rgb(230, 240, 240);

    --viewport-height: 100vh;
    --viewport-width: 100vw;


    --standard-banner-height: 756px;
    --standard-banner-width: 1920px;
    --modified-banner-height: 70vh;
    --modified-banner-width: calc(var(--modified-banner-height) * 1920 / 756);
}

body { 
    background-color: var(--bckgrnd);
    overflow-x: hidden;
    max-width: 100%;
}

/* --------------------------------------------------------------------- */
/* Banner */
@media (max-aspect-ratio: 1920 / 1080) {
    .banner { 
        position: relative;
        height: 70vh;
        width: 100%;
        overflow-x: hidden;
    }

    .banner img {
        height: 70vh;
        width: var(--modified-banner-width);
        position: absolute;
        left: calc(0.5 * (var(--viewport-width) - var(--modified-banner-width))); /* Centres Horizontally */
    }
}

@media (min-aspect-ratio: 1920 / 1080) {
    .banner { 
        position: relative;
        width: 100%;
        height: calc(var(--viewport-width) * 756 / 1920);
    }

    .banner img { 
        width: 100%;
        height: auto;
        position: absolute;
        left: 0;
    }
}

/* Rain for Spring */
.spring-rain {
    position: relative;
    width: 100%;
    height: 55vh;
    top: 5vh;
    overflow: hidden;
}

.rain {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.rain.back-row {
    display: none;
    z-index: 1;
    bottom: 60px;
    opacity: 0.5;
}

.drop {
    position: absolute;
    bottom: 100%;
    width: 30px;
    height: 120px;
    pointer-events: none;
    animation: drop 0.5s linear infinite;
}

@keyframes drop {
    0% {
    transform: translateY(0vh);
    }
    75% {
    transform: translateY(90vh);
    }
    100% {
    transform: translateY(90vh);
    }
}

.stem {
    width: 3px;
    height: 60%;
    margin-left: 7px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.25));
    animation: stem 0.5s linear infinite;
}

@keyframes stem {
    0% {
    opacity: 1;
    }
    65% {
    opacity: 1;
    }
    75% {
    opacity: 0;
    }
    100% {
    opacity: 0;
    }
}

/* Snow for Winter */
/* .winter-snow {
    position: relative;
    width: 100%;
    height: 55vh;
    top: 5vh;
    overflow: hidden;
}

.snow {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 100%;
  }
  
  .window {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(#fff, 1));
  } */



/* --------------------------------------------------------------------- */
/* Sidebar */
.sidebar {
    position: fixed;
    float: left;
    height: 100%;
    width: 15%;
    background-color: var(--bckgrnd);
    z-index: 10;
}

.sidebar li, a { 
    text-decoration: none;
    color: black;
    padding: 5px 0px;
    font-weight: 600;
    text-align: center;
}

.sidebar img { 
    width: 10vw;
    height: auto;
}

.inactive {
    font-size: 0.8em;
    color: #a7cab1;
}

.active {
    font-size: 1.3em;
    color: #88b7b5;
}

.sidebar_filler {
    height: 4vh;
    width: 100%;
}

/* Turn Off Sidebar When Screen Too Small */
@media (max-width: 720px) {
    .sidebar { 
        display: none;
    }
}

