@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --yellow: #fbf239;
  --page-bg: #06131c;
  --overlay: rgba(0, 0, 0, 0.75);
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--page-bg);
  color: #fff;
  font-family: 'Manrope', Arial, sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--page-bg) url('../img/poster.jpg') center / cover no-repeat;
}
.background__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.background__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.page {
  min-height: 100vh;
  padding: 50px 50px 0;
}
.logo {
  width: min(25%, 430px);
  padding-bottom: 15px;
}
.intro { color: #fff; padding-bottom: 50px; }
.intro__content { width: 47%; max-width: 940px; }
.intro h1 {
  margin: 0;
  padding-bottom: 15px;
  font-size: 18px;
  line-height: 1.25;
}
.intro p {
  margin: 0 0 1em;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 1.1px;
}
.city-prompt {
  padding: 0 0 29px 15px;
  font-size: 25px;
  font-weight: 600;
}
.cities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-bottom: 50px;
}
.city-card {
  display: block;
  margin-right: 8%;
  padding: 5px 30px 10px 15px;
  border: 2px solid transparent;
  font-weight: 600;
  transition: background-color .25s ease, border-color .25s ease;
}
.city-card:hover,
.city-card:focus-visible {
  background: rgba(0, 0, 0, .75);
  border-color: var(--yellow);
  outline: none;
}
.city-card h2 { margin: 0; font-size: 25px; }
.city-card__line { border-bottom: 5px solid var(--yellow); margin: 0 0 9px; }
.city-card address {
  display: grid;
  gap: 3px;
  padding-top: 12px;
  font-style: normal;
  font-size: 17px;
  line-height: 1.35;
}
.city-card address strong { font-weight: 600; }

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-top: 2px solid gray;
  background: var(--page-bg);
  color: white;
  font-size: 18px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner button {
  padding: 10px 16px;
  border: 2px solid gray;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 20px;
  cursor: pointer;
}

@media (min-width: 1800px) {
  .intro h1, .city-prompt { font-size: 2.5vw; font-weight: 700; }
  .intro p { font-size: 1vw; }
  .city-card h2 { font-size: 1.3vw; }
  .city-card address { font-size: 1.1vw; }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .intro__content { width: 75%; }
}

@media (max-width: 991px) {
  .page { padding: 0 50px; }
  .background { background-image: url('../img/vertplan.jpg'); }
  .logo {
    width: min(58%, 440px);
    padding: 1.5rem 0 2rem;
  }
  .intro { padding-bottom: 15px; }
  .intro__content { width: 100%; }
  .intro p:last-child { margin-bottom: 2rem; }
  .city-prompt { padding-left: 0;}
  .cities { grid-template-columns: 1fr; padding-bottom: 150px; }
  .city-card {
    width: 100%;
    margin: 15px auto;
    padding: 0;
    border: 3px solid #fff02a;
    text-align: center;
  }
  .city-card h2 { padding: 15px; }
  .city-card__line, .city-card__details { display: none; }
}

@media (max-width: 575px) {
  .page { padding-inline: 20px; }
  .background { background-image: url('../img/vertmob.jpg'); }
  .logo { width: min(75%, 360px); }
  .cookie-banner { grid-template-columns: 1fr; font-size: 15px; }
  .cookie-banner button { font-size: 17px; }
}

.city-card { position: relative; }
.city-card__destination { position: absolute; inset: 0; z-index: 1; }
.city-card address a { position: relative; z-index: 2; }
