/* Main content */
.main {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

@media only screen and (min-width: 320px) {
  .page1-contents {
    font-size: 24px;
  }
  .page2-card {
    margin: 10px;
  }
  .page2-card-contents {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 10px;
    margin-left: 10px;
  }
  .page2-card-contents-heading {
    font-size: 48px;
    margin: 20px 10px;
  }
  .page2-card-contents-text {
    font-size: 22px;
    margin: 20px 10px;
  }
}

@media only screen and (min-width: 1200px) {
  .page1-contents {
    font-size: 24px;
  }
  .page2-card {
    margin: 10px 80px;
  }
  .page2-card-contents {
    margin-right: 80px;
    margin-left: 40px;
  }
  .page2-card-contents-heading {
    font-size: 64px;
  }
  .page2-card-contents-text {
    font-size: 20px;
    margin: 40px 0;
  }
}

.page1 {
  position: relative;
  width: 100vw;
  height: 100%;
  max-width: none !important;
  background-color: rgba(244,241,234,1);
  opacity: 1;
  overflow: hidden;
  display:flex;
  padding: 0;
  flex-direction: column;
}

.page1-heading {
  color: rgba(73,108,164,1);
  font-family: Instrument Sans;
  font-weight: bold;
  font-size: 64px;
  opacity: 1;
  text-align: center;

}
.page1-contents {
  color: black;
  font-family: Instrument Sans;
  font-weight: normal;
  opacity: 1;
  text-align: center;
  margin-left: 40px;
  margin-right: 40px;
}

.page2 {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: none !important;
  background-color: rgba(235,232,226,1);
  opacity: 1;
  overflow: hidden;
  display:flex;
  padding: 0;
  flex-direction: column;
}

.page2-heading {
  color: rgba(240,211,115,1);
  font-family: Instrument Sans;
  font-weight: bold;
  font-size: 64px;
  opacity: 1;
  text-align: center;
}
.page2-contents {
  color: white;
  font-family: Instrument Sans;
  font-weight: normal;
  font-size: 24px;
  opacity: 1;
  text-align: center;
}

.page2-card {
    background-color: white;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 45% 55%;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
}

.page2-card-contents {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: flex-start;
}

.page2-card-contents-heading {
  color: rgba(73,108,164,1);
  font-family: Instrument Sans;
  font-weight: bold;
  opacity: 1;
  text-align: left;
}
.page2-card-contents-text {
  color: black;
  font-family: Instrument Sans;
  font-weight: normal;
  opacity: 1;
  text-align: left;
}

@media only screen and (min-width: 320px) {
  .page2details {
    position: relative;
    width: 100vw;
    height: fit-content;
    max-width: none !important;
    background-color: rgba(244,241,234,1);
    opacity: 1;
    overflow: auto;
    display:grid;
    grid-template-rows: 35% 65%;
    padding: 0;
  }

  .page2details-image {
    grid-row: 1; 
    margin-top: 96px; 
    margin-left: 10px; 
    margin-right: 10px;
  }

  .page2details-card-contents {
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-content: top;
    grid-row: 2;
    margin-top: 20px; 
    margin-left: 14px; 
    margin-right: 14px;
  }

  .fullmedia2 {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    margin: auto auto;
    object-fit: cover;
  }

}

@media only screen and (min-width: 1200px) {
  .page2details {
    position: relative;
    width: 100vw;
    height: 84vh;
    max-width: none !important;
    background-color: rgba(244,241,234,1);
    opacity: 1;
    overflow: hidden;
    display:grid;
    grid-template-columns: 50% 50%;
    padding: 0;
  }

  .page2details-image {
    grid-row: 1; 
    grid-column: 1; 
    margin-top: 160px; 
    margin-left: 80px; 
    margin-right: 80px;
  }

  .page2details-card-contents {
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-content: top;
    grid-row: 1; 
    grid-column: 2; 
    margin-top: 160px; 
    margin-left: 80px; 
    margin-right: 80px;
  }

  .fullmedia2 {
    width: 45vw; 
    height: 100%;
    border-radius: 16px;
    margin: auto auto;
    object-fit: cover;
  }

}

.genericbutton {
  background-color: rgba(73,108,164,1);
  border: none;
  color: white;
  padding: 20px 30px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-family: Instrument Sans;
  font-weight: Bold;
  font-size: 18px;
  border-radius: 48px;
  height: fit-content;
  margin: 4px 2px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}
.pagefooter {
  position: relative;
  width: 100%;
  height: 280px;
  max-width: none !important;
  background-color: black;
  color: rgba(235,232,226,1);
  opacity: 1;
  overflow: hidden;
  display:grid;
  grid-template-columns: auto auto;
}

@media only screen and (min-width: 320px) {
  .pagefooterdiv {
    grid-row: 1; 
    grid-column: 1; 
    margin-top: 2vh; 
    margin-left: 20px; 
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 1200px) {
  .pagefooterdiv {
    grid-row: 1; 
    grid-column: 1; 
    margin-top: 2vh; 
    margin-left: 80px; 
    margin-bottom: 0;
  }
}

.pagefooterheading {
  color: rgba(255,255,255,1);
  font-family: Instrument Sans;
  font-weight: SemiBold;
  font-size: 50px;
  opacity: 1;
  text-align: left;
}

.pagefootercontent {
  color: rgba(255,255,255,1);
  font-family: Inter;
  font-weight: Regular;
  font-size: 20px;
  opacity: 1;
  text-align: left;
}
