/*recuerda resetar los estilos del navegador*/
.header {
  height: 70%;
  background-color: white;
}
.navbar {
  height: 70%;
  display: flex; /*pone los itemes uno a lado del otro*/
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  padding: 1rem 1rem;
}

.menu_hamburguesa {
  display: none;
}
.menu_hamburguesa:checked + .ul_links {
  height: calc(80vh - 100%);
}

.logo {
  content: url("../assets/icono_sillet.png");
  width: 3rem;
  object-fit: cover;
}

.list_icon {
  cursor: pointer;
}
.ul_links {
  width: 100%;
  list-style: none;
  background-color: rgb(107, 185, 241);
  position: absolute;
  top: 100%;
  left: 0;
  height: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: all 0.5s;
  border: 2px solid #fff;
  border-radius: 15px;
}

.link {
  padding: 5px 10px;
  text-decoration: none;
  font-size: 1.5rem;
  font-family: system-ui;
  color: rgb(255, 255, 255);
}

.link:hover {
  border: 2px solid #fff;
  border-radius: 10px;
  background-color: rgb(38, 120, 165);
  transition: all 0.3s;
}

/*estilos de la version web*/

@media (min-width: 768px) {
  .Hamburguesa {
    display: none; /*oculta el icono de rayas*/
  }
  .ul_links {
    display: flex;
    position: static;
    width: auto;
    height: auto;
    flex-direction: row;
    gap: 1rem;
    background-color: white;
  }

  .link {
    text-decoration: none;
    font-size: 1.8rem;
    padding: 0.2rem 0.7rem;
    transition: all 0.3s;
    color: black;
    background-color: white;
    border: none;
  }

  .link:hover {
    color: rgb(38, 120, 165);
    background-color: white;
    border: none;
  }

  .logo {
    content: url("../assets/icono_sillet.png");
    width: 70px;
    object-fit: cover;
  }
}
