.home {
  background-color: rgb(230, 228, 228);
  background-image: linear-gradient(
      rgba(58, 26, 80, 0.418),
      rgba(61, 17, 93, 0.623)
    ),
    url(/photos/house-2.png);

  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
}

.whatsapp-element {
  width: 30px;
  height: 30px;
  position: fixed;
  top: 90%;
  left: 95vw;
  background-color: rgba(0, 128, 0, 0.841);

  padding: 5px;
  border-radius: 5px;
  transition: 1s;
  z-index: 100;

  animation-name: scale-whatsapp;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  animation-iteration-count: 2;
  animation-direction: alternate;
  animation-timing-function: ease;

  box-shadow: 1px 1px 1px 1px rgba(38, 37, 38, 0.668);
}

.whatsapp-element img {
  height: 30px;
  width: 30px;
}

.whatsapp-element:hover {
  transform: scale(1.2);
  transition: 1s;
  background-color: rgb(22, 182, 22);
}
.home-page-content {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 80vw;
}

.hero-title {
  font-size: 50px;
  font-weight: 100;

  text-align: center;
  color: rgba(255, 255, 255, 0.881);

  padding-bottom: 20px;
  margin-bottom: 20px;
  margin-top: 20vh;
  border-bottom: 1px;
  border-bottom: solid;

  border-color: white;
}

.hero-line {
  border-bottom: 2px;
}
.hero-phrase {
  font-size: large;
  color: rgba(255, 255, 255, 0.852);
  font-weight: 100;
}

.action-button {
  background-color: rgba(255, 166, 0, 0);
  height: 50px;
  width: 200px;
  margin-top: 5vh;

  border: solid 1px;
  border-color: orange;
  color: orange;
}

.action-button:hover {
  background-color: rgb(255, 128, 0);
  border: none;

  color: rgb(255, 255, 255);
}

.action-button:active {
  background-color: rgba(255, 128, 0, 0.62);
}

.home-title {
  background-color: rgb(12, 6, 22);
  opacity: 100%;
  height: 200px;
  width: 450px;
  padding: 10px;
  z-index: 900px;
}

.home-content {
  position: absolute;
  top: 33vh;
  left: 33vw;
  opacity: 100px;
  z-index: 800px;
  display: flex;
  flex-direction: row;
}

h1 {
  font-size: 100px;
  display: block;
  padding: 0px;
  color: rgb(255, 255, 255);
  margin: 0px;
}

h2 {
  color: rgb(217, 189, 245);
  font-size: medium;
}

h3 {
  font-weight: lighter;
  color: white;
}

.home-page-content-secondary {
  background-color: rgb(255, 255, 255);

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: fit-content;
  justify-content: center;
  align-items: center;

  padding-left: 50px;
  padding-right: 50px;
  padding-top: 20px;
}

.mission-card {
  display: flex;
  flex-direction: row;
  width: fit-content;
  align-items: center;
  object-fit: contain;
  background-color: rgba(125, 102, 125, 0);
}

.mission-card-title {
  display: flex;
  flex-direction: row;
  column-gap: 5px;
  font-size: x-large;
  font-weight: bold;
}
.mission-title-icon {
  color: rgba(255, 255, 255, 0.005);
  font-size: 100px;
  margin: 0px;
  display: none;
}
.mission-title {
  font-size: 25px;
  color: rgb(239, 127, 15);
  text-align: start;
}

.mission-text-card {
  width: 200px;
  height: 200px;
  background-color: rgb(209, 196, 196);
  
  box-shadow: 2px 2px 3px 1px rgba(51, 39, 51, 0.38);
}
.mission-image {
  width: 200px;
  height: 200px;
  font-family: futura;
  font-size: 150px;
  font-weight: lighter;
  color: rgb(56, 29, 80);
  text-align: center;
  overflow: hidden;


}
.home-page-content-secondary:hover {
  #s-card {
    .mission-title {
      animation-name: scale;
      animation-duration: 2s;
      animation-fill-mode: forwards;
      animation-iteration-count: 2;
      animation-direction: alternate;
      animation-timing-function: ease;
    }
  }

  #s {
    animation-name: scale;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-iteration-count: 2;
    animation-direction: alternate;
    animation-timing-function: ease;
  }

  #e {
    animation-name: scale;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-iteration-count: 2;
    animation-direction: alternate;
    animation-timing-function: ease;
    animation-delay: 4s;
  }

  #e-card {
    .mission-title {
      animation-name: scale;
      animation-duration: 2s;
      animation-fill-mode: forwards;
      animation-iteration-count: 2;
      animation-direction: alternate;
      animation-timing-function: ease;
      animation-delay: 4s;
    }
  }
  #d {
    animation-name: scale;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-iteration-count: 2;
    animation-direction: alternate;
    animation-timing-function: ease;
    animation-delay: 8s;
  }

  #d-card {
    .mission-title {
      animation-name: scale;
      animation-duration: 2s;
      animation-fill-mode: forwards;
      animation-iteration-count: 2;
      animation-direction: alternate;
      animation-timing-function: ease;
      animation-delay: 8s;
    }
  }
  #i {
    animation-name: scale;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-iteration-count: 2;
    animation-direction: alternate;
    animation-timing-function: ease;
    animation-delay: 12s;
  }

  #i-card {
    .mission-title {
      animation-name: scale;
      animation-duration: 2s;
      animation-fill-mode: forwards;
      animation-iteration-count: 2;
      animation-direction: alternate;
      animation-timing-function: ease;
      animation-delay: 12s;
    }
  }
  #m {
    animation-name: scale;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-iteration-count: 2;
    animation-direction: alternate;
    animation-timing-function: ease;
    animation-delay: 16s;
  }
  #m-card {
    .mission-title {
      animation-name: scale;
      animation-duration: 2s;
      animation-fill-mode: forwards;
      animation-iteration-count: 2;
      animation-direction: alternate;
      animation-timing-function: ease;
      animation-delay: 16s;
    }
  }
  #o {
    animation-name: scale;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-iteration-count: 2;
    animation-direction: alternate;
    animation-timing-function: ease;
    animation-delay: 20s;
  }

  #o-card {
    .mission-title {
      animation-name: scale;
      animation-duration: 2s;
      animation-fill-mode: forwards;
      animation-iteration-count: 2;
      animation-direction: alternate;
      animation-timing-function: ease;
      animation-delay: 20s;
    }
  }
}

@keyframes scale {
  0% {
  }

  25% {
    color: orange;
  }

  50% {
    color: rgb(167, 19, 19);
  }

  75% {
    color: rgb(88, 28, 88);
  }

  100% {
    scale: 1.2;
  }
}

@keyframes scale-whatsapp {
  0% {
  }

  25% {
    background-color: orange;
  }

  50% {
    background-color: rgb(167, 19, 19);
  }

  75% {
    background-color: rgb(88, 28, 88);
  }

  100% {
    scale: 1.2;
  }
}
.mission-card-content {
  color: rgb(38, 21, 51);

  flex: 1;
}

.mission-container {
  background-color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  align-items: center;

  padding-bottom: 50px;
  padding-left: 10px;
  padding-right: 10px;
}

.mission {
  height: 80px;
  font-size: 50px;
  color: rgb(67, 49, 85);
}

.mission-content {
  font-size: 20px;
  text-align: start;
  color: rgb(33, 30, 28);
  padding: 10px;
}

#vision-statement {
  color: rgb(0, 0, 0);
  font-size: medium;
  font-weight: lighter;
  text-align: justify;
}

.testimonials-button {
  height: 60px;
  width: 180px;
  background-color: rgb(238, 127, 23);
  border: none;
  border-radius: 5px;
}
.testimonials-button:hover {
  background-color: rgb(213, 126, 44);
  color: white;
}

@media (max-width: 1000px) {
  .home-page-content-secondary {
    grid-template-columns: 1fr 1fr;

    height: fit-content;
    object-fit: contain;

    padding-top: 50px;
    padding-bottom: 50px;
    row-gap: 20px;
  }
}
@media (max-width: 600px) {
  .whatsapp-element {
    width: 20px;
    height: 20px;
    left: 90vw;
    border-radius: 0px;
    background-color: rgba(0, 128, 0, 0.494);
  }
  .whatsapp-element img {
    height: 20px;
    width: 20px;
  }
  .hero-title {
    font-size: 40px;
    font-weight: 100;
    text-align: start;
  }

  .hero-phrase{
    text-align: start;
  }
  .home-page-content-secondary {
    grid-template-columns: 1fr;
    padding-bottom: 50px;
    row-gap: 20px;
  }



  .home-title {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: rgb(44, 31, 65);
    opacity: 100%;
    height: 300px;
    width: 300px;
    padding: 10px;
    z-index: 900px;
    font-size: medium;
  }

  .home-page-content{
    align-items: start;
  }


}

@media (max-width: 430px) {
  h1 {
    font-size: 70px;
  }

  h2 {
    font-size: 20px;
  }

  #vision-statement {
    color: rgb(0, 0, 0);
    font-size: medium;
    font-weight: lighter;
    text-align: center;
  }

  .home-page-content {
    left: 60px;
  
  }

  .logo-main {
    width: 100px;
  }

  .mission-text-card,
  .mission-image {
    width: 150px;
    height: 150px;
  }

  .mission-title {
    font-size: large;
  }
  .mission-image {
    font-size: 120px;
  }

  .mission-content {
    font-size: 16px;
  }
  .hero-title {
    font-size: 20px;
    font-weight: 100;
    text-align: center;
  }

  .hero-line {
    border-bottom: 2px;
  }
  .hero-phrase {
    font-size: small;
    color: rgba(255, 255, 255, 0.852);
    font-weight: 100;
  }

  .mission-container {
    padding-bottom: 50px;
    padding-left: 5px;
    padding-right: 5px;
  }
}

@media (max-width: 375px) {
  .home-content {
    left: 70px;
  }
  .home-title {
    top: 0px;
    right: 0px;
    height: 300px;
    width: 200px;
  }

  .mission-text-card,
  .mission-image {
    width: 120px;
    height: 120px;
  }

  .mission-title {
    font-size: medium;
  }
  .mission-image {
    font-size: 100px;
  }

  .mission-content {
    font-size: 14px;
  }
}

@media (max-width: 281px) {
  .mission-text-card,
  .mission-image {
    width: 100px;
    height: 100px;
  }

  .mission-title {
    font-size: small;
  }
  .mission-image {
    font-size: 80px;
  }
  .mission-content {
    font-size: 12px;
  }
}
