/* Start Variables */
:root {
    /* --main-color: #2196f3;
    --main-color-alt: #1787e0; */
    --main-color: #3b1764 ;
    --main-color-alt: #5c249c;
    --filter-img:rgba(50, 16, 53, 0.749);
    --main-transition: 0.3s;
    --main-padding-top: 100px;
    --main-padding-bottom: 100px;
    --section-background: #ececec;
    --section-padding: 60px;

    --secondary-color: #2c4755;
  --section-padding: 60px;
  --section-background: #f6f6f6;
  --main-duration: 0.5s;
    }
    /* End Variables */
    /* Start Global Rules */
    html {
      scroll-behavior: smooth;
    }
    
    body {
      font-family: "Cairo", sans-serif;
      /* cursor: none; */
      position: relative;
      /* height: 1000vh; */
    }
    
    ul{
      list-style: none;
      margin: 0;
      padding: 0;
    }
  
    a{
      text-decoration: none;
    }
    
    * {
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      margin: 0px;
      padding: 0px;
    }
    
    body {
      font-family: "Cairo", sans-serif;
    }
    
    .container {
      padding-left: 15px;
      padding-right: 15px;
      margin-left: auto;
      margin-right: auto;
    }
  
    #loading{
      background: rgba(255 255 255 / 20%) url(img/Loading_3.gif) no-repeat center center;
      background-size: 10%;
      position: fixed;
      z-index: 1000;
      width: 100%;
      height: 100%;
    }
    
    /* Small */
    @media (min-width: 768px) {
      .container {
        width: 750px;
      }
    }
    /* Medium */
    @media (min-width: 992px) {
      .container {
        width: 970px;
      }
    }
    /* Large */
    @media (min-width: 1200px) {
      .container {
        width: 1170px;
      }
    }
    /* End Global Rules */
    /* Start head */
    header{
      background-color: white;
      /* position: relative; */
      box-shadow: 0 0 10px #ddd;
      z-index: 100;
    }
  
    header .container{
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      /* position: relative; */
    }
  
    .logo{
      height: 72px;
    }
    @media (max-width: 767px) {
      .logo{
      width: 100%;
      }
    }
  
    header .main-nav{
      display: flex;
      z-index: 1000;
    }
    @media (max-width: 767px) {
      header .main-nav{
      margin: auto;
      }
      }
  
    header .main-nav > li > a{
      display: flex;
      justify-content: center;
      align-items: center;
      height: 72px;
      font-size: 18px;
      position: relative;
      color: black;
      padding: 0 30px;
      transition: var(--main-transition);
      overflow: hidden;
    }
    @media (max-width: 767px) {
    header .main-nav li a{
    padding: 10px;
    font-size: 14px;
    height: 40px;
    }
    }
  
    header .main-nav > li > a::before{
      content: "";
      position: absolute;
      width: 100%;
      height: 5px;
      background-color: var(--main-color);
      top: 0;
      left: -100%;
      transition: var(--main-transition);
    }
  
    header .main-nav > li > a:hover{ 
      color: var(--main-color);
      background-color: #fafafa; 
    }
  
    header .main-nav > li > a:hover::before{ 
    left: 0;
    }

    header .nav{
        display: none;
        font-size: 20px;
        cursor: pointer;
    }

    header #delete{
        display: none;
    }

    /* Medium */
    @media (max-width: 992px) {
        header .main-nav{
            width: 100%;
            height: 100vh;
            background-color: darkgrey;
            position: absolute;
            right: 0;
            top: 0;
            flex-direction: column;
            display: none;
            padding-top: 40px;
        }
        header #delete{
            display: block;
            position: absolute;
            right: 5px;
            top: 5px;
            color: red;
            font-size: 20px;
            border: 2px solid red;
            padding: 3px;
            border-radius: 20%;
            cursor: pointer;
        }

        header .active{
          display: block;
        }

    }
/* Medium */
@media (max-width: 992px) {
    header .nav{
      display: block;
    }
  }

  header .setP{
    position: absolute;
      top: 20px;
      right: 20px;
      z-index: 1000;
  }
    /* End head */

    /* Start Home */
    @keyframes fadeIn {
      0%{
         transform: translateY(-4rem) scale(0);
         opacity: 0;
      }
   }
   
   .home{
      padding:0;
      background: var(--black);
   }
   
   .home .slide{
      min-height: 100vh;
      /* min-height: 20vh; 
      width: 30%; */
      width: calc(100% / 3);
      background-size: cover !important;
      background-position: center !important;
      position: relative;
      z-index: 0;
      display: flex;
      align-items: center;
      justify-content: center;
   }
   
   .home .slide::before{
      content: '';
      position: absolute;
      top:0; left:0;
      height: 100%;
      width: 100%;
      background: var(--dark-bg);
      z-index: -1;
   }
   
   .home .slide .content{
      text-align: center;
      width: 70rem;
      display: none;
   }
   
   .home .slide .content span{
      font-size: 3rem;
      display: block;
      padding-bottom: .5rem;
      color:var(--light-white);
      animation:fadeIn 0.4s cubic-bezier(.54,1.3,.63,1.34) .2s backwards;
   }
   
   .home .slide .content h3{
      font-size: 8vw;
      text-transform: uppercase;
      color:white;
      text-shadow: 0 .5rem 1rem rgba(0,0,0,.7);
      line-height: 1;
      padding:2rem 0;
      animation:fadeIn 0.4s cubic-bezier(.54,1.3,.63,1.34) .4s backwards;
   }
   
   .home .slide .content .btn{
      animation:fadeIn 0.4s cubic-bezier(.54,1.3,.63,1.34) .6s backwards;
      color: white;
   }
   
   .home .swiper-slide-active .content{
      display: inline-block;
   }
   
   .home-slider .swiper-button-next,
   .home-slider .swiper-button-prev{
      height: 5rem;
      width: 5rem;
      line-height: 5rem;
      /* background: var(); */
      color:var(--main-color);
      border-radius: 50%;
   }
   
   /* .swiper-button-next:hover,
   .swiper-button-prev:hover{
      background: white;
      color:var(--white);
   } */
   
   .swiper-button-next::after,
   .swiper-button-prev::after{
      font-size: 2rem;
   }
    /* End Home */
    /* Start Components */
.special-heading {
  color: #ebeced;
  font-size: 100px;
  text-align: center;
  font-weight: 800;
  letter-spacing: -3px;
  margin: 0;
}
.special-heading + p {
  margin: -30px 0 0;
  font-size: 20px;
  text-align: center;
  color: #797979;
}
@media (max-width: 767px) {
  .special-heading {
    font-size: 60px;
  }
  .special-heading + p {
    margin-top: -20px;
  }
}
/* End Components */
    /* Start About */
.about {
  padding-top: var(--section-padding);
  padding-bottom: calc(var(--section-padding) + 60px);
}
.about .about-content {
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media (max-width: 991px) {
  .about .about-content {
    flex-direction: column;
    text-align: center;
  }
}
.about .about-content .image {
  position: relative;
  width: 250px;
  height: 375px;
}
@media (max-width: 991px) {
  .about .about-content .image {
    margin: 0 auto 60px;
  }
}
.about .about-content .image::before {
  content: "";
  position: absolute;
  background-color: #ebeced;
  width: 100px;
  height: calc(100% + 80px);
  top: -40px;
  left: -20px;
  z-index: -1;
}
.about .about-content .image::after {
  top: -40px;
  content: "";
  position: absolute;
  width: 120px;
  height: 300px;
  border-left: 80px solid var(--main-color);
  border-bottom: 80px solid var(--main-color);
  z-index: -1;
  right: -150px;
}

@media (max-width: 991px) {
  .about .about-content .image::after {
    right: -50px;
  }
}
.about .about-content .image img {
  position: absolute;
  max-width: 100%;
animation: moving 3s infinite;
transform: translate(-50%,20%);
left: 50%;
/* top: -50%; */
}
@keyframes moving {
  0%{
  top: 0px;
  }50%{
    top: 20px;
  }100%{
    top: 0px;
  }

}
.about .about-content .text {
  flex-basis: calc(100% - 500px);
}
.about .about-content .text p:first-of-type {
  font-weight: bold;
  line-height: 2;
  margin-bottom: 50px;
}
.about .about-content .text hr {
  width: 50%;
  display: inline-block;
  border-color: var(--main-color);
}
.about .about-content .text p:last-of-type {
  line-height: 2;
  color: #777;
}
/* End About */
/* start img */
.chess_img{
  padding-top: var(--section-padding);
    padding-bottom: calc(var(--section-padding) + 60px);
    background-image: url(https://res.cloudinary.com/fleetnation/image/private/c_fit,w_1120/g_south,l_text:style_gothic2:%C2%A9%20Stephen%20Paul%20Young,o_20,y_10/g_center,l_watermark4,o_25,y_50/v1580323279/yyuaxm0udc3li5t63grp.jpg);
    background-size: cover;
    height: 250px;
    position: relative;
    object-fit: cover;
    background-attachment: fixed;
    background-position: center;
}
/* End img */

/* Start Services  */
.services {
  padding-top: 60px;
  padding-bottom: 60px;
}
.services .services-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 30px;
  margin-top: 100px;
}
.services .services-content .srv {
  display: flex;
  margin-bottom: 40px;
}
@media (max-width: 767px) {
  .services .services-content .srv {
    flex-direction: column;
    text-align: center;
  }
}
.services .services-content .srv i {
  color: var(--main-color);
  flex-basis: 60px;
}
.services .services-content .srv .text {
  flex: 1;
}
.services .services-content .srv .text h3 {
  margin: 0 0 20px;
}
.services .services-content .srv .text p {
  color: #444;
  font-weight: 300;
  line-height: 1.6;
}
.services .services-content .image {
  text-align: center;
  position: relative;
}
.services .services-content .image::before {
  content: "";
  background-color: var(--main-color);
  width: 100px;
  height: calc(100% + 100px);
  top: -50px;
  position: absolute;
  right: 0;
  z-index: -1;
}
.services .services-content .image img {
  width: 260px;
  position: relative;
}
.services .services-content .image::after{
  content: "";
    position: absolute;
    left: 50px;
    top: 0;
    width: 73%;
    height: 100%;
    background-color: var(--filter-img);
}
@media (max-width: 1199px) {
  .image-column {
    display: none;
  }
}
/* Start Services */
/* Start Contact */
.contact {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: var(--section-background);
}
.contact .info {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  text-align: center;
}
.contact .info .label {
  font-size: 35px;
  font-weight: 800;
  color: var(--secondary-color);
  letter-spacing: -2px;
  margin-bottom: 15px;
}
.contact .info .link {
  display: block;
  font-size: 35px;
  font-weight: 800;
  color: var(--main-color);
  text-decoration: none;
}
.contact .info .social {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  font-size: 16px;
}
.contact .info .social i {
  margin-left: 10px;
  color: var(--secondary-color);
}
@media (max-width: 767px) {
  .contact .info .label,
  .contact .info .link {
    font-size: 25px;
  }
}
/* End Contact */
/* Start Footer */
.footer {
  background-color: var(--main-color);
  color: white;
  padding: 30px 10px;
  text-align: center;
  font-size: 18px;
}
.footer span {
  font-weight: bold;
  color: white;
}
/* End Footer */
