/* // FONTS // */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

@font-face {
    font-family: "Flama Semicondensed";
    src: url(https://arte.estadao.com.br/share/fonts/FlamaSemicondensed/FlamaSemicondensed-Book.woff2) format("woff2"),url(https://arte.estadao.com.br/share/fonts/FlamaSemicondensed/FlamaSemicondensed-Book.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Flama Semicondensed";
    src: url(https://arte.estadao.com.br/share/fonts/FlamaSemicondensed/FlamaSemicondensed-Semibold.woff2) format("woff2"),url(https://arte.estadao.com.br/share/fonts/FlamaSemicondensed/FlamaSemicondensed-Semibold.woff) format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Flama Semicondensed";
    src: url(https://arte.estadao.com.br/share/fonts/FlamaSemicondensed/FlamaSemicondensed-Bold.woff2) format("woff2"),url(https://arte.estadao.com.br/share/fonts/FlamaSemicondensed/FlamaSemicondensed-Bold.woff) format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

body {
    margin: 0;
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1500px;
    height: 100%;
}

.helper-info {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 14px;
    width: 100%;
    max-width: 400px;
}

.helper-info p {
    font-family: "Lato", sans-serif;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 400;
    margin: 0px 0 -2px;
    color: #808080;
    text-align: center;
}

.helper-info div {
    font-family: "Lato", sans-serif;
    font-size: 15px;
    font-weight: 400;
    margin: 0px 0 -2px;
    color: #808080;
    text-align: center;
    animation: up-down 1.5s infinite;
}

.helper-info-2 {
    display: flex;
    justify-content: center;
    margin: 0 0 20px;
    gap: 14px;
    width: 100%;
    max-width: 550px;
}

.helper-info-2 p {
    font-family: "Lato", sans-serif;
    font-size: 15px;
    font-weight: 400;
    margin: 0px 0 -2px;
    color: #333333;
    text-align: center;
}

.country-selector {
    background-color: var(--primary-color);
    max-width: 400px;
    width: 80%;
    height: 90px;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.input-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
    gap: 15px;
    padding: 0 5px;
    position: relative;
    z-index: 15;
}

.country-badge {
    background-color: #fff;
    height: 55px;
    width: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}

.country-badge img {
    height: 75%;
}

.country-selector select {
    width: 70%;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    border-bottom: solid 2px var(--sec-color);
    color: #fff;
    padding-left: 8px;
    font-family: "Flama Semicondensed";
    font-weight: 700;
    font-size: 24px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath fill='%23fff' d='M480-341.91 248.91-573h462.18L480-341.91Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 20px 20px;
}

.country-selector svg {
    fill: var(--sec-color);
    translate: -45px -90px;
    height: 125px;
}

.country-info {
    background-color: #f2f2f2;
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    .country-info {
        display: flex;
        height: 700px;
        align-items: center;
    }

    .country-info .column {
        width: 50%;
        height: 100%;
    }
}

.info-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
    padding: 25px 40px 15px;
}

@media (min-width: 768px) {
    .info-header {
        padding: 55px 60px 25px;
    }
}

.header-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header-item .label {
    font-family: "Flama Semicondensed";
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    color: #333;
    margin: 0;
    margin-bottom: 3px;
}

.header-item .info {
    font-family: "Flama Semicondensed";
    font-weight: 600;
    font-size: 20px;
    color: #333;
    margin: 0;
}

.country-squad-list {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: scroll;
    overflow-block: auto;
    gap: 10px;
    max-width: -webkit-fill-available;
    padding: 2px 0 4px;
    margin: 0 20px;
    cursor: grab;
    user-select: none;
}

.country-squad-list .is-dragging {
    cursor: grabbing;
    user-select: none;
}

@media (min-width: 768px) {
    .country-squad-list {
        padding: 20px 0;
        margin: 0 40px;
    }
}

.country-squad-list::-webkit-scrollbar {
    height: 8px;
    background-color: #e0e0e0
}

.country-squad-list::-webkit-scrollbar-thumb {
    background-color: color-mix(in srgb, var(--primary-color) 33%, transparent);
    border-radius: 3px;
}

.country-squad-list .player {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 85px;
    gap: 5px;
    padding-left: 7px;
    cursor: pointer;
}

.country-squad-list .player .photo {
    height: 70px;
    width: 70px;
    border-radius: 70px;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    outline-offset: -2px;
}

.photo-outline {
    outline: 2px solid var(--primary-color);
    filter: drop-shadow(0px 0px 7px rgba(0, 0, 0, 0.33));
}

.country-squad-list .player .photo img {
    width: 100%;
    margin-top: 0px;
}

.country-squad-list .player p {
    font-family: "Flama Semicondensed";
    font-weight: 400;
    font-size: 13px;
    text-transform: uppercase;
    color: #666;
    margin: 0;
    text-align: center;
}

.base-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0 40px;
    margin: 25px 15px 25px 0px;
    overflow: scroll;
    height: 155px;
}

@media (min-width: 768px) {
    .base-info {
        height: 345px;
    }
}

.base-info::-webkit-scrollbar {
    width: 8px;
    height: 0;
    background-color: #e0e0e0
}

.base-info::-webkit-scrollbar-thumb {
    background-color: color-mix(in srgb, var(--primary-color) 33%, transparent);
    border-radius: 3px;
    max-height: 10px;
}

@media (min-width: 768px) {
    .base-info {
        padding: 0 40px;
        margin-top: 35px;
    }
}

.base-info .label {
    font-family: "Flama Semicondensed";
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0;
    margin-bottom: 15px;
    margin-top: 15px;
}

.base-info .info {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.45;
    color: #333;
    margin: 0;
    margin-bottom: 10px;
}

.player-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px 40px 25px;
}

@media (min-width: 768px) {
    .player-info {
        padding: 55px 60px 25px;
    }
}

.player-info h4 {
    font-family: "Flama Semicondensed";
    font-weight: 700;
    font-size: 26px;
    line-height: 1.05;
    color: #333;
    margin: 0;
    z-index: 15;
}

.player-info .info {
    display: flex;
    flex-direction: row;
    margin: 10px 0 20px;
    gap: 6px 16px;
    flex-wrap: wrap;
}

.player-info .info p {
    font-family: "Flama Semicondensed";
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    color: #333;
    margin: 0;
    z-index: 15;
}

.player-info .info p strong {
    font-weight: 600;
}

.player-info .bio {
    max-width: 600px;
}

.player-info .bio .player-shirt {
    float: left;
    width: 95px;
    height: 100px;
    padding-right: 20px;
}

#player-number {
    font-family: "Flama Semicondensed";
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: -45px;
    margin-top: 19px;
}

.player-info .bio .player-shirt svg {
    width: 100%;
    fill: var(--primary-color);
}

.player-info .bio p {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.45;
    color: #333;
    margin: 0;
}

.star-player {
    overflow: hidden;
    height: 350px;
}

@media (min-width: 768px) {
    .star-player{
        height: 100%;
    }
}

.star-player-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0px 40px 40px;
}

@media (min-width: 768px) {
    .star-player-info{
        padding: 55px 60px 25px;
    }
}

.star-player-info .label {
    font-family: "Flama Semicondensed";
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0;
}

.star-player-info h4 {
    font-family: "Flama Semicondensed";
    font-weight: 700;
    font-size: 26px;
    max-width: 130px;
    line-height: 1.05;
    color: #333;
    margin: 10px 0;
    z-index: 15;
}

@media (min-width: 768px) {
    .star-player-info h4 {
        font-size: 36px;
        max-width: 180px;
    }
}

.star-player-info .info {
    font-family: "Flama Semicondensed";
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    color: #333;
    margin: 0;
    z-index: 15;
}

.star-player-info .info strong {
    font-weight: 600;
    z-index: 15;
}

.star-player .player {
    position: relative;
    width: 455px;
    z-index: 15;
}

@media (min-width: 768px) {
    .star-player .player {
        width: 650px;
        margin-left: -20px;
    }
}

.bg-holder {
    overflow: hidden;
    width: 100%;
    margin-top: -175px;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .bg-holder {
        margin-top: -295px;
    }
}

.bg-holder svg {
    width: 430px;
    translate: 10px 0;
    rotate: 180deg;
    fill: var(--primary-color);
}

@media (min-width: 768px) {
    .bg-holder svg {
        width: 725px;
        translate: 25px 0;
    }
}

.photo-credit {
    align-self: flex-end;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #aaa;
    margin: 8px 16px;
}

.hidden {
    display: none !important;
}

/* // ANIMATIONS // */

.player-enter-animation {
    animation: jump-in 1s 1 forwards;
}

@keyframes jump-in {
    0% {
        transform: translateX(40px);
        opacity: 0.0;
    }
    100% {
        transform: translateX(0px);
        opacity: 1.0;
    }
}

@keyframes up-down {
    0% {
        transform: translateY(-2px);
    }
    50% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-2px);
    }
}