@import url("https://fonts.googleapis.com/css2?family=Pinyon+Script&family=Quattrocento:wght@400;700&family=Roboto+Mono:wght@100..700&display=swap");

:root {
  --dark: #454e6d;
  --light: #edede6;
  --negro: #222222;
  --blanco: #f5f5f5;
  --sizeIcon: 3rem;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--blanco);
  color: var(--dark);
  font-weight: 300;
}

h1 {
  font-family: "Pinyon Script", cursive;
  font-size: 5rem;
  font-weight: 100;
}

h2 {
  font-family: "Quattrocento", serif;
  font-size: 2rem;
  font-weight: 100;
}

h4 {
  font-family: "Quattrocento", serif;
  font-size: 1rem;
  font-weight: 100;
}

h5 {
  font-family: "Roboto Mono", monospace;
  font-size: 1rem;
}

p {
  font-family: "Roboto Mono", monospace;
  font-size: 0.8rem;
}

ul {
  font-family: "Roboto Mono", monospace;
  font-size: 0.8rem;
}

.tiny, .tiny a {
  font-size: 0.6rem;
}

button {
  margin: 3px;
  padding: 10px 20px;
  border: 1px solid var(--blanco);
  background-color: transparent;
  color: var(--blanco);
}

button:hover {
  background-color: var(--light);
  color: var(--dark);
}

form {
  display: flex;
  flex-direction: column;
  width: 30%;
  margin: 0 auto;
  padding: 20px 0;
  text-align: left;
}

label {
  padding: 10px 0;
  font-family: "Roboto Mono", monospace;
  font-size: 0.8rem;
}

input,
select,
textarea,
select option {
  border: 1px solid var(--light);
  border-radius: 5px;
  background-color: transparent;
  color: var(--light);
}

form button {
  width: 100px;
  margin: 10px auto;
}

.label-destacado {
  text-transform: uppercase;
}
.buses {
  text-align: left;
}
header {
  display: flex;
  flex-direction: column;
  height: 90svh;
  margin: 0;
  padding: 2.5rem;
  background-color: #808080;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.15) 35%,
      rgba(0, 0, 0, 0.3) 65%,
      rgba(0, 0, 0, 1) 100%
    ),
    url("media/IMG_001.jpg");
  background-size: cover, cover;
  background-position: center, center bottom;
  background-repeat: no-repeat;
  background-blend-mode: normal, luminosity;
  color: var(--blanco);
}

header a {
  color: var(--blanco);
  text-decoration: none;
}

header h1,
header h2 {
  margin: 0;
}

.header-text {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.center {
  margin-top: auto;
  text-align: center;
}

.header-info {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 1.5rem;
}

.Timer {
  padding: 20px 10px 40px 10px;
  text-align: center;
}

.countdown__display {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.2rem;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown__number {
  font-size: 5rem;
  line-height: 1;
}

.countdown__unit-label {
  font-size: 0.9rem;
}

.countdown__colon {
  align-self: flex-start;
  font-size: 5rem;
  line-height: 0.8;
}

.invite {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  background-color: var(--dark);
  color: var(--blanco);
}

.invite img {
  height: 20rem;
  filter: grayscale(100%);
}

.invite p {
  width: 60%;
  font-size: 1rem;
  text-align: center;
}

.itinerario {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding: 40px 40px;
  text-align: center;
}

.itinerario-horario {
  width: 90%;
}

.col-sub {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.col-sub li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--dark);
  list-style: none;
  text-align: left;
  vertical-align: middle;
  min-width: 0;
}

.col-sub li > * {
  min-width: 0;
}

.col-sub li > p {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 1rem;
}

.col-sub li span {
  margin: 0 10px;
}

.recepcion {
  width: 80%;
  text-align: left;
}

.tri-img {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 70svh;
  padding: 40px 20px;
  background-image: url("media/IMG_019.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(100%);
}

.tri-img img {
  width: 200px;
  height: auto;
  object-fit: cover;
}

.recommendations a {
  color: var(--dark);
}

.rec {
  margin: 0;
  padding: 40px 20px;
  background-color: var(--dark);
  color: var(--blanco);
  text-align: center;
}

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 20px;
}
.cols-three {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  padding: 20px;
}
.logistics {
  padding: 40px 20px;
  border-bottom: 10px solid var(--dark);
  text-align: center;
}

.logistics .col-sub {
  width: 60%;
  margin: 10px auto;
}

.hospedaje {
  padding: 40px 20px;
  border-bottom: 10px solid var(--dark);
  text-align: center;
}

.hospedaje h2 {
  text-align: center;
}

.bilbao h4,
.sansebastian h4 {
  text-align: center;
}

.hoteles {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 15px;
}

.hotel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 40%;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  padding: 0 10px;
  border: 5px solid var(--light);
  border-radius: 20px;
  background-color: var(--light);
  overflow: auto;
}

.paisvasco {
  padding: 40px 40px 0 40px;
}

.paisvasco h2 {
  display: flex;
  align-items: center;
}

.gastroclima {
  padding: 40px;
}

.gastroclima div {
  width: 80%;
}

.rsvp {
  padding: 40px;
  background-color: var(--dark);
  color: var(--blanco);
  text-align: center;
}

.gift {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 40px 20px;
}

.gift img {
  height: 20rem;
}

footer {
  padding: 40px 20px 20px 20px;
  background-color: var(--dark);
  color: var(--blanco);
  text-align: center;
}

.grids {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.cuadri {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
  padding: 15px;
  background-color: var(--blanco);
}

.cuadri img {
  width: 150px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  overflow: hidden;
  filter: grayscale(100%);
}

.flecha,
.iglesia,
.mesa,
.pastel,
.disco,
.copa,
.clima{
  width: var(--sizeIcon);
  height: var(--sizeIcon);
  display: inline-block;
  vertical-align: -0.2em;
  background-color: var(--dark);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.mapaRuta {
width: 90%;
}
.flecha {
  width: 1.2em;
  height: 1.2em;
  -webkit-mask-image: url("media/icons/flecha.svg");
  mask-image: url("media/icons/flecha.svg");
}

.iglesia {
  -webkit-mask-image: url("media/icons/iglesia.svg");
  mask-image: url("media/icons/iglesia.svg");
}

.mesa {
  -webkit-mask-image: url("media/icons/mesa.svg");
  mask-image: url("media/icons/mesa.svg");
}

.pastel {
  margin-right: 15px;
  -webkit-mask-image: url("media/icons/pastel.svg");
  mask-image: url("media/icons/pastel.svg");
}

.disco {
  -webkit-mask-image: url("media/icons/disco.svg");
  mask-image: url("media/icons/disco.svg");
}

.copa {
  -webkit-mask-image: url("media/icons/copa.svg");
  mask-image: url("media/icons/copa.svg");
}

.clima {
  margin-left: 15px;
  -webkit-mask-image: url("media/icons/clima.svg");
  mask-image: url("media/icons/clima.svg");
}

.pais {
  width: 3em;
  height: 3em;
  display: inline-block;
  vertical-align: -0.2em;
  background-image: url("media/icons/pais.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@media (max-width: 1024px) {
  header {
    background-size: cover;
    background-position: center;
  }

  h1 {
    font-size: 4rem;
  }

  form {
    width: 70%;
  }

  .invite {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 20px;
  }

  .invite img {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin: 0 auto 20px;
  }

  .invite p {
    width: 90%;
    margin: 0 auto;
  }

  .itinerario {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 30px 20px;
  }

  .itinerario-horario,
  .recepcion {
    width: 100%;
  }

  .tri-img {
    flex-direction: column;
    height: auto;
    gap: 20px;
    padding: 30px 20px;
  }

  .tri-img img {
    width: 80%;
    max-width: 300px;
  }

  .cols {
    grid-template-columns: 1fr;
  }

  .logistics .col-sub {
    width: 80%;
  }

  .hotel {
    width: 45%;
  }

  .gastroclima div {
    width: 100%;
  }

  .gift {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .grids {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  header {
    padding: 1.5rem;
  }

  .header-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .countdown__display {
    flex-wrap: wrap;
    gap: 0.1rem;
  }

  .countdown__number,
  .countdown__colon {
    font-size: 2.6rem;
  }

  .countdown__unit-label {
    font-size: 0.6rem;
  }

  .invite img {
    height: auto;
    max-width: 100%;
  }

  .invite p {
    width: 100%;
  }

  .itinerario {
    padding: 20px 15px;
  }

  .col-sub li {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 5px;
  }

  .col-sub li p {
    justify-content: center;
  }

  .logistics,
  .hospedaje {
    padding: 30px 15px;
  }

  .logistics .col-sub {
    width: 100%;
  }

  .hotel {
    width: 100%;
    aspect-ratio: auto;
    padding: 15px 10px;
  }

  .paisvasco,
  .gastroclima {
    padding: 30px 20px;
  }

  form {
    width: 90%;
  }

  .gift img {
    height: auto;
    max-width: 100%;
  }

  .cuadri {
    padding: 10px;
    gap: 10px;
  }

  .cuadri img {
    width: 100%;
  }
}
