body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    margin: 0px;
    background-image: url(bg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-color:  rgb(5 44 21);
    height: 100%;
}

.tint {
    width: 100%;
    position: relative;

}

.tint::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(57, 81, 57, 0.25);
}

.content {
    text-align: center;
    z-index: 10;
}

.top-left {
    position: absolute;
    display: block;
    left: 0px;
    z-index: -2;
}

.top-left.first {
    top: 0px;
    width: 600px;
    left: -80px;
}

.top-left.second {
    top: 490px;
    width: 200px;
    left: 160px;
}

.top-left.third {
    top: 500px;
    width: 450px;
    left: 10px;
}

.top-right {
    position: absolute;
    right: 0px;
    z-index: -2;
}

.top-right.first {
    top: 160px;
    width: 500px;
    right: 0px;
}

.top-right.second {
    top: 530px;
    width: 400px;
    right: 100px;
}

.svg-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

img.title {
    width: 400px;
}

#calendar-section {
    margin-top: 20px;
    margin-bottom: 30px;
    width: 80%;
    display: inline-grid;
    grid-template-rows: 110px 110px 110px 110px 110px;
    grid-template-columns: 110px 110px 110px 110px 110px;
    gap: 0px;
    justify-content: center;
}

.day {
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5em;
    cursor: pointer;
    border-radius: 0px;
    width: 110px;
    height: 110px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-align: center;
    border-color: rgb(36, 36, 36);
    border: 0px;
    border-style: solid;
    font-family: Impact;
    font-weight: 300;
    color: rgb(255, 255, 255);
}

.day:hover::before {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(255, 236, 113, 0.4) 30%, rgba(255, 255, 255, 0) 60%, transparent 100%);
    border-radius: 0%;
}

.day.disabled:hover::before {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 60%, transparent 0%);
    border-radius: 50%;
}

.day.clicked {
    cursor: default;
}

.day.disabled {
    cursor: default;
}

.day.disabled::before {
    cursor: default;
}

.day.clicked {
    cursor: pointer;

}

.day#empty {
    cursor: default;
    background-size: cover;
}

.day#empty:hover::before {
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 60%, transparent 0%);
    border-radius: 50%;
}


.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background-color: #ADA16F;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.8);
    width: 500px;
    max-width: 90%;
}

.close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 30px;
    cursor: pointer;
    color: rgb(157, 38, 20);
}

.popup-content h2 {
    font-size: 1.6em;
    margin-bottom: 15px;
    margin-top: 15px;
}

.popup-content p#popup-date {
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 22px;
    font-family: 'Great Vibes', cursive;
}

.popup-content p {
    margin: 10px 0;
}

a:link {
    color: black;
}
a:visited {
    color: black;
}
a:hover {
    color: #395139
}
a:active {
    color: black;
}

.popup-banner {
    width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 10px;
}

#popup-button {
    display: inline-block;
    background-color: #395139;
    color: white;
    padding: 10px 20px;
    font-size: 1em;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;

}

#popup-button:hover {
    background-color: rgb(5 44 21);
}

h3 {
    text-align: center;
    color: rgb(255, 212, 119);
}

.articles {
    margin-top: 100px;
    max-width: 900px;
    display: block;
    z-index: 1;
}


.articles a:hover {
    color: rgb(255, 212, 119);
}
.articles a:link {
    display: block;
    padding-bottom: 15px;
    text-align: center;
    color: color(srgb 0.6272 0.5753 0.4039);
}
.articles a:hover {
    color: rgb(255, 212, 119);
}
.articles a:visited {
    color: color(srgb 0.6272 0.5753 0.4039);
}
.articles a:visited:hover {
    color: rgb(255, 212, 119);
}



.footer-bottom-inner-wrapper {
    display: block;
    background-color: rgb(21, 74, 0);
    height: 270px;
    width: 90%;
    margin-top: 1000px;
    padding-top: 30px;
    position: absolute;
    max-width: 1080px;
  }
  
  .footer-bottom-links {
    padding: 15px;
    margin-bottom: 0;
    width: 95%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  
  .footer-bottom-links a {
    color: rgba(255,255,255);
    display: block;
    padding-right: 0px;
    font-size: 13px;
    padding-bottom: 5px;
    text-align: center;
  }
  
  .footer-bottom-icons {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 40px;
  }
  
  .footer-bottom-icons p {
    margin: 0;
    color: rgba(255, 255, 255, 1);
  }


@keyframes fall {
    0% {
        opacity: 0;
    }

    75% {
        opacity: 0.5;
    }

    100% {
        top: 100vh;
        opacity: 0.75;
    }
}

@keyframes sway {
    0% {
        margin-left: 0;
    }

    25% {
        margin-left: 50px;
    }

    50% {
        margin-left: -50px;
    }

    75% {
        margin-left: 50px;
    }

    100% {
        margin-left: 0;
    }
}

.snowflakes {
    position: fixed;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: -1;
}

.snowflake {
    position: absolute;
    top: -70px;
    font-size: 16px;
    color: #fff;
    opacity: 0.8;
    animation: fall linear infinite, sway 3s ease-in-out infinite;
}



@media (max-width: 1400px) {
    .top-left.first {
        top: 0px;
        width: 500px;
    }

    .top-left.second {
        top: 490px;
        width: 180px;
        left: 100px;
    }

    .top-left.third {
        top: 530px;
        width: 350px;
        left: 10px;
    }

    .top-right.first {
        top: 220px;
        width: 450px;
    }

    .top-right.second {
        top: 580px;
        width: 300px;
        right: 100px;
    }
}


@media (max-width: 1200px) {
    /* ipad resolution */
    .top-left.first {
        top: -60px;
        width: 350px;
        left: -30px;
    }

    .top-left.second {
        top: 490px;
        width: 180px;
        left: 50px;
    }

    .top-left.third {
        top: 560px;
        width: 250px;
        left: 10px;
    }

    .top-right.first {
        top: 350px;
        width: 300px;
    }

    .top-right.second {
        top: 570px;
        width: 250px;
        right: 80px;
    }
    img.title {
        width: 200px;
    }
}

@media (max-width: 900px) {
    .top-left.first {
        top: 40px;
        width: 170px;
        left: -10px;
    }

    .top-left.second {
        top: 520px;
        width: 150px;
        left: 10px;
    }

    .top-left.third {
        top: 580px;
        width: 200px;
        left: 0px;
    }

    .top-right.first {
        top: 400px;
        width: 250px;
    }

    .top-right.second {
        top: 580px;
        width: 200px;
        right: 70px;
    }

    #calendar-section {
        grid-template-rows: 100px 100px 100px 100px 100px;
        grid-template-columns: 100px 100px 100px 100px 100px;
    }

    .day {
        width: 100px;
        height: 100px;
        font-size: 2.5em;
    }

    .day#yellow24 {
        background-color: #ce0c0c;
        width: 220px;
    }

    #current-date {
        padding: 10px;
    }

    img#banner-img {
        max-width: 90%;
    }
}


@media (max-width: 700px) {
    .top-left.first {
        top: -40px;
        width: 200px;
    }

    .top-left.second {
        top: 560px;
        width: 150px;
        left: 20px;
    }

    .top-left.third {
        top: 620px;
        width: 200px;
        left: 10px;
    }

    .top-right.first {
        top: 450px;
        width: 250px;
    }

    .top-right.second {
        top: 630px;
        width: 200px;
        right: 40px;
    }

    img.title {
        width: 200px;
    }

    #calendar-section {
        grid-template-rows: 100px 100px 100px 100px 100px;
        grid-template-columns: 100px 100px 100px 100px 100px;
        gap: 0px;
    }

    .day {
        width: 100px;
        height: 100px;
        font-size: 2.5em;
    }

    #current-date {
        padding: 10px;
    }

    img#banner-img {
        max-width: 90%;
    }

    .articles {
        margin-top: 150px;
    }

    .footer-bottom-inner-wrapper {
        margin-top: 2100px;
      }
}


@media (max-width: 550px) {
    /* phone resolution */
    .top-left.first {
        top: 0px;
        width: 130px;
    }

    .top-left.second {
        top: 440px;
        width: 150px;
        left: 20px;
    }

    .top-left.third {
        top: 520px;
        width: 150px;
        left: 10px;
    }

    .top-right.first {
        top: 390px;
        width: 200px;
    }

    .top-right.second {
        top: 550px;
        width: 150px;
        right: 20px;
    }

    img.title {
        width: 200px;
    }

    #calendar-section {
        grid-template-rows: 70px 70px 70px 70px 70px;
        grid-template-columns: 70px 70px 70px 70px 70px;
        gap: 0px;
    }

    .day {
        width: 70px;
        height: 70px;
        font-size: 1.5em;
    }

    #current-date {
        padding: 10px;
    }

    img#banner-img {
        max-width: 90%;
    }

    .snowflake {
        font-size: 10px;
        color: #fff;
    }

    .popup-content {
        padding: 10px;
        width: 350px;
    }

    .articles {
        margin-top: 150px;
    }
}