body {
    margin: 0;
    background-color: #111111;
    color: white;
    font-family: 'Comfortaa', sans-serif;
    font-size: max(1.35vh, 12pt);
}

.green {
    display: inline-block;
    animation: greenanimation 3s;
    background-size: 200%;
    border-radius: 0.2em;
}

@keyframes greenanimation {
    0% {
        background-image: linear-gradient(90deg, #229927 50%, transparent 50%);
        background-position: 100% 50%;
    }

    33.33% {
        background-image: linear-gradient(90deg, #229927 50%, transparent 50%);
        background-position: 0% 50%;
        background-color: transparent;
    }

    33.34% {
        background-image: none;
        background-color: #229927;
    }

    66.66% {
        background-color: #229927;
    }

    100% {
        background-color: transparent;
    }
}

.titlesection {
    background-image: url("/images/banner.webp");
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    padding-bottom: max(55px, 6vh);
}

.bodysection {
    padding: 2vw 5vw;
}

h1 {
    font-size: 10vh;
    text-align: center;
    filter: drop-shadow(0px 0px 16px black);
}

@media (max-width: 800px) {
    h1 {
        font-size: 18vw;
    }
}

h2 {
    font-size: max(2.5vh, 19pt);
    color: #a4ffb2;
}

p {
    line-height: 1.7;
    font-size: max(1.6vh, 14pt);
}

::-moz-selection {
    color: white;
    background: #229927;
}

::selection {
    color: white;
    background: #229927;
}

.cornerpopup {
    position: fixed;
    z-index: 2;
    top: 15px;
    right: 15px;
    color: white;
    background-color: #22992780;
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 5px;
    max-width: 200px;
    animation: 1s cornerpopupanimation;
}

.cornerpopupbtn {
    border-radius: 1em;
    border: 2px solid white;
    background-color: transparent;
    padding: 5px 20px;
    display: block;
    margin: 1.5vh auto;
    font-size: 12pt;
    color: white;
    font-family: 'Comfortaa', sans-serif;
    transition: 0.4s;
    cursor: pointer;
}
.cornerpopupbtn:hover {
    background-color: #ffffff40;
    transform: scale(1.1);
    animation: button-pulse 1s;
    animation-iteration-count: infinite;
}

.cornerpopupbtn:active {
    animation: none;
    background-color: transparent;
    transform: scale(0.9);
}

@keyframes button-pulse {
    0% {
        box-shadow: 0px 0px 0px 0px #ffffff;
    }

    100% {
        box-shadow: 0px 0px 0px 2vh #ffffff00;
    }
}

@keyframes cornerpopupanimation {
    0% {
        transform: translate(0px, calc(-100% - 15px));
    }
}

@media (max-width: 590px) {
    .cornerpopup {
        display: none;
    }
}

.header {
    display: flex;
    align-items: center;
    background-color: #00250F80;
    width: 100%;
    height: max(55px, 6vh);
    padding-left: max(20px, 2.2vh);
    position: fixed;
    flex-direction: row;
    z-index: 1;
    backdrop-filter: blur(10px);
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.headerbutton {
    margin: 0px 10px;
    text-decoration: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0px;
}

.dropdowntext {
    height: max(55px, 6vh);
    font-size: max(1.35vh, 12pt);
    display: flex;
    align-items: center;
}

.selectedheaderbutton {
    margin: 10px;
    text-decoration: none;
    color: #a4ffb2;
    cursor: pointer;
    padding: 0px;
}

.headerimg {
    width: 44px;
    height: 44px;
    margin: 0px 15px;
    transition: filter 0.4s, transform 0.3s;
    cursor: pointer;
}

    .headerimg:hover {
        filter: drop-shadow(0px 0px 8px #a4ffb2c0);
    }

    .headerimg:active {
        filter: drop-shadow(0px 0px 4px #a4ffb2c0);
        transform: scale(0.9);
    }

.dropdown-content .headerbutton, .dropdown-content .selectedheaderbutton {
    margin: 0px;
}


.headerbutton:hover {
    color: #a4ffb2;
}

.ytvideo {
    margin: auto;
    display: block;
    background: url('/images/Play.svg'), #00250F;
    background-position: center;
    background-size: cover;
    width: 40vw;
    height: 22.5vw;
    margin-bottom: 50px;
}

@media (max-width: 700px) {
    .ytvideo {
        width: 64vw;
        height: 36vw;
    }
}

.dropdown-content {
    background-color: #00250F;
    padding: 10px;
    position: absolute;
    border-radius: 10px;
    box-shadow: 0px 0px 10px -3px black;
    display: none;
    animation-duration: 0.25s;
}

.newdropdown {
    display: inline-block;
}

    .newdropdown:hover .dropdown-content {
        display: block;
        animation-name: dropdownanimation;
    }

    .newdropdown:active .dropdown-content {
        display: block;
        animation-name: dropdownanimation;
    }

.dropdownactivesafari .dropdown-content {
    display: block;
    animation-name: dropdownanimation;
}

@keyframes dropdownanimation {
    0% {
        transform: scale(1, 0) translate(0, -60%);
    }

    100% {
        transform: scale(1, 1) translate(0, 0);
    }
}
