/* Importing Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
:root{
   --color-1: rgb(54, 78, 54);
   --color-2:white;
   --color-3: black;
} 

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px;
}

header .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1800px;
  margin: 0 auto;
}
.navbar .logo{
  color: var(--color-2);
  font-weight: 350;
  font-size: 3.5rem;
  text-decoration: none;
  display: flex;
  gap: 30px;
  align-items: center;
  
}
.navbar .logo img{
  max-width: 75px;
  box-shadow: 2px 2px 10px var(--color-1);
}

.navbar .menu-links {
  display: flex;
  list-style: none;
  gap: 35px;
}

.navbar a {
  color: var(--color-2);
  text-decoration: none;
  transition: 0.2s ease;
  text-shadow: 5px 5px 7px var(--color-3);
  font-size: xx-large;
}

.navbar a:hover {
  color:var(--color-1);
}

.hero-section {
  height: 100vh;
  background-image: url("Cat Backgrounds.jpg");
  background-position: left;
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.hero-section .content {
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
}

.hero-section .content h2 {
  font-size: 100px;
  max-width: 1500px;
  line-height: 90px;
  color: rgb(62, 6, 79);
  text-shadow: 5px 5px 5px var(--color-3);

}
.hero-section .content p {
  font-size: 40px;
  font-weight: 1080;
  max-width: 1500px;
  margin-top: 25px;
  color: white;
  text-shadow: 2px 2px 2px var(--color-3);

}

.hero-section .content button {
  background: var(--color-1);
  padding: 35px 100px;
  border: none;
  font-size: 30px;
  border-radius: 6px;
  margin-top: 38px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s ease;
  box-shadow: 20px 5px 15px var(--color-3);
}

.hero-section .content button:hover {
  color: #fff;
  background: var(--color-3);
  box-shadow: 20px 5px 15px var(--color-1);
}

#close-menu-btn {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  display: none;
}

#hamburger-btn {
  color: var(--color-1);
  cursor: pointer;
  display: none;
}

@media (max-width: 1080px) {
  header {
    padding: 10px;
  }
  .navbar a{
    margin: 0 auto;
  }
  header.show-mobile-menu::before {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
  }   
  #hamburger-btn, #close-menu-btn {
    display: block;
  }

  .navbar .menu-links {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background: var(--color-1);
    flex-direction: column;
    padding: 70px 40px 0;
    transition: left 0.2s ease;
  }

  header.show-mobile-menu .navbar .menu-links {
    left: 0;
  }

  .navbar a {
    color: black;
  }

  .hero-section .content {
    text-align: center;
  }

  .hero-section .content :is(h2, p) {
    max-width: 100%;
  }

  .hero-section .content h2 {
    font-size: 2.3rem;
    line-height: 60px;
  }
  .hero-section .content p{
    font-size: 20px;
  }
  
  .hero-section .content button {
    padding: 9px 18px;
  }
}