/* IMPORTO FUENTE */

@font-face {
  font-family: friz-quadrata-regular;
  src: url(../fonts/friz-quadrata-regular.ttf);
}

/* ESTILOS GENERALES BÁSICOS QUE SE APLICARÁN A CUALQUIER VERSIÓN */
html {
  scroll-behavior: smooth;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: friz-quadrata-regular;
}

button {
  font-size: 1.5em;
  padding: 0.5em 1.3em;
  border: 1px solid rgb(0, 0, 0);
  border-radius: 5px;
  background-color: #f1e09d;
  color: black;
  box-shadow: 0px 0px 10px black;
}
button:hover {
  background-color: #ba9b61;
  cursor: pointer;
}

h1 {
  font-size: 3em;
}
h2 {
  font-size: 2.5em;
}
h3 {
  font-size: 2em;
}
p {
  font-size: 1.2em;
}

hr {
  visibility: hidden;
}

.about-img {
  visibility: hidden;
}

.description-container span {
  color: #f93f55;
}

/* ESTILOS MOBILE RESPONSIVE (FIRST MOBILE BUSCANDO NO HACER DRY CODE)*/

/* Header */

.dark-header ul li a {
  color: white;
}

.logo {
  display: flex;
  font-weight: bold;
  letter-spacing: 1px;
  color: #f93f55;
  text-decoration: none;
  font-size: 1.5em;
  margin-top: 1em;
}

header {
  background-color: #eee;
  padding: 10px;
}

/* Menu */

.menu-icon {
  font-size: 2em;
  cursor: pointer;
  margin-bottom: 10px;
  margin-top: 10px;
  text-align: right;
  margin-top: -1em;
}

.menu {
  display: none;
}

.menu.show-menu {
  display: flex;
  flex-direction: column;
  background-color: #eee;
}

.menu.show-menu li {
  border-bottom: 1px solid #ccc;
  list-style: none;
}

.menu.show-menu li:last-child {
  border-bottom: none;
}

.menu.show-menu li a {
  display: block;
  padding: 1em;
  color: black;
  text-decoration: none;
  font-weight: bold;
}

.menu.show-menu li a:hover {
  background-color: #f93f55;
  transition: all 0.1s ease;
}

/* Cuerpo */

.dark {
  background-color: #333;
  color: white;
}

#toggle {
  display: none;
}

#label_toggle {
  display: flex;
  margin-left: 1em;
  color: #9b9b9b;
  cursor: pointer;
  font-size: 2em;
  margin-top: 0.188em;
}
/* Hero */

#hero {
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url(../img/hero.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 91.5vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  color: white;
}

/* Cuerpo */

.container-about-us {
  margin-top: 3em;
  padding: 2em;
  text-align: center;
}

.container-about-us h3 {
  padding: 0.5em;
}

.container-about-us div {
  margin-top: 1em;
  background-color: grey;
  border: solid 1px black;
  padding: 2em;
}

/* Footer */

footer {
  margin-top: 20em;
  min-height: 5vh;
  height: fit-content;
  width: 100vw;
  background-color: #eee;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  text-align: center;
}

footer a {
  color: #f93f55;
  text-decoration: none;
}

.logo-github {
  width: 2em;
  height: auto;
  margin: 0 auto;
}

/* ESTILOS ESCRITORIO */

@media screen and (min-width: 800px) {
  /* Header */

  .logo {
    display: flex;
    font-weight: bold;
    letter-spacing: 1px;
    color: #f93f55;
    text-decoration: none;
    font-size: 1.5em;
    margin-top: 1em;
  }

  .menu-icon {
    display: none;
  }

  .logo {
    display: flex;
    font-weight: bold;
    letter-spacing: 1px;
    color: #f93f55;
    text-decoration: none;
    font-size: 1.5em;
  }

  .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
  }

  .menu {
    display: flex;
    list-style: none;
  }

  .menu li {
    margin: 1rem;
  }

  .menu li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
  }

  .menu li a:hover {
    color: #f93f55;
    border-bottom: #f93f55 solid 1px;
  }

  /* CUERPO */

  .container-about-us {
    font-family: friz-quadrata-regular;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    justify-items: center;
    padding: 20px;
  }

  .container-about-us div {
    margin-top: 10em;
    max-width: 21.9em;
    text-align: center;
    background-color: grey;
    padding: 1.5em;
    border-radius: 0.4em;
    box-shadow: 0 0 1em black;
    transition: all 0.3s ease-in-out;
    color: white;
  }

  .container-about-us div:hover {
    transform: scale(1.5);
    box-shadow: 0 0 1.3em #f93f55;
  }

  .container-about-us h3 {
    margin-bottom: 0.8em;
    font-size: 1.6em;
    margin-bottom: 0.8em;
  }
  .container-about-us p {
    font-size: 1.1em;
    line-height: 1.5;
    text-align: justify;
  }
}
