.colores {
    --e-global-color-primary: #0F5075;
    --e-global-color-secondary: #394655;
    --e-global-color-text: #000000;
    --e-global-color-accent: #0F5075;
    --e-global-color-bf56ffe: #FFFFFF;
    --e-global-color-b33dd53: #000000;
    --e-global-color-003064c: #FF6000;
    --e-global-color-0ee3b5b: #02304B;
    --e-global-typography-primary-font-family: "Roboto";
    --e-global-typography-primary-font-weight: 600;
    --e-global-typography-secondary-font-family: "Roboto Slab";
    --e-global-typography-secondary-font-weight: 400;
    --e-global-typography-text-font-family: "Roboto";
    --e-global-typography-text-font-weight: 400;
    --e-global-typography-accent-font-family: "Roboto";
    --e-global-typography-accent-font-weight: 500;
    color: var(--e-global-color-0ee3b5b);
    font-family: "Open Sans", Sans-serif;
}

/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    /* fondo azul sólido detrás de todo */
    background-color: #0F5075;
    background:
        linear-gradient(5deg,
            white 0%,
            white 20%,
            #0F5075 50%,
            #0F5075 55%,
            white 60%,
            transparent 100%),
        /* capa oscura encima de imagen */
        linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),

        /* imagen de fondo */
        url('./img/contactanos.jpg'),

        /* capa azul sólida al fondo de todo */
        linear-gradient(#1dacff, #1dacff);

    background-size: cover, cover, contain, cover;
    background-position: center, center, top, center;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
}

/* Estilos header */
header {
    background-size: 200% 100%;
    background-position: left bottom;
    color: white;
}

#head {
    font-size: 1.25rem;
}

.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon {
    filter: invert(1);
}

#logoContainer {
    margin-left: 50px;
}

#menu {
    margin-right: 150px;
}
.navbar-toggler-icon {
    filter: invert(1);
}

#headerContent {
    font-size: 3rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 3;
    width: 60%;
}

#navbarMenu {
    background-color: #0F5075;
}

#navbarMenu a {
    color: white;
}

.arrow {
    position: relative;
    right: 0px;
    height: 10px;
    transform: rotate(-90deg);
    width: 25px;
    fill: white;
    z-index: 100000;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .arrow {
    transform: rotate(0deg);
}

.dropdown-menu {
    display: none;
    opacity: 0;
    animation: fadeSlide 0.25s reverse forwards;
    transform: translateY(-20px);
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 0%;
    display: block;
    transform: translateY(0);
    animation: fadeSlide 0.25s linear forwards;
    margin-top: 0;
}

#navbarMenu .dropdown-item {
    background-color: #0F5075;
    transition: background-color 0.5s ease-out;
}

#navbarMenu .dropdown-item:hover {
    background-color: #FF6000;
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    1% {
        display: block;
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}









/* Sección de formulario y contacto */
#infoForm {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
}

h3 {
    color: #343a40;
}

.social-icons {
    gap: 10px;
}

.social-icon {
    display: inline-block;
    padding: 10px;
    border-radius: 50%;
}

footer {
    padding: 2rem;
    margin: 0px;
}

.company-name {
    font-size: 1.5rem;
}

.address,
.contact {
    font-size: 1rem;
    margin: 0.5rem 0;
}

#iframe {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

#disposicion {
    color: #0F5075;
}

#disposicion h1 {
    padding-top: 1vh;
}

#divisor {
    border-right: 1px black solid;
    height: 550px;
}

.social-icons {
    width: 30%;
}

.social-icons a {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.social-icons i {
    font-size: 24px;
}

/* Colores específicos de cada red social */
.social-icons a.facebook {
    color: white;
    background-color: #1877F2;
}

.social-icons a.instagram {
    color: white;
    background-color: #E4405F;
}

.social-icons a.linkedin {
    color: white;
    background-color: #0A66C2;
}

.social-icons a.twitter {
    color: white;
    background-color: #000000;
}

.social-icons a.youtube {
    color: white;
    background-color: #FF0000;
}

/* Efecto hover para resaltar */
.social-icons a:hover {
    filter: brightness(1.3);
}

/* Gradiente de Instagram */
.social-icons a.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer {
    background-color: #F3F3F3;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.social-icons a {
    margin: 0 10px;
    font-size: 24px;
}

@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    40% {
        opacity: 0;
        transform: translateY(50px);
    }

    70% {
        opacity: 0.5;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-slide {
    animation: fadeInSlide 1.5s linear;
}

@media (max-width: 768px) {
    .p-5 {
        padding: 1rem !important;
    }

    .m-5 {
        margin: 0.5rem !important;
    }

    #head {
        display: flex;
        justify-content: space-between;
        align-items: start !important;
        padding: 10px;
    }

    #menu {
        margin-right: 0;
        margin-top: 4vh;
    }

    #logoContainer {
        margin-left: 0;
    }

    #headerContent {
        font-size: 2rem;
        text-align: center;
    }

    #navbarNav {
        position: absolute;
        top: 125%;
        width: 90vw;
        right: 0;
        background-color: #0F5075;
        z-index: 1000;
        border-radius: 5px;
    }

    #navbarMenu {
        border: none;
    }

    #headerContent {
        font-size: 2rem !important;
    }

    .social-icons span {
        display: none !important;
    }

    #divisor {
        border-right: none;
        border-top: 1px black solid;
        height: 0;
        width: 90%;
        margin-left: 5%;
    }
}