/* ******************** ARCHITECTURE: CUSTOMIZED ******************** */
/* ********** Custom Properties ********** */

:root {
  --first-color: #fff;
  --white-alpha-color: rgba(255, 255, 255, 0.5);
}

@font-face {
  font-family: "Neohead";
  src: url("fonts/Neohead.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

/* ********** Reset ********** */

html {
  box-sizing: border-box; /* Las medidas son tomadas desde el borde de la caja, no del contenido */
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

h1 {
  margin: 0;
}

/* ********** Main ********** */

body {
  background: url("assets/Fondo\ Fibra\ de\ Carbono.jpg");
  overflow-x: hidden;
  font-family: "Neohead", sans-serif;
  display: flex;
  flex-direction: column;
}

.header,
.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header img {
  max-width: 250px;
  width: 100vw;
  height: auto;
  margin: 0 auto;
  padding: 1rem;
}

.header img:last-child {
  max-width: 400px;
}

.main {
  background-color: var(--white-alpha-color);
  text-shadow: 2px 4px 10px navy;
  flex: 1;
}

.main a,
.main h1 {
  padding: 1rem;
  text-decoration: none;
  text-align: center;
  color: var(--first-color);
}

.main a {
  font-size: clamp(12px, 8vw, 60px);
}

.main h1 {
  font-size: 14vw;
}

/* ********** Tablet | Desktop ********** */

@media screen and (min-width: 768px) {
  .header {
    flex-direction: row;
  }

  .header img:last-child {
    max-width: 500px;
  }

  .main h1 {
    font-size: 10vw;
  }
}
