* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #212529;
}

p {
    color: white;
    font-weight: 400;
    font-size: 18px;
}

hr {
    width: 95%;
    float: left;
    color: #4d8f2e;
}

h1 {
    font-weight: 500;
    margin-bottom: 0;
}

h2 {
    font-weight: 400;
    font-size: 43px;
    margin-top: 20px;
    margin-bottom: 5px;
}

.h2-blanco {
    color: white;
}

.h2-verde {
    color: #4d8f2e;
    font-size: 70px;
}

.navbar {
    overflow: hidden;
    overflow-x: hidden;
    background-color: #1a2b48;
    width: 100%;
    height: 69px;
}

.logo img {
    width: 10%;
}

.logo2 {
    width: 33%;
}

.navbar a {
    text-align: center;
    display: block;
    color: black;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    line-height: 50px;
    border-radius: 4px;
    background-color: #1a2b48;
}

.navbar a:hover {
    background-color: #1a2b48;
    color: black;
}

.navbar a.active {
    background-color: dodgerblue;
    color: white;
}

.navbar-right {
    float: right;
}

.background {
    background-image: url('../images/fondo.jpg');
    padding: 10px;
    background-repeat: no-repeat;
    min-height: 810px;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.flex-container {
    /* display: flex;
    flex-wrap: wrap; */
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 69px;
    width: 100%;
    height: 100%;
    min-height: 810px;
    padding: 30px;
    column-gap: 5px;
    /* flex-direction: column; */
}

.txt-content {
    width: 60%;
    float: left;
}

input.button-send {
    background: transparent;
    border: solid #4d8f2e 2px;
    border-radius: 20px;
    width: 100px;
    height: 50px;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    color: #4d8f2e;
}

.button-send:hover {
    background-color: #4d8f2e;
    color: white;
}

.img-content {
    width: 40%;
    float:left;
    text-align: center;
}

.service {
    width: 400px;
    margin: auto;
}

.service>img {
    width: 100%;
    border: 5px solid white;
    border-radius: 25px;
}

.service>.caption {
    position: relative;
    font-weight: 600;
    font-size: 25px;
    top: 50px;
    left: 10px;
    width: fit-content;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 39%, rgba(0, 0, 0, 0) 100%);
}

.right {
    float: right;
    left: 0px !important;
    background: linear-gradient(270deg, rgba(255, 255, 255, 1) 60%, rgba(0, 0, 0, 0) 100%) !important;
}

.poster {
    position: relative;
    z-index: 0;
    margin: auto;
    text-align: center;
    width: 60%;
}

.form {
    background-color: white;
    z-index: 2;
    position: relative;
    margin: auto;
    width: 60%;
    border-radius: 10px;
    padding: 10px;
    display: table;
    clear: both;
    box-shadow: 5px 5px 10px rgb(0 0 0 / 5%);
}

.form-transparent {
    margin-top: 60px;
}

.form-transparent p {
    margin-top: 10px;
}

.form-transparent p>i {
    font-size: 25px;
}

.column1 {
    float: left;
    width: 100%;
    padding: 10px;
}

.centered {
    text-align: center;
    float: left;
    width: 100%;
}

.column2 {
    float: left;
    width: 50%;
    padding: 10px;
}

.column4 {
    float: left;
    width: 25%;
    padding: 10px;
}

.subcol-25 {
    float: left;
    width: 25%;
}

.subcol-75 {
    float: left;
    width: 75%;
}

.input-text {
    width: 75%;
    font-family: 'Poppins', sans-serif;
    background: transparent;
    border: dashed #4d8f2e 2px;
    border-radius: 15px;
    padding: 12px;
    color: white;
    transition: ease 5s;
}

.input-text:focus-visible {
    transition: ease 5s;
    border: solid #4d8f2e 2px;
}

label {
    padding: 12px 12px 12px 0;
    display: inline-block;
}

textarea {
    height: 150px;
}


/* 
input[type=submit] {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    margin: auto;
    width: 30%;
    height: 40px;
    padding: 10px 20px 10px 20px;
    border: 0px;
    border-radius: 4px;
    color: white;
    background-color: #4d8f2e;
}

input[type=submit]:active {
    background-color: #3a6923;
    box-shadow: none;
} */

@media screen and (max-width:500px) {
    .navbar .logo img {
        width: 60%;
    }
    .form {
        width: 90%;
        display: flex;
    }
}

@media screen and (max-width: 700px) {
    .column2,
    .column4,
    .subcol-25,
    .subcol-75
    /* ,
    input[type=submit] */
     {
        width: 100%;
        margin-top: 0;
    }
    .poster {
        width: 100%;
    }
}

@media screen and (max-width: 1200px) {
    .subcol-25,
    .subcol-75
    /* ,
    input[type=submit]  */
    {
        width: 100%;
        margin-top: 0;
    }
}

@media screen and (max-width: 1420px){
    .txt-content, .img-content {
        width: 100%;
    }
    .background {
        height: 1600px;
    }
    .flex-container {
        height: 1600px;
    }
    .h2-blanco {
        font-size: 24px;
    }

    .h2-verde {
        font-size: 30px;
    }
    p, p i, .form-transparent p > i {
        font-size: initial;
    }

    .form-transparent {
        margin-top: 30px;
    }
}

@media screen and (max-width: 516px) {
    .background {
        height: 1800px;
    }
    .flex-container {
        height: 1800px;
    }
    .service {
        width: 100%;
    }
}

.message {
    background:black;
    opacity: 0.8;
    display: none;
    z-index: 2;
}

.message p{
    color: white;
}




/***********Nodal*********/


/* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}


/* Modal Content */

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


/* The Close Button */

.close {
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: red;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    color: white;
}

.modal-body {
    padding: 2px 16px;
}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}