@font-face {
    font-family: 'CeraPro';
    src: url('../xtras/CeraPro-Light.woff') format('woff');
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'CeraPro', 'Poppins', sans-serif;
}

body {
    background-color: #161616;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0 20px;
}

.nav-bar,
.center,
.slider,
.options-container {
    width: calc(100% - 40px);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* max-width: 480px;  */
    padding: 10px 0;
    color: #fff;
    margin-bottom: 1rem;
}

.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90vw;
    max-width: 80rem;
    padding: 0vh 2vw 1vh;
    
}

.title-container{
    margin-bottom: 1rem;
    
}

.title-container img {
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
}

.slider {
    aspect-ratio: 4 / 3;
    width: 100%;
    max-width: 1024px;
    max-height: 768px;
    border-radius: 1rem;
    margin-top: 2vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


.slide-image {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide-image.active {
    opacity: 1;
}

.slider-navcontainer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-navbtn {
    background-color: #fff;
    border-radius: 50%;
    width: 0.5rem;
    height: 0.5rem;
    margin: 0.7rem;
    border: none;
}

.btn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: solid 0.1rem rgb(201, 199, 199);
    padding: 0.5rem;
    cursor: pointer;
    z-index: 10;
    height: 100%;
    width: 5rem;
    opacity: 0;
}

.btn:active {
    border-style: outset;
}

.backward {
    left: 0;
}

.forward {
    right: 0;
}

.options-container {
    border-radius: 1rem;
    margin-top: 2vh;
    display: flex;
    flex-direction: column;
    gap: 1vh;
    padding: 2rem;
    padding-top: 0;
    font-size: 1.2em;
}

a {
    text-decoration: none;
}

.option {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    padding: 1.5vh 2vw;
    border-radius: 1rem;
    color: #fff;
}

.sub-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.option img {
    width: 2rem;
    height: 2rem;
}

.soon {
    color: #54FFB5;
    font-size: 1rem;
    position: absolute;
    margin-top: 1.9rem;
}

.dropdown-bar {
    position: fixed;
    top: -100%; /* Inicialmente fora da tela */
    left: 0;
    width: 100%;
    background-color: #161616;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: top 0.5s ease; /* Animação de descida */
    padding: 1rem;
}

.dropdown-bar h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.dropdown-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dropdown-options .option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: #222;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dropdown-options .option:hover {
    background-color: #333;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none; /* Inicialmente oculto */
}

@media screen and (min-width: 768px) {
    .center,
    .nav-bar,
    .title,
    hr.solid {
        max-width: 430px; /* Largura de um celular padrão */
        max-height: 667px; /* Altura de um celular padrão */
        overflow: auto;  /* Permite rolagem se necessário */
    }

    .options-container{
        max-width: 430px; /* Largura de um celular padrão */
        max-height: 667px; /* Altura de um celular padrão */
        padding: 0;
    }
}