body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#btn{
  text-decoration: overline 2px    #042c8c  ;
}
html, body {
    height: 100%;   
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

header {
    background-color: white;
    color: brown;
    padding-bottom: 8px;
    font-family: "Roboto Condensed", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 700;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
      
}
nav {
    
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-top: 20px ;
}

nav a {
    display: flex; 
    align-items: center;
    color: rgb(0, 0, 0);
    text-decoration: none;
}
.container{  
    background-position: center; 
    font-family: "Roboto Condensed", sans-serif;
    text-align: center;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    justify-content: center; 
    align-items: center;    
}
#tipos{
    text-align: justify;
    margin-left: 5%
}
.container p{
    font-size: 16px;
}
.container h2{
    font-size: 2vw; /* Responsive */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: aparecer 2s ease-out forwards; 
     text-align: justify;
}
h2{margin-left: 2%;}
nav a:hover {
    color: #048dc2  ;
}

nav a img {

    max-width: 160px; 
    height: auto;

}

.btn-flotante {
    animation: aparecer 2s ease-out forwards; 
    position: fixed;
    bottom: 40px;
    right: 40px;
    transition: all 300ms ease 0ms;
    z-index: 99;
}
.btn-flotante img {
    width: 60px;
    height: 60px;
    margin-right: 11%;
    border-radius: 50%;
    box-shadow: 2px 4px 5px rgba(0, 0, 0, 1.5);
    vertical-align: middle;
    border-style: none;
    overflow: clip;
}
#contacto{
    border-top:3px solid  #042c8c ;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.fila {
    display: flex;
    gap: 40px; /* Espaciado entre columnas */
    align-items: center;
}

.columna {
    display: flex;
    align-items: center;
    gap: 10px; /* Espaciado entre icono y texto */
}

svg {
    text-decoration: none;
    width: 30px; 
    height: 30px;
    color: rgb(0, 0, 0); 
}

.columna span {
    font-size: 16px;
   
}

#ig:hover{
    color: rgb(209, 3, 106);
}
#wpp:hover{
    color: rgb(18, 167, 50);
}
#mail:hover{
    color: rgb(221, 32, 32);
}
@media (max-width: 768px) {
    .fila {
        flex-direction: column;
        gap: 20px;
    }

    .columna {
        justify-content: center;
        text-align: center;
    }
}

#ubicacion{
    border-top:3px solid  #042c8c  ;
}
.contenedor {
    margin: 0 auto; 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    padding: 20px;
}
.tarjeta {
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}
.tarjeta:hover {
    transform: translateY(-5px);
}
.tarjeta img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.contenido {
    padding: 15px;
    text-align: center;
}
.contenido h3 {
    margin-bottom: 10px;
    color: #042c8c;
}
.contenido p {
    color: #333;
}

.medio{
    background-color:  #032472da ;
    color: white;
    font-size: medium;
}


.carousel-container {
    width: 100%;
    max-width: 1000px;
    height: 70vh;
    max-height: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background: black; 
    
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Se asegura de que no recorte la imagen */
    display: block;
    margin: auto;
}

button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

#prevBtn {
    left: 10px;
}

#nextBtn {
    right: 10px;
}

button:hover {
    background: rgba(0, 0, 0, 0.8);
}









footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

@media (max-width: 600px) {
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav a {
        margin: 5px 0;
    }
}
@keyframes aparecer {
    0% {
        opacity: 0; /* Empieza invisible */
        transform: translateY(-50px); /* Que baje de arriba */
    }
    100% {
        opacity: 1; /* Termina visible */
        transform: translateY(0); /* Llega a su lugar */
    }
}
