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

.container {
  width: 100%;
  height: 100%;
  position: relative;
}
/*        End of Container */

/*               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 */

/*          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 {
    
  }
}

@media (max-width: 1300px) { 
  html {
    font-size: 50%;
  }  
}
@media (max-width: 1100px) {
  html {
    font-size: 52%;
  }
}
@media (max-width: 900px) {
	html {
    font-size: 50%;
  }
 }

@media (max-width: 700px) {
  
  html {
    font-size: 40%;
  }
  .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: 3rem;    
    margin-right: 2rem;
    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: 3rem;
    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 {
     
    width: 100%;
    height: 70vh;   
    position: relative;
    
  }
  .about-left {
  top: 5rem;  
    
}
.about-right {
    
margin-bottom: -50rem:	
        
  }
  .about-right h1 {
    font-size: 5rem;
     top: -10rem;
  }
  .about-right h3 {
    font-size: 4rem;
   
  }  
  .info p { 
  font-size: 3rem;  
}
.info h4 {
  font-size: 4rem;  
}
.social-media {  
  margin-top: 10rem;
  margin-bottom: 10rem;
  padding-left: 0;
  text-align: center;
 
}
.info span {
  font-size: 3rem;  
}

} 
@media (max-width: 500px) {
  
  html {
    font-size: 30%;
  }
  .container{
   position: relative;
   width: 100%;
    height: 100%; 
  }
  .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: 100%;   
    position: relative;
    align-items: center;
    margin-top: 5rem;
  }
  .about-right {
    top: 20rem;   
        
  }
  .about-right h1 {
    font-size: 7rem;
    top: -20rem;
    left: 18rem;  
  }
  .about-right h3 {
    font-size: 5rem;
    top: -8rem;
	left: 16rem;
  }
.about-left {
  top: -10rem;  
    
}
.about-left img {
  width: 25rem;
  height: 30rem;  
  margin-left: -9rem;  
  opacity: 1;  
}
.info {  
  width: 100%;
  top: 3rem;
  bottom: 1rem;
  
  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: 4rem;
  color: #fff;
  margin-bottom: 10rem;
}
.info span {
  font-size: 3rem;
  font-weight: bold;
  color: #dfd8d8;
  display: flex;
  padding-bottom: 1rem;
}
.footer {
	top: 80rem;
position: relative;

}
.copyright {
  font-size: 2rem;
  
}
.copyright span {
  font-family: "Kanit", sans-serif;
  font-size: 2rem;
 
}
}
 /*  and about  */
  
/*              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 */
