@font-face {
  font-family: logo;
  src: url("thank_you.ttf");
}
@font-face {
  font-family: menunav;
  src: url("BodoniXT.ttf");
}
@font-face {
  font-family: titulos;
  src: url("YuseiMagic-Regular.ttf");
}

* {
  margin: 0px;
  padding: 0px;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

body {
  background-image: url(fondo.png);

  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* ------------------------------ H E A D E R ------------------------------- */
.supertitulo a div{
  font-family: logo;
  font-size: 2.5rem;
  display: inline-block;
  padding: 1rem;
}
.supertitulo {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.supertitulo a {
  padding: 0px 1rem;
  text-align: center;
}


header ul {
  display: flex;
  justify-content: center;
  line-height: 0px;
  margin: 0px;
}

header ul li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}


header {
  display: flex;
  justify-content: center;
  background-color: #D3EFED;
  position: fixed;
  width: 100%;
}

.logo {
  display: flex;
  justify-content: center;
  width: 100%;
}


nav li a:hover {
  background-color: white;
}


header nav a{
  text-decoration: none;
  color: black;

  font-size: 2rem;
  padding: 1rem 1rem;
  align-items: center;
  display: block;
}
nav a div {
  font-family: menunav;
  padding: 1rem;
}
header svg {
  height: 3rem;
  width: 3rem;
  display: none;
  padding: 1rem;
  margin-left: 1rem;
}

nav {
  display: flex;
}

.regulador {
  height: 5.7rem;
}

/* ------------------------------ F O O T E R ------------------------------- */
footer {
  background-color: #D6B09B;
  display: flex;
  justify-content: center;
}
footer div {
  flex: 1;
  max-width: 960px;
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: 1fr 1fr 1fr;
}
footer div {
  padding: 1rem;
}
footer a {
  text-decoration: none;
  color: black;
}


/* ---------------------------- F O R M A T O S ----------------------------- */

p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}
strong {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2;
    font-family: titulos;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

ul, ol {
  margin-bottom: 1rem;
}

footer ul li {
  list-style-type: none;
  line-height: 1.5;
}

/* ------------------------ M E D I A S   Q U E R Y ------------------------ */

@media (max-width: 1340px) {
  header nav ul li a div {
    padding: 1rem 0px;
  }
}
@media (max-width: 1150px) {
  header nav ul li a {
    /* padding: 1rem 0.5rem; */
    font-size: 1.75rem;
  }
  .supertitulo {
    font-size: 2rem;
  }
}
@media (max-width: 1024px) {
  nav ul {
    display: none;
  }

  .supertitulo {
    font-size: 2.5rem;
  }
  nav svg {
    width: 2.5rem;
    height: 2.5rem;
  }
  nav {
    display: block;
    width: 100%;
    justify-content: center;
  }
  header svg {
    display: block;
  }

}
@media (max-width: 768px) {
  footer div {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  footer div {
    grid-template-columns: 1fr;
  }
  .supertitulo a {
    padding: 0px;
  }
  .logo a div{
    font-size: 2rem;
  }
  header svg {
    width: 2rem;
    height: 2rem;
    padding: 0.5rem;
    margin-left: 0.5rem;
  }
  .regulador {
    height: 4.75rem;
  }
}
