
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'miFuente';
    src: url(../font/Chewy-Regular.ttf);
}

@font-face {
    font-family: 'miFuente2';
    src: url(../font/Pangolin-Regular.ttf);
}

html {
    scroll-behavior: smooth;
}

body{
    font-family: 'miFuente';
    letter-spacing: 3px;
    background: linear-gradient(to right,#dcf1ff, #dbfddc);
}

.subir{
    position: fixed;
    top: 120px;
    right: 20px;
    z-index: 100;
    color: white;
    font-size: 40px;
    background: #0b8500;
    border-radius: 50px;
    width: 55px;
    height: 55px;
    padding-left: 8px;
    padding-top: 7px;
    text-decoration: none;
    background:linear-gradient(rgb(90, 172, 248),rgb(247, 118, 247));
}

.final{
    position: fixed;
    top: 120px;
    left: 20px;
    z-index: 100;
    color: white;
    font-size: 40px;
    background: #0b8500;
    border-radius: 50px;
    width: 55px;
    height: 55px;
    padding-left: 8px;
    padding-top: 7px;
    text-decoration: none;
    background:linear-gradient(rgb(90, 172, 248),rgb(247, 118, 247));
}

/****** NAV INDEX PRINCIPAL ************/

.color-nav-principal{
    background: linear-gradient(to left,#c0c2fc, #abfdd7);
}

.color-nav-principal h1{
    background:linear-gradient(rgb(75, 148, 216),rgb(1, 44, 34));
    -webkit-background-clip: text;
    color: transparent;
    padding: 15px 0 15px 0;
    text-align: center;
    font-size: 50px;
}

/****** NAV INDEX PRINCIPAL ************/






/************** NAV ********************/

.color-nav{
    background: linear-gradient(to left,#c0c2fc, #abfdd7);
}

.rey-nav .titulo a{
    text-decoration: none;
}

.tama-nav{
    width: 95%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 0 22px 0;
}

.rey-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.rey-nav h1{
    background:linear-gradient(rgb(75, 148, 216),rgb(1, 44, 34));
    -webkit-background-clip: text;
    color: transparent;
    font-size: 40px;
}

.rey-nav .links a{
    text-decoration: none;
    margin-left: 5px;
    font-size: 22px;
    background:linear-gradient(rgb(11, 74, 133),rgb(2, 77, 58));
    -webkit-background-clip: text;
    color: transparent;
}

.selecciona h1{
    text-align: center;
    background:linear-gradient(rgb(90, 172, 248),rgb(2, 77, 58));
    -webkit-background-clip: text;
    color: transparent;
    padding-top: 30px;
}


/************* TARJETAS *****************/

.tama-tarje{
    width: 90%;
    max-width: 1110px;
    margin: 0 auto;
}

.conte-tarjetas{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 70px;
}

.tarjeta{
    width: 250px;
    overflow: hidden;
    object-fit: cover;
    background: linear-gradient(to left,#e66465, #9198e5);
    border-radius: 20px;
    position: relative;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
    box-shadow: 3px 3px 2px 1px rgba(0, 0, 0, 0.2);
}


.card__img{
    width: 100%;
    height: 200px;/*en estas lineas acomodamos el tamaño de las card imagen*/
    object-fit: cover;
    position: top;
}

.card__text{
    padding-bottom: 5px;
}

/************* TARJETAS *****************/









/************ LETRA A *******************/

.atras{
    z-index: 100;
    color: white;
    font-size: 30px;
    width: 108px;
    height: 40px;
    border-radius: 12px;
    text-decoration: none;
    padding-top: 3px;
    background:linear-gradient(rgb(90, 172, 248),rgb(247, 118, 247));
    transition: 0.25s;
}

.adelante{
    top: 98px;
    right:35px;
    z-index: 100;
    color: white;
    font-size: 30px;
    width: 170px;
    height: 40px;
    border-radius: 12px;
    padding-top: 3px;
    text-decoration: none;
    background:linear-gradient(rgb(90, 172, 248),rgb(247, 118, 247));
}

.fondo-main{
    background: linear-gradient(to right,#eaf7ff, #eeffee);
}

.titulos-animales{
    text-align: center;
    background:linear-gradient(rgb(90, 172, 248),rgb(2, 77, 58));
    -webkit-background-clip: text;
    color: transparent;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    margin: 0 25px 0 25px;
}

.tama-conte{
    width: 95%;
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 60px;
}

.ultimo{
    padding-bottom: 50px;
}


.rey-ima{
    height: 300px;
    display: flex;
    justify-content: space-evenly;
    background:linear-gradient(rgb(230, 230, 230),rgb(250, 246, 246));
    border-radius: 10px;
}

.textos-ima{
    width: 50%;
    max-width: 900px;
    margin: 0 auto;
}

.imagen-animal img{
    height: 300px;
    width: 600px;
    object-fit: cover;
    border-radius: 10px;
}

.textos-ima h1{
    text-align: center;
    background:linear-gradient(rgb(90, 172, 248),rgb(2, 77, 58));
    -webkit-background-clip: text;
    color: transparent;
    padding: 20px 0 5px 0;
    font-family: 'miFuente';
    letter-spacing: 3px;
}

.textos-ima p{
    color: black;
    line-height: 22px;
    text-align: center;
    font-size: 18px;
    font-family: 'miFuente2';
}





/************ RESPONSIVE *****************/

/****index responsivo **********/
@media screen and (max-width:900px){
    .titulo h1{
        font-size: 40px;
    }

    .subir, .final{
        display: none;
    }
}

/***** tamaño tarjetas responsivas ********/

@media screen and (max-width:555px){
    .titulo h1{
        font-size: 33px;
    }
    .tarjeta{
        margin: 0 auto;
        margin-bottom: 30px;
        width: 200px;
    }

    .tarjeta img{
        height: 130px;
    }
}

@media screen and (max-width:500px){
    .titulo h1{
        font-size: 28px;
    }

    .selecciona h1{
        font-size: 28px;
    }
    
}

@media screen and (max-width:350px){
    .titulo h1{
        font-size: 22px;
    }

    .selecciona h1{
        font-size: 22px;
    }
}




/*********** LETRAS RESPONSIVAS **************/

@media screen and (max-width:1200px){
   .textos-ima{
    width: 95%;
    max-width: 1000px;
   }
   
    .imagen-animal img{
        height: 280px;
        width: 580px; 
        padding: 20px 0 0 0;
        border-radius: 30px;
    }

    .rey-ima{
        height: 550px;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }

}




@media screen and (max-width:1000px){
    .titulo a h1{
        font-size: 28px;
        text-align: center;
        padding-right: 30px;
    }

    .rey-nav .links a{
        font-size: 20px;
    }

    .titulos-animales a{
        font-size: 22px;
        padding-top:5px;
    }

    .titulos-animales h1{
        font-size: 25px;
    }

    .atras{
        width: 90px;
        height: 35px;
    }

    .adelante{
        width: 120px;
        height: 35px;
    }
}


@media screen and (max-width:800px){
    .titulo a h1{
        font-size: 23px;
    }

    .rey-nav .links a{
        font-size: 18px;
        line-height: 30px;
    }

    .titulos-animales a{
        font-size: 18px;
        padding-top:5px;
    }

    .titulos-animales h1{
        font-size: 23px;
    }

    .atras{
        width: 75px;
        height: 30px;
    }

    .adelante{
        width: 110px;
        height: 30px;
    }

    .imagen-animal img{
        height: 210px;
        width: 390px; 
        padding: 20px 0 0 0;
        border-radius: 30px;
    }

    .rey-ima{
        height: 550px;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    .textos-ima h1{
        font-size: 27px;
    }

}

@media screen and (max-width:580px) {
    .titulo a h1{
        display: none;
    }
}



@media screen and (max-width:420px){
    .rey-nav .links a{
        font-size: 15px;
        line-height: 30px;
    }
    
    .imagen-animal img{
        height: 180px;
        width: 280px; 
        padding: 10px 0 0 0;
        border-radius: 30px;
    }

    .textos-ima h1{
        font-size: 22px;
    }

    .textos-ima p{
        font-size: 13px;
    }

    .titulos-animales a{
        font-size: 14px;
        padding-top:6px;
    }

    .titulos-animales h1{
        font-size: 20px;
    }

    .atras{
        width: 55px;
        height: 30px;
    }

    .adelante{
        width: 85px;
        height: 30px;
    }

}

@media screen and (max-width:350px){
    .rey-nav .links a{
        font-size: 12px;
    }
}