.flip-box {
  background-color: transparent;
  width: 300px;
  height: 200px;
  border: 1px solid #f1f1f1;
  perspective: 1000px;
  float: left;
  margin-top: 10px;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.flip-box-front {
  background-color: #bbb;
  color: black;
}

.flip-box-back {
  background-color: #555;
  color: white;
  transform: rotateY(180deg);
}


.flip-box1 {
  background-color: transparent;
  width: 300px;
  height: 200px;
  border: 1px solid #f1f1f1;
  perspective: 1000px;
  float: left;
}

.flip-box-inner1 {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-box1:hover .flip-box-inner1 {
  transform: rotateY(180deg);
}

.flip-box-front1, .flip-box-back1 {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.flip-box-front1 {
  background-color: #bbb;
  color: black;
}

.flip-box-back1 {
  background-color: #555;
  color: white;
  transform: rotateY(180deg);
}

.flip-box2 {
  background-color: transparent;
  width: 300px;
  height: 200px;
  border: 1px solid #f1f1f1;
  perspective: 1000px;
  float: left;
}

.flip-box-inner2 {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-box2:hover .flip-box-inner2 {
  transform: rotateY(180deg);
}

.flip-box-front2, .flip-box-back2 {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.flip-box-front2 {
  background-color: #bbb;
  color: black;
}

.flip-box-back2 {
  background-color: #555;
  color: white;
  transform: rotateY(180deg);
}
@media (max-width: 289px) and (min-width: 100px){
.texto{
  position: relative;
  margin-top: -128px;
  margin-bottom: 736px;
  left: 2px;
  font-weight: bold;
  font-size: 20px;
}
.flip-box {
  margin-top: -54px;
  margin-bottom: 84px;
}
}
@media (max-width: 339px) and (min-width: 290px){
  .texto{
  position: relative;
  width: 100%;
  margin-top: -128px;
  margin-bottom: 736px;
  left: 10px;
  font-size: 20px;
     font-weight: bold;
}
.flip-box {
  margin-top: -54px;
  margin-bottom: 84px;
}
}
@media (max-width: 379px) and (min-width: 340px){
  .texto{
  position: relative;
  width: 100%;
  margin-top: -128px;
  margin-bottom: 736px;
  left: 20px;
    font-size: 20px;
     font-weight: bold;
}
.flip-box {
margin-top: -54px;
margin-bottom: 84px;
}
}
@media (max-width: 439px) and (min-width: 380px){
.texto{
  position: relative;
  width: 100%;
  margin-top: -128px;
  margin-bottom: 736px;
  left: 45px;
    font-size: 20px;
     font-weight: bold;
}
.flip-box {
margin-top: -54px;
margin-bottom: 84px;
}
}
@media (max-width: 519px) and (min-width: 440px){
.texto{
  position: relative;
  width: 100%;
  margin-top: -128px;
  margin-bottom: 736px;
  left: 65px;
    font-size: 20px;
     font-weight: bold;
}
.flip-box {
margin-top: -54px;
margin-bottom: 84px;
}
}
@media (max-width: 599px) and (min-width:520px){
.texto{
  position: relative;
  width: 100%;
  margin-top: -128px;
  margin-bottom: 736px;
  left: 100px;
    font-size: 20px;
     font-weight: bold;
}
.flip-box {
margin-top: -54px;
margin-bottom: 84px;
}
}
@media (max-width: 669px) and (min-width:600px){
.texto{
  position: relative;
  width: 50%;
  margin-top: -128px;
  margin-bottom: 736px;
  left: 150px;
    font-size: 20px;
     font-weight: bold;
}
.flip-box {
margin-top: -54px;
margin-bottom: 84px;
}
}
@media (max-width: 767px) and (min-width: 670px){
.texto{
  position: relative;
  width: 50%;
  margin-top: -166px;
  margin-bottom: 736px;
  left: 170px;
    font-size: 20px;
     font-weight: bold;
}
.flip-box {
margin-top: -54px;
margin-bottom: 84px;
}
}
@media (max-width: 869px) and (min-width: 768px){
.texto{
  position: relative;
  width: 50%;
  margin-top: -166px;
  margin-bottom: 736px;
  left: 50px;
    font-size: 20px;
     font-weight: bold;
}
.flip-box {
margin-top: -54px;
margin-bottom: 84px;
}
}
@media (max-width: 991px) and (min-width: 870px){
.texto{
  position: relative;
  width: 50%;
  margin-top: -166px;
  margin-bottom: 736px;
  left: 50px;
    font-size: 20px;
     font-weight: bold;
}
.flip-box {
margin-top: -54px;
margin-bottom: 84px;
}
}
@media (max-width: 1199px) and (min-width: 992px){
  .texto{
  position: relative;
  width: 40%;
  margin-top: -166px;
  margin-bottom: 736px;
  left: 100px;
    font-size: 20px;
     font-weight: bold;
}
.flip-box {
margin-top: -54px;
margin-bottom: 84px;
}
}
@media (max-width: 1499px) and (min-width: 1200px){
.texto{
  position: relative;
  width: 40%;
  margin-top: -166px;
  margin-bottom: 736px;
  left: 200px;
    font-size: 20px;
     font-weight: bold;
}
.flip-box {
margin-top: -54px;
margin-bottom: 84px;
}
}
@media (max-width: 1919px) and (min-width: 1500px){
.texto{
  position: relative;
  width: 30%;
  margin-top: -166px;
  margin-bottom: 736px;
  left: 320px;
    font-size: 20px;
     font-weight: bold;
}
.flip-box {
margin-top: -54px;
margin-bottom: 84px;
}
}
@media (min-width: 1920px){
.texto{
  position: relative;
  width: 30%;
  margin-top: -166px;
  margin-bottom: 736px;
  left: 320px;
    font-size: 20px;
     font-weight: bold;
}
.flip-box {
margin-top: -54px;
margin-bottom: 84px;
}
}