@import "./styles.css";


.about-nav-container {
  padding-left: 10%;
  padding-right: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-nav {
  font-size: 2.35rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.about-nav li {
  padding: 25px;
}

.about-nav a {
  text-decoration: none;
}

.about-body-text-container-grid {
  box-sizing: border-box;
  padding-top: 5%;
  padding-left: 10%;
  padding-right: 10%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
}


.about-full-width-text-container {
  position: relative;
  background-color: rgba(5, 66, 198, 0.5);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.about-left-hand-text-container {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 500px;
}


.about-right-hand-text-container {
  position: relative;
  width: 50%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.about-text-box {
  position: absolute;
  text-align: justify;
  padding: 6%;
  line-height: 130%;
  font-size: 1rem;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  max-width: 100%;
}

/* .about-text-box p {
  
} */

.about-subhead {
  padding-top: 10%;
}

.about-back-to-top-container {
  display: flex;
  justify-content: flex-end;
  padding-top: 2%;
  padding-right: 10%;
}

.about-back-to-top a {
  text-align: right;
  text-decoration: none;
  margin-bottom: 0;
  color: #ffffff;
}

.about-img {
  max-width: 100%;
}


.bg-green {
  background: rgba(24, 148, 24, 0.68);
}
.bg-red {
  background: rgba(148, 24, 24, 0.68);
}
.bg-yellow {
  background: rgb(254, 224, 1);
}

.bg-yellow-text {
  color: black;
}

.bg-orange {
  background: rgba(249, 129, 2, 0.68);
}
.bg-lilac {
  background: rgba(208, 2, 249, 0.68);
}
.bg-cyan {
  background: rgba(2, 249, 224, 0.68);
}

@media only screen and (max-width: 500px) {
  
  
.about-body-text-container-grid {
  box-sizing: border-box;
  padding-top: 5%;
  padding-left: 5%;
  padding-right: 5%;
  display: flex;
display: block;
max-width: 100%;
}


.about-text-box {
display: block;
}

.about-right-hand-text-container, .about-left-hand-text-container {
width: 100%;
font-size: 1rem;
max-height: 100%;
}

.about-full-width-text-container {
  height: 1000px;
}

header {
  padding-left: 5%;
  padding-right: 5%;
  max-width: 100%;
}

}