@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap");

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

.main{
    height: 710vh;
    width: 100vw;
    background-color: ghostwhite;
}
.heading{
    height: 10rem;
    width: 100%;
    /* background-color: aliceblue; */
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.heading h1{
    font-family: "Abril Fatface", serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1.5rem;
  color: #000;
}
.col1{
    height: 40rem;
    width: 100%;
    display: flex;
    /* background-color: aliceblue; */
}
.imgx{
    height: 100%;
    width: 50%;
    /* background-color: aliceblue; */
      display: flex;
  align-items: center;
  justify-content: center;
}
.imgx img{
    max-width: 100%;
  max-height: 100%;
  background-repeat: no-repeat;
  background-position: top center;
  object-fit: contain;
  display: block;
}
.para{
    height: 100%;
    width: 40%;
    /* background-color: aliceblue; */
    display: flex;
    align-items: center;
    /* border: 2px solid black; */
    border-radius: 7%;
    justify-content: center;
    background-color: white;
}
.para p{
    max-width: 35rem;
    font-family: "Abril Fatface", serif;
  font-weight: 400;
  font-style: normal;
  color: rgb(23, 42, 60);
}
.photo{
    height: 50rem;
    width: 100%;
    /* background-color: aliceblue; */
    display: flex;
  align-items: center;
  justify-content: center;
}
.photo img{
    max-width: 100%;
  max-height: 100%;
  background-repeat: no-repeat;
  background-position: top center;
  object-fit: cover;
  display: block;
}
.info{
    height: 30rem;
    width: 80%;
    /* background-color: aliceblue; */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* border: 2px solid black; */
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    border-radius: 5rem;
    margin-bottom: 8rem;
    margin-top: 2rem;
}
.info p{
    font-size: 1.2rem;
    max-width: 60rem;
   font-family: "Abril Fatface", serif;
  font-weight: 550;
  font-style: normal;
  color: rgb(23, 42, 60);
}
.col2{
    height: 40rem;
    width: 100%;
    display: flex;
}
.img1{
    height: 100%;
    width: 50%;
    /* background-color: aliceblue; */
     display: flex;
  align-items: center;
  justify-content: center;
}
.img1 img{
    max-width: 100%;
  max-height: 100%;
  background-repeat: no-repeat;
  background-position: top center;
  object-fit: contain;
  display: block;
}
.para1{
    height: 100%;
    width: 40%;
    /* background-color: aliceblue; */
    display: flex;
    align-items: center;
    /* border: 2px solid black; */
    justify-content: center;
    border-radius: 7%;
    background-color: white;
}
.para1 p{
    max-width: 30rem;
    font-family: "Abril Fatface", serif;
  font-weight: 400;
  font-style: normal;
  color: rgb(23, 42, 60);
}
.col3{
    height: 40rem;
    width: 100%;
    display: flex;
}
.para2{
    height: 100%;
    width: 40%;
    /* background-color: aliceblue; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 2px solid black; */
    margin-left: 5rem;
    border-radius: 7%;
    background-color: white;
}
.para2 p{
    max-width: 30rem;
    font-family: "Abril Fatface", serif;
  font-weight: 400;
  font-style: normal;
  color: rgb(23, 42, 60);
}
.img2{
    height: 100%;
    width: 60%;
    /* background-color: aliceblue; */
     display: flex;
  align-items: center;
  justify-content: center;
}
.img2 img{
    max-width: 100%;
  max-height: 100%;
  background-repeat: no-repeat;
  background-position: top center;
  object-fit: contain;
  display: block;
}
.col4{
    height: 40rem;
    width: 100%;
    display: flex;
}
.para3{
    height: 100%;
    width: 40%;
    /* background-color: aliceblue; */
    display: flex;
    align-items: center;
    /* border: 2px solid black; */
    justify-content: center;
    border-radius: 7%;
    background-color: white;
}
.para3 p{
    max-width: 30rem;
    font-family: "Abril Fatface", serif;
  font-weight: 400;
  font-style: normal;
  color: rgb(23, 42, 60);
}
.img3{
    height: 100%;
    width: 50%;
    /* background-color: aliceblue; */
     display: flex;
  align-items: center;
  justify-content: center;
}
.img3 img{
    max-width: 100%;
  max-height: 100%;
  background-repeat: no-repeat;
  background-position: top center;
  object-fit: contain;
  display: block;
}
.space1{
    width: 100%;
    height: 5rem;
    /* background-color:aliceblue ; */
}
.space2{
    width: 100%;
    height: 8rem;
    /* background-color: aliceblue; */
    align-items: center;
    justify-content: center;
    text-align: center;
}
.space2 h2{
    font-family: "Abril Fatface", serif;
    font-weight: 800;
  font-style: normal;
  color: #000;
}
.space3{
    width: 100%;
    height: 5rem;
    /* background-color: aliceblue; */
}
.space4{
    width: 100%;
    height: 5rem;
    /* background-color: aliceblue; */
}
.footerimg{
  height: 48rem;
    width: 100%;
    /* background-color: aliceblue; */
    display: flex;
  align-items: center;
  justify-content: center;
}
.footerimg img{
   max-width: 100%;
  max-height: 100%;
  background-repeat: no-repeat;
  background-position: top center;
  object-fit: contain;
  display: block;
}
.space5{
  width: 100%;
  height: 5rem;
  /* background-color: aliceblue; */
}

@media (max-width: 768px) {
  .main {
    height: auto;
    background-color: ghostwhite;
  }

  .heading h1 {
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem;
  }

  .col1,
  .col2,
  .col3,
  .col4 {
    flex-direction: column;
    height: auto;
    align-items: center;
  }

  .imgx,
  .img1,
  .img2,
  .img3 {
    width: 100%;
    height: auto;
    padding: 1rem 0;
  }

  .imgx img,
  .img1 img,
  .img2 img,
  .img3 img {
    width: 90%;
    object-fit: cover;
    border-radius: 10px;
  }

  .para,
  .para1,
  .para2,
  .para3 {
    width: 90%;
    margin: 1.5rem 0;
    height: auto;
    padding: 1.2rem;
    border-radius: 1.2rem;
  }

  .para p,
  .para1 p,
  .para2 p,
  .para3 p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
  }

  .photo {
    height: auto;
  }

  .photo img {
    width: 100%;
    object-fit: cover;
  }

  .info {
    width: 90%;
    height: auto;
    padding: 2rem 1rem;
    border-radius: 2rem;
  }

  .info p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .space1,
  .space2,
  .space3,
  .space4,
  .space5 {
    height: 2rem;
  }

  .space2 h2 {
    font-size: 1.2rem;
  }

  .footerimg {
    height: auto;
    padding-bottom: 2rem;
  }

  .footerimg img {
    width: 100%;
    object-fit: cover;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .main {
    height: auto;
  }

  .heading h1 {
    font-size: 1.4rem;
  }

  .col1,
  .col2,
  .col3,
  .col4 {
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
  }

  .imgx,
  .img1,
  .img2,
  .img3 {
    width: 50%;
    height: auto;
  }

  .para,
  .para1,
  .para2,
  .para3 {
    width: 45%;
    height: auto;
    margin: auto;
    padding: 1.5rem;
  }

  .para p,
  .para1 p,
  .para2 p,
  .para3 p {
    font-size: 1.1rem;
    line-height: 1.7;
  }

  .info {
    width: 85%;
    height: auto;
    padding: 2rem;
  }

  .info p {
    font-size: 1.1rem;
  }

  .photo {
    height: 30rem;
  }

  .photo img {
    width: 100%;
    object-fit: cover;
  }

  .footerimg {
    height: 30rem;
  }

  .footerimg img {
    width: 100%;
    object-fit: cover;
  }
}

@media (min-width: 1025px) {
  .main {
    width: 100%;
    height: auto;
  }

  .heading h1 {
    font-size: 2rem;
  }

  .para p,
  .para1 p,
  .para2 p,
  .para3 p {
    font-size: 1.1rem;
    line-height: 1.8;
  }

  .info {
    width: 75%;
  }

  .info p {
    font-size: 1.2rem;
  }

  .photo img,
  .footerimg img {
    object-fit: cover;
  }
}


