:root {
    --primary-color: #E6FFE7;
    --secondary-color: #9AEB8E;
    --background-primary-color: #223625;
    --background-primary-highlighted-color: #28402C;
    --background-secondary-color: #3E6144;
}

body, html {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-primary-color);
    font-family: Ubuntu, sans-serif;
}

.code-block {
    font-family: monospace;
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.line-spacing {
    line-height: 150%;
}

.inline-icon {
    height: 0.8em;
    display: run-in;
}

.float-right {
    float: right;
}

a, a:link, a:visited{
    text-decoration: none;
    color: var(--secondary-color);
}

a:hover {
    box-shadow: inset 0 -2px 0 0 var(--secondary-color);
    cursor: pointer;
}

/* Popups */

#popup-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background-color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
    color: var(--primary-color);
}

.popup-default-wrapper {
    height: 100vh;
    width: 100vw;
    max-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.popup-default {
    color: var(--primary-color);
    background-color: var(--background-primary-highlighted-color);
    padding: 50px;
    border-radius: 25px;
    max-width: 1000px;
    max-height: 100vh;
    cursor: default;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.popup-default::-webkit-scrollbar {
    width: 1px;
}

.popup-default h1 {
    margin: 0;
}

.popup-default-close {
    cursor: pointer;
    float: right;
    margin-bottom: 15px;
}

/* Toggles, buttons, etc. */

.button-default {
    background-color: var(--background-secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: 200ms ease all;
    border: var(--primary-color) solid 2px;
    font-size: larger;
}

.button-default:hover {
    background-color: var(--primary-color);
    color: var(--background-secondary-color);
}

/* Menu */

.menu-icon {
    height: 50px;
    width: 40px;
    transform: translateY(-70%);
    cursor: pointer;
}

.menu-icon > div {
    background-color: var(--primary-color);
    height: 5px;
    right: 0;
    margin-bottom: 10px;
    float: right;
    transition: 100ms all;
}

.menu-icon > div:nth-of-type(1) {
    width: 40px;
}

.menu-icon > div:nth-of-type(2) {
    width: 30px;
}

.menu-icon > div:nth-of-type(3) {
    width: 20px;
    margin: 0 !important;
}

#menu {
    background-color: var(--background-secondary-color);
    position: sticky;
    top: 70px;
    left: 0;
    z-index: 9999;
    padding: 25px 25px 0 25px;
    color: var(--primary-color);
    font-size: 20px;
    display: none;
    height: calc(100% - 24px);
}

.menu-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    transform: translateY(-36px);
    height: 100%;
    width: 100%;
}

/* Header */

header {
    height: 70px;
    width: 100%;
    background-color: var(--background-secondary-color);
    color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 999;
}

header .header-left {
    padding-left: 25px;
}
header .header-left > div {
    display: inline;
}

header .header-left h1 {
    position: absolute;
    font-weight: normal;
    font-size: 40px;
    display: inline;
    margin: 0;
    padding: 0 0 0 25px;
    transform: translateY(25%);
}

@media (max-width: 830px) {
    header .header-left h1 {
        display: none !important;
    }
}

header .header-left img {
    transform: translateY(20%);
    height: 50px;
    display: inline;
}

header .header-right {
    float: right;
    padding-right: 25px;
}

header .header-right h1 {
    display: inline-block;
}

.header-countdown {
    float: right;
    transform: translateY(-155%);
    padding-right: 25px;
}

@media (max-width: 420px) {
    .header-countdown-clutter {
        display: none !important;
    }
    .header-countdown-icon {
        display: inline !important;
    }
}

.header-countdown-icon {
    float: right;
    height: 25px;
    color: var(--primary-color);
    transform: translateY(-120%);
    margin-right: 10px;
    display: none;
}

/* Content */

.content {
    min-height: calc(100vh - 70px);
}

/* Content - Calendar */

.content .calendar-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0;
}

.content .calendar-wrapper .calendar-flex {
    display: flex;
    max-width: 1000px;
    width: 100%;
    padding: 15px;
    flex-flow: column wrap;
    height: 2490px;
}

.content .calendar-wrapper .calendar-item {
    height: 250px;
    margin: 15px;
    padding: 15px;
    text-align: center;
    width: calc(100% / 3 - 4 * 15px);
    border-radius: 15px;
    font-size: xxx-large;
    cursor: pointer;
    clip-path: border-box;
    background-color: var(--background-primary-highlighted-color);
    box-shadow: inset 0 0 0 2px var(--primary-color);
    transition: 200ms ease all;
}

.content .calendar-wrapper .calendar-item:hover {
    background-color: var(--primary-color);
}

.content .calendar-wrapper .calendar-item > div {
    width: 100%;
    height: 100%;
    position: relative;
}

.content .calendar-wrapper .calendar-item > div > div {
    -webkit-text-stroke: 2px var(--primary-color);
    color: rgba(255, 255, 255, 0);
    font-size: 200px;
    bottom: 0;
    right: 0;
    width: min-content;
    height: min-content;
    position: absolute;
    transform: translateY(45px) translateX(-5px);
    letter-spacing: -20px;
    z-index: 110;
}

.content .calendar-wrapper .calendar-item:hover > div > div {
    -webkit-text-stroke: 2px var(--background-primary-color);
}

@media (max-width: 720px) {
    .content .calendar-wrapper .calendar-item > div > div {
        font-size: 125px !important;
        transform: translateY(30px) translateX(0px) !important;
        letter-spacing: -10px !important;
    }
}

@media (max-width: 650px) {
    .content .calendar-wrapper .calendar-item {
        width: calc(100% / 2 - 4 * 15px) !important;
    }
    .content .calendar-wrapper .calendar-flex {
        height: 3735px !important;
    }
    #calendar-15 {
        height: 250px !important;
    }
    #calendar-16 {
        height: 230px !important;
    }
    #calendar-17 {
        height: 190px !important;
    }
    #calendar-24 {
        height: 330px !important;
    }
}

@media (max-width: 375px) {
    .content .calendar-wrapper .calendar-item {
        width: calc(100% - 4 * 15px) !important;
    }
    .content .calendar-wrapper .calendar-flex {
        height: unset !important;
    }
}

/* Items */

#calendar-01 {
    height: 270px;
}
#calendar-02 {
    height: 230px;
}
#calendar-03 {
    height: 280px;
}
#calendar-04 {
    height: 250px;
}
#calendar-05 {
    height: 220px;
}
#calendar-06 {
    height: 220px;
}
#calendar-07 {
    height: 290px;
}
#calendar-08 {
    height: 240px;
}

#calendar-09 {
    height: 200px;
}
#calendar-10 {
    height: 230px;
}
#calendar-11 {
    height: 300px;
}
#calendar-12 {
    height: 200px;
}
#calendar-13 {
    height: 200px;
}
#calendar-14 {
    height: 250px;
}
#calendar-15 {
    height: 290px;
}
#calendar-16 {
    height: 330px;
}

#calendar-17 {
    height: 330px;
}
#calendar-18 {
    height: 290px;
}
#calendar-19 {
    height: 230px;
}
#calendar-20 {
    height: 220px;
}
#calendar-21 {
    height: 200px;
}
#calendar-22 {
    height: 300px;
}
#calendar-23 {
    height: 240px;
}
#calendar-24 {
    height: 190px;
}

.hover-effect-star {
    opacity: 0;
    height: 15px;
    position: absolute;
    z-index: 99;
    transition: all 1000ms ease;
    animation-name: hover-effect-star-animation;
    box-shadow: 0 0 150px 15px rgba(255,255,255,0.84);
}

@keyframes hover-effect-star-animation {
    0% {
        transform: translate(0px, 0px) rotateX(-20deg) rotateY(10deg) scale(0.25);
        opacity: 0;
    }

    10% {
        transform: translate(-10px, -5px) rotateX(-20deg) rotateY(10deg) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-10px, 160px) rotateX(-90deg) rotateY(45deg) scale(0.25);
        opacity: 0;
    }
}

.santa-divider {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 100px 0;
}

.santa-divider img {
    width: 400px;
    max-width: 70%;
}

/* Sections */

.section-wrapper {
    padding: 25px;
    width: calc(100% - 50px);
    background-color: var(--background-primary-color);
    color: var(--primary-color);
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.section {
    width: 100%;
    max-width: 1000px;
}

/* Footer */

footer {
    background-color: var(--background-secondary-color);
    color: var(--primary-color);
    padding: 25px;
}

.footer-legal {
    max-width: 500px;
}