body {
  background-color: rgb(240, 243, 247);
}
.about-container {
  padding-top: 7.8rem;
  align-content: center;
}
.about-image img {
  width: 100%;
  border: 1px solid white;
  border-radius: 1rem;
  /* height: 500px; */
}

.about-image p {
  padding: 200px;
}
.about-main {
  padding: 4rem 2rem;
  display: flex;
}

.side-image {
  width: 150px;
  height: 45rem;
  background-color: cadetblue;
  border-radius: 10px;
}
.side-image img {
  height: 150px;
  width: 150px;
  border-radius: 100rem;
  animation: rotation 10s infinite linear;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

.about-title {
  padding-top: 2rem;
  text-align: center;
  color: cadetblue;
  font-family: sans-serif;
  text-transform: capitalize;
}

.about-title h3 {
  /* text-decoration: underline; */
  text-align: center;
  color: rgb(5, 100, 112);
  font-size: 2.3rem;
  font-family: "Times New Roman", Times, serif;
  margin-top: 1.7rem;
  text-decoration: dashed;
}

.about-title  /*p*/ {
  padding-top: 1rem;
  text-decoration: none;
  text-transform: capitalize;
}
.about-content {
  margin-top: 2rem;
  padding: 2rem;
  background: white;
  border-bottom-right-radius: 2rem;
  border-bottom-left-radius: 2rem;
}
.about-content h5 {
  font-family: sans-serif;
  line-height: 25px;
  letter-spacing: 0.1rem;
  padding-right: 1rem;
  text-align: justify; /*may change to justify*/
  text-justify: inter-word;
}

.about-container h5 {
  font-size: 17px;
  justify-content: space-between;
}

/* TEAM AND CHILDREN */
.team-container {
  /* display: flex; */
  padding-top: 2rem;
  /* justify-content: space-evenly; */
}
.team-group {
  display: flex;
  justify-content: space-evenly;
  margin-top: 2rem;
}
.teams {
  width: 50%;
  padding-top: 0.4rem;
  margin: 0.8rem 2rem;
  border: 2px solid white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.teams img {
  height: 120px;
  width: 110px;
  border-bottom-left-radius: 5rem;
  border-bottom-right-radius: 5rem;
  margin-bottom: 1rem;
}
.teams:hover {
  background-color: rgb(238, 236, 234);
}
.team-title {
  text-transform: capitalize;
  font-size: 1.3rem;
  color: cadetblue;
}
.desc {
  text-transform: capitalize;
  color: rgb(95, 123, 175);
  text-align: center;
  padding-left: 0.5rem;
  font-size: 0.9rem;
}

/* out values */

.values {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.value-item {
  padding-right: 3rem;
}
.value-item p {
  font-size: 2rem;
  color: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, rgba(26, 49, 95, 1)),
    color-stop(10%, rgba(26, 49, 95, 1)),
    color-stop(24%, rgba(29, 108, 141, 1)),
    color-stop(37%, rgba(41, 136, 151, 1)),
    color-stop(77%, rgba(39, 45, 100, 1)),
    color-stop(90%, rgba(26, 49, 95, 1)),
    color-stop(100%, rgba(26, 49, 95, 1))
  );
}
.value-items text {
  color: azure;
}

/* get in touch */
.getInt {
  text-align: center;
  margin: 3rem;
  padding-top: 3rem;
}
.getInt a {
  margin: 10px;
  color: white;
  text-decoration: none;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, rgba(26, 49, 95, 1)),
    color-stop(10%, rgba(26, 49, 95, 1)),
    color-stop(24%, rgba(29, 108, 141, 1)),
    color-stop(37%, rgba(41, 136, 151, 1)),
    color-stop(77%, rgba(39, 45, 100, 1)),
    color-stop(90%, rgba(26, 49, 95, 1)),
    color-stop(100%, rgba(26, 49, 95, 1))
  );
  padding: 10px 14px;
  font-size: 18px;
  border-radius: 30px;
  box-shadow: 3px 4px 8px 10px rgba(1, 0, 0, 0.2),
    10px 6px 20px 10px rgba(0, 0, 0, 0.19);
}
.getInt a:hover {
  color: antiquewhite;
}

/* media queries  */
@media all and (max-width: 930px) {
  .about-container {
    padding-top: 0.3rem;
  }
  .about-image img {
    width: 100%;
  }
  .about-main {
    margin: 0;
    padding: 0;
  }
  .about-main,
  .team-container {
    display: flex;
    flex-direction: column;
  }
  .side-image {
    display: none;
  }

  .about-content {
    padding: 0.6rem 1.5rem 0.4rem 1px;
    margin: 1px;
  }

  .about-content p {
    font-family: sans-serif;
    line-height: 30px;
    letter-spacing: 0.1rem;
    text-align: justify;
    text-justify: inter-word;
  }
  .about-title h3 {
    padding-top: 0.5rem;
    margin-top: 1rem;
  }

  /* TEAM AND CHILDREN */
  .team-container {
    display: flex;
    flex-direction: column;
  }
  .team-group {
    display: flex;
    flex-direction: column;
    margin-top: 0.1rem;
    margin-left: 0.3rem;
  }
  .teams {
    padding-top: 0.4rem;
    width: 80%;
    margin: 0.8rem 2rem;
    border: 2px solid white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
  .desc {
    padding-left: 1rem;
    text-align: center;
  }

  /* our values */

  .values {
    display: flex;
    flex-direction: column;
  }
  .value-item {
    display: flex;
    padding-left: 3.6rem;
  }
  .value-item p {
    margin-right: 3rem;
  }

  text {
    padding-top: 0.6rem;
    letter-spacing: 0.1rem;
  }
  .int {
    padding-left: 0.7rem;
  }
  .c {
    padding-right: -0.1px;
  }
  .const {
    margin-left: -0.1px;
  }
}
