/* ==========================
   RESET
========================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==========================
   VARIABLES
========================== */

:root {
  --primary: #7a1f3d;
  --text: #222;
  --text-light: #6b7280;
  --border: #d8d8d8;
  --background: #fafafa;
  --white: #ffffff;

  --radius: 12px;
  --transition: .25s ease;
}

/* ==========================
   BASE
========================== */

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--background);
  color: var(--text);

  display: flex;
  justify-content: center;
  align-items: center;

  padding: clamp(1rem, 2vw, 2rem);
}

/* ==========================
   CONTENEDOR
========================== */

.container {
  width: min(100%, 650px);
  max-height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  gap: clamp(.8rem, 2vh, 1.5rem);
}

/* ==========================
   LOGO
========================== */

.illustration {
  width: clamp(110px, 18vw, 180px);
  height: auto;
  border-radius: 50%;
}

/* ==========================
   TITULO
========================== */

h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.2;
}

/* ==========================
   SUBTITULO
========================== */

.subtitle {
  color: var(--text-light);

  font-size: clamp(1rem, 2vw, 1.1rem);

  line-height: 1.7;

  max-width: 520px;
}

/* ==========================
   REDES
========================== */

.social {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: 1rem;
}

.social a {
  width: 52px;
  height: 52px;

  display: flex;
  justify-content: center;
  align-items: center;

  text-decoration: none;

  color: var(--text);

  border: 1px solid var(--border);

  border-radius: 50%;

  background: var(--white);

  transition: var(--transition);
}

.social a:hover {
  background: var(--primary);
  color: white;

  transform: translateY(-4px);
}

.social i {
  font-size: 1.2rem;
}

/* ==========================
   EMAIL
========================== */

.email {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: 1rem;

  margin-top: .5rem;
}

.email span {
  color: var(--text-light);
  font-size: 1rem;
}

.email a {
  display: inline-flex;
  align-items: center;

  text-decoration: none;

  color: var(--text);

  border: 1px solid var(--border);

  background: var(--white);

  padding: .85rem 1.4rem;

  border-radius: var(--radius);

  font-weight: 500;

  transition: var(--transition);

  word-break: break-word;
}

.email a:hover {
  background: var(--primary);
  color: white;
}

/* ==========================
   TABLETS
========================== */

@media (max-width: 768px) {

  body {
    padding: 2rem 1.25rem;
  }

  .container {
    gap: 1.25rem;
  }

}

/* ==========================
   MÓVILES
========================== */

@media (max-width: 480px) {

  body {
    padding: 1.5rem;
  }

  .subtitle br {
    display: none;
  }

  .email {
    flex-direction: column;
  }

  .email a {
    width: 100%;
    justify-content: center;
  }

  .social a {
    width: 48px;
    height: 48px;
  }

}