

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200&display=swap');

html body{
    font-family:  'Montserrat', Arial, Helvetica, sans-serif;
    height: 100vh;
    top: 0;
    left: 0;
    overflow: hidden;
    min-height: 100vh;
    background-image: url(../images/INICIO2.jpg);
    background-size: cover;
    background-position: center;
}

/* RESET CSS */

html body {
    margin: 0;
    height: 100%;
  }
  
  ul {
    margin: 0;
    padding: 0;
  }
  h2{
    margin-left: 1em;
    margin-right: 1em;
  }
  /* Estilos del contenedor del mensaje */
.mensaje-contenedor{
    position: relative;
}

/* Estilos del mensaje flotante */
#mensaje{
    position: absolute;
    text-align: center;
    margin-top: 40%;
    margin-left: 50%;
    width: 10em;
    display: none;
    opacity: 0;
    transition: opacity 1s ease;
}
.arrow{
    width: 1.5em;
    padding: 0;
}
p{
    margin: 0;
}

  /*quitar estilo a los enlaces*/
  a {
    color: initial;
    text-decoration: none;
  }

/*NAVEGADOR*/
.topbar{
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: center;
    position: fixed;
    height: 3em;
    width: 100%;    
}


nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  
}

nav a{
    padding: 2px 7px 2px 7px;
}

.nav-menu__item{
    margin: 0 1rem;
    overflow: hidden;
    text-decoration: none;
}

li a{
    color: black;
}
li a:hover{
    transform: scale(1.2);
    transform-origin: left;
    transition: transform ease-in-out 0.3s;
}

#menu-toggle {
    display: none;
}

#icon-home:hover {
    cursor: pointer;
    outline: 0;
    width: 30em;
}

/*ICONOS*/
#icon-home{
    width: 25em;
    margin-top: 5em;
    margin-left: 1em;
    transition: all 0.4s;
}

.menu-button-container {
    display: flex; 
}

.nav-menu {
    position: absolute;
    top: 2.1em;
    left: 0;
    width: 100vw;  
}
.nav-menu__item {
    text-decoration: none;
    font-weight: bold;
}

.nav-menu>ul {
    display: flex;
    flex-direction: column;
    margin-top: 5em; /* Agrega un margen de 10em desde arriba */
}
#menu-toggle~.nav-menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}
#menu-toggle:checked~.nav-menu li {
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-menu>li {
    display: flex;
    margin: 0;
    padding: 1em 0;
    width: 30%;
}

/*fin del navegador*/

footer{
    text-align:right;
    bottom: 1em;
    color: black;
    position:absolute;
    margin-left: 1em;
    font-size: 0.8em;
    font-weight: bold;
}


/*-----MOBIL-----*/
@media (max-width:768px) and (orientation: portrait) {
    footer{
        font-size: 70%;
        bottom: 0.5em;
    }
    .imagen_fondo{
        background-size: cover;
        background-position: center;
        height: 100vh;
        max-height: 100%;
        max-width: 100%; /* Esto asegura que el ancho no supere el tamaño del contenedor */
        max-height: 100%;
    }
    #mensaje{
        position: absolute;
        margin-top: 50%;
        margin-left: 50%;
        width: 5em;
    }
/*navegador**/
.menu-button-container {
    display: flex; 
}
.nav-menu {
    position: absolute;
    top: 2.1em;
    left: 0;
    width: 100vw;
   
}
.nav-menu__item {
    text-decoration: none;
    font-weight: bold;
}
/*oculta*/
#menu-toggle~.nav-menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    /*se pliega a un 40% de distancia*/
    margin-left: 40%;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}
#menu-toggle:checked~.nav-menu li {
    height: 3em;
    margin-left: 40%;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-menu>li {
    display: flex;
    margin: 0;
    padding: 1em 0;
    width: 50%;
    margin-left: 2em;
    justify-content: flex-end; /* Alinea los elementos en el lado derecho */
    text-align: right;
}

.nav-menu>ul {
    display: flex;
    margin-top: 5em; /* Agrega un margen de 10em desde arriba */
}


 /*FIRMA*/
#icon-home {
    width: 70%;
    opacity: 0; /* Inicia con opacidad 0 para que el icono esté oculto al principio */
  transform: scale(0); /* Inicia con escala 0 para que el icono esté oculto al principio */
  transition: opacity 2s ease-out, transform 2s ease-out;
}

/* Define la animación */
@keyframes appearAndPlace {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.icon.fallback {
    opacity: 1; /* Muestra el icono de la alternativa directamente */
    transform: scale(1); /* Muestra el icono de la alternativa directamente */
  }
#icon-home:hover {
    cursor: pointer;
    outline: 0;
    width: 75%;      
}
    
}
@media (max-width: 768px) and (orientation: landscape) {
        .menu-button-container {
        display: flex; 
    }
    .nav-menu {
        position: absolute;
        left: 0;
        width: 100vw;
        max-height: 100vh;
    }
    .nav-menu__item {
        text-decoration: none;
        font-weight: bold;
    }
    /*oculta*/
    #menu-toggle~.nav-menu li {
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        /*se pliega a un 40% de distancia*/
        margin-left: 40%;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }
    #menu-toggle:checked~.nav-menu li {
        margin-left: 50%;
        padding: 0;
        height: 2em;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }
    .nav-menu__item{
        height: 1em;
    }
    li{
        padding: 0;
        height: 2em;
    }    
    a{
        height: 2em;
    }
    .nav-menu>li {
        display: flex;
        margin: 0;
        padding: 0;
        width: 40%;
        margin-left: 2em;
        justify-content: flex-end; /* Alinea los elementos en el lado derecho */
        text-align: right;
    }
    
    .nav-menu>ul {
        display: flex;
        margin-top: 3em; /* Agrega un margen de 10em desde arriba */

    }
    .point{
        color: white;
        font-weight: 400;
    }
    
     /*FIRMA*/
    #icon-home {
        width: 50%;
        opacity: 0; /* Inicia con opacidad 0 para que el icono esté oculto al principio */
        transform: scale(0); /* Inicia con escala 0 para que el icono esté oculto al principio */
        transition: opacity 1s ease-out, transform 1s ease-out;
      }
      
      /* Define la animación */
      @keyframes appearAndPlace {
        0% {
          opacity: 0;
          transform: scale(0);
        }
        100% {
          opacity: 1;
          transform: scale(1);
        }
      }
      #icon-home.fallback {
        opacity: 1; /* Muestra el icono de la alternativa directamente */
        transform: scale(1); /* Muestra el icono de la alternativa directamente */
      }
    
footer>b{
    font-size: 5%;
}


}