@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

body{
    font-family: "Playfair Display", serif;
}

.container{
    max-width: 1200px;
    margin: 0 auto;
}
.header{
    background-image: linear-gradient(#0000004e,
    rgba(0, 0, 0, 0.4)), 
   url(imagenes/muralla1.jpg);
background-position: center bottom;
background-repeat: no-repeat;
background-size: cover;
min-height: 80vh;
display: flex;
align-items: center;
}
.menu{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    width: 70px; 
}

.menu .navbar ul li{
    position: relative;
    float: left;
}
.menu .navbar ul li a{
    font-size: 18px;
    padding: 20px;
    color: #fffaeb;
    display: block;
    font-weight: 600;

}
.menu .navbar ul li a:hover{
    color: rgba(255, 198, 53, 0.901);
}
#menu{
    display: none;
}
.menu-icono {
    width: 25px;
    
}
.menu label{
    cursor: pointer;
    display: none;
}
.redes-sociales { 
    
    position: relative;
    float: left;
}
.header-content {
    text-align: center;
}

.header-content h1{
    font-size: 75px;
    line-height: 80px;
    color: #fffaeb;
    text-transform: uppercase;
    margin-bottom: 35px;
}

.header-content p {
    font-size: 16px;
    color: #fffaeb;
    padding: 0 250px;
    margin-bottom: 35px;
}

.btn-1 {
    display: inline-block;
    padding: 11px 35px;
    background-color:#fffaeb;
    color: #414141;
    text-transform: uppercase;
}

.btn-1:hover {
    background-color:rgba(255, 198, 53, 0.901);;
}

 .SIU {
    padding: 0;
    background-color: #fffaeb;
    position: relative;
 }

.SIU-content {
    text-align: center;
}

.SIU-content h2 {
    font-size: 25px;
    line-height: 70px;
    color: #414141;
    text-transform: uppercase;
    padding: 0;
    margin-bottom: 15px;
}

.txt-p {
    font-size: 16px;
    color: #414247;
    padding: 0;
    margin-bottom: 55px;
}

.SIU-group{
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
}
.SIU-1{
    padding: 25px;
}
 .SIU-1 img{
    margin-bottom: 0;
    width: 200px;
    border-radius: 8px;
 }
 
.SIU-img{
    position: absolute;
    top: 0;
    right: 0;
}
.SIU-1 h3{
    color: #414141;
    font-size: 20px;
    margin-bottom: 15px;
}

/*Profesor */

.cards{
    display: flex;
    justify-content: space-evenly;
}


.cards .card{
    background: #caca9e6e;
    display: flex;
    width: 100%;
    height: 200px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    box-shadow: 0 0 px 0 rgba(0, 0, 0, 0.6);
}

.cards .card img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    display: block;
}

.cards .card .contenido-texto-card{
    width: 60%;
    color: #fff;
}

.cards .card p{
    color: #414141;
    font-weight: 300;
    padding-top: 10px;
}

.Servicios{
    background-image: linear-gradient(rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.4)), 
   url(imagenes/muralla3.jpg);
   background-position: center center;
   background-repeat: no-repeat;
   background-size: cover;
   background-attachment: fixed;
   padding: 100px 0;

}
.Servicios-content{
    text-align: center;
}
.Servicios-content h2{
    font-size: 30px;
    line-height: 70px;
    color: #fffaeb;
    text-transform: uppercase;
    margin-bottom: 35px;
}
.Servicios-content p{
    font-size: 16px;
    color: #fffaeb;
    margin-bottom: 50px;
    padding: 0 100px;
}
.Servicios-group{
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
.Servicios-1{
    padding: 0 50px ;
}
.Servicios-1 img{
    width: 200px;
    margin-bottom: 35px;
    border-radius: 8px;
}
.Servicios h3{
    color: #fffaeb;
    font-size: 18px;
}
/* horarios */
.Horarios {
    font-family: "Playfair Display", serif;
    margin: 20px auto;
    max-width: 100%;
    text-align: center;
    color: #333;
}

.Horarios h2 {
    font-size: 25px;
    line-height: 70px;
    color: #414141;
    text-transform: uppercase;
    padding: 0 250px;
    margin-bottom: 15px;
}

.Horarios table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Para garantizar un diseño uniforme */
}

.Horarios table th, .Horarios table td {
    padding: 10px;
    text-align: center;
    font-size: 0.85rem;
    border: 1px solid #585757ea;
    margin-top: 10px;
}

.Horarios table th {
    font-weight: bold;
    text-transform: uppercase;
    background-color: #f9f9f9;
    color: #414141;
    margin-top: 10px;
}

.Horarios table tbody tr:hover {
    background-color: #ffe69c;
    transition: background-color 0.3s ease-in-out;
}

.Horarios .highlight {
    background-color: rgba(255, 198, 53, 0.901);
    color: white;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    padding: 5px 8px;
}

/* general */
.general {
display: flex;
}
.general-1{
    width: 50%;
    padding: 100px 250px 100px 100px;
    background-color: #fffaeb;
}
.general-2{
    background-image: url(imagenes/f45.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 50%;
}

.general-3{
    background-image: url(imagenes/muralla2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 50%;
}
.general-4{
    background-image: url(imagenes/entrenamiento.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 50%;
}
h2{
    font-size: 55px;
    line-height: 70px;
    color: #414141;
    text-transform: uppercase;
    margin-bottom: 20px;

}
p{
    font-size: 15px;
    color: #414141;
    margin: 25px 0 45px 0;
}

#inscripcion-curso {
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h3{
    color: #414141;
    font-size: 20px;
    margin-bottom: 15px;
}

h2 {
    text-align: center;
    color: #333333;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
    color: #333333;
}

input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #cccccc;
    border-radius: 4px;
}

input:focus {
    outline: none;
    border-color: rgba(255, 209, 92, 0.901);
    box-shadow: 0 0 5px rgba(255, 198, 53, 0.901);
}

button {
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: rgba(255, 209, 92, 0.901) ;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: rgba(255, 198, 53, 0.901);
}  

iframe {
    display: block;
    margin: auto;
    width: 90%;
    max-width: 800px;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.2);
}


footer{

    background: #414141;
    padding: 60px 0 30px 0;
    margin: auto;
    overflow: hidden;
}   

.contenedor-footer{
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    border-bottom: 1px solid #ccc;
}

.content-foo{
    text-align: center;
}

.content-foo h4{
    color: #fff;
    border-bottom: 3px solid #D4AF37;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.content-foo p{
    color: #fff;
}
.titulo-final{
    justify-content: center;
    text-align: center;
    font-size: 20px;
    margin: 20px 0 0 0;
    color: #9e9797;
}

.LogoCahaf {
    width: 300px; 
    display: flex;
    padding: 20px; 

}
.contenedor-titulo-logo {
    display: flex;
    align-items: center; 
    justify-content: center; 
}


@media(max-width:991px){
    .menu{
        padding: 20px;
    }
    .menu label{
        display: initial;
    }
    .menu .navbar {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        background-color: #414141;
        display: none;
        margin-left: 10px;
        max-height: 300px; /* Altura máxima del menú */
        overflow-y: auto; /* Activa la barra de desplazamiento vertical si es necesario */
    }
    

    .menu .navbar ul li{
        width: 100%;
    }

    #menu:checked ~ .navbar{
    display: initial;
    }
    
    .header{
        min-height: 0vh;
    }

    .header-content{
        padding: 100px 30px;
    }

    .header-content p{
        padding: 0;
    }

    .SIU {
        padding: 30px;
    }
    .SIU-content h2{
        padding: 0;
    }
    .txt-p{
        padding: 0;
    }
    .SIU-group{
        flex-direction: column;
        margin-bottom: 0;
    }
    .SIU-img{
        display: none;
    }
    .Servicios{
        padding: 30px;
    }
    .Servicios-content p{
        padding: 0;
    }
    .Servicios-1{
        display: none;
        padding: 0;
    }
    .cards{
        padding: 0;
    }
    .cards .card{
        width: 100%;
    }

    .cards .card p{
     font-size: 80%;
    }

    .cards .card:first-child{
        margin-bottom: initial;
    }


    .Horarios table {
        font-size: 20px; 
    }

    .Horarios table th, .Horarios table td {
        padding: 8px;
    }

    .Horarios table td {
        font-size: 20px;
    }

    .Horarios h2 {
        font-size: 20px
        ;
    }

    .general{
        flex-direction: column;
    }
    .general-1{
        width: 100%;
        padding: 20px;
        text-align: center;
    }
    .general-2 .general-3{
        display: none;
    }
    .footer{
        padding: 0;
    }
    .contenedor-footer{
       flex-direction: column;
       text-align: center; 
    }
    .content-foo h4{
    padding: 0;
    color: #fff;
    }
    .content-foo p{
     padding: 0;
     color: #fff;
        }
         .LogoCahaf {
    width: 200px; 
    padding: 20px;

}
.contenedor-titulo-logo {
    display: flexbox;
}

}