#cabecera{
    width:100%;
    height:auto;
    background-color: #AEBDCA;
}
#cuerpo{
    width: 950px;
    height:1035px;
    background-color: #7895B2;
    margin-left: auto;
    margin-right: auto;
    border-style: dotted;
}
#pie{
    width:100%;
    background-color: #AEBDCA;
    height: 200px;
}
#contcabecera{
    width: 950px;
    height: 200px;
    margin-right: auto;
    margin-left: auto;
    background-color:#AEBDCA;
}
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-button {
    padding: 25px 260px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 30px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 160px;
    z-index: 1;
    
}

.dropdown-content a {
    color: black;
    text-decoration: none;
    padding: 12px 16px;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
    font-size: 20px;
}

.dropdown:hover .dropdown-content {
    display: block;
}
#contpie{
    width: 950px;
    height: 200px;
    margin-right: auto;
    margin-left: auto;
    background-color:#AEBDCA;
}
#logo{
     width: 100px;
     height: 100px;
     background-color: #AEBDCA;
     float: left;
     margin:25px;
}
#nombre{
     width: 600px;
     height: 100px;
     background-color: #AEBDCA;
     float: right;
}
.titulopri{
    font-family: "Bungee", sans-serif;
    font-size: 400%;
    color: black;
    text-align: center;
    line-height: 10px;
}
#subtit{
    width: 600px;
     height: 50px;
     background-color: #AEBDCA;
     float: right;
     margin:15px;
     padding-left: 100px;
}
#logo2{
    width: 100px;
     height: 100px;
     background-color: #AEBDCA;
     float: left;
     margin: 25px;
     margin-left: 35px;
}
#contacto{
    width: 650px;
     height: 150px;
     background-color: #AEBDCA;
     float: right;
     margin: 25px;
    border-style: none;
    border-style: double;
}
#caja1{
     width: 350px;
     height: 320px;
     background-color: #7895B2;
     float: left;
     margin-left:25px;
     margin-right: 25px;
     margin-top:60px;
     border-radius: 25px;
}
#caja1b{
     width: 350px;
     height: 320px;
     background-color: #E8DFCA;
     float: left;
     margin: 25px;
     border-radius: 25px;
}
#caja2{
     width: 500px;
     height: 125px;
     background-color: #E8DFCA;
     float: left;
     margin: 25px;
     border-radius: 25px;
}
#caja3{
     width: 500px;
     height: 145px;
     background-color: #E8DFCA;
     float: left;
     margin:25px;
     border-radius: 25px;
}
#caja4{
     width: 900px;
     height: 200px;
     background-color: #E8DFCA;
     float: left;
     margin:25px;
     border-radius: 25px;
}
#caja5{
     width: 250px;
     height: 370px;
     background-color: #E8DFCA;
     float: left;
     margin:25px;
     border-radius: 25px;
}
#caja6{
     width: 300px;
     height: 370px;
     background-color: #E8DFCA;
     float: left;
     margin:25px;
     border-radius: 25px;
}
#caja7{
     width: 250px;
     height: 370px;
     background-color: #E8DFCA;
     float: left;
     margin:25px;
     border-radius: 20px;
}
#caja1b2{
    width: 350px;
    height: 320px;
    background-color: #E8DFCA;
    float:left;
    margin-top:35px;
    border-radius: 25px;
    margin-left: 20px;
    
}
#caja2b2{
    width: 400px;
    height: 125px;
    background-color: #E8DFCA;
    margin:32px;
    float:right;
    border-radius:25px;
    margin-right: 60px;

}
#caja3b2{
    width: 400px;
    height: 145px;
    background-color: #E8DFCA;
    float: right;
    margin-top:25px;
    border-radius: 25px;
    margin-right:60px;
}
#caja4b2{
    width: 900px;
    height: 200px;
    background-color: #E8DFCA;
    float: left;
    margin:25px;
    margin-bottom:12px;
    border-radius: 25px;
    padding-top: 5px;
}
#caja5b2{
    width: 250px;
    height: 370px;
    background-color: #E8DFCA;
    float: left;
    margin:17px;
    margin-left: 25px;
    margin-bottom: 12px;
    border-radius: 25px;
}
#caja6b2{
    width: 300px;
    height: 370px;
    background-color: #E8DFCA;
    float: left;
    margin:17px;
    margin-left: 30px;
    border-radius: 25px;
}
#caja7b2{
    width: 250px;
    height: 370px;
    background-color: #E8DFCA;
    float: left;
    margin:17px;
    border-radius: 20px;
    margin-left:37px;
}
.img{
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 20px;
}
.animada{
transition: transform 0.3s ease;
}
.animada:hover{
transform: scale(1.05);
}
.button2{
background-color: #007BFF;
border-radius: 5px;
width: 400px;
height: 50px;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
color:white;
}
ul{
     margin: 0%;
     padding: 0%;

}
.ttitulo{
    font-size: 200%;
    color: black;
    text-align: center;
      font-family: "Bungee", sans-serif;
}
.textnorm{
     font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 100%;
    color: black;
    text-align: justify;
    margin: 10px;
    float: auto;
}
#contenedor {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
}

#slider {
    display: flex;
    transition: transform 3s ;
    width: 400%;
}

#slider img {
    height: 267px;
    width: 350px;
    flex-shrink: 0;
    object-fit: cover;
}
/*tablet*/
@media screen and (min-width: 768px) and (max-width: 1023px) {
  #cabecera, #pie {
        width: 100%;
        height: auto;
    }

    #contcabecera, #contpie, #cuerpo {
        width: 95%;
        height: auto;
        margin: 0 auto;
        border: none;
    }

    #cuerpo {
        background-color: #7895B2;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        padding: 15px;
    }
    #logo {
        width: 120px;
        height: 120px;
        margin: 10px auto;
        float: none;
        display: block;
    }

    #nombre {
        width: 100%;
        height: auto;
        float: none;
        text-align: center;
        margin-top: 10px;
    }

    #subtit {
        width: 100%;
        float: none;
        text-align: center;
        padding: 0;
        margin: 5px 0;
    }

    .titulopri {
        font-size: 250%;
        line-height: normal;
        text-align: center;
    }
    .dropdown-button {
        padding: 20px 80px;
        font-size: 24px;
        width: auto;
    }

    .dropdown-content {
        position: absolute;
        width: 100%;
    }
    #caja1, #caja1b, #caja1b2,
    #caja2, #caja2b2,
    #caja3, #caja3b2,
    #caja4, #caja4b2,
    #caja5, #caja5b2,
    #caja6, #caja6b2,
    #caja7, #caja7b2 {
        width: 45%;
        height: auto;
        margin: 10px;
        float: none;
        border-radius: 20px;
    }

    #caja4, #caja4b2 {
        width: 95%;
    }

    #contacto {
        width: 90%;
        height: auto;
        margin: 15px auto;
        float: none;
        border-style: double;
    }
    .ttitulo {
        font-size: 180%;
    }

    .textnorm {
        font-size: 95%;
        text-align: justify;
    }
    .button2 {
        width: 80%;
        height: 45px;
        font-size: 18px;
        margin: 10px auto;
    }
    #slider img {
        width: 100%;
        height: auto;
    }
    #pie {
        height: auto;
        text-align: center;
        padding: 15px 0;
    }
}
/*celulares*/
@media screen and (max-width: 767px){
    #cabecera, #pie {
        width: 100%;
        height: auto;
    }

    #contcabecera, #contpie, #cuerpo {
        width: 95%;
        height: auto;
        margin: 0 auto;
        border: none;
    }

    #cuerpo {
        background-color: #7895B2;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    #logo {
        width: 100px;
        height: 100px;
        margin: 10px auto;
        float: none;
        display: block;
    }

    #nombre, #subtit {
        width: 100%;
        float: none;
        text-align: center;
        margin: 5px 0;
        padding: 0;
    }

    .titulopri {
        font-size: 180%;
        line-height: normal;
        text-align: center;
    }

    .dropdown {
        position: relative;
        z-index: 1000; 
        width: 100%;
        text-align: center;
    }

    .dropdown-button {
        width: 90%;
        font-size: 22px;
        padding: 15px 0;
        background-color: #007BFF;
        color: white;
        border: none;
        border-radius: 5px;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 5%;
        width: 90%;
        background-color: #f1f1f1;
        box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
        z-index: 2000; 
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    #contenedor {
        position: relative;
        z-index: 10; /* más bajo que el menú */
        width: 100%;
        margin-top: 10px;
        border-radius: 10px;
        overflow: hidden;
    }

    #slider {
        display: flex;
        width: 400%;
        transition: transform 3s;
    }

    #slider img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    #caja1, #caja1b, #caja2, #caja3, #caja4, #caja5, #caja6, #caja7,
    #caja1b2, #caja2b2, #caja3b2, #caja4b2, #caja5b2, #caja6b2, #caja7b2 {
        width: 90%;
        height: auto;
        margin: 10px 0;
        float: none;
        border-radius: 20px;
    }

    #contacto {
        width: 90%;
        height: auto;
        margin: 15px auto;
        border-style: double;
    }

    .button2 {
        width: 80%;
        height: 45px;
        font-size: 18px;
        margin: 10px auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #pie {
        height: auto;
        text-align: center;
        padding: 15px 0;
    }
}
