@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap');

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

body {
  font-family: 'Libre Baskerville', serif;
  overflow: hidden;
}

a {
  text-decoration: none;
}

nav {
  background-color: #fff;
  height: 116px;
  padding: 1rem;
  width: 100%;
  z-index: 100;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.nav-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.link.active {
  color: #908e8f;
}
.link {
  color: #7f1734;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: url('img/bg.jpg') no-repeat center center/cover;
}

.hero::after {
  content: '';
  position: absolute;
  top: 116px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
}

.hero h1,
.hero h3,
.hero a {
  z-index: 10;
  color: #fff;
  text-shadow: 0px 0px 2px rgba(150, 150, 150, 1);
}

h1 {
  font-size: 64px;
  font-weight: 700;
}

h3 {
  font-size: 36px;
  margin: 1rem 0;
}

.hero a {
  font-size: 24px;
}

a:hover {
  border-bottom: 1px solid #fff;
}

.hero a:first-of-type {
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 48px;
  }
  h3 {
    font-size: 26px;
    text-align: center;
    padding: 0 4rem;
  }
  nav {
    padding: 1rem 4rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 48px;
  }
  h3 {
    font-size: 26px;
    text-align: center;
    padding: 0 4rem;
  }
  nav {
    padding: 1rem 3rem;
  }
}

@media (max-width: 375px) {
  body {
    width: 100%;
    height: 100%;
  }

  h1 {
    font-size: 30px;
    text-align: center;
  }
  h3 {
    font-size: 20px;
    text-align: center;
    padding: 0 2rem;
  }
  .hero a {
    font-size: 18px;
  }
  nav {
    padding: 1rem;
  }
}
