/* Overiding overall_layout.css */
.ul1_about::after {
  width: 100%;
}

@import url("https://fonts.googleapis.com/css2?family=Hahmlet:wght@600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital@1&family=Merriweather&display=swap");

/*about us & our team*/
#about_us {
  position: relative;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: 0 -0%;
}
#out_modern {
  padding: 1rem;
  font-family: "Libre Baskerville", serif;
}
#our_team {
  text-align: center;
  font-family: "Merriweather", serif;
}
.column {
  float: left;
  width: 33.3%;
  margin-bottom: 10px;
  padding: 0 8px;
}
.card {
  box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.2);
  margin: 8px;
  min-height: 420px;
}
.card:hover {
  box-shadow: none;
}
.about-section {
  padding: 50px;
  text-align: center;
  background-color: #474e5d;
  color: white;
}
.container {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  height: 210px;
}
.coc {
  margin-bottom: auto;
}
.container::after,
.row::after {
  content: "";
  clear: both;
  display: block;
}
.title {
  color: grey;
}

/*flip-box*/
#img {
  width: 100%;
  height: 100%;
}
.box,
.box2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
#word {
  font-size: large;
  color: black;
  text-align: center;
  font-family: "Libre Baskerville", serif;
  padding: 1rem;
}
#word2 {
  font-size: 100%;
  font-family: "Merriweather", serif;
  color: whitesmoke;
  padding: 0 1rem;
  line-height: 1.5;
}
.flip-box {
  background-color: transparent;
  width: 33.33%;
  height: 250px;
  border: 5px solid #f1f1f1;
  perspective: 1000px;
  min-width: 250px;
}
.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}
.flip-box-front,
.flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.flip-box-front {
  background-color: #bbb;
  color: black;
  overflow: hidden;
}
.flip-box-back {
  background-color: cadetblue;
  color: white;
  transform: rotateY(180deg);
  display: grid;
  place-items: center;
  height: 250px;
}
.container > p {
  padding-bottom: 2ch;
  margin-top: auto;
}
.container a {
  color: rgb(79, 79, 79);
  text-decoration-color: #f8c22d !important;
  text-decoration: underline;
}
.container a:hover {
  color: black;
}
@media screen and (max-width: 800px) {
  #about_us {
    height: auto;
  }
}
@media screen and (max-width: 820px) {
  .column {
    width: 100%;
    display: block;
  }
}
