:root {
  --tline-blue: #18346A;
  --gaf-red: #D71921;
}

body,
html {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;

}

.maincontent {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.maincontent_wrapper {
  padding-top: 0;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.3rem;
}

.p-link {
  font-weight: 300;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  border: 1px solid var(--tline-blue);
  border-radius: 5px;
  padding: 10px 15px;
  margin-top: 10px;
  display: inline-block;
  text-decoration: none;
  background-color: var(--gaf-red);
  box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.45);

}

.p-link:hover {
  text-decoration: none;
  box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.15);
  color: #fff;
  transform: scale(.99);
}

.t-link {
  font-weight: 600;
  color: var(--tline-blue);
  display: inline-block;
  text-decoration: none;


}

.title {
  font-weight: 300;
}

.subtitle {
  max-width: 800px;
  margin: 0 auto;
}

.highlight {
  font-weight: 600;
}

.tline-blue {
  color: var(--tline-blue);
}

.gaf-red {
  color: var(--gaf-red);
}

.large-line {
  line-height: 1.6rem;
}

.mt {
  margin-top: 2%;
}

.right-content {
  text-align: right;
}

img {
  width: 100%;
}

.my-container {
  max-width: 80%;
  margin: 0 auto;
  padding: 2%;
}

.my-header {
  text-align: center;
}

.warranty-row {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}

.warranty-row img {
  max-width: 175px;
}

.grid-5050 {
  display: grid;
  grid-template-columns: repeat(2, 50%);
}

.grid-img {
  margin: 0 auto;
  display: grid;
  align-items: center;
  justify-content: center;
}

.img-shadow {
  filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.4));
}

.grid-img img {
  filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.4));
  margin: 0 auto;
}

.grid-content {
  padding: 4%;
  display: grid;
  align-items: center;
  justify-content: center;
}

.hero {
  position: relative;
}

.hero-container {
  position: absolute;
  top: 0;
  left: 2px;
}

#hero-logo {
  max-width: clamp(25px, 8vw, 250px);
}

.section2 {
  background-color: #f5f5f5;
}

#roof-guide-list ul li {
  list-style-type: none;
}

.grid-4060 {
  display: grid;
  grid-template-columns: 40% 60%;
}

#repair-replace {
  width: 100%;
  background-image: linear-gradient(to top right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%), url("/imageserver/Reusable/GAF/gaf23/aerial-view.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 3%;
}

.list-right {
  max-width: 800px;
}

#roof-system {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: 3% 0;
}

#ventilation {
  padding: 5% 0;
  text-align: left;
  gap: 35px;
}

#ventilation img {
  filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.4));
  margin: 0 auto;
}

#warranty-section {
  background-color: #f5f5f5;
}

#warranty {
  display: grid;
  grid-template-columns: repeat(2, 50%);
  gap: 20px;
  padding: 3% 0;
  align-items: center;
}

.videoWrapper {
  position: relative;
  display: grid;
  align-items: center;
  padding-top: 25px;
  padding-bottom: 56.25%;
  max-width: 560px;
  max-height: 500px;
}

.videoWrapper iframe {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 560px;
  max-height: 315px;
}

#designer-section {
  margin: 0 auto;
}

.main-color {
  margin: 40px auto;
  max-width: 1000px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.main-color-content {
  padding: 0 2rem;
}

.main-color img {
  max-width: 400px;
  filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.4));
}

.colors {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.color-item {
  max-width: 250px;
  text-align: center;
}

.color-item img {
  filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.4));

}


/* GAF Visualizer Section */
.main-global {
  position: relative;
  padding: 100px 3%;
  z-index: 0;
}

.main-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}


.content-wrapper {
  max-width: 1700px;
  width: 100%;
  margin: 0 auto;
}

.main-left {
  width: 45%;
  padding: 25px;
}


.main-image {
  position: relative;
  max-width: 650px;
  width: 100%;
  margin: 20px auto;
}

.main-image img {
  width: 100%;
  height: auto;
  background-color: #eee;
  border-radius: 25px;
}


.main-right {
  width: 55%;
  padding: 25px;
}

.h2-heading {
  font-size: 2em;
  font-weight: 600;
}

.underline {
  width: 90px;
  margin: 20px auto;
  border-top: 6px solid var(--red);
}

/* GAF Footer Section */
.my-footer {
  display: grid;
  margin-top: 30px;
}

#my-footer-img {
  grid-column: 1/2;
  grid-row: 1/2;
}

#my-footer-content {
  grid-column: 1/2;
  grid-row: 1/2;
  place-self: center;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 5% 6%;
  text-align: center;
  max-width: 1000px;
}

/* ======= Media Queries =========== */
@media screen and (max-width:1280px) {
  #warranty {
    display: block;
    text-align: center;
  }

  .videoWrapper {
    margin: -50px auto 75px;
    /* padding-bottom: 56.25%; */
  }

  #warranty .highlight {
    margin-top: -15vw;
  }

  #roof-system {
    flex-wrap: wrap;
    text-align: center;
  }

  #repair-replace {
    width: 100%;
    background-image: linear-gradient(to top right, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, .7) 50%), url("/imageserver/Reusable/GAF/gaf23/aerial-view.jpg");
    text-align: center;
  }

  #ventilation {
    text-align: center;
  }

  .grid-5050 {
    display: block;
  }

  .main-content {
    text-align: center;
  }

  .section2 .grid-5050 .grid-content {
    text-align: center !important;
  }

  .main-color {
    flex-wrap: wrap;
    text-align: center;
  }

  body,
  html {
    font-size: 16px;
  }
}

@media screen and (max-width:992px) {

  body,
  html {
    font-size: 14px;
  }

  .videoWrapper {
    margin: 0 auto 125px;
    /* padding-bottom: 56.25%; */
  }

}

  @media (max-width: 1300px) {

    .main-wrapper {
      align-items: flex-start;
    }

    .h1-heading {
      font-size: 3em;
    }
  }


  @media (max-width: 1200px) {
    .main-wrapper {
      max-width: 981px;
      width: 100%;
      margin-left: auto;
      margin-right: auto;
    }

    .main-left,
    .main-right {
      width: 100%;
      padding: 0;
    }

    .main-right {
      max-width: 981px;
      margin-left: auto;
      margin-right: auto;
    }

    .main-image {
      max-width: 600px;
      margin-bottom: 30px;
    }
  }


@media (max-width: 900px) {

  .main-global {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}