*{ 
	margin:0; 
	padding:0; 
	box-sizing: border-box; 
} 

body{ 
	min-height:100vh; 
	transition: 0.5s; 
	transition-timing-function: ease-in; 
	background-image: linear-gradient(to right, #df513c, #fffffff2); 
} 
	
.quote-box{ 
	padding:3rem; 
	transition: 0.5s; 
	transition-timing-function: ease-in; 
} 

.container {
  position: relative;
}

.topleft {
  position: absolute;
  top: -10%;
  left: 65%;
  font-size: 18px;
}


.topright {
  position: absolute;
  top: 5%;
  right: 30px;
  font-size: 18px;
}



img { 
  width: 100%;
  height: auto;
}
	
.text{ 
	font-size:72px; 
	padding-left:10px; 
	transition: 0.5s; 
	transition-timing-function: ease-in; 
	font-family: 'Kanit', sans-serif;
	background-image: linear-gradient(to right bottom, #28313B,#485461);
	color: transparent; 
	-webkit-background-clip: text; 
} 


.quote{ 
	transition: 0.5s; 
	transition-timing-function: ease-in; 
} 

.new-quote{ 
        text-align: center;
        align-items: center;
        justify-content: center;
        line-height: 1;
        text-decoration: none;
        color: #ffffff;
        font-size: 30px;
        border-radius: 5px;
        width: 500px;
        height: 65px;
        font-weight: bold;
        font-family: 'Kanit', sans-serif;
        border-bottom: 4px solid #c34835;
        transition: 0.3s;
        box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
        background-color: #df513c;
      }
      
      .new-quote:hover {
        box-shadow: 0 0 rgba(0, 0, 0, 0.4);
        border-bottom-width: 2px;
        transform: translateY(2px);
      }


.text-center{ 
	text-align: center; 
} 
	
.new-quote:hover{ 
	opacity: 0.6; 
} 

.new-quote1{ 
  text-align: center;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: absolute;
  bottom: 10%;
  left: 30%;
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  border-radius: 5px;
  width: 300px;
  height: 50px;
  font-weight: bold;
  font-family: 'Kanit', sans-serif;
  border-bottom: 4px solid #1c8c41;
  transition: 0.3s;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
  background-color: #1bc754;
}

.new-quote1:hover {
  box-shadow: 0 0 rgba(0, 0, 0, 0.4);
  border-bottom-width: 2px;
  transform: translateY(2px);
}


.text-center{ 
text-align: center; 
} 

.new-quote1:hover{ 
opacity: 0.6; 
} 


.new-quote2{ 
  text-align: center;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: absolute;
  bottom: 10%;
  right: 30%;
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  border-radius: 5px;
  width: 300px;
  height: 50px;
  font-weight: bold;
  font-family: 'Kanit', sans-serif;
  border-bottom: 4px solid #c8bc07;
  transition: 0.3s;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
  background-color: #efdf03;
}

.new-quote2:hover {
  box-shadow: 0 0 rgba(0, 0, 0, 0.4);
  border-bottom-width: 2px;
  transform: translateY(2px);
}


.text-center{ 
text-align: center; 
} 

.new-quote2:hover{ 
opacity: 0.6; 
} 

.author{ 
	margin:10px; 
	font-size:20px; 
	transition: 0.5s; 
	transition-timing-function: ease-in; 
	font-family: 'Kanit', sans-serif;
	background-image: linear-gradient(to right bottom, #28313B,#485461
	); 
	color: transparent; 
	-webkit-background-clip: text; 
} 
	
	
p{ 
	margin-top: 5px; 
	text-align: center; 
	position: absolute; 
	width: 100%; 
	top:21.5%; 
} 

.block { 
    perspective: 150rem; 
    position: absolute; 
    top:20%; 
    right: 85%; 
  } 
    
  .block__main { 
      min-width: 70vw; 
      position: absolute; 
      transition: all .8s ease; 
      backface-visibility: hidden; 
      box-shadow: 0rem 1.5rem 4rem rgba(0, 0, 0, 0.15); 
      border-radius: .5rem;  
      background-image: linear-gradient(to right bottom, #F6F0EA,#F1DFD1); 
    } 
    
    .block__back { 
      transform: rotateY(180deg);  
    } 
    
  .rotateF{ 
    transform: rotateY(-180deg); 
  } 
    
  .rotateB{ 
    transform: rotateY(0deg); 
  } 
