* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Equivalente a 10px. */
  font-size: 62.5%;
  font-family: 'Inter', sans-serif;

  /* Colors */
  --text-color: rgb(223, 223, 223);
}

html {
  height: 100%;
}

body {
  height: 100%;
  max-height: 100vh;

  background: url(../assets/jpg/background.jpg) no-repeat top/cover;

  display: flex;
  justify-content: center;
  align-items: center;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

/* ---------------------------- */
/* MAIN */
/* ---------------------------- */
main {
  border: 0;
  border-radius: 1rem;
  padding: 1.5rem;

  max-width: 65rem;

  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-color);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5rem;
}

/* ---------------------------- */
/* CONTAINER HEADER */
/* ---------------------------- */
#container-header {
  text-align: center;
}

#container-header img {
  width: 17.5rem;

  margin-bottom: 6rem;
}

#container-header h1 {
  margin-bottom: 1rem;

  font-family: 'Comfortaa', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
}

#container-header p {
  max-width: 45rem;

  font-size: 1.5rem;
  font-weight: 400;
}

/* ---------------------------- */
/* CONTAINER LINKS */
/* ---------------------------- */
#container-links {
  width: 100%;
  max-width: 40rem;
}

#container-links ul {
  display: flex; 
  flex-direction: column;
  gap: 1.5rem;

  text-align: center; 
}

#container-links ul li a {
  border: 0;
  border-radius: 4rem;
  padding: 1.5rem 2.5rem;

  display: block;

  font-size: 2rem;
  font-weight: 500;
  color: rgb(95, 95, 95);
  background: rgba(255, 255, 255, 0.5);

  transition: background 0.3s;
}

#container-links ul li a:hover {
  background: rgba(255, 255, 255, 0.7);
  outline: 1px solid white;
}

#container-links ul li a:active {
  background: rgba(255, 255, 255, 0.6);
}

/* ---------------------------- */
/* SOCIAL LINKS */
/* ---------------------------- */
#social-links {
  display: flex;
  gap: 1rem;
}

#social-links a {
  border: 0;
  border-radius: 50%;
  padding: 1.6rem;

  font-size: 3rem;
  color: var(--text-color);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background 0.3s;
}

#social-links a:hover {
  background: rgba(0, 0, 0, 0.1);
}

#social-links a:active {
  background: rgba(0, 0, 0, 0.2);
}

/* ---------------------------- */
/* CONTAINER FOOTER */
/* ---------------------------- */
#container-footer a{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;

  font-size: 1.3rem;
  text-align: center;
  color: var(--text-color);

  transition: filter 0.2s;
}

#container-footer a:nth-child(n + 2) {
  margin: 0.4rem 0;
}

#container-footer a:hover {
  filter: drop-shadow(0.2rem 0.2rem 0.3rem rgba(0, 0, 0, 0.5));
}

/* ---------------------------- */
/* MEDIA QUERY */
/* ---------------------------- */
@media screen and (max-width: 480px) {
  main {
    border-radius: 0;

    width: 100%;
    height: 100%;
  }
}

@media screen and (max-height: 900px) {
  :root {
    font-size: 48%;
  }
}

@media screen and (max-height: 720px) {
  :root {
    font-size: 38%;
  }
}

@media screen and (max-height: 600px) {
  :root {
    font-size: 30%;
  }
}
