/* General Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.7em;};
h3 { font-size: 2.6em; }
p { font-size: 1.25em; }
ul { list-style-position:inside; }
li { font-size: 1.25em; }

button {
    font-size: 1.25em;
    font-weight: bold;
    text-align: center;
    padding: 10px 30px;
    border-radius: 5px;
    border: 2px solid rgba(101, 71, 207, 0.3);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    color: white;
    background-color: rgb(75, 107, 175);
}

.container {
    width: 80%;
    margin: 0 auto;
}

/* Menu Fijo */
header {
    background-color: #ffffff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.menu-fijo .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 5px;
}

.menu-fijo .logo img {
    height: 50px; /* Ajusta la altura del logotipo según sea necesario */
}

.menu {
    list-style: none;
    display: flex;
    margin: 0;
}

.menu li {
    margin-left: 20px;
}

.menu li a {
    color: #070000;
    text-decoration: none;
    padding: 10px 10px;
}

.menu li a:hover {
    background: #ffd700;
    border-radius: 5px;
}
/* Hero Section */
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 90vh;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("images/hero.jpg") no-repeat center center / cover;
}

#hero h1, .hero p {
    color: white;
}

#hero h1 {
    font-size: 48px;
}

.hero p {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-button {
    background: #000000;
    color: #ffffff;
    text-align: center;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
}

/* Hero2 Section */
#hero2 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 360PX;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("images/hero.jpg") no-repeat center center / cover;
}

#hero2 h1, .hero p {
    color: white;
}

#hero2 h1 {
    font-size: 48px;
}




/* About Section */
.about {
    padding: 90px 0;
}

.about-content {
    display: flex;
    justify-content: flex-start;
}

.about .text {
    flex: 1;
    margin-right: 20px;
    text-align: justify;
}

.about .text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    margin-top: 40px;
}

.about .image img {
    width: 100%;
    border-radius: 10px;
    justify-content: center
}

/* Team Section */
.team {
    background: #f4f4f4;
    padding: 110px 0;
}

.team h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.team-members {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.team .member {
    text-align: center;
    flex-basis: 20%;
    margin-bottom: 20px;
}

.team .member img {
    width: 200px;
    height: 200px;
    border-radius: 10%;
    margin-bottom: 10px;
}

.team .member h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.team .member p {
    font-size: 16px;
    color: #555;
}




/* Banderas Section */
.banderas {
    background: #f4f4f4;
    padding: 110px 0;
}

.banderas h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.banderas-members {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.banderas .member {
    text-align: center;
    flex-basis: 18%;
    margin-bottom: 20px;
}

.banderas .member img {
    width: 150px;
    height: 100px;
    margin-bottom: 10px;
}

.banderas .member h4 {
    font-size: 20px;
    margin-bottom: 5px;
}



/* Cursos Section */
.cursos {
    background: #f4f4f4;
    padding: 120px 0;
}

.cursos h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.cursos-members {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.cursos .member {
    text-align: center;
    flex-basis: 25%;
    margin-bottom: 20px;
}

.cursos .member img {
    width: 300px;
    height: 300px;
    border-radius: 10%;
    margin-bottom: 10px;
}

.cursos .member h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.cursos .member p {
    font-size: 16px;
    color: #555;
}
/* Membresia Section */
.membresia {
    background: #f4f4f4;
    padding: 90px 0;
}

.membresia h3 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.membresia-members {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.membresia .member {
    text-align: center;
    flex-basis: 33%;
    margin-bottom: 20px;
}

.membresia .member img {
    width: 225px;
    height: 300px;
    border-radius: 15%;
    margin-bottom: 10px;
}

.membresia .member h4 {
    font-size: 25px;
    text-align: center;
    padding: 15px;
}

.membresia .member p {
    font-size: 16px;
    color: #555;
}

/* Servicios Section */
.servicios {
    background: #f4f4f4;
    padding: 120px 0;
}

.servicios h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.servicios-members {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.servicios .member {
    text-align: center;
    flex-basis: 25%;
    margin-bottom: 20px;
}

.servicios .member img {
    width: 300px;
    height: 300px;
    border-radius: 10%;
    margin-bottom: 10px;
}

.servicios .member h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.servicios .member p {
    font-size: 16px;
    color: #555;
}



/* Certificados Section */
.certificados {
    background: #f4f4f4;
    padding: 10px 0;
}
.certificados h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}
.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-container img {
    max-width: 100%;
    height: auto;
}


/* Contact Section */
#contact {
    padding: 200px 0;
    background-color: #333;
    color: #fff;
    text-align: center;
}

.contact h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact p {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact ul {
    list-style: none;
}

.contact ul li {
    font-size: 18px;
    margin-bottom: 10px;
}


/* Footer Section */
.fin {
    background: #ffffff;
    color: #836b6b;
    padding: 40px 0;
    text-align: center;
}

/* Responsive Design - Media Queries */
@media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about .text {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .team .member {
        flex-basis: 45%;
    }
}

@media (max-width: 668px) {
    header .menu {
        flex-direction: column;
        font-size: 12px;
    }

    .about-content {
        text-align: center;
    }

    .team .member {
        flex-basis: 100%;
    }
}

@media (max-width: 380px) {

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about .text h3 {
        font-size: 28px;
    }

    .team-members {
        flex-direction: column;
    }

    .team .member {
        flex-basis: 100%;
    }
}
    .certificados .member img {
    flex-basis: 100px;
}
