.main_grid  {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: 830px auto auto auto auto auto auto;
  grid-row-gap: 65px;
  margin-bottom: 110px;
}

.intro  {
  grid-column: 1/2;
  grid-row: 1/2;
  display: inline-grid;
  grid-template-columns: 30% 30% 40%;
  grid-template-rows: 22% 78%;
  background-color: #8996a2;
}

.intro_header {
  grid-column: 1/3;
  grid-row: 1/2;
  position: relative;
  color: #3b5265;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 1.8em 0em 0em 2.5em;
}

.intro_header::after  {
  content: "";
  position: absolute;
  left: 2.5em;
  margin-top: 2.5em;
  width: 35%;
  height: 6px;
  background-color: #CC1F2F;
}

.intro p  {
  grid-column: 2/4;
  grid-row: 2/3;
  margin-bottom: 1em;
  padding: 0.2em 7em 2em 2em;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.9;
}

.section_1  {
  grid-column: 1/2;
  grid-row: 2/3;
}

.image_container1 {
  grid-column: 1/2;
  grid-row: 3/4;
  display: flex;
  justify-content: center;
  height: 400px;
}

.image_container1 img {
  height: 100%;
}

.section_2  {
  grid-column: 1/2;
  grid-row: 4/5;
}

.image_container2 {
  grid-column: 1/2;
  grid-row: 5/6;
  display: flex;
  justify-content: center;
  height: 400px;
}

.image_container2 img {
  height: 100%;
}

.section_3  {
  grid-column: 1/2;
  grid-row: 6/7;
}

.section_4  {
  grid-column: 1/2;
  grid-row: 7/8;
}

.section_1, .section_2, .section_3, .section_4 {
  display: inline-grid;
  grid-template-columns: 13% 72% 15%;
  grid-auto-rows: 2fr auto;
  padding: 1em 5em 2em 6em;
}

.head1, .head2, .head3, .head4 {
  grid-column: 1/3;
  grid-row: 1/2;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(60px);
  transition: 0.5s all ease-in-out;
}

.head_appear1, .head_appear2, .head_appear3, .head_appear4 {
  opacity: 1;
  transform: translateY(0px);
}

.header_1 {
  color: #CC1F2F;
  font-size: 6rem;
  font-weight: 500;
  position: relative;
}

.header_1::after  {
  content: "";
  position: absolute;
  margin-top: 0.5em;
  margin-left: 0.45em;
  width: 230px;
  height: 6px;
  background-color: #CC1F2F;
}

.header_1::before  {
  content: "";
  position: absolute;
  top: 2.8em;
  left: -0.7em;
  width: 230px;
  height: 6px;
  background-color: #CC1F2F;
  transform: rotate(90deg);
}

.header_2 {
  color: #284156;
  font-size: 5rem;
  font-weight: 500;
  padding-left: 2em
}

.content1, .content2, .content3, .content4 {
  grid-column: 2/4;
  grid-row: 2/3;
  font-size: 1.3rem;
  line-height: 1.4;
  padding-top: 2.5em;
  padding-right: 3.5em;
  opacity: 0;
  transform: translateX(30px);
  transition: 0.5s all ease-in-out;
}

.content_appear1, .content_appear2, .content_appear3, .content_appear4 {
  opacity: 1;
  transform: translateX(0px);
}

@media screen and (max-width: 1330px) {
  .main_grid  {
    grid-template-rows: 860px auto auto auto auto auto auto;
  }
  .intro p  {
    padding: 0em 5.5em 2em 2em;
  }
  .header_2 {
    padding-left: 1.8em
  }
}

@media screen and (max-width: 1304px) {
  .main_grid  {
    grid-template-rows: 940px auto auto auto auto auto auto;
  }
  .intro  {
    grid-template-rows: 27% 73%;
  }
  .header_2 {
    padding-left: 1.7em
  }
  .content1, .content2, .content3, .content4 {
    transform: translateY(30px);
  }
  .content_appear1, .content_appear2, .content_appear3, .content_appear4 {
    transform: translateY(0px);
  }
}

@media screen and (max-width: 1210px) {
  .main_grid  {
    grid-template-rows: 970px auto auto auto auto auto auto;
  }
  .intro  {
    grid-template-rows: 26% 74%;
  }
  .intro_header {
    padding: 1.8em 0em 0em 2.2em;
  }
  .intro_header::after  {
    left: 2.2em;
  }
  .intro p  {
    padding: 0em 4em 2em 2em;
  }
  .section_1, .section_2, .section_3, .section_4 {
    grid-template-columns: 13% 74% 13%;
    padding: 1em 0em 2em 6em;
  }
  .content1, .content2, .content3, .content4  {
    grid-column: 2/3;
    padding-right: 0em;
  }
}

@media screen and (max-width: 1140px) {
  .main_grid  {
    grid-template-rows: 1010px auto auto auto auto auto auto;
  }
  .intro  {
    grid-template-rows: 24% 76%;
  }
  .intro_header::after  {
    margin-top: 2.3em;
    width: 29%;
  }
  .intro p  {
    padding: 0.1em 4em 2em 2em;
  }
}

@media screen and (max-width: 1040px) {
  .main_grid  {
    grid-template-rows: 850px auto auto auto auto auto auto;
  }
  .intro  {
    grid-template-rows: 26% 74%;
  }
  .intro_header {
    grid-column: 1/4;
    padding: 1.5em 2.2em 0em 2.2em;
  }
  .intro_header::after  {
    width: 23%;
    height: 5px;
  }
  .intro p  {
    grid-column: 1/4;
    padding: 0.55em 4em 2em 4.7em;
  }
  .section_1, .section_2, .section_3, .section_4 {
    grid-template-columns: 10% 80% 10%;
    padding: 1em 0em 2em 0em;
  }
  .head1, .head2, .head3, .head4 {
    grid-column: 2/3;
    line-height: 1.05;
  }
  .header_1::before  {
    display: none;
  }
  .header_2 {
    padding-left: 0em;
  }
  .image_container1, .image_container2  {
    height: auto;
  }
  .image_container1 img, .image_container2 img  {
    width: 80%;
  }
}

@media screen and (max-width: 940px) {
  .main_grid  {
    grid-template-rows: 900px auto auto auto auto auto auto;
  }
  .intro  {
    grid-template-rows: 24% 76%;
  }
  .intro_header {
    padding: 1.5em 1.45em 0em 1.45em;
  }
  .intro_header::after  {
    left: 1.45em;
  }
  .intro p  {
    padding: 0.7em 3em 2em 3em;
  }
  .section_1, .section_2, .section_3, .section_4 {
    grid-template-columns: 8% 84% 8%;
    padding: 1em 0.1em 2em 0.1em;
  }
  .image_container1 img, .image_container2 img  {
    width: 84%;
  }
}

@media screen and (max-width: 840px) {
  .main_grid  {
    grid-template-rows: 950px auto auto auto auto auto auto;
    margin-bottom: 50px;
  }
  .intro  {
    grid-template-rows: 23% 77%;
  }
  .header_1 {
    font-size: 5.45rem;
  }
  .intro_header::after  {
    width: 27%;
  }
  .header_2 {
    font-size: 4.45rem;
  }
}

@media screen and (max-width: 792px) {
  .main_grid  {
    grid-template-rows: 1050px auto auto auto auto auto auto;
    margin-bottom: 50px;
  }
  .intro  {
    grid-template-rows: 27% 73%;
  }
  .header_1 {
    font-size: 5.2rem;
  }
  .header_2 {
    font-size: 4.2rem;
  }
}

@media screen and (max-width: 740px) {
  .main_grid  {
    grid-template-rows: auto auto auto auto auto auto auto;
    grid-row-gap: 40px;
  }
  .intro  {
    display: flex;
    flex-direction: column;
  }
  .intro_header {
    padding: 1.2em 1.45em 0em 1.45em;
  }
  .intro_header::after  {
    margin-top: 2.2em;
  }
  .intro p  {
    padding: 3.8em 3em 2.3em 3em;
  }
  .header_1 {
    font-size: 4.71rem;
  }
  .header_1::after  {
    width: 170px;
  }
  .header_2 {
    font-size: 3.71rem;
  }
}

@media screen and (max-width: 640px) {
  .intro_header {
    padding: 1.2em 1em 0em 1em;
  }
  .intro_header::after  {
    left: 1em;
  }
  .intro p  {
    padding: 3.8em 2.2em 2.3em 2.2em;
  }
  .section_1, .section_2, .section_3, .section_4 {
    padding: 1em 0em 2em 0em;
  }
  .header_1 {
    font-size: 4.15rem;
  }
  .header_1::after  {
    width: 125px;
  }
  .header_2 {
    font-size: 3.15rem;
  }
}

@media screen and (max-width: 540px) {
  .intro_header {
    font-size: 2.8rem;
    padding: 1.2em 0.68em 0em 0.68em;
  }
  .intro_header::after  {
    left: 0.68em;
    width: 35%;
  }
  .intro p  {
    font-size: 1.3rem;
    padding: 3.8em 1.5em 2.3em 1.5em;
  }
  .section_1, .section_2, .section_3, .section_4 {
    grid-template-columns: 6% 88% 6%;
  }
  .header_1 {
    font-size: 3.9rem;
  }
  .header_2 {
    font-size: 2.9rem;
  }
  .image_container1 img, .image_container2 img  {
    width: 87%;
  }
}

@media screen and (max-width: 490px) {
  .intro_header {
    font-size: 2.6rem;
  }
  .header_1 {
    font-size: 3.6rem;
  }
  .header_2 {
    font-size: 2.6rem;
  }
}

@media screen and (max-width: 440px) {
  .intro_header {
    font-size: 2.5rem;
  }
  .header_1 {
    font-size: 3.45rem;
  }
  .header_2 {
    font-size: 2.45rem;
  }
}

@media screen and (max-width: 414px) {
  .header_1 {
    font-size: 3.4rem;
  }
  .header_2 {
    font-size: 2.4rem;
  }
}

@media screen and (max-width: 390px) {
  .header_1 {
    font-size: 3.3rem;
  }
  .header_2 {
    font-size: 2.3rem;
  }
}

@media screen and (max-width: 375px) {
  .header_1 {
    font-size: 3.1rem;
  }
  .header_2 {
    font-size: 2.1rem;
  }
}
