*{  
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

body{
    height: auto;
     --color1: #FFF ;
    --color2: #181818 ;
}

img{
    width: 100%;
}

header{
    
    width: 100%;
    height: 70px;
    z-index: 1000; /* Un valor alto para asegurar que esté encima de otros elementos */
    height: 70px;
    position: sticky;
    top: 0; /* Esto hará que se quede fijo en la parte superior */
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0 auto;
    border: 0 40px;
}

.logo{
    width: 200px;
    margin-top: 8px;
}

.nav{
    width: 100%;
}

.nav-bar {
    width: 100%;
    color: #212526;
    font-weight: 600;
    transition: 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    position: relative;
    background-color: var(--color1);
    padding: 10px 20px;
}

.menu {display: flex;}
.menu li {padding-left: 20px;}
.menu li a {
    display: inline-block;
    text-decoration: none;
    color: var(--color2);
    text-align: center;
    transition: 0.15s ease-in-out;
    position: relative;
}
.menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color2);
    transition: 0.15s ease-in-out;
}
.menu li a:hover:after {width: 100%;}
.open-menu , .close-menu {
    position: absolute;
    color: var(--color2);
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
}
.open-menu {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
.close-menu {
    top: 20px;
    right: 20px;
}
#check {display: none;}


@media(max-width: 900px){
    .menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 80%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        background-color: var(--color1);
        transition: all 0.2s ease-in-out;
    }
    .menu li {margin-top: 40px;}
    .menu li a {padding: 10px;}
    .open-menu , .close-menu {display: block;}
    #check:checked ~ .menu {right: 0;}
}










form input[type="submit"]{
    background-color: #9191bd;
    color: #fff;
    border-radius: 10px;
    border: none;
    padding: 10px 30px;
    cursor: pointer;
    margin-top: 0px;
 }

 form input[type="submit"]:hover{
    background-color: #7a7a9a;
 }

footer {
    background-color: #f8f8f8;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1); /* Sombra superior */
    transition: all 0.3s ease;
}

footer:hover {
    background-color: #e8e8e8; /* Cambia el fondo al hacer hover */
}

footer {
    opacity: 0;
    z-index: -1;
    transform: translateY(50px);
    transition: all 1s ease;
}

/* Clase que se añadirá cuando el footer esté visible */
footer.visible {
    opacity: 1;
    transform: translateY(0);
}

footer p {
    margin: 0 0 10px;
    font-size: 1.1em;
    color: #555;
}

.socials {
    margin-top: 20px;
}

.social-link {
    margin: 0 10px;
    font-size: 1.2em;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    color: #0073e6; /* Cambia de color al hacer hover */
    transform: scale(1.2); /* Agranda un poco los íconos y el texto */
}

.social-link i {
    margin-right: 8px; /* Espacio entre el icono y el texto */
}

/* Animación de fade-in al aparecer */
footer {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
}

.foot{
    text-decoration: none;
    list-style: none;
}




@media screen and (max-width: 200px){
    *{
       display: none;
    }
  }
 

