html, body {
    color: #fff;
    font-family: "Geologica", sans-serif;
    line-height: 1.2;
    font-weight: 300;
    font-size: 13px;
    font-optical-sizing: auto;
    font-variation-settings: "slnt" 0, "CRSV" 0, "SHRP" 0;
    scroll-behavior: smooth;
    min-height: 100%;
    height: 100%;
    overflow-x: hidden;
}

* {
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    outline: none;
}

.choise {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.choise .name {
    position: absolute;
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.choise:hover .name { width: 45%; }
.choise .name:hover { width: 55%; }

.choise.choised .name:first-child { transform: translateX(-100%); }
.choise.choised .name:last-child { transform: translateX(100%); }
.choise.choised .name.choised {
    width: 100%;
    transform: none;
    z-index: 9;
}

.choise .name:first-child { 
    left: 0; 
}

.choise .name:last-child { 
    right: 0;
}

.choise .name h2 {
    font: 400 normal clamp(30px, 5vw, 54px) "Russo One", sans-serif;
}

.choise .name p { 
    opacity: 0.8;
    width: 60%;
    margin: auto;
    margin-top: 10px;
}

.choise .name:before {
    content: "";
    position: absolute;
    display: block;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 3;
    width: 80%;
    max-width: 500px;
    height: 500px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.choise .name .info {
    position: relative;
    z-index: 4;
    margin-bottom: -25px;
}

.choise .name:after {
    content: "";
    position: absolute;
    display: block;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    width: 100%;
    left: 0;
    height: 100%;
    opacity: 1;
}

.tournament-progress {
    position: fixed;
    z-index: 999;
    width: 100%;
}

.progress-info {
    display: flex;
    justify-content: space-between;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.progress-info div {
    padding: 10px;
}

.progress-fill {
    height: 100%;
    background: #FFF;
    width: 0%;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo, .res {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo a, .res a {
    color: #FFF;
}

footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

footer .button {
    background-color: #FFF;
    border-radius: 10px 10px 0 0;
    font-size: 12px;
    color: #000;
    padding: 10px 20px;
    transform: translateY(0);
    position: relative;
    bottom: -500px;
    transition: 0.3s;
    z-index: 2;
}

footer .content {
    position: relative;
    height: 500px;
    background-color: #FFF;
    width: 100%;
    bottom: -500px;
    transition: 0.3s;
    box-shadow: 0px -10px 14px -8px rgba(0, 0, 0, 0.2);
}

footer.open .content, footer.open .button {
    bottom: 0;
}

.main {
    background: linear-gradient(135deg, rgb(141, 180, 211), rgb(231, 156, 212));
    width: 100%;
    height: 100%;
    background-size: cover; 
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.main:after {
    content: "";
    position: absolute;
    display: block;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    width: 100%;
    left: 0;
    height: 100%;
    opacity: 0.6;
    background-image: url(img/bg-1.svg); 
}

.content {
    color: #000;
    max-width: 700px;
    width: 80%;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: #FFF;
    text-align: center;
    padding: 40px;
    position: relative;
    z-index: 2;
}

h1 {
    font: 400 normal clamp(15px, 5vw, 18px) "Russo One", sans-serif;
    margin-bottom: 30px;
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.buttons .button {
    padding: 10px 20px;
    border-radius: 10px;
    color: #FFF;
    text-decoration: none;
}

.buttons .button.boy {
    background: #8db4d3;
}

.buttons .button.girl {
    background: #e79cd4;
}

.main .logo {
    width: 200px;
    margin: auto;
    margin-bottom: 40px;
}

.name .rating {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffc600;
    flex-wrap: wrap;
    line-height: 1;
}

.name .rating div {
    width: 100%;
    font-size: 8px;
    color: #CCC;
    margin-top: -3px;
}