* {
  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;
    grid-gap: 4rem;
    align-items: center;
}

#section_2 .points {
  justify-self: center;
  width: 60%;
  background-color: rgb(245, 245, 245);
  padding: 30px;
    
}
#section_2 .points:hover {
  background-color: white;
  box-shadow: lightgrey 2px 2px 2px 2px;
}

#section_2 .points a{
  text-decoration: none;
  display: flex;
  flex-direction: column;
  grid-gap: 2rem;
}

#section_2 .points h1 {
    color: black;
    font-size: 35px;
}

#section_2 .points p {
    color: black;
    font-size: 20px;
}

#section_2 .form {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-gap: 3rem;
}

#section_2 .form h1 {
    color: black;
    font-size: 50px;
}

#section_2 .form form {
    display: flex;
    flex-direction: column;
    width: 100%;
    grid-gap: 2rem;
}
#section_2 .form .tags{
    color: black;
    padding: 10px;
}
#section_2 .form #fname,#section_2 .form #lname {
    width: 30%;
    border-radius: 30px;
    height: 50px;
}

#section_2 .form #email {
    width: 70%;
    border-radius: 30px;
    height: 50px;
}
#section_2 .form .phone select option{
    color: black;
}
#section_2 .form .phone {
    display: flex;
    grid-gap: 2rem;
    width: 70%;
}
#section_2 .form .phone select{
    width: 100%;
    border-radius: 30px;
    height: 50px;
}
#section_2 .form .phone #number{
    width: 100%;
    border-radius: 30px;
    height: 50px;
}
#section_2 .form #extra {
    width: 100%;
}

#section_2 .form .submit {
    align-self: center;
    width: 150px;
    height: 50px;
    border-radius: 30px;
    background-color: white;
    color: black;
    font-size: 23px;
    font-family: 'Times new Roman';
}

#section_2 .form .submit:hover {
    cursor: pointer;
    background-color: #371068;
    color: white;
}

@media (max-width: 740px) {
    #section_2 .form #fname,#section_2 .form #lname{
        width: 50%;
    }
    #section_2 .points{
        grid-gap: 1rem;
    }
    #section_2 .points .first, #section_2 .points .second{
        width: 100%;
    }
    #section_2 .points h1{
        font-size: 30px;
    }
}
@media (max-width: 600px) {
    #section_2 .points{
        display: grid;
        grid-template-columns: 1fr;
    }
    #section_2 .points h1{
        font-size: 24px;
    }
    #section_2 .points p{
        font-size: 18px;
    }
    #section_2 .form{
        grid-gap: 1.5rem;
    }
    #section_2 .form h1{
        font-size: 40px;
    }
    #section_2 .form #email{
        width: 90%;
    }
    #section_2 .form .phone{
        width: 90%;
        grid-gap: 1rem;
    }
    #section_2 .form .phone .input{
        width: 50%;
    }
}
@media (max-width: 500px) {
    #section_2{
        padding: 100px 50px;
    }
}
@media (max-width: 400px){
    #section_2 .form{
        grid-gap: 1rem;
    }
    #section_2 .form h1{
        font-size: 35px;
    }
    #section_2 .form #fname,#section_2 .form #lname{
        width: 70%;
    }
    #section_2 .form #email{
        width: 100%;
    }
    #section_2 .form .phone{
        width: 100%;
        grid-gap: 0.2rem;
    }
}
