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

.intro  {
  grid-column: 1/2;
  grid-row: 1/2;
  display: inline-grid;
  grid-template-columns: 30% 30% 40%;
  grid-template-rows: 26% 74%;
  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;
  display: inline-grid;
  grid-template-columns: 14% 72% 14%;
  grid-auto-rows: 23% 77%;
  padding: 1em 6em 3em 6em;
}

.header_1 {
  grid-column: 1/2;
  grid-row: 1/2;
  color: #CC1F2F;
  font-size: 6rem;
  font-weight: 500;
  position: relative;
  opacity: 0;
  transform: translateY(60px);
  transition: 0.5s all ease-in-out;
}

.header_1::after  {
  content: "";
  position: absolute;
  margin-top: 3.1em;
  margin-left: -1.85em;
  width: 250px;
  height: 6px;
  background-color: #CC1F2F;
  transform: rotate(90deg);
}

.header_2 {
  grid-column: 2/4;
  grid-row: 1/2;
  color: #284156;
  font-size: 5rem;
  font-weight: 500;
  padding-top: 0.15em;
  opacity: 0;
  transform: translateY(60px);
  transition: 0.5s all ease-in-out;
}

.content_1  {
  grid-column: 2/4;
  grid-row: 2/3;
  font-size: 1.3rem;
  line-height: 1.4;
  padding-top: 2.5em;
  padding-right: 2.2em;
}

.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;
  display: inline-grid;
  grid-template-columns: 14% 72% 14%;
  grid-auto-rows: 23% 77%;
  padding: 2em 6em 2em 6.4em;
}

.header_3 {
  grid-column: 3/4;
  grid-row: 1/2;
  color: #CC1F2F;
  font-size: 6rem;
  font-weight: 500;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(60px);
  transition: 0.5s all ease-in-out;
}

.header_3::after  {
  content: "";
  position: absolute;
  margin-top: 2.7em;
  margin-left: -1.6em;
  width: 200px;
  height: 6px;
  background-color: #CC1F2F;
  transform: rotate(90deg);
}

.header_4 {
  grid-column: 1/3;
  grid-row: 1/2;
  color: #284156;
  font-size: 5rem;
  font-weight: 500;
  padding-left: 0.5em;
  padding-top: 0.1em;
  opacity: 0;
  transform: translateY(60px);
  transition: 0.5s all ease-in-out;
}

.content_2  {
  grid-column: 1/3;
  grid-row: 2/3;
  font-size: 1.3rem;
  line-height: 1.4;
  padding-top: 2.5em;
  padding-left: 2.2em;
}

.content_1, .content_2  {
  opacity: 0;
  transform: translateX(30px);
  transition: 0.5s all ease-in-out;
}

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

.header_1_appear, .header_2_appear, .header_3_appear, .header_4_appear {
  opacity: 1;
  transform: translateY(0px);
}

@media screen and (max-width: 1300px) {
  .intro  {
    grid-template-rows: 27% 73%;
  }
  .intro p  {
    padding: 0em 5.5em 2em 2em;
  }
  .section_1  {
    padding: 1em 6em 3em 5em;
  }
  .header_1::after  {
    margin-top: 3.35em;
    margin-left: -2em;
    width: 275px;
  }
  .header_3::after  {
    margin-top: 2.8em;
    margin-left: -1.65em;
    width: 220px;
  }
  .header_4 {
    padding-left: 0.25em;
  }
  .content_2  {
    padding-left: 1em;
  }
  .content_1, .content_2  {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.5s all ease-in-out;
  }
  .content_appear1, .content_appear2  {
    opacity: 1;
    transform: translateY(0px);
  }
}

@media screen and (max-width: 1195px) {
  .intro_header {
    padding: 1.8em 0em 0em 2.2em;
  }
  .intro_header::after  {
    left: 2.2em;
  }
  .intro p  {
    padding: 0em 4em 2em 2em;
  }
  .section_1  {
    padding: 1em 5em 3em 5em;
  }
  .header_1::after  {
    margin-top: 3.55em;
    margin-left: -2.15em;
    width: 300px;
  }
  .header_3::after  {
    margin-top: 2.8em;
    margin-left: -1.65em;
    width: 220px;
  }
  .header_4 {
    padding-left: 0.125em;
  }
  .content_2  {
    padding-left: 0.5em;
  }
}

@media screen and (max-width: 1140px) {
  .main_grid  {
    grid-template-rows: 785px auto auto auto;
  }
  .intro  {
    grid-template-rows: 24% 76%;
  }
  .intro_header::after  {
    width: 29%;
  }
  .section_1  {
    grid-template-columns: 18% 68% 14%;
    padding: 1em 5em 3em 6em;
  }
  .header_1::after  {
    margin-top: 3.8em;
    margin-left: -2.3em;
    width: 320px;
  }
  .content_1  {
    padding-right: 1.2em;
  }
  .section_2  {
    padding: 2em 5em 2em 6.4em;
  }
  .header_4 {
    padding-left: 0em;
  }
  .header_3::after  {
    margin-top: 3.2em;
    margin-left: -1.9em;
    width: 250px;
  }
  .content_2  {
    padding: 2.5em 2em 0em 0em;
  }
}

@media screen and (max-width: 1040px) {
  .main_grid  {
    grid-template-rows: 730px auto auto auto;
  }
  .intro  {
    grid-template-rows: 30% 70%;
  }
  .intro_header {
    grid-column: 1/4;
    padding: 1.5em 2.2em 0em 2.2em;
  }
  .intro_header::after  {
    margin-top: 2.3em;
    width: 23%;
    height: 5px;
  }
  .intro p  {
    grid-column: 1/4;
    padding: 0.55em 4em 2em 4.7em;
  }
  .section_1  {
    grid-template-columns: 10% 80% 10%;
    grid-auto-rows: auto auto auto;
    padding: 0em;
  }
  .header_1 {
    grid-column: 2/3;
    line-height: 0.8;
  }
  .header_1::after  {
    margin-top: 0.4em;
    margin-left: 0.5em;
    width: 250px;
    transform: rotate(0deg);
  }
  .header_2 {
    grid-row: 2/3;
    line-height: 1.1;
  }
  .content_1  {
    grid-column: 2/3;
    grid-row: 3/4;
    padding: 2.5em 0em 0em 0em;
  }
  .image_container1  {
    height: auto;
  }
  .image_container1 img  {
    width: 80%;
  }
  .section_2  {
    grid-template-columns: 10% 80% 10%;
    grid-auto-rows: auto auto auto;
    padding: 0em;
  }
  .header_3 {
    grid-column: 2/3;
    text-align: left;
    line-height: 0.8;
  }
  .header_3::after  {
    margin-top: 0.4em;
    margin-left: 0.5em;
    width: 250px;
    transform: rotate(0deg);
  }
  .header_4 {
    grid-column: 2/3;
    grid-row: 2/3;
    line-height: 1.1;
  }
  .content_2  {
    grid-column: 2/3;
    grid-row: 3/4;
    padding: 2.5em 0em 0em 0em;
}

@media screen and (max-width: 940px) {
  .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 {
    grid-template-columns: 8% 84% 8%;
    padding: 1em 0.1em 2em 0.1em;
  }
  .image_container1 img  {
    width: 84%;
  }
}

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

@media screen and (max-width: 740px) {
  .main_grid  {
    grid-template-rows: 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, .header_3 {
    font-size: 4.71rem;
    line-height: 1;
  }
  .header_1::after, .header_3::after   {
    margin-top: 0.5em;
    width: 170px;
  }
  .header_2, .header_4 {
    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 {
    padding: 1em 0em 2em 0em;
  }
  .header_1, .header_3 {
    font-size: 4.15rem;
  }
  .header_1::after, .header_3::after  {
    width: 125px;
  }
  .header_2, .header_4 {
    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 {
    grid-template-columns: 6% 88% 6%;
  }
  .header_1, .header_3 {
    font-size: 3.9rem;
  }
  .header_2, .header_4 {
    font-size: 2.9rem;
  }
  .image_container1 img  {
    width: 87%;
  }
}

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

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

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

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

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