* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Times New Roman', Times, serif;
  color: white;
}

/* Section 1 */
#section_1::after {
  content: "";
  background: url('Images/istockphoto-1336906460-170667a.jpg') no-repeat center center;
  /* Position absolute */
  position: absolute;
  top: 80px;
  left: 0px;
  /* Position absolute is set */
  width: 100%;
  height: 575.8px;
  background-size: cover;
  /* It is used to set image under the content */
  z-index: -1;
   /* Darken and blur the background image */
   background-color: rgba(0, 0, 0, 0.7);
   filter: blur(5px);
}

#section_1 {
  height: 575.8px;
  display: flex;
  flex-direction: column;
  grid-gap: 1.5rem;
  align-items: center;
  justify-content: center;
}
#section_1 h1{
  text-align: center;
  font-size: 70px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
#section_1 p {
  text-align: center;
  width: 70%;
  font-size: 50px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 40px;
}
@media (max-width: 1000px) {
  #section_1 h1{
    font-size: 70px;
  }
  #section_1 p {
    width: 70%;
    font-size: 40px;
  }
}
@media (max-width: 750px) {
  #section_1 h1{
    font-size: 60px;
  }
  #section_1 p {
    width: 70%;
    font-size: 35px;
  }
}
@media (max-width: 600px) {
  #section_1 h1{
    font-size: 60px;
  }
  #section_1 p {
    width: 80%;
    font-size: 35px;
  }
}
@media (max-width: 500px) {
  #section_1 h1{
    font-size: 50px;
  }
  #section_1 p {
    width: 80%;
    font-size: 30px;
  }
}



/* Section 2 */
#section_2 {
  padding: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 2rem;
  justify-content: center;
  justify-items: center;
  align-items: center;
  z-index: -1;
  animation: fade-in 3s forwards;
  animation: move-right 2s forwards;
}

@keyframes rotate-scale {
  from {
    transform: rotate(0deg) scale(0.1);
  }

  to {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes move-right {
  from {
    transform: translateX(-200px);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

#section_2 .package {
  padding: 50px;
  width: 350px;
  height: 535px;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 0.5rem;
  flex-direction: column;
  border: 2px solid pink;
  border-radius: 40px;
  box-shadow: palevioletred 5px 3px 10px 4px;
}

#section_2 .package h3 {
  color: black;
  font-size: 28px;
  text-align: center;
}

#section_2 .package hr {
  height: 10px;
  border-radius: 20px;
  background-color: #BA1869;
}

#section_2 .package li {
  color: black;
  font-size: 20px;
  list-style: none;
  margin-left: 10px;
}

#section_2 .package li::before {
  content: '✓';
  margin-right: 22px;
}

#section_2 .package:hover {
  cursor: pointer;
}

#section_2 .package form {
  justify-self: center;
}

#section_2 .package .button {
  display: none;
  color: white;
  font-size: 30px;
  background-color: #BA1869;
  padding: 10px;
  border: none;
  text-align: center;
  width: 200px;
  margin-top: 20px;
}

#section_2 .package .button:hover {
  color: white;
  background-color: #371068;
  font-weight: 600;
  transition: all ease-in-out 0.3s;
  cursor: pointer;
}

#section_2 .package:hover .button {
  display: block;
}

#section_2 .package:hover {
  background-color: black;
  height: 600px;
  transition: all 0.3s ease-in-out;
}

#section_2 .package:hover li,
#section_2 .package:hover h3 {
  color: white;
  transition: all 0.4s ease-in-out;
}

@media (max-width: 1170px) {
  #section_2 {
    padding: 100px 50px;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
  }
}

@media (max-width: 800px) {
  #section_2 {
    padding: 100px 20px;
    grid-template-columns: 1fr;
    grid-gap: 1rem;
  }
  #section_2 .package h3{
    font-size: 25px;
  }
}