@import url('https://fonts.googleapis.com/css2?family=Anton&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

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

body{
  height: 100vh;
  width: 100%;
}

.container{
  padding: 10px 50px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.logo{
  object-fit: cover;
  width: 200px;
  height: auto;
}

nav{
  position: absolute;
  height: 50px;
  display: flex;
  align-items: center;
}

.hero{
  display: grid;
  height: 100%;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-content: center;
}

.hero-image{
  object-fit: cover;
  width: 100%;
  height: auto;
  transform: scale(1.5);
}

.text{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 100px;
}

h1{
  font-family: "Anton", sans-serif;
  font-size: 150px;
}

h2{
  font-family: "DM Sans", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 30px;
}

p{
  font-family: "DM Sans", sans-serif;
  text-transform: uppercase;
  font-weight: 400;
}

.link-button{
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 500;
  background-color: black;
  margin: 20px 0px;
  width: fit-content;
  text-decoration: none;
  color: white;
  border: none;
  padding: 10px 50px;
  transition: all 200ms ease-in-out;
}
.link-button:hover{
  background: rgba(0, 0, 0, 0.794);
  border-radius: 8px;
}
.link-button:active{
  transform: scale(1.1);
}

@media (max-width: 1123px){
  .text{
    padding-left: 0px;
  }
}

@media (max-width: 768px) {

  .container{
    padding: 10px 50px;
  }

  .logo{
    width: 150px;
  }

  .hero{
    display: flex;
    flex-direction: column-reverse;
    padding-top: 50px;
    gap: 50px;
    height: 100%;
    align-items: center;
    justify-content: center;
  }

  .hero-image{
    transform: scale(1.3);
  }

  .text{
    padding-left: 0;
    align-items: center;
    text-align: center;
  }

  h1{
    font-family: "Anton", sans-serif;
    font-size: 100px;
    display: none;
  }

  h2{
    font-family: "DM Sans", sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 30px;
  }

  p{
    font-family: "DM Sans", sans-serif;
    text-transform: uppercase;
    font-weight: 400;
  }

}

@media (max-width: 639px) {
  .container{
    padding: 10px 10px;
  }
}
