@media (max-width: 768px) {
    .barra-divider {
        margin-top: 10px;
    }
    .main-banner {
        margin-top: 15px;
        margin-left: 5px;
        width: 100%;
    }

    .main-banner p {
        width: 100%;
        font-size: 14px;
    }

    #btn-top {
        bottom: 10px;
        right: 10px;
    }

    #btn-bottom {
        bottom: 10px;
        right: 10px;
    }

    #typing-effect {
        text-align: start;
        font-size: x-large;
    }

    .descriptionApp {
        font-size: medium;
        width: 100%;
    }

    .superior-main {
        width: 100%;
    }

    .eventos {
        width: 96%;
        margin-left: 2%;
        margin-right: 2%;
        height: auto;
        max-height: none;
        max-width: none;
    }

    .eventContainer {
        display: flex;
        width: 100%;
        height: 100%;
        margin-bottom: 0px;
        max-height: none;
        max-width: none;
        flex-direction: column;
    }

    .eventDatails {
        height: 100%;
        width: 100%;
        margin-bottom: 10px;
        justify-content: space-between;
    }

    #eventList {
        width: 90%;
        height: 650px;
        max-height: 650px;
        margin-left: 5%;
        margin-right: 5%;
        max-width: none;
    }

    .detailsevent {
        display: flex;
        max-width: none;
        margin-bottom: 10px;
        height: 800px;
    }

    .rankingsEvent, .rankingsPostion {
        max-height: none;
    }

    .rankingclass {
        width: 100%;
        max-height: none;
    }

    .colocacaoEvento {
        font-size: large;
        margin-top: 10px;
    }
    #colocacoes{
        text-align: center;
    }

    .event-item {
        width: 22.5%;
        min-width: 22.5%;
        max-width: 22.5%;
        padding: 0px;
        flex: 1;
        text-align: center;
    }
    
}

body {
    --cor-fundo: #333;
    --cor-fundo2: #424040;
    --cor-texto: #f5f5f5;
}

body.light-mode {
    --cor-fundo: #f5f5f5;
    --cor-fundo2: #ebe5e5;
    --cor-texto: #333;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    transition: 0.5s;
    background-color: var(--cor-fundo);
}

#mobile-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: red;
    color: white;
    text-align: center;
    padding: 1em;
    z-index: 1000;
}

#btn-top {
    display: none;
    position: fixed;
    bottom: 120px;
    right: 20px;
    z-index: 1000;
    transition: 0.5s;
}
#btn-bottom {
    position: fixed;
    bottom: 120px;
    right: 20px;
    z-index: 1000;
    transition: 0.5s;
}
#btnJack {
    position: fixed;
    bottom: 70px;
    right: 20px;
    z-index: 1000;
    transition: 0.5s;
}

#btnquadro {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transition: 0.5s;
}



h1,
h2,
h3 {
    color: var(--cor-texto);
}

p {
    color: var(--cor-texto);
}

.navbar-container {
    width: 95%;
    height: 80px;
    background-color: transparent;
    margin-left: 2.5%;
    margin-right: 2.5%;
}

.div-nav {
    display: flex;
    justify-content: space-between;
}

.icon-theme {
    height: 80px;
    font-size: 20px;
    line-height: 80px;
}

#theme-icon {
    color: var(--cor-texto);
}

.navbar-itens {
    height: 80px;
    line-height: 80px;
    display: inline-block;
}

.navbar-itens li {
    display: inline-block;
    margin-left: 25px;
}

.navbar-itens a {
    color: var(--cor-texto);
    text-decoration: none;
    font-weight: bold;
}

.navbar-itens a:hover {
    color: #ccc;
}

.home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    margin-left: 2.5%;
    margin-right: 2.5%;
}

.svg-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    height: 90%;
    margin-top: 10%;
    margin-bottom: 10%;
    background-color: transparent;
}

.svg {
    height: 80%;
    background-color: transparent;
}

.superior-main {
    width: 60%;
}

.main-banner {
    width: 100%;
    margin-left: 0;
}

.main-banner h1,
.main-banner p {
    margin-bottom: 8px;
}

.main-banner p {
    width: 50%;
    color: var(--cor-texto);
    line-height: 1.8;
}

.icons-sociais {
    margin-top: 10px;
}

.icons-sociais li {
    display: inline-block;
    margin-top: 10px;
}

.icons-sociais a {
    font-size: 25px;
    color: var(--cor-texto);
}

.icons-sociais a:hover {
    color: #70747a;
}

button {
    background-color: var(--cor-fundo);
    border: 2px solid var(--cor-texto);
    color: var(--cor-texto);
    padding: 10px 25px;
    border-radius: 10px;
    font-size: 15px;
}

.button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.button span:after {
    content: '\21D3';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.alterarVisu span:after {
    content: '\21BB';
}

.button:hover span {
    padding-right: 25px;
}

.button:hover span:after {
    opacity: 1;
    right: 0;
}

.divider {
    display: flex;
    justify-content: center;
}

.barra-divider {
    width: 95%;
    height: 1px;
    margin-bottom: 30px;
    margin-top: 15px;
    background-color: var(--cor-texto);
}

.eventos {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 650px;
    max-height: 650px;
    min-height: 650px;
}

.eventos ul {
    margin-top: 30px;
    margin-bottom: 30px;
}

.eventContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    height: 90%;
    max-height: 90%;
    min-height: 90%;
    margin-left: 2.5%;
    margin-right: 2.5%;
}

.eventList {
    width: 27%;
    margin-right: 1.5%;
    margin-left: 1.5%;
    max-width: 30%;
    max-height: 90%;
    padding: 5px;
    height: 90%;
    overflow-y: auto;
    box-shadow: 2px 2px 10px 2px var(--cor-texto);
    border-radius: 10px;
}

.eventList::-webkit-scrollbar-thumb {
    border-radius: 10px;
}

.eventList li {
    display: flex;
    color: var(--cor-texto);
    margin-bottom: 5px;
    margin-top: 5px;
    margin-left: 20px;
    font-size: 20px;
    align-items: start;
    cursor: pointer;
}

.eventList li:hover {
    color: var(--cor-texto);
    text-shadow:
        0 0 5px var(--cor-texto),
        0 0 10px var(--cor-texto),
        0 0 20px var(--cor-texto),
        0 0 40px var(--cor-texto),
        0 0 80px var(--cor-texto);
}

#selectedEvent {
    font-size: 20px;
    font-weight: bold;
}

.detailsevent {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    max-height: 90%;
    height: 90%;
}

.rankingclass {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 27%;
    margin-right: 1.5%;
    margin-left: 1.5%;
    max-height: 90%;
    height: 90%;
    overflow-y: auto;
}

.rankingclass li {
    display: flex;
    color: var(--cor-texto);
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 20px;
    align-items: start;
}

.rankingclass p {
    display: flex;
    color: var(--cor-texto);
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 20px;
    align-items: start;
}

.rankingsEvent {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-height: 100%;
}

.rankingsPostion {
    display: flex;
    flex-direction: column;
    align-items: end;
    width: 10%;
    max-height: 100%;
    color: var(--cor-texto);
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 20px;
    font-size: 20px;
}

.eventDatails {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

.eventDatails p {
    margin-top: 15px;
}

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

.valueDetails {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.galeria {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 600px;
}

.cabecalhoLeadearbord {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    width: 85%;
}

.leaderboard {
    box-shadow: 2px 2px 10px 2px var(--cor-texto);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    margin-bottom: 30px;
    width: 85%;
    max-height: 95%;
    height: 95%;
    overflow-y: auto;
}

.event {
    display: flex;
    justify-content: space-around;
    width: 80%;
    padding: 10px;
    margin-right: 10px;
    margin-left: 10px;
    border-radius: 5px;
}

.event-item {
    flex: 1;
    text-align: center;
    padding: 5px;
}


.data,
.ouro,
.prata,
.bronze {
    font-weight: bold;
}

.indice {
    color: var(--cor-texto);
}

.data {
    color: var(--cor-texto);
}

.ouro {
    color: gold;
}

.prata {
    color: silver;
}

.bronze {
    color: #cd7f32;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: var(--cor-fundo);
}

::-webkit-scrollbar-thumb {
    background-color: var(--cor-texto);
    border-radius: 10px;
}

::-webkit-scrollbar-corner {
    background-color: var(--cor-fundo);
}