/* MICROBIOLOGIA-SECTION */
.form-section{
    background-image: url(/assets/img/image.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 50px 160px;
}
/* FORM */
.form{
    text-align: center;
    margin-bottom: 50px;
}
.form h3{
    text-align: center;
    color: var(--blue);
    font-size: 2.7vw;
    border-bottom: 4px solid var(--green);
    display: inline-block;
    margin-bottom: 20px;
}

/* MAP */
.ubicanos{
    padding: 50px 160px;
}
.ubicanos h3{
    width: 100%;
    color: var(--blue);
    font-size: 2.7vw;
    margin-bottom: 20px;
}

.locate-section{
    display: flex;
}
    .info{
        width: 25%;
        padding: clamp(0.6rem,2vw, 1.2rem);
        background-color: var(--green);
        color: white;
        border-end-start-radius: 48px;
        border-end-end-radius: 48px;
        padding:2rem;
    }
    .info p{
        font-size: 1.1vw;
    }
    .map{
        width:80%;
    }
    iframe{
        width: 100%;
        padding-left: 50px;
    }
    .label{
        color: var(--blue);
        font-weight: 600;
    }
        /* PHONE */
        .phone{
            display: flex;
            margin: 30px 0;
            width: 100%;
        }
            .icon-locate{
                padding-right: 20px;
            }
        
        /* EMAIL */
        .email{
            display: flex;
            margin: 30px 0;
            width: 100%;
        }

        .info-child{
            display: grid;
            grid-template-columns: repeat(1,1fr);
            align-items: center;
            justify-content: center;
        }


        /* LOCATion */
        .location{
            display: flex;
            margin: 30px 0;
            width: 100%;
        }
        .data{
            display: flex;
            flex-direction: column;
        }
        .data a{
            text-decoration: none;
            color: white;
            font-size: 0.9vw;
        }

/* CONTACT-FORM */
.contact-form {
    width: 50%;
    margin: 0 auto;
    background: transparent;
    border: 2px solid white;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    border-radius: 10px;
}

.contact-form form {
    padding: 20px;
    border-radius: 10px
}

.row {
    display: flex;
    margin-bottom: 20px;
}

.input-group {
    flex: 1;
    margin-right: 10px;
}

textarea{
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group textarea {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px solid white;
    border-radius: 12px
}

button {
    background-color: var(--green);
    color: white;
    padding: 10px 60px;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    font-size: 1rem;
}

button:hover {
    background-color: #45a049;
}

.click-here:hover{
    color: #FE4A38;
    font-weight: 600;
}


/* <========== RESPONSIVE ============> */
/*=============== RESPONSIVE 100px - 425px ===============*/
@media (min-width: 100px) and (max-width: 768px){
    .form-section{
        padding: 50px 20px;
    }

    .form h3{
        font-size: 7.4vw;
    }

    .contact-form{
        margin: 0;
        width: 100%;
    }
    .row{
        display: flex;
        flex-direction: column;
        margin: 0;
    }
    .input-group{
        margin-bottom: 20px;
    }


    /* UBICANOS */
    .ubicanos{
        padding: 16px 16px 32px
    }
    .ubicanos h3{
        font-size: 9vw;
        text-align: center;
    }
    .locate-section{
        display: flex;
        flex-direction: column;
    }

        .info{
            width: 100%;
            border-radius: 10px;
            background-color: var(--green);
            margin: 0 0 20px 0;
        }
        .info-child{
            grid-template-columns: repeat(1,1fr);
            width: 100%;
        }
        .email,
        .location,
        .phone{
            align-items: center;
            
        }

        .info p{
            font-size: clamp(1.2rem, 2vw, 2rem);
            color: #fff; 
            text-align: center;    
        }
        .map{
            width: 100%;
        }
            iframe{
                padding-left: 0;
                height: 500px;
            }
            .icon-locate{
                padding-right: 10px;
            }

            .icon-locate img{
                width: 30px;
                height: 30px;
            }
            

            .data a{
                font-size: 0.8rem;
            }
            .email .data{
                display: flex;
            }

            .phone,
            .email,
            .location{
                display: flex;
                width: 100%;
            }
}
@media (min-width: 520px) and (max-width: 768px){
    .info-child{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        align-items: center;
        justify-content: center;
    }
    .location, .phone, .email{
        justify-content: center;
    }

    .email {
        grid-column: span 2;
    }
}

/*=============== RESPONSIVE 426px - 1024px ===============*/
@media (min-width: 769px) and (max-width: 1024px){
    .form-section{
        padding: 50px 20px;
    }

    .form h3{
        font-size: 6vw;
    }
    .contact-form{
        width: 80%;
    }

    /* UBICANOS */
    .ubicanos{
        padding: 50px 20px;
    }
    .ubicanos h3{
        font-size: 6vw;
    }

    .info{
        width: 40%;
        
    }
    .info p{
        font-size: 2.4vw;
    }
    .icon-locate{
        padding-right: 10px;
    }

    .data a{
        font-size: 0.8rem;
    }
}

/*=============== RESPONSIVE 1025px - 1449px ===============*/
@media (min-width: 1025px) and (max-width: 1449px){
    .ubicanos{
        padding: 50px 80px;
    }
    .info{
        width: auto;
    }
    .info p{
        font-size: 1.2rem;
    }
    .data a{
        font-size: 1rem;
    }
} 
