* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: jura;
}
@font-face {
  font-family: "jura";
  src: url("Jura-Regular.woff2");
}
ul,
li,
a {
  text-decoration: none;
  list-style-type: none;
  color: inherit;
}
header {
  padding: 2rem;
  position: fixed;
  color: white;
  width: 100%;
  z-index: 100;
}

header ul li {
  font-size: 20px;
  font-weight: bold;
}
h1 {
  font-size: 4rem;
  font-weight: bold;
  border-bottom: 4px solid white;
  text-align: center;
}
h2 {
  font-size: 27px;
  font-weight: bold;
  margin-bottom: 1rem;
}
h3 {
  font-size: 27px;
  font-weight: 400;
  position: relative;
  padding-bottom: 0.5rem;
}
h3 a {
  position: relative;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header nav ul {
  display: flex;
  gap: 1rem;
}

main {
  padding-left: 2rem;
  padding-right: 2rem;
  color: white;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("img.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}
.contact {
  position: absolute;
  bottom: 70px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}
h3 a::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: white;
  transition: 0.3s ease-in-out;
}
.logo img {
  width: 100%;
  height: auto;
}
h3 a:hover::after {
  width: 100%;
}
@media only screen and (max-width: 1400px) {
header ul li {
    font-size: 13px;
}
.logo {
    max-width: 199px;
}
}
@media only screen and (max-width: 700px) {
  nav {
    display: none;
  }
}

@media only screen and (max-width: 900px) {
  h1 {
    font-size: 48px;
  }
  .contact {
    flex-direction: column;
  }
  .contact {
    bottom: 45px;
    gap: 2rem;
  }
  .logo img {
    max-width: 300px;
  }
}

@media only screen and (max-width: 650px) {
  h1 {
    font-size: 36px;
  }
  h2,
  h3 {
    font-size: 24px;
  }
  .logo img {
    max-width: 250px;
  }
}
@media only screen and (max-width: 480px) {
  h1 {
    font-size: 32px;
  }
  h2,
  h3 {
    font-size: 22px;
  }
  main {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .logo img {
    max-width: 200px;
  }
}
@media only screen and (max-width: 400px) {
  h1 {
    font-size: 32px;
    padding-bottom: 0.5rem;
  }
  h2,
  h3 {
    font-size: 20px;
  }
  h2 {
    margin-bottom: 0.5rem;
  }
  .contact {
    bottom: 2rem;
  }
  header {
    padding: 1rem;
  }
}
