/* Default Styles */
* {
  margin: 0;
  padding: 0; 
  text-decoration: none;
  outline: none;
  font-family: "Raleway", sans-serif;
}
html {
  font-size: 62.5%;
}
body {  
  
}

.container {
  width: 100%;
  height: 100%;
  background-color: #d08282;
 position: absolute;
}

/*        End of Container */

/*               Header         */
.navbar {
  position: relative;
  margin-top: 0;
  left: 62rem;
  width: 50%;
  height: 10rem;
  z-index: 100;
}

.designer {
  position: relative;
  top: 1rem;
  left: -55rem;
  display: flex;
  align-items: center;
}
.designer div {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-left: 2rem;
}

.designer img {
  width: 6rem;
  height: 6rem;
  object-fit: cover;  
}



.nav-left {
  width: 30%;
  height: 100%;
}

.nav-list {
  display: block;  
  right: 20%;
}

.nav-list a {
  font-family: "Kanit", sans-serif;
  font-size: 3rem;
  color: #f20909;
  margin-right: 2rem; 
}

.designer div span:nth-child(1) {
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.2rem;
}

.designer div span:nth-child(2) {
  font-size: 1.4rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.2rem;
}

/*                     end Header */   



/*          Services */

.services {
  width: 100%;
  height: 81vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

.services-header {
  text-align: center;
  opacity: 1;
  visibility: visible;
 
}

.services-header h3 {
  font-size: 3rem;
  text-transform: uppercase;
  color: #777;
  letter-spacing: 0.3rem;
  margin-bottom: 2rem;
}

.services-header h1 {
  font-size: 5rem;
  color: #1d1b1b;
  letter-spacing: 0.3rem;
  margin-bottom: 8rem;
}

.services-list {
  width: 70%;
  display: flex;
  justify-content: space-evenly;
}

.list-item {
  width: 30rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  visibility: visible;  
}


.list-item i {
  font-size: 4rem;
  color: #c03740;
  margin-bottom: 3rem;
}

.list-item span {
  font-family: "Kanit", sans-serif;
  font-size: 2rem;
  color: #fff;
  margin: 0.7rem 0;
}

/*            End of Services */



/*          Footer */

.footer {
  background: #121111;
}

.copyright {
  font-size: 1rem;
  color: #ccc;
  text-align: center;
}

.copyright span {
  font-family: "Kanit", sans-serif;
  font-size: 1rem;
  color: #c03740;
}

/*              End of Footer */


/* Responsive */
@media (max-width: 1500px) {
  html {
    font-size: 65%;
  }
  .services {
    width: 100%;
    height: 79.5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
  }
}

@media (max-width: 1300px) {
 
  html {
    font-size: 56%;
  }
  .services {
    width: 100%;
    height: 82.5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
  }
  
}
@media (max-width: 1100px) {
  html {
    font-size: 52%;
  }
  .services {
    width: 100%;
    height: 83.5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
  }
}
@media (max-width: 900px) {
  html {
    font-size: 44%;
  }
  .services {    
    height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    position: relative;
  }

}

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

  .services {
    width: 100%;
    height: 85vh;
    display: flex;
    flex-direction: column;
    position: relative;
  }
  
  .services-list {
   width: 100%;
   position: relative;
  }
.nav-list {   
  font-size: 1.5rem;
  position: relative;
  margin-left: -20rem;
}
}
@media (max-width: 500px) {

     /*  services  */
     
    html {
      font-size: 23%;
    }
    .container{
      width: 100%;
      height: 100%;
    }
    .nav-list {      
      display: flex;
      flex-direction: column;  
      position: absolute;
      margin-left: 2rem;
     top: 6rem;
    }
    .nav-list a {      
      font-size: 4rem;      
      margin-right: 2rem; 
    }
    .designer {
      position: relative;
      top: 5rem;
      left: -55rem;
      display: flex;
      margin-left: 5rem;
    }
    .designer img {
      width: 8rem;
      height: 8rem;
      object-fit: cover;  
    }
    .designer div span:nth-child(1) {
      font-size: 4rem;
      font-weight: bold;
      text-transform: uppercase;
      color: #fff;
      letter-spacing: 0.2rem;
    }
    .designer div span:nth-child(2) {
      font-size: 3rem;
      font-weight: bold;
      text-transform: uppercase;
      color: #4c4949;
      letter-spacing: 0.2rem;
      margin-top: 1rem;
    }    
    .services {  
      width: 100%;
      height: 86vh;
      display: flex;
      flex-direction: column;      
      margin-top: 10rem;
      position: relative;
    }
    .services-list {
      width: 100%;
      height: 100%;
      text-align: center;
      position: relative;
      display: flex;
      flex-direction: column;      
    }
    .services-header {
      text-align: center; 
      margin-top: 15rem;
      margin-bottom: 0;   
    }    
    .services-header h3 {      
     font-size: 4rem;
    }
    .services-header h1 {      
      font-size: 8rem;
     }   
    .list-item {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      opacity: 1;
      visibility: visible;  
    }
    .list-item i {
      font-size: 5rem;
    }
    .list-item span {      
      font-size: 4rem;
      width: 100%;
    }
  }
     /*  end services  */
/*              End of Responsive */

/*       Image Rotate */

.rotate_1 {  
  width: 4rem;
  height: rem;
  object-fit: cover;
  border-radius: 50%;
  margin: -3px 0 0 -40px;
  -webkit-animation: spin 2s linear infinite;
  -moz-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  }

  @-webkit-keyframes spin{
      100%{-webkit-transform: rotate(360deg);}
  }

  @-moz-keyframes spin{
      100%(-webkit-transform: rotate(360deg);)
  }

  @keyframes spin{
      100%{-webkit-transform: rotate(360deg);}
  }

  /*  End Image Rotate */
