:root{
    --light-bg: #323232;
    --dark-bg: #161616;
    --accent: #f5f5f5;
    --border-rad: 25px;
    --h_padding: 2rem;
    --v_padding: 1rem;
}

*{
    box-sizing: border-box;
}

body {
    font-family: "Lato", serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    width: 100%;
}

header {
    width: 100%;
    background-color: var(--light-bg);
    padding: var(--v_padding) var(--h_padding);
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav img{
    width: 64px;
    border-radius: 50%;
}

.cta_btn{
    background-color: var(--accent);
    color: var(--dark-bg);
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-rad);
}

a {
    text-decoration: none;
    color: inherit;
    background-color: transparent;
    border: none;
}

.swimlane{
    width: 100%;
    padding: var(--v_padding) var(--h_padding);
    position: relative;
}

#intro{
    background-color: var(--light-bg);
    color: white;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 80vh;
}

#intro img{
    width: 40%;
    border-radius: var(--border-rad);
}

#intro h1, #services h1, #contact h1{
    font-size: 3rem;
}

#intro p{
    font-size: 2rem;
}

.separator{
    width: 65%;
    height: 1px;
    background-color: var(--accent);
    position: absolute;
    left: 25%;
    top: 32%;
}

#services{
    background-color: var(--dark-bg);
    color: var(--accent);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.services_cont{
    display: flex;
    flex-wrap: wrap;
}

.service{
    width: 19%;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    margin: 0.5rem;
}

.service i{
    background-color: var(--light-bg);
    font-size: 3rem;
    padding: var(--v_padding);
    border-radius: var(--border-rad);
    margin-bottom: 1rem;
}

.service span{
    font-size: 1.5rem;
}

#contact{
    background-color: var(--light-bg);
    color: var(--accent);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.user_data{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.user_data > label:nth-child(2){
    margin-left: 10%;
}

#contact {
    text-align: center;
}

#contact p{
    max-width: 50%;
    margin: 1.5rem auto;
    text-align: justify;
}

#contact{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#contact input, #contact textarea{
    border-radius: var(--border-rad);
    padding: 10px;
    font-size: 1rem;
    width: 100%;
    max-width: 400px;  /* Esto hace que no se vea tan grande */
    margin-bottom: 1rem;
    text-align: left;
}

#contact label{
    margin-top: 1rem;
    font-weight: bold;
}

#contact textarea{
    width: 100%;
    max-width: 400px;  /* Ajuste para que se vea uniforme con el input */
    height: 150px;
    resize: none;
}

#contact button {
    background-color: var(--accent);
    color: var(--dark-bg);
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-rad);
    border: none;
    cursor: pointer;
    margin-top: 1rem;
    width: 100%;
    max-width: 200px;
}

.user_data_input {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.floating_botton {
    position: fixed; 
    bottom: 60px; 
    right: 80px; 
    z-index: 999;
}
.imgWhatsapp{
    width: 80px;
}


footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    width: 100%;
}

@media (min-width: 768px) and (max-width: 992px) {
    #intro{
        flex-wrap: wrap-reverse;
    }

    .service{
        width: 40%;
    }

    .separator{
        display: none;
    }
}

@media (max-width: 768px) {
    #intro{
        flex-wrap: wrap-reverse;
        padding-top: 3rem;
        height: 85vh;
    }

    #intro img{
        width: 100%;
    }

    .service{
        width: 100%;
    }

    .separator{
        display: none;
    }

    #contact{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #contact p{
        max-width: 80%;
        text-align: center;
    }

    #contact input, #contact textarea{
        max-width: 80%;
    }

    .user_data{
        width: 100%;
        justify-content: center;
    }
    .floating_botton {
        position: fixed; 
        bottom: 25px; 
        right: 15px; 
        z-index: 999;
    }
    .imgWhatsapp{
        width: 50px;
    }
}
  

@media (max-width: 375px) {
    #intro{
        height: 118vh;
    }
}