html{
    box-sizing:border-box;
}

*,*::before,*::after{
    box-sizing:border-box;
}

body{
    box-sizing:border-box;
    margin:0;
    padding:0;
    background-color: #dddadd;
}

body::-webkit-scrollbar{
    backgroud-color: #222222;
    width:10px;
    color: #222;
}

body::-webkit-scrollbar-thumb{
    background-color: #f2f2f2;
    border-radius:20px;
}



.menu{
    display:flex;
    justify-content:space-around;
}

.menu_fixed{
    position:fixed;
    left:0;
    top:0;
    right:0;
    z-index:1;
}

nav.menu{
    background-color: rgb(92, 122, 141);
    width:100%;
    height:auto;
    padding:1px;
}

.logo img{
    width:80px;
    height:80px;
}

.enlaces ul{
    display:flex;
    justify-content:center;
    flex-direction:row;
    margin-top:30px;
}

.enlaces ul li, .enlaces ul li a{
    color:#f2f2f2;
    list-style:none;
    margin-left:10px;
    font-weight:bold;
    cursor:pointer;
    text-decoration:none;
    font-size:0.9em;
}

@media only screen and (min-width:768px){
.enlaces ul li, .enlaces ul li a{
    font-size:1.1em;
 }
}



.enlaces ul li a:hover{
    color: rgb(180, 180, 180);
}

h2{
    color: #444444;
    text-align:center;
    margin:auto;
    padding:5px 0px;
}

.mascotas{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
}

.mascotas .mascota{
    width:100%;
    text-align:center;
    background-color: #f2f2f2;
    border-radius:10px;
    transition:ease .7s;
    margin:10px;
}

.mascota img{
    border-radius:10px;
    margin-top:5px;
    width:98%;
    height:40vh;
}

@media only screen and (min-width:550px){
    .mascota img{
        width:98%;
        height:40vh;
    }
    .mascotas .mascota{
        width:45%;
    }
}

@media only screen and (min-width:1000px){
    .mascota img{
        width:98%;
        height:40vh;
    }
    .mascotas .mascota{
        width:31%;
    }
}

.mascota h3{
    color: #333333;
    font-weight:0.9em;
}


.acerca{
    display:flex;
    flex-direction:column;
    background-color: #f2f2f2;
    color: #444444;
}

.acerca > div {
    width:95%;
    margin:10px;
}

.acerca .img_acerca img{
    width:99%;
}

.acerca i{
    text-align:center;
    margin:auto;
    font-size:1em;
    margin:5px;
}


@media only screen and (min-width:768px){
.acerca{
    flex-direction:row;
}
 .acerca > div {
    width:100%;
  }
  .acerca .img_acerca img{
    width:98%;
}
.acerca i{
    text-align:center;
    margin:auto;
    font-size:2em;
    margin:5px;
}

}

.imagenes{
    display:flex;
    justify-content:space-around;
    flex-wrap:wrap;
    flex-direction:column;
}

.imagenes .imagen{
    width:100%;
    margin:2px;
}

.imagenes .imagen img{
    width:98%;
}

@media only screen and (min-width:768px){
  .imagenes{
    flex-direction: row;
  }
  .imagenes .imagen{
      width:45%;
      margin:5px;
  }
}

@media only screen and (min-width:1200px){
  .imagenes{
    flex-direction: row;
  }
  .imagenes .imagen{
      width:30%;
      margin:5px;
  }
}

.contacto{
    display:flex;
    flex-direction:column;
    flex-wrap: wrap;
    background-color: #f2f2f2;
}

.contacto > div{
    width:98%;
    margin:10px;
    color: #333;
}

.contacto .one{
    text-align:center;
    margin:auto;
}

.contacto .two img{
    width:98%;
}

@media only screen and (min-width:768px){
    .contacto{
        flex-direction:row;
            justify-content:space-around;
    }
    .contacto > div{
        width:48%;
    }
    .contacto .two img{
    width:98%;
}
}

.contacto > div i, .contacto > div i a{
    font-size:2em;
    color: #555;
    margin:6px;
}

.contacto > div i:hover, .contacto > div i a:hover{
    color: #777;
    transform:scale(1.1);
}

footer{
    background-color: #333333;
    color:#f2f2f2;
    font-weight:bold;
    margin:0;
    font-size:0.8;
    padding:2px;
    display:flex;
    justify-content:space-around;
    flex-wrap:wrap;
    flex-direction:column;
}

@media only screen and (min-width:768px){
    footer{
        flex-direction:row;
        font-weight: bold;
        font-size:1;
    }
}





*{
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.wrap{
	width: 1100px;
	margin: 15px auto;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.tarjeta-wrap{
	margin: 50px;
	-webkit-perspective: 800;
	perspective: 800;
}

.tarjeta{
	width: 320px;
	height: 320px;
	background: #50A4DA;
	position: relative;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transition: .7s ease;
	transition: .7s ease;
	-webkit-box-shadow: 0px 10px 15px -5px rgba(0,0,0,0.65);
	box-shadow: 0px 10px 15px -5px rgba(0,0,0,0.65);

}

.adelante, .atras{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.adelante{
	width: 100%;
}

.atras{
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);

	padding: 15px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;

	text-align: center;
	color: #fff;
	font-family: "open sans";
}

img{
  width: 100%;
  height: 100%;
}

.tarjeta-wrap:hover .tarjeta{
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

.card1{
	background-image: url(img/2.jpg);
	background-size: cover;
}

.card2{
	background-image: url(img/2.jpg);
	background-size: cover;
}

.card3{
	background-image: url(img/3.jpg);
	background-size: cover;
}
