.container2 {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(4, 87, 159, 0.579);
    width: 500px;
    margin-block-start: -42.5%;
    margin-bottom: 10%;
    margin-left: 10%;
}

h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #000000;
}

input[type="text"],
input[type="email"],
textarea {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #0066cc;
    outline: none;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #0066cc;
    border: none;
    border-radius: 3px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #004080;
}

.contacto-flex {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 5%;
}

.map {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    height: 350px;
}

.formulario-contacto {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.formulario-box {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(4, 87, 159, 0.579);
    width: 100%;
}


@media (max-width: 767px){
    .desktop{
        display: none;
    }
    tablet {
        display: none;
    }
}

/*---tablet---*/
@media (min-width: 768px) and (max-width: 990px){
    .desktop{
        display: none;
    }
    .movil {
        display: none;
    }
}


/*---movil---*/
@media (max-width: 768px) {
    .contacto-flex {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .map {
        width: 100%;
        height: 300px;
    }

    .formulario-contacto {
        width: 100%;
    }

    .formulario-box {
        width: 100%;
    }
}

