@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

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

body {
  font-family: "Open Sans", sans-serif;
  color: #23272a;
  line-height: 1.3;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
}

.herosection {
  background: url('./img/backheader.png') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}

.herosection h1{
  font-family: "Luckiest Guy", cursive;
  font-size: 3rem;
  margin-bottom: 1rem;
  letter-spacing: 3px;
}

.herosection p {
  text-align: center;
  font-size: 1.1rem;
  margin: 0 auto 1.5rem;
  max-width: 900px;
}

.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: auto;
  border-radius: 5px;
  transition: 0.3s ease;
}

.btn.primary {
  background-color: #ffffff;
  color: #212529;
  padding: 0.8rem 1.5rem;
  border-radius: 70px;
}

.btn.secondary {
  background-color: #212529;
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border-radius: 70px;
}

.btn:hover {
    opacity: 0.8;
}

.section h2 {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1.2; 
}

.section {
  padding: 4rem 2rem;
  font-size: 3rem;
}

.section.alt h2 {
  text-align: left;
}

.section.alt p {
  text-align: left;
}
.section.alt {
  background: #f6f6f6;
}

.grid {
  display: flex;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.grid.reverse {
  grid-template-columns: 1fr 1fr;
}

.grid .text {
  text-align: center;
}

.section p {
  font-size: 1.1rem;
  text-align: left;
}

.image img {
    width: 550px;
}


.section.last h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: "Luckiest Guy", cursive;
  text-align: center;

}

.section.last p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.section.last .image img {
  width: 750px;
  max-width: 900px;
  margin: 0 auto;
  display: block;
  border-radius: 10px;
}


footer {
  display: flex;
  align-items: center;
  background-color: #212529;
  padding: 38px 0;
  width: 100%;
}

footer .logo img {
  width: 200px;
  margin: 0 auto;
  display: block;
}

@media (max-width: 768px) {
  .herosection {
    text-align: center;
    padding: 2rem 1rem;
  }

  .herosection h1,
  .herosection p {
    max-width: 100%;
    margin: 0 auto 1rem;
    text-align: center;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .grid {
    flex-direction: column;
    text-align: center;
  }

  .grid .text,
  .grid.reverse .text {
    text-align: center;
  }

  .image img {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  display: block;
  }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section.last .image img {
  width: 100%;
  max-width: 600px;  
  height: auto;
  margin: 0 auto;
  display: block;
}

body {
  padding-bottom: 60px; 
}

}