@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;700&display=swap');

/* definir 3 colores como variables */

:root {
--color_1: #EC5F5E; /* Color principal */
--color_2: #1F666E; /* Color secundario */
--color_3: #F7F0EB; /* Color terciario */
}

body {
    font-family: "Barlow", sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url("../img/bg-01.jpg") no-repeat center center fixed, #EC5F5E; /* Imagen de fondo con un color suave */
    background-size: cover; /* Un color de fondo suave */
    flex-direction: column; /* Para alinear verticalmente los elementos */
}


.hero-container {
    width: 60%;
    height: 40vh;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.img-hero {
    width: 90%;
    /* max-width: 300px; */
    margin-bottom: -10px;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5)); /* Sombra de la imagen */
}
.img-hero:hover{
    animation: shrinkLogo 2s ease-in-out infinite; /* Animación de reducción y aumento */
}

.img-hero img{
    width: 100%;
}	
.logo-container {
    margin-bottom: 20px;
    margin-top: 20%;
}
.logo-container a{
    /* convertir en boton */
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--color_2);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: 0.3s ease;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}
.logo-container a:hover {
    background-color: var(--color_2);
    color: #fff;
    transform: scale(1.05); /* Efecto de aumento al pasar el mouse */
}

@keyframes rotateLogo {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/* crear animacion tipo skrink */
@keyframes shrinkLogo {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* ubicar date en la parte inferior del viewport */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    color: var(--color_2);
    font-size: 14px;
    z-index: 1000; /* Asegurarse de que esté por encima de otros elementos */
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.credits p, .copyright p{
   margin: 0;
}	
.credits a{
    color: var(--color_2);
    text-decoration: none;
    }
.credits a:hover{
    text-decoration: underline;
    color: white;
}

.product-image {
    width: 300px; /* Ajusta el tamaño de la imagen del producto */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.message {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.email {
    font-size: 16px;
    color: #007bff; /* Un color para el correo */
    text-decoration: none;
}

.email:hover{
    text-decoration: underline;
}
/* Media queries para hacerlo responsive */
@media (max-width: 600px) {
    .img-hero{
        width: 140%;
    }
    .message {
        font-size: 16px;
    }
    .email{
        font-size: 14px;
    }

}