@charset "UTF-8";

/*Typical Devices Breakpoints
-----------------------------
Pequenas telas: até 600px
Celular: 600px até 768px
Tablet: 769px até 992px
desktop: 993px até 1200px
Grandes telas: 1201px e acima
*/

/* Geral */
main {
    padding-top: 180px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Titulos das sessões */
.titulosDivs {
    display: flex;
    gap: 10px;
    width: fit-content;
    color: #484848;
    background-color: #fff;
    padding: 12px 15px;
    align-items: center;
    font-weight: normal;
    font-size: 18px;
}

/* Sessão de noticias */
#noticiasTorneiosSection {
    width: 80%;
    margin: auto;
}

#noticiasDiv {
    display: block;
}

.noticia {
    cursor: pointer;
}

#primeiraNoticia {
    position: relative;
    background-color: white;
}

#primeiraNoticia img {
    width: 100%;
    height: auto;
    position: relative;
}

#primeiraNoticia h2 {
    font-weight: normal;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    max-height: -webkit-fill-available;
    background-color: rgba(0, 0, 0, 0.7); /* Adicione um fundo escuro semitransparente para o título */
    color: #fff; /* Cor do texto do título */
    padding: 10px;
    box-sizing: border-box;
}

#outrasNoticias {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 15px;
}

#outrasNoticias > .noticia {
    width: 100%;
    padding-bottom: 15px;
    border-bottom: 1px solid #707070;
    border-bottom: unset;
    position: relative;
}

#outrasNoticias img {
    width: 100px;
    height: auto;
    float: left;
    margin-right: 15px;
    z-index: 1;
}

#outrasNoticias h2 {
    font-weight: normal;
    font-size: 17px;
    position: relative;
    bottom: 0;
    left: 0;
    height: auto;
    width: 100%;
    max-height: -webkit-fill-available;
    color: #646464;
    padding: 4px;
    text-decoration: none;
}

/* Sessão de artigos */
#artigosSection {
    width: 80%;
    margin: auto;
    margin-bottom: 40px;
}

#artigos {
    display: block;
}

.artigos {
    cursor: pointer;
}

#primeiroArtigo {
    position: relative;
    background-color: white;
}

#primeiroArtigo img {
    width: 100%;
    height: auto;
    position: relative;
}

#primeiroArtigo h2 {
    font-weight: normal;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    max-height: -webkit-fill-available;
    background-color: rgba(0, 0, 0, 0.7); /* Adicione um fundo escuro semitransparente para o título */
    color: #fff; /* Cor do texto do título */
    padding: 10px;
    box-sizing: border-box;
}

#outrosArtigos {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 15px;
}

#outrosArtigos > .artigo {
    padding-bottom: 15px;
    border-bottom: 1px solid #707070;
}

#outrosArtigos img {
    width: 100px;
    height: auto;
    float: left;
    margin-right: 15px;
    z-index: 1;
}

#outrosArtigos h2 {
    font-weight: normal;
    font-size: 17px;
    position: relative;
    bottom: 0;
    left: 0;
    height: auto;
    width: 100%;
    max-height: -webkit-fill-available;
    color: #646464;
    padding: 4px;
    text-decoration: none;
}

/* Sessão de torneios */
#torneios{
    margin-top: 40px;
}

#torneiosDiv {
    display: flex;
    position: relative;
    width: 100%;
    height: auto;
    color: white;
    background-color: white;
    cursor: pointer;
}

#torneiosDiv > img {
    width: 100%;
    background-color: white;
}

#torneiosDiv > h2 {
    font-weight: normal;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    max-height: -webkit-fill-available;
    background-color: rgba(0, 0, 0, 0.7); /* Adicione um fundo escuro semitransparente para o título */
    color: #fff; /* Cor do texto do título */
    padding: 10px;
    box-sizing: border-box;
}

/* Slide dos melhores jogadores */
.fade-in {
    opacity: 0;
    display: block;
    transition: opacity 0.5s ease; /* Adiciona uma transição suave de 0.5 segundos para a opacidade */
}

.fade-out {
    opacity: 1;
    display: block;
    transition: opacity 0.5s ease; /* Adiciona uma transição suave de 0.5 segundos para a opacidade */
}

.fade-in.fade-out {
    opacity: 0; /* Quando a classe fade-in e fade-out estão juntas, a opacidade é 0, causando o desaparecimento suave */
}

#melhoresJogadoresSection {
    width: 80%;
    height: auto;
    margin: auto;
}

#seleJogadores {
    width: 100%;
    font-size: 15px;
    color: white;
    background-color: #474545;
    display: flex;
    justify-content: space-between;
    overflow-x: auto;
}

#seleJogadores > p {
    padding: 15px;
    cursor: pointer;
    user-select: none;
}

.melhoresJogadoresSele {
    background-color: #fff;
    color: #484848;
}

#melhoresJogadoresSection > div {
    width: 100%;
    position: relative;
}

.jogadoresSlides {
    width: 100%;
    margin: 0 auto;
    display: none;
    overflow: hidden;
}

.jogadoresExib {
    display: flex;
}

.player {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-shrink: 0;
}

.playerImgAndName {
    position: relative;
}

.playerNameAndCountry {
    display: flex;
    position: absolute;
    width: 100%;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.74);
    top: auto;
    bottom: 0;
}

.playerNameAndCountry > img {
    width: 56px;
    height: auto;
}

.playerNameAndCountry > p {
    margin: auto 10px;
}

.rank {
    position: absolute;
    text-align: center;
    padding: 15px;
    color: #474545;
}

.playerImgAndName > img {
    height: 280px;
    width: fit-content;
    margin: auto;
    display: flex;
}

.playerRatingsDiv {
    display: flex;
}

.playerRatings {
    padding: 10px 15px;
    width: 100%;
    text-align: center;
    color: white;
}

.playerRatings:nth-child(1) {background-color: #aeb9cd;}
.playerRatings:nth-child(2) {background-color: #e76766;}
.playerRatings:nth-child(3) {background-color: #4c67ac;}

#slidesBtn {
    position: absolute;
    color: #474545;
    width: 100%;
    height: 75%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    z-index: 1;
    top: 0;
    bottom: auto;
}

#slidesBtn > span {
    margin: 0 15px;
    cursor: pointer;
}

.ads {
    width: 80%;
    margin: auto;
}

@media screen and (min-width: 600px) and (max-width: 768px) {
    /* Noticias e Torneios*/
    #noticiasTorneiosSection {
        width: 580px;
    }

    /* Artigos */
    #artigosSection {
        width: 580px;
    }

    /* Melhores Jogadores */
    #melhoresJogadoresSection {
        width: 580px;
    }

    .ads {
        width: 580px;
    }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
    /* Noticias */
    #noticiasTorneiosSection {
        width: 700px;
        margin-bottom: 40px;
        display: flex;
    }

    #noticias {
        width: 50%;
        display: block;
    }
    
    #noticiasDiv {
        display: block;
        width: 100%;
        margin: 0;
        padding: 10px;
        background-color: #fff;
    }

    #primeiraNoticia > .noticia {
        display: flex;
        flex-direction: column;
        position: relative;
    }
    
    #primeiraNoticia {
        position: relative;
        background-color: white;
        width: 100%;
    }
    
    #primeiraNoticia img {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    #primeiraNoticia h2 {
        padding: 10px;
        font-size: 15px;
    }
    
    #outrasNoticias {
        gap: 10px;
        padding: 0;
        padding-top: 10px;
        justify-content: space-between;
        flex-direction: row;
    }
    
    #outrasNoticias > .noticia {
        padding-bottom: 0;
        border-bottom: unset;
        position: relative;
    }
    
    #outrasNoticias img {
        width: 100%;
        height: auto;
        float: none;
        margin-right: 0;
    }

    #outrasNoticias h2 {
        font-size: 9px;
        position: absolute;
        bottom: 0;
        left: 0;
        overflow: hidden;
        height: auto;
        width: 100%;
        max-height: -webkit-fill-available;
        background-color: rgba(0, 0, 0, 0.7);
        color: #fff;
        padding: 4px;
    }

    /* Torneios */
    #torneios {
        margin-top: 0vw;
        width: 43.65%;
    }

    #torneiosDiv {
        display: flex;
        position: relative;
        width: 100%;
        height: auto;
        color: white;
        background-color: white;
    }

    #torneiosDiv > h2 {
        padding: 10px;
        font-size: 14px;
    }

    /* Artigos */
    #artigosSection {
        width: 700px;
    }
    #artigos {
        display: flex;
    }

    #outrosArtigos > .artigo {
        padding-bottom: 10px;
    }

    #outrosArtigos {
        gap: 26.5px;
    }

    #outrosArtigos h2 {
        font-size: 13px;
    }
    
    /* Melhores Jogadores */
    #melhoresJogadoresSection {
        width: 700px;
    }

    .ads {
        width: 700px;
    }
}

@media screen and (min-width: 993px) {
    /* Geral */
    main {
        padding-top: 15vw;
        padding-bottom: 0vw;
    }

    /* Título das Seções */
    .titulosDivs {
        gap: 1vw;
        padding: 0.81vw 1.3vw;
        font-size: 1.5vw;
    }

    /* Div Noticias */
    #noticiasTorneiosSection {
        width: 70vw;
        display: flex;
    }

    #noticias {
        width: 57.7%;
        display: block;
    }
    
    #noticiasDiv {
        display: block;
        width: 100%;
        margin: 0;
        padding: 1vw;
        background-color: #fff;
    }

    #primeiraNoticia > .noticia {
        display: flex;
        flex-direction: column;
        position: relative;
    }
    
    #primeiraNoticia {
        position: relative;
        background-color: white;
        width: 100%;
    }
    
    #primeiraNoticia img {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    #primeiraNoticia h2 {
        padding: 1vw;
        font-size: 1.4vw;
    }
    
    #outrasNoticias {
        gap: 1vw;
        padding: 0;
        padding-top: 1vw;
        justify-content: space-between;
        flex-direction: row;
    }
    
    #outrasNoticias > .noticia {
        padding-bottom: 0;
        border-bottom: unset;
        position: relative;
    }
    
    #outrasNoticias img {
        width: 100%;
        height: auto;
        float: none;
        margin-right: 0;
    }

    #outrasNoticias h2 {
        font-size: 0.9vw;
        position: absolute;
        bottom: 0;
        left: 0;
        overflow: hidden;
        height: auto;
        width: 100%;
        max-height: -webkit-fill-available;
        background-color: rgba(0, 0, 0, 0.7);
        color: #fff;
        padding: 0.4vw;
    }

    /* Div Artigos */
    .titulosDivs {
        font-size: 1.5vw;
        padding: 1vw 1.3vw;
        margin: 0;
    }

    #artigosSection {
        width: 70vw;
    }

    #artigos {
        display: flex;
        width: 100%;
        margin: 0;
        padding: 1vw;
        background-color: #fff;
    }

    #primeiroArtigo > .artigo {
        display: flex;
        flex-direction: column;
        position: relative;
    }

    #primeiroArtigo {
        width: 100%;
        position: relative;
        background-color: white;
    }

    #primeiroArtigo img {
        width: 100%;
        height: auto;
        position: relative;
    }

    #primeiroArtigo h2 {
        padding: 1vw;
        font-size: 1.4vw;
    }

    #outrosArtigos {
        gap: unset;
        padding: 0;
        padding-left: 1vw;
        justify-content: space-between;
    }

    #outrosArtigos > .artigo {
        padding-bottom: 0;
        border-bottom: unset;
        position: relative;
    }

    #outrosArtigos img {
        width: 15vw;
        height: auto;
        float: none;
        margin-right: 0;
    }

    #outrosArtigos h2 {
        font-size: 0.9vw;
        position: absolute;
        bottom: 0;
        left: 0;
        overflow: hidden;
        height: auto;
        width: 100%;
        max-height: -webkit-fill-available;
        background-color: rgba(0, 0, 0, 0.7);
        color: #fff;
        padding: 0.4vw;
    }

    /* Sessão de torneios */
    #torneios {
        margin-top: 0vw;
        width: 43.4%;
    }

    #todosTorneios {
        background-color: white;
        padding: 1vw 1vw 1vw 0;
    }

    #torneiosDiv {
        display: flex;
        position: relative;
        width: 100%;
        height: auto;
        color: white;
        padding: 0;
    }

    #torneiosDiv > h2 {
        padding: 1vw;
        font-size: 1.4vw;
    }

    /* Slide dos melhores jogadores */
    #melhoresJogadoresSection {
        width: 70vw;
    }

    #melhoresJogadoresSection > div {
        width: 70%;
    }

    #seleJogadores {
        font-size: 1.2vw;
    }

    #seleJogadores > p {
        padding: 1.2vw;
    }

    .playerNameAndCountry > img {
        width: 5vw;
        height: auto;
    }

    .playerNameAndCountry > p {
        margin: auto 1vw;
    }

    .rank {
        padding: 1.5vw;
    }

    .playerImgAndName > img {
        height: 23vw;
    }

    .playerRatings {
        padding: 1vw 1.2vw;
        font-size: 1.5vw;
    }

    #slidesBtn > span {
        margin: 0 1.2vw;
    }

    .ads {
        width: 70vw;
    }
}