@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Satisfy&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

header nav ul a.active::after, header nav ul a::after {
  position: absolute;
  content: "";
  display: block;
}

header {
  background: url("1.png") no-repeat 50% 50%/cover;
  width: 100%;
  min-height: 100vh;
  place-content: center;
  place-items: center;
  display: grid;
  text-align: center;
  padding: min(5em, 80vh) 2em;
}
header nav {
  padding-bottom: 4em;
}
header nav ul {
  display: flex;
  gap: 35px;
  padding: 0;
  margin: 0;
  list-style: none;
  column-gap: 35px;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 15px;
}
@media screen and (min-width: 500px) {
  header nav ul {
    row-gap: 35px;
  }
}
header nav ul a {
  color: #c1c1c1;
  text-transform: uppercase;
  position: relative;
}
header nav ul a::after {
  height: 1px;
  background: #ffd700;
  width: 0%;
  transition: width 0.3s ease-in-out;
}
header nav ul a:hover {
  color: #ffd700;
}
header nav ul a:hover::after {
  width: 100%;
}
header nav ul a.active {
  color: #ffd700;
}
header nav ul a.active::after {
  width: 100%;
}
header div {
  color: #c1c1c1;
}
header div span {
  color: #ffd700;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  text-transform: uppercase;
  display: inline-block;
}
header div h1 {
  font-size: clamp(4rem, 15vw, 9rem);
  text-transform: capitalize;
  font-family: "Satisfy", cursive;
  color: #000000;
  margin: 20px auto;
  line-height: 1;
}
header div p {
  max-width: 560px;
  margin: 0 auto;
}
header div a {
    display: inline-block;
    background: #91680a;
    padding: 12px 35px;
    text-transform: uppercase;
    color: #fff;
    border-radius: 50px;
    margin-top: -8px;
    transition: background 0.25s;
    font-size: 24px;
    font-weight: 700;
}
header div a:hover {
  background: #c18a0d;
  box-shadow: 2px 4px 14px rgba(0, 0, 0, 0.5);
}