body {
    font-family: 'Cormorant', serif;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 100vh;
}

.bg1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/bg1.jpg'); /* replace with your image URL */
    background-size: cover;
    background-position: center;
    z-index: -1;
}

h1 {
    display: inline-block;
    font-weight: 300;
    margin: 0 32px 0 0;
}

h1 a {
    text-decoration: none;
    color: black;
    margin: 0 8px;
}

.navbar {
    margin: 32px;
    background-color: rgba(255,255,255,0.6);
}

.list {
    display: inline-block;
}

.nav_list {
    display: inline-block;
}

.navbar a {
    text-decoration: none;
    color: black;
    margin: 0 8px;
}

.list ul {
    padding: 0;
}

.list a:hover {
    border-bottom: 1px solid black;
}

.form_container {
    border: 2px solid;
    border-radius: 50px;
    margin: auto;
    width: 600px;
    padding: 10px;
    height: 900px;
    margin-top: 100px;
    background-color: rgba(255,255,255,0.7);
}

.container {
    margin: 50px auto;
    box-sizing: border-box;
    width: 400px;
    height: 800px;
}

.form_label {
    text-align: center;
    margin: 50px auto;
    font-size: 40px;
    letter-spacing: 3px;
    display: block;
}

.form_input {
    text-align: center;
    margin: 0 auto;
    display: block;
    width: 250px;
    height: 30px;
    background-color: transparent;
    border: 2px black solid;
}

.textarea {
    text-align: center;
    margin: 0 auto;
    display: block;
    width: 250px;
    height: 30px;
    overflow: hidden;
    background-color: transparent;
    border: 2px black solid;
}

.textarea:hover {
    background-color: black;
    color: white;
    transition: 0.5s ease-in;
    opacity: 0.6;
    cursor: pointer;
}

.button {
    margin: 0 auto;
    display: block;
    margin-top: 50px;
    height: 50px;
    width: 100px;
    border-radius: 50px;
    cursor: pointer;
    background-color: rgba(124, 212, 190, 0.3);
    border-color: white;
    font-size: 20px;
}

.button_link {
    text-decoration: none;
    color: black;
}

.button_link:hover {
    color: white;
}

button:hover {
    background-color: rgba(85, 154, 137, 0.8);
    color: black;
    transition: 0.5s ease-in;
    border-color: white;
}

.form_input:hover {
    background-color: black;
    color: white;
    transition: 0.5s ease-in;
    opacity: 0.6;
    cursor: pointer;
}

input::placeholder {
    color: black;
    opacity: 0.5;
}

.contact {
    width: 600px;
    left: 405px;
    top: 50px;
    display: inline-block;
    position: relative;
}

.contact p {
    margin: 0;
    font-size: 20px;
    margin-bottom: 5px;
    position: relative;
    left: 6px;
}

.contact h3 {
    font-size: 20px;
    margin-left: 5px;
    margin-right: 80px;
}

.footer {
    margin-top: 200px;
    background-color: #F2F4F6;
    width: 100%;
    height: auto;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.footer h1 {
    margin-top: 0;
    font-weight: 300;
}

.socials {
    margin: 30px auto;
    width: 200px;
    height: auto;
}

.icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    display: inline-block;
    border-radius: 50%;
}

.icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

h5 {
    width: auto;
    margin-top: 20px;
}

hr {
    width: 100%;
    margin: 20px 0;
}

.container img {
    opacity: 0.5;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    z-index: -1;
}

/* Media Queries for Responsive Design */

@media (max-width: 1200px) {
    .contact {
        width: 90%;
        left: 0;
        top: 20px;
        margin: 20px auto;
    }
    .form_container {
        width: 90%;
        margin-top: 50px;
    }
    .container {
        width: 90%;
        height: auto;
    }
    .form_label {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        margin: 16px;
    }
    .footer h1 {
        display: block;
        margin: 0 auto;
    }
    .socials {
        margin: 20px auto;
        width: 100%;
    }
    .form_container {
        width: 100%;
        padding: 20px;
        margin-top: 20px;
    }
    .contact {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        margin: 8px;
    }
    .footer {
        padding: 10px;
    }
    .footer h1 {
        display: block;
        margin: 0 auto;
    }
    .socials {
        margin: 10px auto;
        width: 100%;
    }
    .icon {
        margin-right: 5px;
    }
    .form_label {
        font-size: 25px;
    }
    .form_input, .textarea {
        width: 90%;
    }
    .button {
        width: 80px;
        font-size: 16px;
    }
}

