* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: red;
    font-family: sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 5%;
    font-family: sans-serif;
    background-color: white;
    margin: 0 auto;

}

.logo h2 {
    font-size: 1.8rem;
    color: rgb(51, 51, 51);

}

.logo h2 span {
    color: rgb(76, 175, 80);
}

.logo .text-logo {
    font-size: 0.8rem;
    color: rgb(119, 119, 119);
}

ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

ul li {
    list-style-type: none;
}

ul li a {
    color: #333333;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
}

ul li a:hover {
    cursor: pointer;
    color: #4CAF50;
    transition: all 0.3s ease;
}

header .button-header button {
    border: 2px solid rgb(76, 175, 80);
    color: rgb(76, 175, 80);
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px 10px 15px 15px;
    transition: all 0.3s ease;

}

header .button-header button:hover {
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: #4CAF50;
    transition: color 0.2s;
}

.menu-toggle:hover {
    color: #37853a;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80);
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 10%;
}


.hero .hero-content {
    color: white;
    max-width: 800px;
    margin: 0 auto;

}

.hero .hero-content h1 {

    font-size: 2.4rem;
    margin: 0 0 20px;

}

.hero .hero-content .subtitle-hero {
    font-size: 1.2rem;
    margin-bottom: 30px;


}

.hero .hero-content .ctn-hero button {
    background-color: #4CAF50;
    color: white;
    padding: 15px 20px;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.hero .hero-content .ctn-hero button:hover {
    transform: translateY(-5px);
}

#cursos {
    margin-top: 50px;
}

#cursos .title-curso h2 {
    color: #333;
    font-size: 1.7rem;
    margin-bottom: 50px;
    text-align: center;
}

.container-cursos .img-grid {
    position: relative;
}

.container-cursos .img-grid .title-grid {
    position: absolute;
    top: 15px;
    left: 15px;
    border-radius: 10px;
    padding: 5px;
    font-size: 0.5rem;
    background-color: #4CAF50;
}

.container-cursos .img-grid .title-grid h2 {
    color: white;
    font-size: 0.8rem;
}

.cursos {
    transition: transform 0.3s;
}

.card {
    padding: 5%;
    line-height: 2;
}

.cursos:hover {
    transform: translateY(-10px);
}

.img-grid {
    background-position: center;
    background-size: cover;
    border-radius: 10px 10px 5px 5px;
    width: 100%;
    height: 200px;

}

.cursos-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.cursos-info .cursos h2 {
    color: #333;
    font-size: 1.1rem;
}

.cursos-info .subtitle-name {
    color: #333;
    font-size: 0.9rem;
}

.cursos-info .cursos .estrelas {
    color: #FFD700;

}

.cursos-info .cursos .estrelas .number-user {
    color: #333;
    font-size: 0.9rem;
}

.cursos-info .cursos .price {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.2rem;
}

.cursos-info .cursos .price del {
    font-size: 0.9rem;
    color: #5a5858;
    font-weight: 500;
}

.cursos-info .cursos .button-curso button {
    background-color: #4CAF50;
    width: 100%;
    border-radius: 5px 5px 20px;
    padding: 14px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    border: none;
}

.sobre {
    max-width: 1000px;
    margin: 0 auto;

}

.sobre .title-sobre {
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 40px;
    text-align: center;
}

#sobre {
    padding: 50px 5%;
}

.card-sobre {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 30px;
    margin: 0 auto;
}

.card-content:hover {
    background-color: #4CAF50;
    color: white;

}

.card-content {
    text-align: center;
    width: 100%;
    padding: 50px;
    border-radius: 10px;
    max-width: 1000px;
    transition: all 0.3s;


}

.sobre .text-sobre p {
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    color: #333;


    line-height: 1.8;
}

.card-content i {
    color: #4CAF50;
    font-size: 2.5rem;
}

.card-content:hover {
    background-color: #4CAF50;
}

.card-content:hover i,
.card-content:hover .text-card {
    color: white;
}

.card-content .text-card h3 {
    font-size: 1.4rem;
}

.card-content .text-card {
    color: #333;
    line-height: 1.8;
    font-size: 1.1rem;

}

.depoimento-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 20px;
    padding: 80px 5%
}

.depoimento-container .depoimento-content {
    padding: 30px;

}

.depoimento-container .text-depoimento {
    color: #222;
    margin-bottom: 30px;
    font-size: 1.2rem;
    text-align: center;
    padding: 0 24px;
}

.depoimento-container .depoimento-content .text-depoimento-content {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: center;
    color: #333333;
}

.depoimento-container .depoimento-content .img-depoimento {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 30px;

}

.depoimento-container .depoimento-content .img-depoimento img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.depoimento-container .depoimento-content .img-depoimento .name {
    font-weight: bold;
    color: #333;
    font-size: 1rem;
}

.depoimento-container .depoimento-content .img-depoimento p {
    color: #777777;
    font-size: 0.8rem;
}

.contato {
    padding: 80px 5%;
    margin: 0 auto;
    max-width: 800px;
    width: 100%;
}

.title-contato h2 {
    font-size: 1.9rem;
    margin-bottom: 50px;
    text-align: center;
    color: #333333;
}

.campo-de-entrada label,
.campo-de-entrada p {
    color: #333333;
    margin-bottom: 5px;
    font-weight: 600;
}

.campo-de-entrada input,
.campo-de-entrada textarea {
    width: 100%;
    margin-bottom: 20px;
    resize: vertical;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.button-contato button {
    border: none;
    background-color: #4CAF50;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    border-radius: 5px;
}

.button-contato button:hover {
    transform: translateY(-4px);
}

.container-footer {
    background-color: #222;
    padding: 60px 5% 20px;
}

.content-footer .footer-col h2,
.news-content h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;

}

.content-footer .p-footer {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 20px;
}


.footer-col {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}

.footer-col .redes-sociais a i {
    background-color: #333;
    color: white;
    border-radius: 50%;
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;

}

.footer-col .redes-sociais a i:hover {
    background-color: #4CAF50;
}

.redes-sociais {
    display: flex;
    gap: 10px;

}

.footer-col a,
.news-content p {
    margin-bottom: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    color: #dddddd;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: #4CAF50;


}

.news-content {
    max-width: 1200px;
    margin: 0 auto;

    padding-bottom: 50px;

}

.news-content .input-footer {
    display: flex;
    width: 100%;

}

.input-footer input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0px 0px 5px;
}

.input-footer button {
    border: none;
    padding: 0 15px;
    background-color: #4CAF50;
    cursor: pointer;
    border-radius: 0px 5x 5px 0px;
}

.input-footer button i {
    color: white;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #222;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
}

.copyright p {
    color: #aaa;
    font-size: 0.8rem;
}


/* // MEDIA QUERIES  */

@media screen and (max-width:768px) {

    .sidebar {
        display: none;
        flex-direction: column;
        background: #111111;
        position: absolute;
        top: 107px;
        z-index: 999;
        height: 550px;
        border-radius: 0px 10px;
        width: 200px;
        padding: 1rem 0;
    }

    .sidebar.open {
        display: flex;
        right: 0;

    }

    .sidebar-list {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        padding: 0 24px;
    }

    .sidebar-list li a {
        color: white;
        font-size: 1.5rem;
        font-family: "Bebas Neue", sans-serif;
        font-weight: 400;
    }

    .menu-toggle {
        display: block;
    }

    .button-header {
        display: none;
    }


}