@import ".././style.css";

.aboutnav {

   display: flex;
   flex-direction: column;
   width: 100%;
   font-family: "Poppins", sans-serif;
   padding: 50px;
   gap: 50px;
}

.aboutnav .mage {

   display: flex;
   flex-direction: cover;
   align-items: center;
   justify-content: space-evenly;
   width: 100%;
   flex-wrap: wrap;
}

.aboutnav .mage h3 {

   font-size: 2rem;
   font-family: "Poppins", sans-serif;
   font-weight: 500;
   font-style: normal;

}

.aboutnav .mage img {

   width: 300px;
   height: 300px;
   object-fit: contain;

}

.aboutnav p {

   font-size: 1.1rem;
   font-style: normal;
   font-weight: 400;
   font-family: "Poppins", sans-serif;
   text-align: justify;
   line-height: 26px;
   margin-bottom: 50px;

}

.vision-mission {

   display: flex;
   flex-wrap: wrap;
   margin: 70px 0;

}

.vision-mission .vision,
.vision-mission .mission {

   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 12px;
   width: 100%;

}

/* .vision-mission .vision:hover ~ .vision-mission .brand i{

   transform: rotate(90deg);
   transition: 0.5s ease-in;

} */

.vision-mission .vision h4,
.vision-mission .mission h4 {
   font-size: 1.6rem;
   font-family: "Poppins", sans-serif;
   font-weight: 500;
   font-style: normal;
}

.vision-mission .vision p,
.vision-mission .mission p {

   font-size: 1rem;
   font-style: normal;
   font-weight: 400;
   font-family: "Poppins", sans-serif;
   text-align: justify;
   line-height: 20px;
   /* margin-bottom: 50px; */
}

.vision-mission .brand {

   display: flex;
   align-items: center;
   justify-content: center;
   width: 100%;
   height: 100%;

}

.vision-mission .brand i {

   display: flex;
   font-size: 100px;

}

.backpipe {

   display: flex;
   flex-direction: column;
   width: 100%;
   height: 100%;
   position: relative;

}

.backpipe::before {

   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.634);

}

.backpipe img {

   width: 100%;
   height: 100%;
   object-fit: cover;

}

.backpipe .meta-info {

   display: flex;
   flex-direction: column;
   align-items: center;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   gap: 20px;
}

.backpipe .meta-info h3 {
   font-size: 2rem;
   color: rgb(255, 255, 255);
   font-family: "Poppins", sans-serif;
   font-weight: 400;
   font-style: normal;
}

.backpipe .meta-info span {
   font-weight: 400;
   font-size: 1rem;
   color: rgb(255, 255, 255);
   font-family: "Poppins", sans-serif;
   font-style: italic;

}

.backpipe .meta-info a {

   text-decoration: none;
   color: white;
   border: 1px solid white;
   padding: 10px 15px;
   cursor: pointer;
   border-radius: 4px;
   margin-top: 20px;
}

.backpipe .meta-info a:hover {

   background-color: rgba(255, 255, 255, 0.204);

}

.backpipe .arrows {

   display: flex;
   align-items: center;
   justify-content: center;
   width: 80%;
   height: 100px;
   position: absolute;
   bottom: 0;
   left: 50%;
   transform: translate(-50%, 0);
}

.backpipe .arrows i {

   width: 50px;
   height: 50px;
   font-size: 50px;
   color: white;
   animation: movement 2s linear infinite;
   position: absolute;
   top: 0;
   left: 1;
   transform: translate(-50%, 0);
   opacity: 0;
}

@keyframes movement {

   0% {
      top: 0;
      opacity: 0;
   }

   25% {
      top: 30px;
      opacity: 0.5;
   }

   50% {
      top: 40px;
      opacity: 0.8;
   }

   100% {
      top: 50px;
      opacity: 1;
   }

}

@media screen and (max-width: 990px) {

   .aboutnav {
      padding: 50px 20px;
   }

}

@media screen and (max-width: 700px) {

   .backpipe {
      font-size: 75%;
   }

   .backpipe img {
      height: 100vh;
      object-fit: cover;
   }

   .backpipe .meta-info h3 {
      font-size: 1.5rem;
   }

}

@media screen and (max-width: 768px) {
   .vision-mission {

      flex-direction: column;
      gap: 30px;

   }

   .vision-mission .brand i {

      font-size: 60px;

   }
}