/* Default Styles */
* {
  margin: 0;
  padding: 0; 
  text-decoration: none;
  outline: none;
  font-family: "Raleway", sans-serif;
}
html {
  font-size: 62.5%;
}
body {  
  background: #e1baba;
}
.container {
  width: 100%;
  height: 100%;
}

/*               Header         */
.navbar {
  
  position: relative;
  
  display: flex;
  flex-direction: row;  
  height: 10rem;
  z-index: 100;
  background-color: #aca9a9;
}
.designer {
  position: relative;
  top: 1rem;
  margin-left: 10rem;
  display: flex;
  align-items: center;
  width: 40%;
}
.designer div {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-left: 2rem;
}
.designer img {
  width: 6rem;
  height: 6rem;
  object-fit: cover;  
}
.designer div span:nth-child(1) {
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #0c9db7;
  letter-spacing: 0.2rem;
}
.designer div span:nth-child(2) {
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #825252;
  letter-spacing: 0.2rem;
}
.nav-list {
 display: flex;  
 margin-top: 2rem;
 width: 60%;
 padding-left: 30rem;
}
.nav-list a {
  font-family: "Kanit", sans-serif;
  font-size: 3rem;
  color: #f20909;
  margin-right: 3rem; 
}

/*                     end Header */   

/*          About     */

.about {  
  width: 92%;
  height: 100vh;
  display: flex;  
  justify-content: center;
  padding-top: 15rem; 
  position: relative; 
}
.about-left {
  top: 2.5rem;
  width: 50%;
  position: relative;
}
.about-left img {
  width: 35rem;
  height: 45rem;
  object-fit: cover;
  position: relative;
  
  right: -25rem;
  opacity: 1; 
}
.about-right {
  top: 1rem;
  width: 50%;
  position: relative;
  opacity: 1;
}
.about-right h1 {
  font-family: "Kanit", sans-serif;
  font-size: 10rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  color: #7d7777;
  position: absolute;
  top: -10rem;
  left: 12rem;
}
.about-right h3 {
  font-family: "Kanit", sans-serif;
  font-size: 4rem;
  font-weight: 300;
  color: #0c9db7;
  position: absolute;
  top: 3rem;
  left: 20rem;
}
.info {
  position: relative;
  top: 12rem;
  left: 10rem;
}
.info p {
  font-family: "Kanit", sans-serif;
  font-family: "Kanit", sans-serif;
  font-size: 2rem;
  width: 45rem;
  color: #fff;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.social-media {
  display: flex;
  margin-top: 8rem;
  margin-bottom: 5rem;
}
.social-media i {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  background-color: #202020;
  margin-right: 2rem;
  color: #c03740;
  cursor: pointer;
}
.info h4 {
  font-size: 2.5rem;
  color: #e80f0f;
  margin-bottom: 3rem;
}
.info span {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  display: block;
  margin: 1rem 0;
}
.info a {
  color: #e90e0e;
  font-family: "Kanit", sans-serif;
}

/*                End of About */

/*          Services */

.services {
  width: 100%;
  height: 100vh;
  display: flex;
 flex-direction: column; 
  
  padding-top: 10rem;
}

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

.services-header h3 {
  font-size: 2rem;
  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: 10rem;
}

.services-list {
  width: 100%;
  display: flex;
  
  
}

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


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

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

/*            End of Services */

/* Portfolio */
.portfolio {
  width: 100%;
  height: 100%;
  padding: 5rem 0 0 0;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 1rem;
  opacity: 1;
  visibility: visible;
  
}

.change .portfolio-header {
 
}

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

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

.works {
  width: 80%;
  margin: auto;
}

.work {
  display: flex;
  justify-content: space-evenly;
  margin: 15rem 0;
  opacity: 1;
  visibility: visible;
 
}

.work:nth-child(1) {
  
}

.work:nth-child(2) {
  
}

.work:nth-child(3) {
  
}

.work:nth-child(4) {
  
}

.change .work {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.work img {
  width: 40%;
  height: 30rem;
  object-fit: cover;
  opacity: 0.8;
}

.work-info {
  width: 40%;
}

.work-info h3 {
  font-size: 1.6rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.work-info h1 {
  font-family: "Kanit", sans-serif;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.2rem;
  margin: 3rem 0;
}

.work-info p {
  font-size: 1.6rem;
  color: #777;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.work-info a {
  font-size: 1.6rem;
  font-weight: bold;
  color: #c03740;
  letter-spacing: 0.1rem;
}
/*             End of Portfolio */

/*          Footer */

.footer {
  position: relative;
  background: #121111;
 bottom: 0.5;
}

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

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

/*              End of Footer */


/* Responsive */
@media (max-width: 1500px) {
  html {
    
  }

  .rectangle-2 {
    right: -15%;
  }

}

@media (max-width: 1300px) {
 
  html {
    font-size: 50%;
  }
  
}
@media (max-width: 1100px) {
  html {
    font-size: 52%;
  }
}
@media (max-width: 900px) {
 
  .nav-list {
    display: flex;  
    width: 60%;
    margin-left: -30rem;
  }

}

@media (max-width: 700px) {
  
  html {
    font-size: 45%;
  }
  
} 
@media (max-width: 500px) {
  /*  about  */
  html {
    font-size: 23%;
  }
  .container{
   
  }
  .navbar {
    position: relative;    
    display: block;
    flex-direction: row;  
    height: 10rem;
    z-index: 100;
    background-color: #aca9a9;
  }  
  .nav-list {      
    display: flex;      
    position: absolute;
    top: 6rem;
    margin-left: 25rem;
  }
  .nav-list a {      
    font-size: 3.5rem;    
    margin-right: 1.5rem;
    margin-top: -3rem;
  }
  .designer {
    position: relative;
    top: 1rem;
    left: 1.5rem;
    display: flex;    
  }
  .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: #0c9db7;
    letter-spacing: 0.2rem;
  }
  .designer div span:nth-child(2) {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #4c4949;
    letter-spacing: 0.2rem;
    margin-top: 1rem;
  }   
  .about {
    display: flex;
    flex-direction: column;    
    width: 100%;
    height: 100vh;   
    position: relative;
    align-items: center;
    margin-top: -40rem;
  }
  .about-right {
    top: 20rem;   
    position: relative;    
  }
  .about-right h1 {
    font-size: 6rem;
    top: -20rem;
    left: 23rem;  
  }
  .about-right h3 {
    font-size: 4rem;
    top: -8rem;
  }
.about-left {
  top: -10rem;  
  position: relative;  
}
.about-left img {
  width: 25rem;
  height: 30rem;  
  margin-left: -9rem;  
  opacity: 1;  
}
.info {
  
  top: 3rem;
  bottom: 1rem;
  position: absolute;
  align-items: center;  
}
.info p {
  font-family: "Kanit", sans-serif;
  font-family: "Kanit", sans-serif;
  font-size: 3rem;
  width: 100%;
  color: #fff;
  line-height: 1.25;
  margin-left: -8rem;  
}
.social-media {  
  margin-top: 10rem;
  margin-bottom: 10rem;
  padding-left: 8rem;
  text-align: center;
  font-size: 3rem;
}
.info h4 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 10rem;
}
.info span {
  font-size: 3rem;
  font-weight: bold;
  color: #dfd8d8;
  display: flex;
padding-bottom: 1rem;
}

.footer {
position: relative;
bottom: 0.5;
}
}
 /*  and about  */
  /*  blog  */
  .portfolio-header h3 {
    margin-top: 10rem;
   margin-bottom: 2rem;
  }
   /*  end blog  */
   
/*              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 */
