html{
    scroll-behavior: smooth;
}
body{
    margin: 0px;
    font-family: "Open Sans", sans-serif;
}

.mainheader{
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.divlogo{
    display: flex;
    margin-top: 44px;
    justify-content: center;
    flex-direction: row;
    line-height: 6px;
}

.logo{
    color: #444444;
    font-weight: bolder;
    margin-right: 20px;
    width: 68px;
}

.pagetitle{
    color: #444444;
    font-size: 40px;
    font-weight: 600;
    font-family: "Open Sans", sans-serif;
}

main{
    /*بيكون ف فاصل بين العناصر رفيع كده بيتشال بال f;exبيخليهم يلزقوا ف بعض*/
    display: flex;
    flex-direction: column;
}

.navbar{
   background-color: white;
   margin-top: 50px;
   margin-bottom: 14px;
   height: auto;
   position: sticky;
   /*بحس ف فاصل رفيع كده عشان كده عملتها بالسالب*/
   top: -1px;
   z-index: 10;
}

.navlinks{
    position: sticky;
    border-top: 1px solid #909090;
    border-bottom: 1px solid #909090;
    display: flex;
    justify-content: center;
    margin: 0px;
}

.navitem{
    list-style: none;
    padding: 12px 0px;
}

.navlink{
    text-decoration: none;
    color: #444444;
    padding: 0px 35px;
    font-size: 25px;
    font-family: "Open Sans", sans-serif;
}
/*
#menuToggle [type="checkbox"]{
    display: none;
}

.hamburgerborder{
    opacity: 1;
}

.menubackground{
    opacity: 0;
}*/

.videosection{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 521px;
    overflow: hidden;
}

.videosection >img{
    position: relative;
    height: max-content;
    width: inherit;
    bottom: 260px;
}

.videotitle{
    position: absolute;
    top: 380px;
    font-size: 49px;
    color: white;
    font-weight: 100;
    font-family: 'Open Sans', sans-serif;
}

.videoinfo{
    position: absolute;
    top: 499px;
    max-width: 493px;
    color: white;
    font-weight: 100;
    font-size: 24px;
    text-align: center;
    margin-top: 35px;
}

#Features{
    display: flex;
    justify-content: center;
    flex-direction: row;
    padding-top: 200px;
    padding-bottom: 113px;
    margin: auto 0px;
}

.Featurescontaner{
    display: flex;
    justify-content: space-between;
    max-width: 1225px;
    width: 100%;
}

.Featuresdiv{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 18px;
    font-family: sans-serif;
    color: #5f5f5f;
}

.Featuresheader{
    display: flex;
    flex-direction: row;
    margin-bottom: 55px;
}

.Featuresicon{
    color: #5f5f5f;
}

.Featurestitle{
    font-size: 1.8rem;
    font-family: "Open Sans", sans-serif;
    color: #5f5f5f;
    margin-left: 33px;
}

.Featuresinfo{
    line-height: 1.7;
    margin-bottom: 35px;
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    color: #626262;
    margin: 0px 0px 35px 0px;
    max-width: 500px;
    font-weight: 600;
}

p > a{
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
}

#Activites{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.Activityview{
    display: flex;
    justify-content: center;
    align-items: center;
    width: -webkit-fill-available;
}

.Activitesbackground{
    background: url(activities.jpg);
    width: 79.5%;
    height: 240px;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(.45);
}

.Activitestitle{
    color: white;
    font-size: 50px;
    font-family: "Open Sans", sans-serif;
    cursor: text;
    position: absolute;
}

.Actitiytypes{
    display: grid;
    grid-template-columns: repeat(auto-fit ,minmax(425px,1fr));
    margin-top: 30px;
    grid-gap: 30px;
    width: 79.5%;
}

.Activitycontaner{
    border: rgb(199, 199, 199) solid 1px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: auto;
}

.Activityimage{
    margin-left: 20px;
    height: 180px;
    width: 180px;
    align-self: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.Activitytitle{
    color: rgb(16, 138, 193);
    font-family: "Open Sans", sans-serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 44px;
    margin-top: 30px;
    font-weight: 500;
}

.Activityinfo{
    color: #626262;
    font-size: 17px;
    line-height: 1.7;
    font-family: "Open Sans", sans-serif;
    max-width: 300px;
    margin-left: 20px;
    margin-right: 44px;
    margin-bottom: 30px;
    margin-top: 0px;
    font-weight: 400;
}

#Company{
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 79.5%;
    margin:0px;
    align-self: center;
}

.companyview{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 107.4px;
    padding-top: 122px;
}

.companyimg{
    width: 400px;
    height: 400px;
}

.companyinfo{
    margin-left: 35px;
    margin-right: 35px;
    margin-bottom: 35px;
    margin-top: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    min-width: 338.438px;
}

.companytitle{
    color: #626262;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 2.4rem;
    margin-bottom: 28px;
    line-height: 1.2;
    margin-top: 0px;
}

.companydetels{
    color: #626262;
    font-size: 17px;
    font-weight: 400;
    font-family: "Open Sans", sans-serif;
    margin-bottom: 35px;
    line-height: 1.7;
    margin-top: 0px;
}

.buttonstyle{
    color: #6c6c6c;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    padding: 10px 30px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #c6c6c6;
    line-height: 1.5;
    width: 81.35px;
    height: 24px;
    align-self: flex-end;
}

.buttonstyle:hover{
    background-color: #c7c7c7;
}

.aboutcompany{
    border: 1px solid #c7c7c7;
    margin: 0px 0px 0px 27.45px;
    display: flex;
    flex-direction: column;
    margin-top: 122px;
    min-width: 350px;
    height: fit-content;
}

.companyprocess{
    width: 100%;
    margin: 0px;
    padding: 0px;
    list-style: none;
    display: flex;
    flex-direction: row;
    height: 71.2px;
    align-items: center;
    justify-content: center;
}

.companyproces{
    font-weight: 500;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    color: #626289;
    line-height: 1.5;
    margin: auto;
}

.moreaboutcompany{
    padding: 45px 45px 25px 45px;
}

.moreaboutcompanydetels{
    /*انا عامله نفس اللون والحجم والويت بس بردو مش باين زيه خالص*/
    margin: 0px 0px 35px 0px;
    font-weight: 400;
    line-height: 1.7;
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    color: #626262;
    max-width: 246px;
}


#Contact{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 90px auto;
}

form{
    display: flex;
    flex-direction: column;
    margin-left: 136.75px;
}

form >h2{
    align-self: flex-end;
    color: #626262;
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
    line-height: 1.2;
    font-size: 2.4rem;
    margin-bottom: 40px;
    margin-top: 0px;
}

.formelemnt{
    margin: 0px 0px 16px 0px;
    border: 1px solid #c7c7c7;
    padding:14px;
    height: auto;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    font-family: "Open Sans", sans-serif;
    width: 332px;
}

form >button{
    padding:12px 40px;
    align-self: flex-end;
    height: auto;
    font-size: 1.2rem;
    line-height: 1.5;
    font-family: "Open Sans", sans-serif;
    cursor: pointer;
    background-color: inherit;
    color: #495057;
    border: 1px solid #c7c7c7;
}

form >button:hover{
    background-color: #c7c7c7;
}

figure{
    margin: 90px auto;
    display: flex;
    flex-direction: column;
    margin-right: 0px;
    margin-bottom: 16px;
    margin-left: 104.25px;
    margin-top: 0px;
}

.contactview{
    width: 600px;
    height: 400px;
    margin-bottom: 27px;
}

.figurecaption{
    line-height: 1.5;
    max-width: 600px;
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    color: #626262;
    font-weight: 400;
}

footer{
    display: flex;
    margin-bottom: 40px;
    padding: 0px 15px;
    margin-left: 16.7px;
    margin-right: 16.7px;
    justify-content: center;
}

footer >p{
    padding: 0px 15px;
    width: 997.5px;
    margin: 0px;
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    color: #626262;
    font-weight: 400;
    line-height: 1.5;
    align-self: center;
}

footer >button{
    margin-left: 125.5px;
    padding: 18px 20px 10px 20px;
    margin-right: 15px;
    font-size: 30px;
    cursor: pointer;
    border: none;
    border-radius: .25rem;
    height: 60px;
}

footer >button:hover{
    background-color: #b2b2b2;
}

@media(max-width:767px){
    .videosection{
        height: 400px;
    }   

    .videosection >video{
        bottom: 325px;
    }

    .videotitle{
        margin-bottom: 40px;
        top: 350px;
    }

    .videoinfo{
        margin-top: 0px;
        top: 490px;
    }
    
    #Features{
    margin-top: 100px;
    padding: 0px 15px;
    margin-bottom: 85px;
   }

   .Featurescontaner{
       flex-direction: column;
       align-items: center;
   }

   #Activites{
       margin-top: 50px;
       margin-left: auto;
       margin-right: auto;
       padding: 0px 15px;
   }

   .Activityview{
       /*مفروض فالصفحه 510 بس شكله الفعلي كانه640 مش عارفه ليه بحس ف فرق فالابعاد*/
       width: 640px;
       margin-bottom: 68px;
   }

   .Actitiytypes{
       grid-gap: 38px;
   }

   #Company{
    flex-direction: column;
    margin-top: 53px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 15px;   
    }

   .companyview{
       flex-direction: column;
       align-items: center;
       padding: 0px;
   }

   .companyinfo{
       padding: 35px;
       margin: 0px;
       max-width: 425px;
   }

   .aboutcompany{ 
    justify-content: center;
    width: 510px;
    margin: 0px auto;
    padding: 0px 15px;
   }

   .companyproces {
       font-size: 1.3rem;
   }

   .moreaboutcompanydetels{
       width: 418px;
   }

   #Contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 40px auto 0px auto;
    padding: 50px 15px 90px 15px;
    width: 540px;
    }

    form{
        margin-left: 148px;
        width: 362px;
    }

    form >button{
        margin-bottom: 30px;
    }

    figure{
    display: flex;
    align-items: center;
    margin-left: 0px;
    width: 510px;
    }

    .contactview {
    width: 510px;
    height: 340px;
    }

    .figurecaption{
        margin: 0px;
    }

    footer{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0px auto 40px auto;
    padding: 0px 15px;
    }

    footer >p{
    justify-content: center;
    width: 540px;
    padding: 0px 15px;
    }

    footer >button{
    margin: 20px auto 0px auto;
    padding: 18px 20px 10px 20px
    }

   
.hamburgerborder{
    opacity: 1;
    border: 1px solid #cdcdcd ;
    padding:7px 10px 3px 10px;
    background-color: white;
    cursor: pointer;
    margin-left: 454px;
    margin-left: 578px;
} 

#menuToggle
{
  display: block;
  position: relative;  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a
{
  text-decoration: none;  
  transition: color 0.3s ease;
}


#menuToggle li:hover{
    background-color: #ededed;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

#menuToggle span
{
  display: block;
  width: 22px;
  height: 3px;
  margin-bottom: 5px;
  position: relative;
  
  background: #909090;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle input:checked ~ span
{
  opacity: 1;
  background: #232323;
}

/*#menu
{
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  
  background: #ededed;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari 
  
  transform-origin: 0% 0%;
  transform: translate(0%, -100%);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}*/

#menu li
{
  font-size: 22px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}

.navlinks{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 510px;
    height: 309px;
    margin: auto;
    border: 1px solid #c7c7c7;
    padding:0px;
}

.navbar{
    border-top: 1px solid #c7c7c7;
    border-bottom: 1px solid #c7c7c7;
    display: flex;
    padding: 3px 0px;
}

.navitem{
    padding: 0px;
    margin: auto;
}

/*بردو هنا ال <a>مش واخدع كل العرض ومعرفتش اظبطها خالص*/
.navlink{
    width: 100%;
    padding: 10px 202px;
}

.navlink:hover{
    color: -webkit-link;
}

.menubackground
{
      position: absolute;
      background: white;
      list-style-type: none;
      -webkit-font-smoothing: antialiased;
      /* to stop flickering of text in safari */
      
     /* transform-origin: top bottom;*/
    top: 40px;
    width: 767px;
    height: auto;
    opacity: 0;
}

#menuToggle input:checked ~ .menubackground{
opacity: 1;
transform: translate(0, 200px);    
transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menuToggle input:checked + .navlinks{
    opacity: 1;
}
.videosection >video{
    position: initial;
}
}