*{
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

html{
  font-size: 62.5%;
}

.spinner-container{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #262626;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 1s;
  z-index: 300;
}

.display .spinner-container{
  opacity: 0;
  visibility: hidden;
}

.circles{
  width: 8rem;
  height: 8rem;
  position: relative;
  opacity: 0;
  visibility: hidden;
  animation: displayCircles 1.6s;
}

@keyframes displayCircles {
  0%{
    opacity:0;
    visibility: hidden;
  }
  25%{
    opacity:1;
    visibility: visible;
  }
  90%{
    opacity:1;
    visibility: visible;
  }
  100%{
    opacity:0;
    visibility: hidden;
  }
}

.circles div{
  animation: circles 1.2s infinite;
  animation-timing-function: cubic-bezier(0.5,0,0,5,1);
  transform-origin: 4rem 4rem;
}

.circles div::after {
  content: "";
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  border-radius:50%;
  background-color: #c29525;
  margin: -0.4rem 0 0 -0.4rem;
}

.circles div:nth-child(1){
  animation-delay: -0.036s;
}

.circles div:nth-child(1)::after{
  top: 6.3rem;
  left: 6.3rem;
}

.circles div:nth-child(2){
  animation-delay: -0.072s;
}

.circles div:nth-child(2)::after{
  top: 6.8rem;
  left: 5.6rem;
}

.circles div:nth-child(3){
  animation-delay: -0.108s;
}

.circles div:nth-child(3)::after{
  top: 7.1rem;
  left: 4.8rem;
}

.circles div:nth-child(4){
  animation-delay: -0.144s;
}

.circles div:nth-child(4)::after{
  top: 7.2rem;
  left: 4rem;
}

.circles div:nth-child(5){
  animation-delay: -0.18s;
}

.circles div:nth-child(5)::after{
  top: 7.1rem;
  left: 3.2rem;
}

.circles div:nth-child(6){
  animation-delay: -0.216s;
}

.circles div:nth-child(6)::after{
  top: 6.8rem;
  left: 2.4rem;
}

.circles div:nth-child(7){
  animation-delay: -0.252s;
}

.circles div:nth-child(7)::after{
  top: 6.3rem;
  left: 1.7rem;
}

.circles div:nth-child(8){
  animation-delay: -0..288s;
}

.circles div:nth-child(8)::after{
  top: 5.6rem;
  left: 1.2rem;
}

@keyframes circles {
  0%{
    transform: rotate(0);
  }
  100%{
    transform: rotate(360deg);
  }
}

.container{
  display: none;
}

.display .container{
  display: block;
}

.line-menu{
  width: 3rem;
  height: 3rem; 
  position: fixed;
  top: 3rem;
  right: 5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  cursor: pointer;
  transition: right 0.4s;
}

.change .line-menu{
  right: 24rem;
}

.line{
  width: 100%;
  height: 0.2rem;
  background-color: #fff;
  box-shadow: 0 0.1rem 0.2rem rgba(0,0,0,0.2);
}

.change .line{
  background-color: rgba(0,0,0,0.8);
}

.change .line-1{
  transform: rotate(45deg)
  translate(0.3rem,0.8rem);
}

.change .line-2{
  opacity: 0;
  visibility: hidden;
}

.change .line-3{
  transform: rotate(-45deg)
  translate(0.3rem,-0.8rem);
}

.line-menu span{
  position: absolute;
  left: 4rem;
  width: 8rem;
  height: 3rem;
  background-color: #e2b646;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode';
  font-size: 1.6rem;
  letter-spacing: 0.1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}

.change .line-menu:hover span{
  opacity: 1;
  visibility: visible;
}

.line-menu span::before{
  content: "";
  position: absolute;
  border-left: 1rem solid transparent;
  border-right: 1rem solid #e2b646;
  border-bottom: 1rem solid transparent;
  border-top: 1rem solid #e2b646;
  top: 18%;
  left: -0.6rem;    
  transform: translateY(-50%);
  transform: rotate(225deg);
}

.header{
  width: 100%;
  height: 100vh;
  position: relative;
  perspective: 100rem;
  overflow: hidden;
}

.img-wrapper{
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  overflow: hidden;
}

.img-wrapper img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  animation: scale 25s;
}

@keyframes scale{
  0%{
    transform: scale(1.3);
  }
  100%{
    transform: scale(1);
  }
}

.banner{
  position: absolute;
  top: 30%;
  left:15%
}

.banner h1{
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: 8rem;
  font-weight: bold;
  color: #fff;
  width: 70%;
  line-height: 8rem;
  letter-spacing: .2rem;
  text-shadow: 0 0.3rem 0.5rem rgba(0,0,0,0.4);
  opacity: 0;
  animation: moveBanner 1s 0.5s forwards;
}

.banner p{
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 3rem;
  color: #fff;
  width: 70%;
  letter-spacing: 0.1rem;
  margin-bottom: 3rem;
  text-shadow: 0 0.3rem 0.5rem rgba(0,0,0,0.4);
  opacity: 0;
  animation: moveBanner 1s 0.7s forwards;
}

.banner button{
  width: 20rem;
  height: 5rem;
  background-color: #c29525;
  border: none;
  border-radius: 1rem;
  font-family: 'Trebuchet MS',Georgia, Times, 'Times New Roman', serif;
  font-size: 2rem;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0.2rem 0.4rem rgba(0,0,0,0.2);
  box-shadow: 0 0.3rem 0.5rem rgba(0,0,0,0.4);
  cursor: pointer;
  opacity: 0;
  animation: moveBanner 1s 0.9s forwards;
}

@keyframes moveBanner{
  0%{
    transform: translateY(40rem) rotateY(-20deg);
  }
  100%{
    transform: translateY(0) rotateY(0);
    opacity: 1 ;
  }
}

.sidebar{
  width: 30rem;  
  height: 100vh;
  position: fixed;
  top: 0;
  right:-30rem;
  background-color: #fff;
  transition: right 0.5s;
  z-index: 100;
}

.change .sidebar{
  right: 0;
}

.sidebar .menu{
  position: absolute;
  top: 45%;
  left:50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}

.menu-item{
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.menu-link{
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode';
  font-size: 4rem;
  color: #555;
  position: relative;
}

.menu-link::before{
  content:attr(data-content);
  position: absolute;
  top: 0;
  left: 0;
  color: #c29525;
  width: 0;
  overflow: hidden;
  transition: width 0.4s ease-in-out;
}

.menu-link:hover::before{
  width: 100%;
}

.social-media{
  position: absolute;
  bottom: 3rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.social-media i{
  font-size: 2.2rem;
  margin: 3rem;
  height: 3.5rem;
  width: 3.5rem;
  background-color: #777;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.social-media i:hover{
  background-color: #c29525;
}

/* About Section */
.about-us{
  width: 100%;
  background: #f5f5f5;
  padding-bottom: 10rem;
}

.section-header{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7rem 0 10rem 0;
}

.section-heading{
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode';
  font-size: 5rem;
  font-weight: 300;
  color: #4b4b4b;
  margin-bottom: 2rem;
}

.underline{
  width: 12rem;
  height: 0.3rem;
  background-color: #c29525;
}

.services{
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-template-rows: repeat(6, 6rem);
  grid-row-gap: 4rem;  
}

.service{
  width: 100%;
  margin-bottom: 2rem;
}

.service:nth-child(1){
  grid-column: 4/7;
  grid-row: 1/3;  
}

.service:nth-child(2){
  grid-column: 3/6;
  grid-row: 3/5;  
}

.service:nth-child(3){
  grid-column: 4/7;
  grid-row: 5/-1;  
}

.service:nth-child(4){
  grid-column: 11/14;
  grid-row: 1/3;  
}

.service:nth-child(5){
  grid-column: 12/15;
  grid-row: 3/5;  
}

.service:nth-child(6){
  grid-column: 11/14;
  grid-row: 5/-1;  
}

.service-header {
  display:flex;
  align-items: center;
  margin-bottom: 1rem;
}

.service-header i{
  font-size: 4rem;
  color: #4b4b4b;
  margin-right: 2rem;
}

.service-header h3{
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode';
  font-size: 2.6rem;
  line-height: 2.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.service-text{
  font-family: Helvetica, sans-serif;
  font-size: 1.1rem;
  text-align: justify;
}

.about-us-img-wrapper{
  grid-column: 7/11;
  grid-row: 2/6;
  width: 100%;
}

.about-us-img-wrapper img{
  width: 100%;
  object-fit: cover;
  margin-top: 2rem;
}

/* Our Team Section */

.team{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cards-wrapper{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  margin-bottom: 10rem;
}

.card { 
  width: 32rem;
  height: 40rem;
  box-shadow: 0 1rem 4rem rgba(0,0,0,0.4);
  border-radius: 0.5rem;
  position: relative;
}

.card-img-wrapper{
  width: 100%;
  height: 100%;
  background-color: #262626;
  border-radius: 0.5rem;
}

.card-img-wrapper img{
  width:100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  border-radius: 0.5rem;
  transition: opacity 0.3s;
}

.card:hover .card-img-wrapper img{
  opacity: 0.5;
}

.card-info {
  position: absolute;
  bottom: 0;
  padding: 2rem;
  text-shadow: 0 0.2rem o.5rem rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.card:hover .card-info{
  bottom: 2rem;
  opacity: 1;
  visibility: visible;
}

.card-info h2{
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode';
  font-size: 2.5rem;
  line-height: 2.5rem;
  font-weight: 300;
  color:#eee;
}

.card-info h3{
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 2rem;
  font-weight: 500;
  color: #a52a2a;
  margin-bottom: 1rem;
}

.card-info p{
  font-family: Tr;
  font-size: 1.4rem;
  line-height: 1.6rem;
  font-weight: 300;
  color: #eee;
  width: 80%;
  margin-bottom: 2rem;
}

.card-info button{
  width: 10rem;
  height: 3rem;
  background-color: #c29525;
  border: none;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode';
  font-size: 1.4rem;
  line-height: 1.5rem;
  color: #eee;
  border-radius: 0.3rem;
  box-shadow: 0 0.1rem 0.8rem rgba(0,0,0,0.4);
}

/* Contact Section */

.contact{
  width: 100%;
  height: 160vh;
  background-color: #272727;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-wrapper {
  width: 60%;
  height: 80vh;
  display: flex;
  box-shadow: 0 3rem 7rem rgba(0,0,0,0.5);
}

.contact-left{
  width: 35%;
  background: linear-gradient(rgba(59, 57, 57, 0.6), rgba(22,22,22, 0.9)), url(img/3d.jpg) center no-repeat;
  background-size: cover;
}

.contact-right{
  width: 65%;
  background-color: #eee;
  padding: 3rem 10rem 10rem 10rem;
}

.contact-heading{
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode';
  font-size: 5rem;
  font-weight: 300;
  color: #272727;
  margin-bottom: 6rem;
  text-align: center;
}

.contact-right form{
  width:100%;
  display: flex;
  flex-direction:column;
  justify-content: center;
  align-items: center;
}

.input-group{
  position: relative;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.field{
  width: 45rem;
  background-color: transparent;
  border: none;
  border-bottom: 0.2rem dashed;
}

.input-group input{
  height: 3rem;
}

.input-group textarea{
  max-height: 7rem;
  max-width: 45rem;
  margin-bottom: -1.3rem;
  margin-top: 1.3rem;
}

.field:focus{
  border-bottom-style: solid;
}

.input-group label{
  position: absolute;
  left: 0;
  bottom: 2.5rem;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode';
  font-size: 1.2rem;
  color: #4b4b4b;
  text-transform: uppercase;
  pointer-events: none;
  transition: 0.4s ease-in;
}

.submit-btn{
  width: 45rem;
  height: 3rem;
  background-color: #c29525;
  color: #fff;
  border: none;
  margin-top: 3rem;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode';
  font-size: 2rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  cursor: pointer;
  text-shadow: 0 0.1rem 0.3rem rgba(0,0,0,0.5);
  box-shadow: 0 0.1rem 0.3rem rgba(0,0,0,0.3);
}

/* Footer */

.footer{
  width: 100%;
  height: 15rem;
  background-color: #17181b;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-content{
  width: 60%;
  display: flex;
  justify-content: space-between;
}

.copyright{
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode';
  font-size: 1.6rem;
  color: #a7a7a7;
}

.social-list a{
  margin: 2rem;
}

.social-list i{
  font-size: 2rem;
  color: #a7a7a7;
}

.scroll-btn{
  position: fixed;
  right: 5rem;
  bottom: 5rem;
  width: 4rem;
  height: 4rem;
  background-color: #e2b646;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 0.1rem 0.6rem rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
}

@media(max-width: 1400px){
 .banner p{
   font-size: 3rem;
 }

 .banner button{
   width: 20rem;
   height: 5rem;
 }

 .menu-link {
   font-size: 3rem;
 }

 .service:nth-child(1){
  grid-column: 3/7;  
 }

 .service:nth-child(2){
  grid-column: 2/6;  
 }

 .service:nth-child(3){
  grid-column: 3/7; 
 }

 .service:nth-child(4){
  grid-column: 11/15;  
 }

 .service:nth-child(5){
  grid-column: 12/16;  
 }

 .service:nth-child(6){
  grid-column: 11/15;
 }  
}

@media(max-width: 1300px){
  .menu-link {
    font-size: 2.5rem;
  }

  .team{
    padding-bottom: 5rem;
  }

  .cards-wrapper{
    margin-top: 4rem;
  }

  .card{
    width: 30rem;
    height: 38rem;
    margin-bottom: 8rem;
  }

  .contact-wrapper{
    width: 90%;
    height: 55rem;
  }

  .contact-heading{
    margin-bottom:2rem;
  }

  .field{
    margin-bottom: 2rem 0;
  }

  .contact-right form{
    margin-top: 7rem;
  }
}

@media(max-width: 1000px){
  .banner h1{
    font-size: 4rem;
    line-height: 5rem;
  }

  .banner p{
    font-size: 2.5rem;
  }

  .banner button {
    width: 18rem;
    height: 4rem;
    font-size: 1.5rem;
  }

  .menu-link {
    font-size: 2.5rem;
  }

  .menu-item{
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  
  .social-media i{
    font-size: 1.5rem;
    margin: 2rem;
    height: 3rem;
    width: 3rem;
  }

  .social-media{
    bottom: 2rem;
  }

  .line-menu{
    width: 2.1rem;
    height: 2.7rem; 
    top: 1.8rem;
  }

  .line-menu span{
    position: absolute;
    left: 2.8rem;
    width: 6rem;
    height: 2.5rem;
    font-size: 1.2rem;
  }
  
  .line-menu span::before{
    top: 10%;
    left: -0.5rem; 
    border-left: 0.9rem solid transparent;
    border-right: 0.9rem solid #e2b646;
    border-bottom: 0.9rem solid transparent;
    border-top: 1rem solid #e2b646;
  }

  .card{
    width: 26rem;
    height: 34rem;
  }
}

@media(max-width:910px){
  .banner button{
    margin-top: -1rem;
  }
  .about-us-img-wrapper img{
    margin-top: 9rem;
  }

  .card{
    width: 22rem;
    height: 30rem;
  }

  .footer-content{
    flex-direction: column; 
    align-items: center;
    text-align: center;
    width: 50%;   
  }

  .copyright{
    order: 1;
   margin-top: 3rem;
  }
}

@media(max-width:750px){
  .about-us-img-wrapper{
    grid-column: 7/14;
  }
  
  .about-us-img-wrapper img{
    width: 60%;
    margin-top: 8rem;
  }

  .field{
    width: 32rem;
  }

  .input-group textarea{
    max-width: 32rem;
  }

  .submit-btn{
    width:32rem;
  }
}

@media(max-width:600px){
  .banner p{
    font-size: 2rem;
  }

  .cards-wrapper{
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
  }

  .card{
    width: 30rem;
    height: 38rem;
    margin-bottom: 4rem;
  }

  .field{
    width: 30rem;
  }
   
  .input-group textarea{
    max-width: 30rem;
  }

  .submit-btn{
    width: 30rem;
  }
}

@media(max-width:550px){
  .service-header i{
    font-size: 2rem;
    margin-right: 1rem;
  }
  
  .service-header h3{
    font-size: 1.8rem;
    line-height: 2rem;
    font-weight: 100;
    margin-bottom: .8rem;
  }
  
  .service-text{
    font-size: 1rem;
  }

  .contact-left{
    width: 20%;
  }
  
  .contact-right{
    width: 80%;
  }
  
  .contact-heading{
    font-weight: 100;
    margin-bottom: 4rem;
    Padding-right: 20rem;
  }

  .scroll-btn{
    right: 3.6rem;
    width: 3rem;
    height: 3rem;
  }
}

@media(max-width:500px){
  html{
    font-size: 45%;
  }

  .sidebar{
    width:100%;
    right: -100%;
  }

  .line-menu{ 
    top: 1.8rem;
    left: 55rem;
  }

  .line-menu span{
    left: 3rem;
  }
  
  .line-menu span::before{
    top: 11%;
  }

  .service{
    width: 40rem;
  }

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

  .service-header i{
    font-size: 3.5rem;
    margin-right: 2rem;
  }
  
  .service-header h3{
    font-size: 2.8rem;
    line-height: 2rem;
  }
  
  .service-text{
    font-size: 1.3rem;
  }

  .about-us-img-wrapper{
    width: 40rem;
  }

  .about-us-img-wrapper img{
    width:100%;
  }

  .contact{
    height: 80vh;
  }

  .contact-right h1{
    margin-left: -5rem;
  }

  .footer{
    height: 18rem;
  }

  .copyright{
    font-size: 1.5rem;
    line-height: 2.5rem;
  }
}