* {
    margin: 0;
    padding: 0;
    font-family: 'Spectral', serif;
}

body {
    background-color: white;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

header {
    width: 80%;
    background-color: #f8f8f8;
    margin: 1vh;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

header h1 {
    margin-left: auto;
    margin-right: auto;
    color: black;
    font-size: 5vh;
}

header img {
    height: 8vh;
}

.menu {
    width: 80%;
}

.menu ul {
    padding: 2vh;
    background-color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    list-style-type: none;
}

.menu ul a {
    text-decoration: none;
    color: black;
}

.content {
    width: 80%;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
}

.content div {
    background-color: white;
    margin: 1vh;
    width: 49%;
    height: 100vh;
    border-radius: 10px 10px 10px 10px;
}

.imgmain img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 10px 10px 10px;
}

.text p {
    padding: 1vh;
    font-size: 1.7vh;
}

/*  */
.titles {
    width: 30%;
    float: left;
}

#form_message {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    margin: 1vw;
    padding: 1vw;
    width: 90%;

}

#form_message input, textarea {
    border-radius: 5px;
    width: 65%;
}

#submit {
    height: 5vh;

}

#form_message h2 {
    text-align: center;
}

.menu ul a:hover {
    color: red;
}

@media screen and (max-width: 1000px) {

    .menu ul li {
        padding: 1vw;
    }

    .content div {
        width: 90%;
        height: auto;
    }

    .imgmain {
        display: none;
    }

    header h1 {
        font-size: 2.5vh;
    }

    .titles {
        width: 100%;
    }

    #form_message input, textarea {
        width: 100%;
    }
}