@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap");

* {
  padding: 0;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

.container {
  height: 100vh;
  width: 100%;
  background: linear-gradient(to right, #93c572 70%, #c8ebb1 30%);
  position: relative;
  overflow: hidden;
}

.wave {
  position: absolute;
  top: 0;
  right: 30%;
}

nav {
  width: 90%;
  margin: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

#menu-bar {
  display: none;
}
nav label {
  padding: 5px 10px;
  color: black;
  font-size: 15px;
  font-weight: 800;
  display: none;
}
nav ul {
  display: flex;
  list-style-type: none;
}

nav ul li {
  margin: 0 5px;
}

nav ul li a {
  text-decoration: none;
  padding: 0.3rem 1.3rem;
  font-size: 17px;
  font-weight: bold;
  color: #494234;
  position: relative;
  z-index: 1;
}
nav ul li a::after {
  content: "";
  width: 0%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 20px;
  background-color: #c8ebb1;
  z-index: -1;
  transition: 0.5s;
}

nav ul li a:hover:after {
  width: 100%;
}

.main-content {
  width: 60%;
  padding-top: 100px;
  margin-left: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.main-text {
  flex-basis: 50%;
}

.image-pista img {
  width: 100%;
}

.main-content h1 {
  font-size: 60px;
  letter-spacing: 1px;
  color: #494234;
}

.main-content p {
  margin-top: 10px;
  font-size: 15px;
  letter-spacing: 1px;
}

.main-content button {
  margin-top: 2.5rem;
  outline: none;
  border: none;
  font-size: 18px;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border-radius: 0 50% 50% 0;
  background-color: #494234;
  color: white;
  cursor: pointer;
}

.swiper {
  width: 20rem;
}
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-pagination .swiper-pagination-bullet {
  margin-top: 20rem;
  opacity: 1;
  background-color: #c8ebb1;
}

.swiper-pagination .swiper-pagination-bullet-active {
  background-color: #494234;
}

.right {
  position: absolute;
  right: 8%;
  bottom: 20%;
}

.box {
  display: flex;
  align-items: center;
}

.right .box .image img {
  width: 70%;
}

.image {
  margin-top: 2rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: -5px 5px 17px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

.image:hover {
  background-color: rgba(73, 66, 52, 0.7);
}

.box .inner-box {
  margin: 1.5rem 0 0 1rem;
}

.box .inner-box p {
  font-size: 14px;
  font-weight: 500;
}

.social-links {
  position: absolute;
  right: 5%;
  bottom: 5%;
}

.social-links i {
  margin-left: 10px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #93c572;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}
.social-links::before {
  content: "";
  width: 80%;
  height: 3px;
  position: absolute;
  top: 42%;
  left: -159px;
  background-color: #494234;
}
.social-links i:hover {
  transform: translateY(-5px);
}

@media screen and (max-width: 768px) {
  .container {
    height: 100vh;
    width: 100%;
    background: linear-gradient(to right, #c8ebb1 70%, #c8ebb1 30%);
    position: relative;
    overflow: hidden;
  }

  .wave {
    position: absolute;
    top: 0;
    right: 25%;
    width: 0;
  }
  nav {
    display: block;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    padding-top: 0;

    background-color: #93c572;
  }
  .navbar {
    display: none;
  }

  .logo {
    margin-left: 10px;
    height: 60px;
  }

  nav label {
    display: initial;
    float: right;
    margin-top: 20px;
    margin-right: 10px;
  }
  nav ul {
    display: block;
  }
  nav ul li {
    position: relative;
    text-align: center;
    width: 100%;
    height: 85px;
    margin: 0;
  }

  .main-content {
    width: 85%;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: auto;
  }

  .main-text {
    flex-basis: 50%;
  }

  .image-pista img {
    width: 100%;
  }

  .main-content h1 {
    font-size: 24px;
    letter-spacing: 1px;
    color: #494234;
  }

  .main-content p {
    margin-top: 10px;
    font-size: 15px;
    letter-spacing: 1px;
  }

  .main-content button {
    margin-top: 1.5rem;
    outline: none;
    border: none;
    font-size: 18px;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border-radius: 0 50% 50% 0;
    background-color: #494234;
    color: white;
    cursor: pointer;
  }

  .swiper {
    width: 10rem;
  }
  .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .swiper-pagination .swiper-pagination-bullet {
    margin-top: 15rem;
    opacity: 1;
    background-color: #c8ebb1;
  }

  .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #494234;
  }

  .right {
    position: absolute;
    width: 100%;
    bottom: 16%;
    right: 0;
    display: flex;
    margin: auto;
    justify-content: space-around;
  }

  .box {
    display: flex;
    align-items: end;
  }

  .right .box .image img {
    width: 85%;
  }

  .image {
    margin-top: 2rem;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: -5px 5px 17px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
  }

  .image:hover {
    background-color: rgba(73, 66, 52, 0.7);
  }

  .box .inner-box {
    margin: 0;
  }
  .box .inner-box h3 {
    font-size: 11px;
  }

  .box .inner-box p {
    font-size: 8px;
    font-weight: 500;
  }

  #menu-bar:checked ~ .navbar {
    display: initial;
  }
}
