* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

body {
    font-size: 16px;
    background-color: rgb(232, 253, 253);
}

.contenedor {
    font-size: 1em;
    display: grid;
    grid-template-areas: "header header header"
        "contenido contenido contenido"
"btn-sucursales btn-sucursales btn-sucursales"
        "cats cats cats"
        "sucursales sucursales sucursales"
		"footer footer footer";
    width: 90%;
    margin: auto;
}

.contenedor .header {
    grid-area: header;
    background: radial-gradient(center, rgb(232, 253, 253), white);
    height: 12em;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
}

.header .adorno-der,
.header .adorno-izq {
    width: 40%;
}

.header .adorno-izq {
    background: linear-gradient(to right, rgb(14, 181, 223), rgb(232, 253, 253));
    height: 9.37em;
    border-radius: 2.5em 0em 0em 2.5em;
    display: flex;
    flex-flow: row wrap;
    align-items: center; 
    justify-content: center;
}

.header .adorno-izq span {
    font-size: 3.5em;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
	font-style:italic;
    color: rgb(58, 76, 156);
    text-align: center;  
    text-shadow: 5px 10px 15px rgba(0,0,0,0.7);      
}

.header .logo {    
    width: 20%;
    display: flex;
    flex-flow: column;
    justify-content: center;
}
.header .logo img{
    /* width: 20%; */
    flex: 1 2 10%;
    background: none;
    z-index: 200;
}

.header .adorno-der {
    background: linear-gradient(to left, rgb(14, 181, 223), rgb(232, 253, 253));
    height: 9.37em;
    border-radius: 0em 2.5em 2.5em 0em;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
}

.header .adorno-der span {
    font-size: 3.5em;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-style:italic;
    color: rgb(58, 76, 156);
    text-align: center;
    text-shadow: 5px 10px 15px rgba(0,0,0,0.7);
}

.contenedor .contenido {
    grid-area: contenido;
    margin-bottom: 3.12em;
}

.contenedor .container-slider {
    width: 95%;
    max-width: 56.25em;
    overflow: hidden;
    margin: auto;
    box-shadow: 0 0 0 0.62em #fff,
        0 0.93em 2.81em;
    position: relative;
}

.slider {
    display: flex;
    width: 400%;
    height: auto;
    margin-left: -100%;
}

.slider-section {
    width: 100%;
}

.slider-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    width: 1.3em;
    height: 1.3em;
    background: rgba(255, 255, 255, 0.7);
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    font-weight: bold;
    font-family: monospace;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    line-height: 1.3em;
}

.slider-btn:hover {
    background: #fff;
}

.slider-btn--right {
    right: 5px;
}

.slider-btn--left {
    left: 5px;
}

.contenido .flechas {
    display: flex;
    justify-content: space-between;
}

.contenedor .btn-sucursales {
    grid-area: btn-sucursales;
    /*display: flex;*/
    justify-content: center;
}

.contenedor .btn-sucursales button {
    height: 4.37em;
}

 .contenedor .sucursales {
    grid-area: sucursales;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    width: 100%;
}
/* .contenedor .sucursales{
    grid-area: sucursales;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
} */

.mapa{
    width: 100%;
    height: 100%;
}
.mapa iframe{
    width: 100%;
    height: 100%;
}
.contenedor .sucursales .card {
    background: rgba(119, 194, 207, 0.897);
    width: 12.5em;
    height: 12.5em;
    margin: 0.31em;
    padding: 0.3em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contenedor .cats{
    grid-area: cats;
    /* background: rgb(214, 157, 157); */
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.contenedor .cats .iconos{
    width: 10em;
    height: auto;
}

.cats .iconos img{
    width: 100%;
    height: auto;
}

.card .card-header {
    font-size: 1em;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
    padding: 0;
    margin: 0;
}

.card .card-body .card-title {
    font-size: 0.8em;
    font-weight: bold;
    text-align: left;
    margin-top: 1em;
    margin-bottom: 1em;

}

.card .card-body {
    display: flex;
    flex-flow: row wrap;
}

.card-body div {
    margin-top: .5em;
    display: flex;
    width: 90%;
    align-items: center;
}

.card-body div img {
    width: 2.4em;
}

.card-body div span {
    font-size: .7em;
    font-weight: bold;
}

.contenedor .footer {
    grid-area: footer;
    height: 25em;
    background: rgb(138, 145, 245);
}

.social{
grid-area:social;
    width: 10%;
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 2000;
    display: flex;
    flex-direction: column;
	align-items: flex-end;
}
.social li{
    list-style: none;
}
.social li a{
    display: inline-block;
    color: #fff;
    background: #000;
    padding: 0.62em 0.93em;
    text-decoration: none;  
	font-size:2em;
}
.social li .icon-facebook{background: #3b5998;}
.social li .icon-whatsapp{background: rgb(58, 201, 29);}

.social li a:hover{
    padding: 0.62em 1.87em;
background:#000;
color:#fff;
    transition: all .3s;
}
@media screen and (max-width:768px) {
    .contenedor {
        grid-template-areas: "header header header"
            "contenido contenido contenido"
"btn-sucursales btn-sucursales btn-sucursales"
            "cats cats cats"

            "sucursales sucursales sucursales"
"footer footer footer";
    }
    .header .adorno-der span,
    .header .adorno-izq span{
        font-size: 2em;
    }
    .social li a:not(hover){
        
    }
}

/*Inicia animación del foondo de pantalla*/
.burbujas div {
	height:100%;
    border-radius: 100%;
    background: radial-gradient(white, rgba(2, 225, 255, .8));
    position: fixed;
    bottom: 0%;
z-index:-10;
    animation: animarburbujas 4s linear infinite;    
}

.burbujas div:nth-child(1) {
    width: 5.62em;
    height: 5.62em;
    left: 5%;
    animation-duration: 4s;
}

.burbujas div:nth-child(2) {
    width: 4.37em;
    height: 4.37em;
    left: 8%;
    animation-duration: 6s;
}

.burbujas div:nth-child(3) {
    width: 3.12em;
    height: 3.12em;
    left: 12%;
    animation-duration: 8s;
}

.burbujas div:nth-child(4) {
    width: 3.12em;
    height: 3.12em;
    right: 12%;
    animation-duration: 8s;
}

.burbujas div:nth-child(5) {
    width: 4.37em;
    height: 4.37em;
    right: 8%;
    animation-duration: 6s;
}

.burbujas div:nth-child(6) {
    width: 5.62em;
    height: 5.62em;
    right: 5%;
    animation-duration: 4s;
}


@keyframes animarburbujas {
     0%{bottom:0%;}

	100%{bottom:100%;}
}