@import url('https://fonts.googleapis.com/css2?family=Arizonia&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  overflow-x: hidden;
}

.container {
  background: linear-gradient(90deg, #b7b78a 50%, #3c6255 50%);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper {
  background-color: #dddddd;
  width: 90%;
  height: 90vh;
}

.navbar {
  width: 90%;
  height: 15vh;
  margin: auto;
}

.navbar .logo {
  height: 60px;
  width: 60px;
  background-color: transparent;
  border: 3px solid #3c6255;
  border-radius: 50%;
  border-right-color: transparent;
  position: relative;
}

.navbar .logo::before {
  content: "Shopify";
  color: black;
  font-size: 35px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-10%, -50%);
  font-family: "Arizonia", cursive;
}

.navbar,
.navlist {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navlist li {
  list-style: none;
  padding: 1.1rem;
}

.navlist a {
  text-decoration: none;
  color: black;
  font-size: 18px;
  position: relative;
}

.navlist a::before {
  content: "";
  position: absolute;
  border: 0;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: black;
  transition: 0.3s ease-in-out;
}

.navlist a:hover::before {
  width: 100%;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
  overflow: hidden;
}

.hero img {
  width: 45%;
  mix-blend-mode: multiply;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideHeroImg 1s forwards;
  animation-delay: 0.2s;
}

@keyframes slideHeroImg {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  border-left: 4px solid #3c6255;
  padding: 20px 50px;
  overflow: hidden;
}

.content h3 {
  color: rgb(73, 73, 73);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideH3 1s forwards;
  animation-delay: 0.3s;
}

@keyframes slideH3 {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.content h1 {
  color: #3c6255;
  font-size: 3.5rem;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #3c6255;
  animation: typing 2s steps(20, end) forwards, blink 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.content p {
  color: black;
  font-size: 1.1rem;
  line-height: 25px;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideP 1s forwards;
  animation-delay: 0.6s;
}

@keyframes slideP {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.content button {
  padding: 15px 30px;
  font-size: 1.1rem;
  color: white;
  border: none;
  background-color: #3c6255;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideButton 1s forwards;
  animation-delay: 0.8s;
}

@keyframes slideButton {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.content button:hover {
  background-color: white;
  color: #3c6255;
  border: 2px solid #3c6255;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  width: 15px;
  height: 3px;
  background-color: black;
  display: block;
  margin: 5px;
}

.hamburger span:nth-child(2) {
  width: 30px;
}

@media screen and (max-width: 796px) {
  .wrapper {
    position: relative;
    overflow: hidden;
  }

  .navlist {
    position: absolute;
    top: 0;
    right: -100%;
    z-index: 9999;
    flex-direction: column;
    background-color: #b7b78a;
    width: 50%;
    height: 100%;
    justify-content: center;
    transition: 0.5s ease-in-out;
  }

  .navlist-active {
    right: 0;
  }

  .hamburger {
    display: block;
    z-index: 99999;
  }

  .hero img {
    display: none;
  }

  .content h1 {
    font-size: 50px;
  }

  .content p {
    font-size: 18px;
    line-height: 30px;
  }

  .content {
    padding: 20px 50px;
    gap: 15px;
  }
}

@media screen and (max-width: 1207px) {
  .content h1 {
    font-size: 45px;
  }

  .content p {
    font-size: 17px;
    line-height: 25px;
  }
}

@media screen and (max-width: 1110px) {
  .content {
    padding: 0px 40px;
    gap: 10px;
  }

  .content h1 {
    font-size: 40px;
  }
}
