* {
    padding: 0;
    margin: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

@font-face {
    font-family: player-name;
    src: url(../Fontes/Big\ Drama\ \(Fonte\ Uniforme\ vermelho\).ttf);
}

@font-face {
    font-family: links;
    src: url(../Fontes/MadridAMARegular.otf);
}

@font-face {
    font-family: text;
    src: url(../Fontes/Mosafin-Medium.ttf);
}

#home {
    width: 100%;
    height: max-content;
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url(../Imagens/Imagem\ de\ fundo.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

#home nav {
    background-color: rgba(33, 33, 33, 0.3);
}

#home nav div a img {
    width: 30px;
}

#home nav .menu a {
    color: #e2a145;
    font-family: links;
    font-size: 19px;
    transition: 0.4s;
}

#home nav .menu a:hover,
#home main .text a:hover {
    background-color: white;
    border: 1 solid white;
    border-radius: 4px;
}

/*Menu mobile*/
#menu-mobile,
#open-menu {
    display: none;
}

#home main {
    width: 100%;
    height: 90vh;
}

#home main .text img,
#home main .img-logo img {
    width: 340px;
}

#home main .text p {
    color: white;
    font-family: text;
    font-size: 20px;
}

#home main .text a {
    color: #e2a145;
    font-family: text;
    font-size: 20px;
    transition: 0.4s;
}

#games,
#mensagem {
    width: 100%;
    height: max-content;
    padding-bottom: 20px;
    background-color: #1d1d1d;
}

.line-top {
    width: 100%;
    height: 20px;
    background-color: #442e14;
}

#games ul li article {
    width: 300px;
    height: 135px;
    overflow: hidden;
    background-color: #6E4E27;
    border-radius: 10px;
    transition: height 0.3s ease;
    transition: 0.3s;
}

#games ul li article:hover {
    box-shadow: 0px 0px 10px #ffffff1e;
    transform: scale(1.03);
    height: 285px;
}

.inf-game {
    background-color: #f3feff;
    border-radius: 0px;
    width: 300px;
    height: 160px;
}

.btn {
    width: 100%;
    background-color: #6E4E27;
    height: max-content;
    border-radius: 0px;
    transition: 0.3s;
}


.btn:hover {
    background-color: #289c4b;
    box-shadow: 0px 0px 10px #289c4b4d;
}

#games ul {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    anchor-name: --my-carousel;
}

#games li {
    list-style-type: none;
    padding: 20px;
    scroll-snap-align: center;
}

#games ul::scroll-button(*) {
    border: 0;
    font-size: 2rem;
    background: none;
    color: rgb(143, 143, 143);
    opacity: 0.7;
    cursor: pointer;
}

#games ul::scroll-button(*):hover,
#games ul::scroll-button(*):focus {
    opacity: 1;
}

#games ul::scroll-button(*):active {
    translate: 1px 1px;
}

#games ul::scroll-button(*):disabled {
    opacity: 0.2;
    cursor: unset;
}

#games ul::scroll-button(left) {
    content: "â—„";
}

#games ul::scroll-button(right) {
    content: "â–º";
}

#games ul {
    anchor-name: --my-carousel;
}

#games ul::scroll-button(*) {
    position: absolute;
    position-anchor: --my-carousel;
}

#games ul::scroll-button(left) {
    right: calc(anchor(left) - 70px);
    bottom: calc(anchor(top) - 14px);
}

#games ul::scroll-button(right) {
    left: calc(anchor(right) - 70px);
    bottom: calc(anchor(top) - 14px);
}



/* Estiliza toda a área da barra de rolagem */
::-webkit-scrollbar {
    width: 10px;
    /* largura da barra vertical */
    height: 10px;
    /* altura da barra horizontal */
}

/* Fundo da barra (track) */
::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

/* Parte que se move (thumb) */
::-webkit-scrollbar-thumb {
    background: #1d1d1d;
    border-radius: 10px;
}

/* Quando o mouse passa sobre o thumb */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}



.img-equipe img {
    width: 60px;
}

.img-liga-socca img {
    width: 40px;
}

.img-equipe,
.img-liga-socca img {
    margin: 20px 10px 0px 10px;
}

#games article div h1,
#games article div p {
    font-size: 17px;
    color: #bc7c23;
    font-family: text;
}


.players {
    width: 100%;
    height: max-content;
    padding-bottom: 20px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url(../Imagens/pexels-bohlemedia-1884574.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.section-player {
    width: 340px;
    height: 500px;
    background: #6E4E27;
    background: linear-gradient(0deg, rgba(110, 78, 39, 1) 0%, rgba(195, 154, 95, 1) 100%);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: 0.4s;
}

.img-player img {
    width: 270px;
    position: absolute;
    bottom: 0;
    left: 35px;
}

.name-player {
    position: relative;
    position: absolute;
    z-index: 1;
    bottom: -80px;
    left: 100px;
    transition: 0.3s;
}

.number {
    position: absolute;
    bottom: 70px;
    left: 30px;
    color: #f3feff5e;
    font-size: 170px;
    font-family: player-name;
}

.name-player h1 p {
    font-family: text;
    color: #f3feff;
    position: absolute;
    font-size: 20px;
    left: -65px;
    bottom: -7px;

    font-family: text;
}

.name-player h1 {
    font-family: text;
    position: relative;
    position: absolute;
    bottom: 130px;
    left: 35px;
    color: #ffffff;
    font-size: 50px;
    font-family: player-name;
}



.section-player:hover .estatistica {
    bottom: 0;
}

.section-player:hover .name-player {
    bottom: 0;
}

.estatistica {
    width: 340px;
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    position: absolute;
    bottom: -175px;
    left: 0px;
    transition: 0.4s;
    background: #000000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.67) 0%, rgba(133, 106, 61, 0) 100%);
}

.estatistica article p {
    font-size: 10px;
    color: #e2a145;
}

.estatistica article h1 {
    font-size: 10px;
    color: #f3feff;

}

hr {
    color: #f3feff;
}


.mensagem article div{
    width: 70%;
    height: max-content;
    background-color: #6E4E27;
    border-radius: 10px;
}






@media screen and (max-width: 991px) {
    #home {
        text-align: center;
        background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../Imagens/Imagem\ de\ fundo-\ mobile.jpg);
    }

    /*Menu mobile*/
    #menu-mobile,
    #open-menu {
        display: block;
    }

    .menu {
        display: none;
    }

    #menu-mobile {
        display: flex;
        flex-direction: column;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;

    }

    #menu-mobile a {
        width: 100%;
        color: #e2a145;
        font-family: links;
        font-size: 19px;
        transition: 0.4s;
    }

    #menu-mobile a:hover,
    #close:hover {
        background-color: white;
        border: 1 solid white;
        border-radius: 4px;
    }

    #open-menu i {
        color: #e2a145;
        font-size: 30px;
    }

    #close i {
        color: #d13f3f;
        font-size: 30px;
    }

    #home main {
        flex-direction: column-reverse;
        justify-content: center;
    }

    #home main text,
    #home main .img-logo {
        margin: 30px 0px 30px 0px;
    }

    #home main .text img,
    #home main .img-logo img,
    #home main .text p {
        width: 240px;
        font-size: 14px;
    }

}



@media screen and (max-width: 320px) {

    #home main .text img,
    #home main .img-logo img,
    #home main .text p {
        width: 200px;
        font-size: 10px;
    }

}