@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #D30333;
    --text-color: #ffffff;
    --font-family: 'Poppins', 'sans-serif';
}


body {
    font-family: var(--font-family);
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('/Public/fondo3.webp') center/cover no-repeat;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container h2 {
    font-size: clamp(2.5rem, 4vw, 3.4rem);
    font-weight: 600;
    margin-bottom: 0.1rem;
    margin-top: 0.1rem;
    font-family: var(--font-family);
}

.container h3 {
    font-size: clamp(0.9rem, 2.5vw, 1.6rem);
    font-weight: 300;
    margin-top: 2rem;
}

.text-contact {
    margin-bottom: 0.5rem;
}

img {
    height: clamp(5.5rem, 10vw, 15rem);
}

button {
    padding: 0.5rem 2rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--text-color);
    border: none;
    font-weight: 500;
    font-size: clamp(1rem, 2vw, 1rem);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 1rem;
    font-family: var(--font-family);
}
svg{
    margin-right: 0.625rem;
}

button:hover {
    background: var(--text-color);
    color: var(--primary-color);
}

button:hover svg path {
    stroke: var(--primary-color);
    stroke-width: 1.1;
}

.contactanos h3 {
    width: 100%;
    text-align: center;
    font-weight: 200;
    font-size: clamp(0.8rem, 2vw, 1.4rem);
    color: var(--text-color);
    margin-top: 8rem;
}


@media (max-width: 1620px) {
    .container{
        padding: 18rem 1rem 18rem 1rem;
    }
    .container h2{
        font-size: 3.5rem;
    }
    .container h3{
        font-size: 1.5rem; 
    }
    img{
        height: 8rem; 
        margin-bottom: 2rem;
    }
    .text-contact{
        margin-top: 2.8rem; 
    }
    button{
        font-size: 1.2rem;
        margin-top: 1.2rem;
    }
    .contactanos h3{
        margin-top: 8rem;
        font-size: 1.5rem;
    }
} 

@media (max-width: 1400px) {
    .container{
        padding: 16rem 1rem 16rem 1rem;
    }
    .container h2{
        font-size: 3.2rem;
    }
    .container h3{
        font-size: 1.3rem; 
    }
    img{
        height: 9rem; 
        margin-bottom: 1.8rem;
    }
    .text-contact{
        margin-top: 2.8rem; 
    }
    button{
        font-size: 1.3rem;
        margin-top: 1rem;
    }
    .contactanos h3{
        margin-top: 8rem;
        font-size: 1.3rem;
    }
} 

@media (max-width: 1150px) {
    .container{
        padding: 14rem 1rem 14rem 1rem;
    }
    .container h2{
        font-size: 3rem;
    }
    .container h3{
        font-size: 2rem; 
    }
    img{
        height: 7.5rem; 
        margin-bottom: 6.5rem;
    }
    .text-contact{
        margin-top: 2.8rem; 
    }
    button{
        font-size: 1.8rem;
        margin-top: 1.5rem;
    }
    .contactanos h3{
        margin-top: 10rem;
        font-size: 1.8rem;
    }
} 

@media (max-width: 904px) {
    .container{
        padding: 12rem 1rem 12rem 1rem;
        width: 80%;
    }
    .container h2{
        font-size: 2.8rem;
    }
    .container h3{
        font-size: 1.2rem; 
    }
    img{
        height: 6.5rem; 
        margin-bottom: 4rem;
    }
    .text-contact{
        margin-top: 2.8rem; 
    }
    button{
        font-size: 1.2rem;
        margin-top: 0.5rem;
    }
    .contactanos h3{
        margin-top: 7rem;
        font-size: 1.2rem;
    }
} 

@media (max-width: 536px) {  /* 401 <= width <= 536 */
    .container{
        padding: 10rem 0rem 15rem;
    }
    .container h2{
        font-size: 2em;
        margin-bottom: 0.1rem;
        margin-top: 1rem;
    }
    .container h3{
        font-size: 0.7rem;
        margin-top: 0.5rem;
        margin-bottom: 2.2rem;
    }
    img{
        height: 5.5rem;
    }
    .text-contact h3{
        margin-top: 2.8rem;
    }
    button{
        font-size: 0.9rem;
        margin-top: 0.1rem;
    }
    .contactanos h3{
            margin-top: 4rem;
        font-size: 0.7em;
    }
} 

@media (max-width: 401px) {
    .container{
        padding: 8rem 1rem 8rem 1rem;   
    }
    .container h2{
        font-size: 1.8em;
    }
    .container h3{
        font-size: 0.7rem; 
    }
    img{
        height: 5rem; 
        margin-bottom:3.5rem;
    }
    .text-contact{
        margin-top: 2.5rem; 
    }
    button{
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
    .contactanos h3{
        margin-top: 7rem;
        font-size: 0.7rem;
    }
}