@font-face {
  font-family: "Fredoka";
  src: url("../../fonts/Fredoka-VariableFont_wdth,wght.ttf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Grandia";
  src: url("../../fonts/grandia.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Nunito";
  src: url("../../fonts/Nunito-Regular.ttf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Avenir Arabic Medium";
  src: url("../../fonts/alfont_com_AlFont_com_AvenirArabic-Medium.otf")
    format("opentype");
  font-weight: 500;
  font-style: normal;
}
#about-us-container {
  position: relative;
  overflow: hidden;
}
#aboutUs-box {
  background-color: rgba(254, 216, 95, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 100px;
  box-sizing: border-box;
  /* overflow: hidden; */
  position: relative;
}
@media (min-width: 1440px) {
  #aboutUs-box {
    padding: 0 100px;
  }
}
@media (max-width: 1439px) {
  #aboutUs-box {
    padding: 0 70px;
  }
}
@media (max-width: 768px) {
  #aboutUs-box {
    padding: 0 20px;
  }
}

#aboutUs {
  width: 100%;
  max-width: 1440px;
  height: 100%;
  position: relative;
}
@media (max-width: 768px){
#aboutUs {
  min-height: 900px;
}
}

#aboutUs .container {
  width: 100%;
  max-width: 1440px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
}
/* @media (max-width: 1300px) {
  #aboutUs .container {
    width: 70%;
    height: 70%;
  }
} */

/* @media (max-width: 1358px) {
  #aboutUs {
    margin: 75px;
  }
} */

#aboutUs h1 {
  width: 440px;
  margin-top: 222px;
  margin-left: 20px;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 60px;
  text-align: center;
  color: rgba(255, 255, 255, 1);
  position: relative;
}

#about-vector {
  position: absolute;
  width: 230px;
  height: 120px;
  top: -16px;
  left: 48px;
  border-width: 4px;
}

#aboutUs-shape1 {
  position: absolute;
  width: 87px;
  height: 105px;
  top: -87px;
  left: 275px;
}

#aboutUs h2 {
  width: 440px;
  margin-top: 0px;
  margin-left: 30px;
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: 34px;
  letter-spacing: 3px;
  text-align: center;
  color: rgba(52, 52, 52, 1);
  position: relative;
}
#aboutUs-arrow {
  position: absolute;
  width: 314px;
  height: 114px;
  top: 50px;
  left: 163px;
  border-width: 3px;
  z-index: 1;
}
@media (max-width: 768px) {
  #aboutUs h1 {
    width: 226px;
    font-size: 48px;
    margin: 54px 0 0 34px;
  }
  #about-vector {
    width: 183px;
    height: 65px;
    top: 0;
    left: -20px;
  }
  #aboutUs h2 {
    width: 191px;
    height: 18px;
    font-size: 16px;
    margin: 0 0 0 47px;
    letter-spacing: 1px;
    justify-self: flex-start;
  }
  #aboutUs-shape1 {
    width: 26px;
    height: 32px;
    top: -15px;
    left: 183px;
  }
}
@media (max-width: 1300px) {
  #aboutUs-arrow {
    display: none;
  }
}


#aboutUs-rectangle {
  background-color: rgba(255, 234, 168, 0.27);
  width: 783px;
  height: 727px;
  margin-top: 47px;
  margin-left: -50px;
  position: relative;
}

#aboutUs-rectangle section {
  position: absolute;
  background-color: rgba(255, 234, 168, 0.27);
  width: 693px;
  height: 728px;
  top: 90px;
  left: 90px;
}

#aboutUs-rectangle section h3 {
  position: absolute;
  top: 80px;
  left: 20px;
  width: 535px;
  height: 230.4px;
  font-family: "Avenir Arabic Medium", sans-serif;
  color: rgba(52, 52, 52, 1);
  font-weight: 800;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 0%;
}
@media (max-width: 768px) {
  #aboutUs-rectangle {
    width: 380px;
    height: 598px;
    margin-left: 10px;
    margin-right: -20px;
  }
  #aboutUs-rectangle section {
    width: 367px;
height: 582px;
left: 13px;
top: 16px;
  }
#aboutUs-rectangle section h3 {
  width: 314px;
  height: 309px;
  font-size: 16px;
  top: 8px;
  line-height: 170%;
}
}
/*
#aboutUs-arrow {
  position: absolute;
  width: 282.6px;
  height: 102.6px;
  top: 415.8px;
  left: 335.3px;
  border-width: 3px;
}

#aboutUs-shape {
    position: absolute;
    width: 56.7px;
height: 70.2px;
top: 344.7px;
left: 450px;
border-width: 1px;

} */
/* #about-container {
  background-color: rgba(254, 216, 95, 1);
  position: relative;
  overflow: hidden;
  max-width: 1440px;
}

#about-header {
  padding-top: 0.1px;
}
#aboutUs {
  height: 900px;
  position: relative;
  padding-top: 1px;
}

#aboutUs h1 {
  position: absolute;
  width: 452.7px;
  top: 304.2px;
  left: 140px;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 60px;
  text-align: center;
  color: rgba(255, 255, 255, 1);
}

#about-vector {
  position: absolute;
  width: 230px;
  height: 120px;
  top: 285px;
  left: 195px;
  border-width: 4px;
}

#aboutUs-shape1 {
  position: absolute;
  width: 76.5px;
  height: 95px;
  top: 224.7px;
  left: 423px;
}

#aboutUs h2 {
  position: absolute;
  width: 450px;
  height: 36px;
  top: 381.6px;
  left: 140px;
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: 34px;
  letter-spacing: 3px;
  text-align: center;
  color: rgba(52, 52, 52, 1);
}

#about-rectangle {
  position: absolute;
  background-color: rgba(255, 234, 168, 0.27);
  width: 783px;
  height: 737px;
  top: 146.7px;
  left: 559px;
}

#about-rectangle section {
  position: absolute;
  background-color: rgba(255, 234, 168, 0.27);
  width: 693px;
  height: 647px;
  top: 90px;
  left: 90px;
}

#about-rectangle section h3 {
  position: absolute;
  top: 45px;
  left: 20px;
  width: 531px;
  height: 230.4px;
  font-family: "Avenir Arabic Medium", sans-serif;
  color: rgba(52, 52, 52, 1);
  font-weight: 800;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 0%;
} */

#aboutUs-shape {
  position: absolute;
  width: 56px;
  height: 70px;
  top: 383px;
  left: 466px;
  border-width: 1px;
}
@media (max-width: 768px) {
#aboutUs-shape {
  left: 264px;
  top: 350px;
}
}

#aboutUs-rectangle section div:nth-of-type(1) {
  position: absolute;
  top: 375px;
  height: 56px;
  width: 606px;
  transition: top 1s ease-in-out;
}

#aboutUs-rectangle section:nth-of-type(1) div h4 {
  position: absolute;
  left: 44px;
  top: 29px;
  font-family: "Avenir Arabic Medium", sans-serif;
  color: rgba(52, 52, 52, 1);
  font-weight: 800;
  font-size: 20px;
  line-height: 0%;
  letter-spacing: 0%;
  transition: color 1s ease-in-out;
}

#aboutUs-rectangle section:nth-of-type(1) div img {
  position: absolute;
  left: 12px;
  top: 16px;
  width: 24px;
  height: 24px;
  opacity: 70%;
  transition: opacity 1s ease-in-out;
}

#aboutUs-rectangle section div:nth-of-type(2) {
  position: absolute;
  top: 427px;
  height: 56px;
  width: 606px;
}
#aboutUs-rectangle section:nth-of-type(2) div h4 {
  position: absolute;
  left: 44px;
  top: 29px;
  font-family: "Avenir Arabic Medium", sans-serif;
  color: rgba(52, 52, 52, 1);
  font-weight: 800;
  font-size: 20px;
  line-height: 0%;
  letter-spacing: 0%;
}
#aboutUs-rectangle section:nth-of-type(2) div img {
  position: absolute;
  left: 12px;
  top: 16px;
  width: 24px;
  height: 24px;
  opacity: 70%;
}
@media (max-width: 768px) {
  #aboutUs-rectangle section div:nth-of-type(1) {
    width: 304px;
    height: 47px;
    top: 340px !important;
    left: 33px;
  }
  #aboutUs-rectangle section div:nth-of-type(2) {
    width: 304px;
    height: 47px;
    top: 390px;
    left: 33px ;
  }
#aboutUs-rectangle section:nth-of-type(1) div h4 {
  font-size: 16px;
}
#aboutUs-rectangle section:nth-of-type(2) div h4 {
  font-size: 16px;
}
}


#animate-arrow-white {
  position: absolute;
  left: 20px;
  bottom: 0;
  width: 48px;
  height: 2080px;
  background-size: 48px 80px;
  background-image: url("../../images/white-arrow.svg");
  background-repeat: repeat-y;
  transition: transform 1s ease-in-out;
}
#animate-arrow-black {
  position: absolute;
  bottom: 35px;
  left: -1310px;
  width: 2620px;
  height: 48px;
  background-size: 80px 48px;
  background-image: url("../../images/black-arrow.svg");
  background-repeat: repeat-x;
  transition: transform 1s ease-in-out;
  z-index: 5;
}
@media (max-width: 768px) {
#animate-arrow-white {
  width: 24px;
  background-size: 24px 40px;
}
#animate-arrow-black {
  height: 24px;
  background-size: 40px 24px;
}
}
