main section{
    margin: 25px;
}

div.large-image h1{
    /*
    position: absolute;
    padding-left: 15px;
    text-shadow: #000000 5px 1px 10px;
    font-size: 3rem;
    top: 10rem;
    color:#fffdfd;
    */
    color:white;
    text-shadow: #000000 5px 1px 10px;
    font-size:2.3rem;
    position: absolute;
    text-align: center;
    padding-left: 15px;
    top: 18rem;
    bottom: 0;
    margin: auto;
    left: 0;
    right:50%;
}

div.large-image img{
    object-fit: cover;
    width: 100%;
    height: 65vh;
    min-height: 500px;
}

#whats,#telefo{
    text-align: center;
}
.contact_numbers{margin: 15px;}
.contact_numbers img{margin-bottom: 10px;width: 6rem;}

/* .contact_numbers #whats:hover,.contact_numbers #telefo:hover {
    text-decoration: underline;
} */

.tnum{
    text-align: center;
    font-weight: 600;
    font-size: 1.5rem;
    margin-top: 0;
}

.num a{
    text-decoration: none;
    color: #000000;
    font-size: 1.2rem;
}

iframe{
    display: block;
    margin: auto;
    /* width: 20vw; */
    /* height: 30vh; */
    width: 85%;
    min-height:20rem;
    max-width: 30rem;
    max-height: 30rem;
}

address{
    /* font-family: 'Noto Sans', sans-serif; */
    margin: 15px;
    word-wrap: break-word;
    text-align: center;
    font-size: 1.2rem;
}

section h2{text-align: center;}

form{
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* font-family: 'Noto Sans', sans-serif; */
    font-family: "myriad-pro",sans-serif;
    margin:15px;
}

form h2{text-align: center;}

form label{
    margin-left: 8px;
}

input, textarea{
    border-radius:5px;
    border: 1px solid #f7d201bb;
    box-shadow:0 0 15px 4px rgba(0,0,0,0.06);
    padding:10px;
    margin: 5px;
    box-sizing: border-box;
    outline: none;
}
input[type=text],input[type=email],input[type=tel]{
    background-color: white;
    background-position: 10px 10px;
    background-repeat: no-repeat;
    padding-left: 40px;
}
input[type=text]{background-image: url(/media/contacto/profile_icon.webp);}
input[type=email]{background-image: url(/media/contacto/email_icon.webp);}
input[type=tel]{background-image: url(/media/contacto/small_telephone.webp);}

textarea{
    resize: none;      
}

textarea:focus,input[type=tel]:focus,input[type=text]:focus,input[type=email]:focus{
    background-color:#ffed86bb;
  }

.submit_btn{
    margin: auto;
    width: 10em;
    padding: 16px;
    cursor: pointer;
    border-radius:5px;
    background-color: #000000;
    color:white;
    border: 1px solid black;
    transition: background-color .5s;
}

.submit_btn:hover{
    display: block;
    margin: auto;
    background-color: whitesmoke;
    color: black;
    border: #000000 1px solid;
}


@media only screen and (min-width: 40em) {
    .contact_numbers{
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 20vw;
    }

    div.large-image h1{font-size:3.5rem;}

    /* form h2{text-align:left;} */

    /* .map-addresses h2{
        margin: 15px;
        margin-left:10vw;
    } */
    /* .contact_numbers img{width: 12vw;} */

    /*.map-addresses h2{margin-left:10%;}*/
    /* .map-addresses{
        display: grid;
        grid-template-columns: 50% 50%;
        padding: 0;
        justify-content: center;
        gap:1.5rem;
    }  */

    /* .map-addresses h2{display:block; margin: auto;} */

    iframe{
            /* width:5rem; */
            /* height:30vh;
            min-height:350px;
            min-width: 30rem;
            max-width: 50rem; */
        width: 85%;
        min-height:25rem;
        max-width: 40rem;
        }

    section.form{display: block; margin: auto; width: 80%; max-width: 40rem;}
}

@media only screen and (min-width: 68rem ){
    main section{max-width:75vw; margin: auto;}

    div.large-image h1{right:65%; font-size:3.5rem;}

    div.large-image img{height: 75vh;}
    /* .contact_numbers img{width: 14vw;} */

    section.form{width: 90%; max-width: 60rem;}
    
    /* .map-addresses h2{margin-left:10%;} */

    /* .map-addresses h2{text-align: left; margin-left: 29rem;} */

    iframe{
        /* max-height:60vh; */
        /* width: 80%; */
        min-height:30rem;
        max-width: 55rem;
    }
}