/* *********************************  NAV BAR Y RESPONSIVIDAD *********************************  */

.navbar {
    background-color: #66C2D0;
    height: 120px;
    margin: 10px;
    border-radius: 16px;
    padding: 0.1rem;
    position: static;
}

.navbar-brand {
    font-weight: 500;
    color: #006e7e;
    font-size: 24px;
    transition: 0.3s color;
}

.navbar-toggler {
    border: none;
    padding: 0.1rem;
    width: auto;
    font-size: 1.26rem;
    margin-right: 10px;
}

.nav-link {
    color: #006b7b;
    font-weight: 500;
    position: relative;
}

.navbar-toggler:focus,
.navbar-toggler:hover,
.btn-close:focus,
.btn-close:hover {
    background-color: transparent;
    color: inherit;
    box-shadow: none;
    outline: none;
}

.nav-link:hover,
.nav-link.active {
    color: #fafafa;
}

@media (min-width: 992px) {
    .nav-link::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 2px;
        background-color: #006e7e;
        visibility: hidden;
        transition: 0.3s ease-in-out;
    }

    .offcanvas-footer {
        display: none;
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        width: 100%;
        visibility: visible;
    }
}

@media (min-width: 414px) and (max-width: 991px) {
    .offcanvas {
        text-align: center;
        height: auto;
        max-width: 220px;
    }

    .offcanvas-header {
        justify-content: center;
        background-color: #fafafa;
        padding: 1.25rem;
    }

    .offcanvas-body {
        color: #fafafa;
        background-color: #66C2D0;
        padding: 0.1rem;
    }

    .navbar-brand img {
        height: 80px;
    }

    .nav-link:hover,
    .nav-link.active {
        color: #c5f0f8;
    }

    .nav-link {
        margin-top: 10px;
        font-size: 16px;
        color: #006b7b;
    }

    .offcanvas-footer {
        background-color: #66C2D0;
        ;
        height: 90px;
    }
}

@media (max-width: 413px) {
  .navbar-brand {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .navbar-brand span {
    display: none;
  }
   .navbar-brand img {
    position: absolute;
    left: 50%;
    top: 12.5%;
    transform: translate(-50%, -50%);
  }
  .offcanvas {
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 100%;
    max-width: 220px;
  }

  .offcanvas-header {
    justify-content: center;
    background-color: #fafafa;
    padding: 1.25rem;
  }

  .offcanvas-body {
    flex-grow: 1;
    overflow-y: auto;
    color: #fafafa;
    background-color: #66C2D0;
    padding: 0.1rem;
  }

  .navbar-brand img {
    height: 80px;
  }

  .nav-link:hover,
  .nav-link.active {
    color: #c5f0f8;
  }

  .nav-link {
    margin-top: 10px;
    font-size: 16px;
    color: #006b7b;
  }

  .offcanvas-footer {
    padding: 1rem;
    background-color: #66C2D0;
    height: 100px;
  }

  .button-login {
    margin-top: 20px;
  }

  .dropdown {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .dropdown-menu {
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center;
  }

  .dropdown-menu-end {
    right: auto !important;
  }
  
}

/* *****************************************  BODY ****************************************  */


body {
    margin: 0;
    padding: 0;
    cursor: url("../IMAGENES/favicon-32x32.png"), auto;
    background-image: url("../IMAGENES/Fondi.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.container img {
    filter: drop-shadow(5px 5px 5px rgb(59, 134, 168)) drop-shadow(-5px -5px 10px rgb(0, 247, 255));

}

.container {
    position: relative;
    width: 600vw;
    height: 90vh;
    overflow: hidden;
    margin-bottom: 2vh;
}

.logo-here {
    position: absolute;
    width: 100px;
    height: auto;
}

@media (min-width: 100px) and (max-width: 1000px) {

    .container {
        width: 100%;
    }

}

/* ***************************************** FOOTER ****************************************  */

footer {
    background-color: #66C2D0;
    height: 125px;
    margin: 10px;
    border-radius: 16px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;

}

.footer-image {
    width: 80%;
    height: auto;
}

@media (max-width: 900px) {
    footer {
        padding: 0.5rem;
        height: auto;
    }

    .footer-image {
        height: 100%;
        width: 100%;
    }
}


.modal-body {
    background-color: #fffffff6;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
}

.modal-header {
    background-color: #66C2D0;
    color: #006e7e;
}

#recoverForm {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    height: 133px;
}

.form {
    position: relative;
    margin-bottom: 4.5rem;
}

.form-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0.5px solid #006e7e;
    border-radius: 5px;
    outline: none;
    padding: 1.25rem;
    background: none;
    transition: all 160ms ease-in;
    font-size: 15px;
}

.form-input:hover {
    border-color: #04444e;
}

.form-input:focus {
    border-color: #15a9c0;
}

.form-label {
    position: absolute;
    left: 1rem;
    top: 0.5rem;
    padding: 0 0.5rem;
    cursor: text;
    transition: top 200ms ease-in, left 200ms ease-in, font-size 200ms ease-in;
    background-color: #fffffff6;
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
    top: -0.730rem;
    font-size: 0.8rem;
    left: 0.8rem;
}

.button-submit {
    justify-content: center;
    margin-top: 20px;
    display: flex;
}

.button-submit button {
    padding: 7px 20px;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button-submit button {
    background-color: #006e7e;
}

.button-submit button:hover {
    background-color: #04505c;
}