* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-image: url('background-image.jpeg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    color: #fff;
    font-size: 15px;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

h1 {
    font-size: 3em;
    margin: 0;
    margin-bottom: 20px;
    text-align: center;
}

p {
    font-size: 1.5em;
    text-align: center;
    max-width: 600px;
    margin-bottom: 40px;
}

input,
button {
    font-size: 1em;
}

button {
    background-color: rgb(0, 112, 186);
    border-radius: 10px;
    width: 150px;
    color: white;
    cursor: pointer;
    border: 0;
    outline: 0;
    transition: background-color 0.3s ease-in-out;
    padding: 10px;
    display: block;
    margin: 0 auto;
}

button:hover {
    outline: 1px solid #fff;
    background-color: #09679a;
}

.header {
    margin-top: 2em;
    margin-bottom: 4em;
}

.logo {
    width: 200px;
}

.content {
    padding: 2em;
}

/* New styles for modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: rgba(51, 51, 51, 0.808);
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 2em;
    border-radius: 5px;
    width: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: relative;
    max-height: 80%;
}

.modal.show .modal-content {
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 1;
}

.close-btn:hover {
    color: red;
}

/* New styles for modal form */
form {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}

.form-row.full {
    grid-template-columns: 1fr;
}

form label {
    display: block;
    margin-bottom: 10px;
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

form textarea {
    resize: vertical;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Media query for smaller screens */
@media screen and (max-width: 600px) {
    body {
        overflow: hidden;
    }

    h1 {
        font-size: 2em;
    }

    .header {
        margin-top: 1em;
    }

    .content {
        padding: 1em;
    }

    .content p {
        font-size: 1.3em;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 1em;
        width: 90%;
        max-height: 80%;
        overflow-y: auto;
        padding-top: 3em;
    }
}