@import url("header.css");


#adress {
    display: flex;
    margin-bottom: 40px;
}

#mobile {
    display: none;
}

#text{
    margin : auto;
    padding : auto ; 
    text-align: left;
    width: 40%;
}
h1 {
    text-align: center;
    margin-top: 50px;
}

form {
   
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom : 20px;
}

form .name-container {
    display: flex;
    justify-content: space-between;
}

form .name-field {
    flex: 1;
    margin-right: 10px;
}

form .name-field:last-child {
    margin-right: 0;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

form input[type="email"],
form input[type="text"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    color: #333;
}

form textarea {
    resize: vertical;
    height: 150px;
}

form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    background-color: #17b8c0;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background-color: #1bd2db;
}

@media (max-width: 1023px) {
    form {
        padding: 10px;
    }

    form .name-container {
        flex-direction: column;
    }

    form .name-field {
        margin-right: 0;
        margin-bottom: 15px;
    }

    form .name-field:last-child {
        margin-bottom: 0;
    }

    #desktop {
        display: none;
    }

    #mobile {
        display: block;
    }
    #adress {
        display: flex;
        flex-direction: column;
        margin-bottom: 40px;
    }

    #text{
        margin : auto;
        margin-top : 20px;
        padding : auto ; 
        text-align: left;
        width: 100%;
    }
    h1 {
        text-align: center;
        margin-top: 50px;
    }

}
