@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary:          #232323;
    --second:           #313131;
    --third:            rgb(52, 52, 52);
    --fourth:           #3f3f3f;
    --fifth:            #161616;
    --highlighted:      #526c41;
    --highlighted-dark: #334229;
    --bg:               #333333;
    --bg-quiz:          #1e1e1e;
    --btn-quiz:         #F2F2F2;
    --code:             #919191;
    --card-content:     #767676 ;
    --text:             #a8a8a8;
    --text-contrast:    #F2F2F2;   
}

html[data-theme='light'] {
    --primary:          #c2c2c2;
    --second:           #d7d7d7;
    --third:            #696969;
    --fourth:           #444;
    --fifth:            #aaaaaa;
    --highlighted:      #2e8b57;
    --highlighted-dark: #226644;
    --bg:               #e9e9e9;
    --bg-quiz:          #b4b4b4;
    --code:             #919191;
    --card-content:     #aaaaaa ;
    --text:             #232323;             
    --text-contrast:    #2a2a2a;             
  }


* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

h1, h2, h3, p, a, ul{
    color: var(--text);
}

img{
    border-radius: 10px;
}

i {
    font-size: large;
}

a{
    text-decoration: none;
}

iframe{
    margin: 30px 50px 30px 20px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/*=============================================BANNER=============================================*/

.carousel {
    margin-top: -17vh;
}

.slide img {
    width: 99%;
    transition: .6s;
}


/*=============================================NAVEGADOR=============================================*/


header {
    z-index: 9999;
    position: sticky;
    top: .1px;
    height: auto;
    padding: 0.2rem 1rem;
    display: flex;
    align-items: center;
    background: var(--primary);
    width: 100vw;
}

.ulheader {
    margin: 0px;
    padding: 0px;
}

.aheader {
    color: var(--text-contrast);
    text-decoration: none;
}

#container-header {
    font-size: 2em;
    color: var(--text);
    display: flex;
    align-items: center;
    width: 100%;
}

#logo {
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: var(--text-contrast);
}

@media (max-width:820px) {
    #container-header p {
        display: none;
    }
}

#menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

#menu .aheader {
    display: block;
    padding: 0.5rem;
}

#btn-mobile {
    display: none;
    color: var(--highlighted) !important;
}

/*Lista*/

#menu {
    display: block;
    position: absolute;
    width: 350px;
    top: 50px;
    left: -350px;
    font-size: 1.7em;
    background: var(--primary);
    transition: 0.6s;
    z-index: 1000;
    height: 100vh;
}

#nav.active #menu {
    border-radius: 0 0 20px 0;
    height: 100vh;
    left: 0;
}

#menu .aheader {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    margin: 0 1rem;
}

#menu .aheader i {
    margin-left: 10px;
    margin-right: 10px;
    font-size: 0.8em;
    color: var(--text-contrast);
}

#btn-mobile {
    display: flex;
    padding: 0.5rem 0;
    font-size: 1.5rem;
    border: none;
    background: none;
    cursor: pointer;
    gap: 0.5rem;
}

#hamburger {
    margin: 0 10px;
    border-top: 4px solid;
    width: 30px;
    border-radius: 2px;

}

#hamburger::after,
#hamburger::before {
    content: '';
    display: block;
    width: 30px;
    border-radius: 2px;
    height: 4px;
    background: currentColor;
    margin-top: 8px;
    transition: 0.3s;
    position: relative;
}

#nav.active #hamburger {
    border-top-color: transparent;
}

#nav.active #hamburger::before {
    transform: rotate(135deg);
}

#nav.active #hamburger::after {
    transform: rotate(-135deg);
    top: -12px;
}

#theme-toggle {
    background: var(--highlighted) !important;
    color: var(--text-contrast) !important;
    border: none;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
    z-index: 1000;
  }

  #theme-toggle:hover {
    background: var(--highlighted-dark);
  }

/*=============================================CONTEUDO=============================================*/

body {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: end;
    overflow-x: hidden;
    background: var(--bg) !important;
}

section {
    width: 98vw;
    transition: 0.6s;
}

#main-content.active {
    width: calc(100vw - 350px);
    display: flex;
    flex-direction: column;
    justify-items: end;

    transition: 0.6s;
}

.text-main-content {
    margin: 0 30px;
}

.text-main-content h1 {
    margin: 30px 0 30px 0;
}

.text-main-content h2 {
    margin-bottom: 30px;
}

.container-text {
    display: flex;
    justify-content: space-around;
}

.container-text>div>p {
    text-align: justify;
    margin-left: 10px;
}

.container-text #text1-main-content {
    width: 60vw;
}

.container-text img {
    object-fit: scale-down;
    width: 35vw;
    margin: 0 20px;
}

p code {
    background: var(--code);
    padding: 3px;
    border-radius: 6px;
    color: var(--text);
}

.text-main-content h3 {
    margin-top: 40px;
}

code {
    color: var(--fourth) !important;
}

hr {
    margin: 30px 10px !important;
    justify-self: unset;
    color: var(--text-contrast);
}

.site-description-container{
    justify-self: center;
    text-align: justify;
    text-indent: -0.6em;
    padding-left: 0.6em;
    width: 60%;
}

.site-description-container > p > strong{
    font-size: 150%;
}

@media (max-width: 1000px) {
    .container-text {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .main-content {
        margin-right: 10px;
    }

    #menu .aheader i {
        margin-left: 40px;
    }

    #hamburger {
        margin-left: 40px;
    }

    .catalog-container {
        transform: scale(1);
        transform-origin: center center;
        margin: 0;
    }

    .carousel-wrapper-catalog{
        width: 80vw;
    }

}

@media (max-width: 700px) {
    #menu {
        width: 100%;
        left: -100vw;
    }

    #menu .aheader i {
        margin-left: 50px;
    }

    #hamburger {
        margin-left: 10px;
    }

    .main-content {
        margin-right: 50px;
    }

    .container-text img {
        margin: 20px 20px;
        width: 70vw;
        justify-self: center;
    }

    .carousel-wrapper-catalog{
        width: 70vw;
    }

    .card-description-catalog{
        scale: 0.7;
    }
}

/*=============================================FOOTER=============================================*/

#main-content.active>footer {
    position: unset;
    transition: .6s;
}

footer {
    position: absolute;
    display: flex;
    justify-content: space-around;
    background-color: var(--primary);
    height: auto;
    width: 100%;
    left: 0;
    transition: .6s;
    color: var(--text-contrast) !important;
}

.text-body-secondary{
    color: var(--text-contrast) !important;
}

.my-5 {
    margin: 3em 0 0 0 !important;
}

#logo-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: calc(100vw * 0.3);
}

.nav-item > .nav-link > .bi-github{
    margin-right: 5px;
}

.nav-item > a{
    border-radius: 5px;
    transition: .5s ease;
}

.nav-item > a:hover{
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    padding: 10px !important;
    transition: .5s ease;
}


/*=============================================HERO=============================================*/

.hero-section {
    height: 400px;
    margin-bottom: 60px;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1558655146-9f40138edfeb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2064&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    color: var(--text);
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

/*=============================================STATS=============================================*/

.stats-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-left: 60px;
    background: var(--second);
    color: var(--text);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.stat-item {
    margin: 0 20px;
}

.stat-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.9;
}

/*=============================================PRACTICES=============================================*/

.performance-practices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.practice-card {
    background: var(--fifth);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary);
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.practice-card h3 {
    color: var(--text);
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.practice-card p {
    color: var(--text);
    line-height: 1.6;
    font-size: 14px;
}

.practice-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    flex-shrink: 0;
}

/*=============================================TOOLS=============================================*/

.tools-section {
    background: var(--fifth);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tool-card {
    background: var(--second);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tool-card h4 {
    color: var(--text);
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-card p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
}

.tool-icon {
    font-size: 20px;
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    flex-shrink: 0;
}

/*=============================================CAROUSEL=============================================*/

.carousel-indicators>button{
    height: 10px !important;
    border-radius: 20% !important;
}

/*=============================================COLUMN=============================================*/

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.column-content {
    background: var(--primary);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.column-content h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.column-content p {
    text-align: justify;
    line-height: 1.7;
    color: var(--text);
}

/*============================================= Quiz Avaliativo ====================================*/

.quiz-box-container {
    background-color: var(--bg-quiz);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
}

.titulo-secao {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.subtitulo-secao {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 30px;
}

.questao {
    text-align: left;
}

.enunciado-questao {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--text);
    line-height: 1.5;
}

.opcoes-resposta label {
    display: block;
    background-color: var(--fifth);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 16px;
    color: var(--text);
    position: relative;
    padding-left: 45px;
}

.opcoes-resposta label:hover {
    background-color: var(--third);
    color: var(--text-contrast);
}

.opcoes-resposta input[type="radio"] {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    width: 20px;
    height: 20px;
    appearance: none;
    border: 2px solid var(--text);
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.opcoes-resposta input[type="radio"]:checked {
    background-color: var(--highlighted);
    border-color: var(--highlighted);
}


.opcoes-resposta input[type="radio"]:checked::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-color: var(--fifth);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.controles-quiz {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.controles-quiz button {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color .5s ease;
    min-width: 120px;
    font-weight: 500;
    background-color: var(--highlighted);
    color: var(--btn-quiz) !important;
    box-shadow: 0 0 0px var(--highlighted);
}

.controles-quiz button:hover {
    background-color: var(--highlighted-dark);
    box-shadow: 0 0 10px var(--highlighted-dark);
    transition: 1s ease;
}

#resultado {
    margin-top: 30px;
    font-size: 1.4em;
    font-weight: bold;
    color: var(--text);
    text-align: center;
    display: none;
}

#resultado p {
    margin-bottom: 15px;
}

#submit-quiz {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    min-width: 120px;
    font-weight: 500;
    background-color: #e6a100;
    color: var(--text-contrast);
}

.quiz-container {
    display: flex;
    justify-content: center;
}