body {
    font-family: 'Lexend', sans-serif;
    margin: 0;
    padding: 0;
    font-size: 2vh;
}

.official-warning {
    z-index: 4;
    width: 10%;
    position: fixed;
    right: -25%;
    top: 5%;
    height: auto;
    padding: 2%;
    background-color: white;
    text-align: center;
    opacity: 80%;
    transition: 0.6s;
    font-weight: bolder;
    border: black 1px solid;
    font-size: 1.5vh;
}

.official-warning .close-button {
    position: absolute;
    top: 5%;
    right: 7%;
}

.official-warning .close-button:hover {
    cursor: grab;
    opacity: 60%;
}

.official-warning .close-button:active {
    cursor: grabbing;
}

.footer-home {
    background-color: black;
    width: 100%;
    height: 25%;
    position: absolute;
    bottom: 0;
    margin: 0;
    padding: 0;
}

.logo-box {
    background-color: #6A2832;
    margin: 5% 0 0 5%;
    padding: 0 3% 0 3%;
    width: fit-content;
}

.logo_box img {
    width: 50%;
    display: inline;
}

.logo-box-text {
    padding: 0;
    width: 40%;
    float: right;
    height: 100%;
    line-height: 145%;
    font-size: 7.5vh;
    text-align: center;
    color: white;
    font-family: serif;
}

.left-main-text {
    margin: 2% 0 0 5%;
    padding: 0 3% 0 3%;
    width: 32.5%;
    text-align: center;
}

.big {
    font-size: 7.5vh;
    text-align: inherit;
    margin: 0;
    text-align: center;

}

.medium {
    font-size: 4.5vh;
    text-align: inherit;
    margin: 0;
    text-align: center;
}

.small {
    font-size: 2.5vh;
    text-align: inherit;
    margin: 0;
}


.button-holder.home {
    width: 7.5%;
}

.button-holder.rules {
    width: 30%;
    padding-left: 35%;
}

.circle-button {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #ce994a;
    border-radius: 50%;
    cursor: grab;
}

.circle-button:hover {
    transform: rotateZ(10deg) rotateX(20deg);
    cursor: grab;
}

.circle-button:active {
    transform: scale(1.2) rotateZ(10deg) rotateX(20deg);
    cursor: grabbing;
}

.button-holder.left {
    position: absolute;
    left: 25%;
    top: -30%;
}

.button-holder.right {
    position: absolute;
    right: 25%;
    top: -30%;
}

.circle-button img {
    position: relative;
    width: 60%;
    left: 20%;
    aspect-ratio: 1/1;
    top: 20%;
    pointer-events: none;
}

.label-button {
    margin: 0;
    color: white;
    text-align: center;
    position: relative;
    width: 130%;
    left: -15%;
    top: 100%;
    font-size: 4.5vh;
}

.rules p {
    top: 50%;
}

.button-holder.link {
    display: block;
    width: 100%;
    margin-left: 37.5%;
    margin-top: 5%;
}

.button-holder.rules.link {
    width: 25%;
}

.background-content-home {
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

.background-content-home img {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -2;
    pointer-events: none;
}

.background-content-home .stencil {
    position: absolute;
    right: 30%;
}

.background-content-rules {
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;

}

.background-content-rules .formal-photo {
    position: absolute;
    top: 0;
    left: -50%;
    z-index: -2;
    pointer-events: none;
}

.background-content-rules .stencil {
    position: absolute;
    right: 0;
    pointer-events: none;
    transform: scale(1.5);
}

@keyframes scale-stencil-open {
    from {
        transform: scale(6)
    }

    to {
        transform: scale(1)
    }
}

@keyframes scale-stencil-close {
    from {
        transform: scale(1)
    }

    to {
        transform: scale(6)
    }
}

@keyframes scale-stencil-people-open {
    from {
        transform: scale(15)
    }

    to {
        transform: scale(1)
    }
}

@keyframes scale-stencil-people-close {
    from {
        transform: scale(1)
    }

    to {
        transform: scale(15)
    }
}

@keyframes swipe-close {
    from {
        top: 0;
    }

    to {
        top: 110%;
    }
}

@keyframes swipe-open {
    from {
        top: 110%;
    }

    to {
        top: 0;
    }
}

.subpage-title {
    width: 10%;
    margin-left: 45%;
    display: grid;
    gap: 0;
}

.list-no-padding {
    padding: 0;
}



.footer-rules {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 10%;
    background-color: black;
}

.footer-rules .content {
    width: 5%;
    margin-left: 47.5%;
    margin-top: 1%;
    display: grid;
    grid-template-columns: 50% 50%;
}

.footer-home .content {
    width: 5%;
    margin-left: 47.5%;
    margin-top: 8%;
    display: grid;
    grid-template-columns: 50% 50%;
}


.content img {
    opacity: 75%;
}

.content img:hover {
    opacity: 100%;
}

.aspect-ratio-wrong {
    visibility: hidden;
    position: fixed;
    top: 20%;
    width: 50%;
    height: 50%;
    left: 25%;
    background-color: #6A2832;
    z-index: 3;
    text-align: center;
    color: white;
}

.aspect-ratio-wrong a {
    color: gray;
    text-decoration: underline;
}

.aspect-ratio-wrong a:hover {
    cursor: grab;
}

.aspect-ratio-wrong a:active {
    cursor: grabbing
}


@media only screen and (max-aspect-ratio: 72/52) {
    .all-content {
        opacity: 5%;
    }

    .aspect-ratio-wrong {
        visibility: visible;
    }
}

@media only screen and (min-aspect-ratio: 97/36) {
    .all-content {
        opacity: 5%;
    }

    .aspect-ratio-wrong {
        visibility: visible;
    }
}

.material-symbols-outlined {
    width: 2%;
}