@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Cinzel:wght@400..900&family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Parisienne&display=swap');

html {
    font-family: 'Lato', Arial, sans-serif;
}

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

body {
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-color: #f1eeff;
}

#contenedor {
    width: 100%;
    height: 100%;
    margin: auto;
    background-color: white;
    border-radius: 10px;
}

#img {
    width: 100%;
}

#img > img {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: block;
    margin: 0 auto;
    width: 100%;
}

.fragan {
    background-color: lightgray;
    width: 100%;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: auto;
    font-size: 16px;
    margin-top: 50px;
    color: #404b50;
    border-radius: 10px;
}

.productcont {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin: auto;
    gap: 30px;
    margin-top: 50px;
}

.productcaja {
    background-color: lightgray;
    border-radius: 10px;
    box-shadow: 0 0px 30px black;
    height: 250px;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background-color 300ms ease, transform 200ms ease-out;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.productcaja > img {
    border-radius: 10px;
    transition: opacity 300ms ease;
    height: auto;
    max-width: 100%;
}

.productcaja .hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-size: 20px;
    line-height: 1.4;
    opacity: 0;
    max-width: 90%;
}

.titulo {
    font-weight: 700;
    font-size: 35px;
    margin-bottom: 10px;
    color: #404b50;
}

.titulo:hover {
    color: #294a58;
}

.subtitulo {
    font-weight: 700;
    margin-top: 10px;
}

.detalle {
    font-weight: 500;
}

.nuevo {
    font-weight: 500;
    color: red;
}

.precio {
    font-weight: 700;
    font-size: 20px;
    margin-top: 5px;
}

.productcaja:hover {
    background-color: #14242b;
    transform: scale(1.015);
}

.productcaja:hover img {
    opacity: 0;
}

.productcaja:hover .hover {
    opacity: 1;
}

footer#mails {
    background-color: lightgray;
    width: 100%;
    height: 200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 50px;
    gap: 15px;
    font-size: 13px;
    color: #404b50;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#redes {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
    list-style: none;
}

#quienes {
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: auto;
    font-size: 35px;
    margin-top: 50px;
    color: #404b50;
}

#parrafo {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    margin: auto;
    font-size: 20px;
    color: #404b50;
    padding: 20px;
    list-style: none;
    gap: 70px;
}

#loquito img{
    border-radius: 50px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 15px;
    box-shadow: 0 0px 30px black;
}

#parrafo .parrafo1 {
    width: 100%;
    margin-top: 20px;
}
.primero{
    font-weight: 600;
}

.testimonios {
    padding: 50px 20px;
    text-align: center;
}

.testimonios h2 {
    margin-bottom: 30px;
    font-size: 35px;
    color: #404b50;
}

.contenedor-testimonios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    max-width: 300px;
    flex: 1 1 calc(33.333% - 40px);
    box-shadow: 0 0px 30px black;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 15px;
}

.comentario {
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
}

.nombre {
    font-weight: bold;
    color: #222;
}

/* Tablet */
@media screen and (min-width: 577px) and (max-width: 990px) {
    .fragan {
        font-size: 18px;
    }

    footer#mails {
        font-size: 17px;
    }
}

/* PC */
@media screen and (min-width: 990px) {
    .fragan {
        font-size: 25px;
    }

    footer#mails {
        font-size: 25px;
    }

    #quienes {
        font-size: 45px;
    }

    #parrafo {
        font-size: 22px;
        width: 80%;
    }

    #parrafo li{
        width: 80%;
        margin: auto;
    }

    
    #parrafo #loquito {
        width: 60%;
    }


    .productcaja {
        width: 280px;
        height: 280px;
    }

    .productcont {
        flex-wrap: wrap;
    }
}


@media screen and (min-width: 1200px){
    #parrafo{
        flex-direction: row;
    }
}