﻿body {
    background: linear-gradient(-45deg, #020122, #0582CA, #235789, #1AC8ED, #E7E7E7);
    background-size: 400% 400%;
    background-repeat: no-repeat; 
    animation: gradient 15s ease infinite;
    height: 100%; 
    margin: 0; 
    overflow-x: hidden; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.body-content {
    min-width: 100%;
    min-height: 100%;
}

/*navbar*/
.navclass {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: white;
    color: black;
    min-width: 100%;
}


#mg {
    height: 60px;
    margin-right: 10px;
}

.fstyle {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: #2E4756;
    text-decoration: none;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 50px;
    background-color: white;
    transition: background-color 0.3s, color 0.3s;
    box-shadow: 3px 3px 2px black;
}

    .fstyle:hover {
        background-color: #2E4756;
        color: white;
    }


.nav-link {
    min-width: 150px;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    color: #007BFF;
    border-bottom: 2px groove #2081C3;
    background-color: white;
    margin-right: 10px;
    transition: background 0.3s, color 0.3s;
}

    .nav-link:hover {
        color: white;
        border-bottom: 2px groove #2E4756;
        background-color: #2081C3;
    }

#nav {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(0);
    opacity: 1;
}

.fixed {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.session {
    background-color: white;
    box-shadow: 3px 3px 2px black;
    color: #2E4756;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

    .session:hover {
        background-color: #2E4756;
        color: white;
    }

.dropdown {
    position: relative;
    display: inline-block;
}

.btndrop {
    background-color: white;
    box-shadow: 3px 3px 2px black;
    color: #2E4756;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    border-radius: 15px;
    padding: 10px;
    transition: background 0.3s, color 0.3s;
    border: none;
    cursor: pointer;
}

    .btndrop:hover {
        background-color: #2E4756;
        color: white;
    }

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    right: 0;
    margin-top: 2px;
    border-radius: 15px;
    z-index: 10000;
    
}


.dropdown:focus-within .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: black;
    padding: 10px;
    text-decoration: none;
    display: block;
}

    .dropdown-content a:hover {
        background-color: #f1f1f1;
        border-radius: 15px;
    }

/*/---------------------/*/

/*footer*/

#foot {
    background-color: #124559;
    opacity:0;
    color: white;
    padding: 20px 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: translateY(100%);
}

    #foot.show {
        transform: translateY(0);
        opacity: 0.8;
    }


.mensajeria {
    width:60%;
}

.form-controlfoot {
    width: 100%;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.btn-primaryfoot {
    background-color: #1DA1F2;
    width: 100%;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    color: white;
    font-weight: bold;
}

    .btn-primaryfoot:hover {
        background-color: #0d8ddf; /* Sombra más clara al pasar el ratón */
    }

#scrollToTop {
    margin-top: 10px;
    color: #1DA1F2; /* Color del enlace */
    text-decoration: none; /* Sin subrayado */
    font-weight: bold;
}

    #scrollToTop:hover {
        text-decoration: underline; /* Subrayado al pasar el ratón */
    }

/*/---------------------/*/
