:root {
    --cor-primaria: #2c3e50;
    --cor-secundaria: #4CAF50;
    --cor-fundo: #1a1a1a;
    --cor-texto: #ecf0f1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
}





/* Logo na Navbar */
.nav-brand {
    left: 3rem;
    display: flex;
    position: relative;
    /* top: 4%; */
    /* transform: translateY(-50%); */
    /* transform: translateX(-70%); */
    /* padding-inline-end: 45em; */
    height: 7vh;
    transition: all .3s ease;
}





.nav-hytale {
    height: 8vh;
    display: flex;
    justify-content: space-between; /* centraliza horizontalmente */
    align-items: center;     /* centraliza verticalmente */
    border: 1px solid white;
    position: relative;
    box-sizing: content-box;
}

.nav-lista {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}



div#menu-s{
    background-color: rgba(201, 211, 202, 0.637);
    border: white 1px solid;
    display: none;
    /* text-align: center; */
    /* align-self: center; */
    /* left: 45%; */

    width: 100%;;
    position: absolute;
    top:8dvh;
    align-items: center;
    align-content: center;
    /* box-sizing: content-box; */
    transform: translateY(-100px);
    opacity: 0;
    transition: transform 0.7s ease, opacity 0.5s ease;
}



#menu-s.ativo {
    /* background-color: rgba(201, 211, 202, 0.637); */
    /* border: white 1px solid; */
    /* display: flex; */
    /* text-align: center; */
    /* align-self: center; */
    /* left: 45%; */
    /* width: 100%;; */
    /* position: absolute; */
    /* top:8dvh; */
    /* align-items: center; */
    /* align-content: center; */
    /* box-sizing: content-box; */
    transform: translateY(0px);
    opacity: 100;
    /* transition: transform 0.3s ease, opacity 0.3s ease; */
}
#menu-s ul {
    list-style: none;
    display: flex;
    flex-direction: column; /* ou row, dependendo do layout que deseja */
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    margin: 0;
}

.capadoartigo {
    margin-left: 15vw;
    margin-right: 15vw;
    align-items: flex-start;
}



.artigos {
    margin-left: 5vw;
    margin-right: 5vw;
    align-items: flex-start;
}

.imagemblog {
    width: 100%;
    height: auto;
}

.author-box {
    display: block;
    position: relative;
    text-align: center;
    flex: 0 0 150px; /* largura fixa da coluna esquerda */
    margin-top: 2rem;
  }

.author-avatar {
    width: 100px;
    height: auto;
    margin-bottom: 1rem;
  }

.imagemdoblog {
    width: 100%;
    height: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.videodoblog {
    width: 100%;
    height: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.ulblog {
    margin-bottom: 16px;
    color: #bdc3c7;
    font-size: 1.2rem;
    margin-left: 1.2rem;
}


.olblog {
    margin-bottom: 16px;
    color: #bdc3c7;
    font-size: 1.2rem;
    margin-left: 1.2rem
}
.olblog li::marker {
    font-weight: bold;
  }
.ulblog li::marker {
    font-weight:lighter
}

.blogvideo {
    width: 100%;
    height: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.tituloblog {
    font-size: 2rem;
    width: 100%;
    text-align: center;
    align-self: center;
    align-content: center;
    margin-bottom: 2rem;
}

.topicosblog {
    font-size: 1.3rem;
    width: 100%;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .nav-lista {
        display: none;
    }
    ion-icon{
        display: flex;
        position: absolute;
        right: 2rem;
        cursor: pointer;
        color: wheat;
    }
    
    .nav-lista.active {
        display: flex;
    }

    div.textos{
        width: 100%;
        position: relative;
        color: white;
        top: 20dvh;
        left: 0;
        text-align: center;
        z-index: 1;

    }

    .imagemblog{
        width: calc(100% + 30vw);
        margin-left: -15vw; 
        margin-right: -15vw;
    }

    .author-box {
        display: flex;
        position: absolute;
        text-align: center;
        align-content: center;
        flex: 0 0 150px; /* largura fixa da coluna esquerda */
        margin-top: 2rem;
        margin-left: 2rem;
      }
    
      .author-avatar {
        width: 100px;
        height: auto;
        margin-bottom: 1rem;
      }

    .hero-content2 {
        margin-top: 7rem;
    }
    }


@media (min-width: 769px) {
    ion-icon{
        color: white;
        display: none;
    }
    div#menu-s{
        display: none;
    }
    div.textos{
        width: 100%;
        position: relative;
        color: white;
        top: 10dvh;
        left: 0;
        text-align: center;
        z-index: 1;

    }
}

#menu-s ul li{
    border: 0.5rem 0;

}


.nav-link {
    color: var(--cor-texto);
    text-decoration: none;
    /* font-size: clamp(1rem, 1vw, 3rem); */
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    z-index: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--cor-secundaria);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.hero-section {
    min-height: 50vh;
    /* max-height: 120dvh; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-top: 5dvh; */
    box-sizing: border-box;
    align-items: flex-start;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-content2 {
    text-align: left;
    max-width: 800px;
    padding: 2rem;
}

.logo-container {
    margin-bottom: 3rem;
}

.main-logo {
    width: min(400px, 80%);
    filter: drop-shadow(0 0 15px rgba(76, 175, 80, 0.3));
}

.hero-description {
    font-size: 1.2em;
    line-height: 1.5;
    margin-bottom: 16px;
    color: #bdc3c7;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.card-title {
    color: var(--cor-secundaria);
    margin-bottom: 1rem;
    font-size: 1.4em;
}

.cta-button {
    background: linear-gradient(135deg, var(--cor-secundaria), #45a049);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.4);
}

/* @media (max-width: 768px) {
    .nav-lista {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .hero-description {
        font-size: 1em;
    }
} */


.nav-brand img {
    height: 100%;
    filter: drop-shadow(0 0 5px rgba(76, 175, 80, 0.3));
}

/* @media (max-width: 768px) {
    .nav-brand {
        position: static;
        transform: none;
        margin-bottom: 1rem;
        height: 35px;
    }
    
    .nav-lista {
        margin-top: 60px;
    }
} */
