html {
  font-size: 62.25%;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  height: 100vh;
  background-image: url("../images/truck.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-size: 1.6rem;
  font-family: "Oswald", sans-serif;
}

h1 {
  margin: 0;
  padding: 0;
}

a {
  color: white;
  text-decoration: none;
}

a:active {
  color: white;
}

.main {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  margin: 0 auto;
  width: 100%;
  max-width: 102rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.heading {
  font-weight: 400;
}

.heading span {
  font-weight: 700;
}

.btn {
  padding: 1rem 2rem;
  position: relative;
  background-color: black;
  border-radius: 1rem;
  opacity: 0.85;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.btn::before {
  content: "";
  width: 0%;
  height: 1px;
  position: absolute;
  bottom: 1rem;
  left: 10%;
  background-color: white;
  transition: width 0.3s ease-in-out;
}

.btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.btn:hover::before {
  width: 80%;
}

@media (min-width: 1020px) {
  .heading {
    font-size: 6.4rem;
  }

  .btn {
    font-size: 2.4rem;
  }

  .btn::before {
    left: 8%;
  }

  .btn:hover::before {
    width: 85%;
  }
}
