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;
    font-weight: normal !important;

}

#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;
}

.carousel {
    overflow: hidden;
    width: 100%;
    display: flex;
    margin: 0 auto; /* Centrado */
    background-color:  #032472da ;
}

.wrap {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex; 
    transition: transform 10s ease; 
    width: max-content;
    animation: slide 30s linear infinite;
    gap:50px
}

.wrap img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
}   

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /
    }
}


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 */
    }
}