#contact {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    width: 100%;
}

#contact_inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
}

#left_contact_info {
    background-image: url(../../static/images/contact.png);
    background-size: cover;
    background-repeat: no-repeat;
    height: 110vh;
    width: 40%;
    position: relative;
    color: white;

}

#left_contact_info {
    color: white;
    z-index: 100;
}

#left_contact_info h2, #right_contact_info h2 {
    font-size: 2.5rem;
    margin-top: 25px;
    padding-left: 30px;
    padding-top: 20px;
}

.contact_info {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

#contact_info_inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 85%;
    padding-left: 30px;
    width: 90%;
}

.contact_info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 400;
}

.contact_info p {
    font-size: 1.2rem;
    font-weight: 100;
    margin-bottom: 5px;
}

#right_contact_info {
    height: 110vh;
    width: 60%;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid black;
    border-radius: 0 10px 10px 0;
}

.two {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#form {
    margin-top: 45px;
    height: 100%;
}

.one {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 25%;
}

.input_field_full {
    display: flex;
    justify-content: center;
    width: 93.4%;
    height: 100%;
    flex-direction: column;
}

.input_field {
    display: flex;
    justify-content: center;
    width: 45%;
    flex-direction: column;
}

.input_field label, .input_field_full label {
    margin-bottom: 5px;
    font-size: 1.0rem;
    font-weight: 400;
    color: black;
}

.info-container{
    position: relative;
}

.input_field input {
    width: 100%;
    height: 40px;
    border-radius: 5px;
    border: 1px solid black;
    padding-left: 10px;
    margin-bottom: 20px;

}

.input_field_full textarea {
    width: 101%;
    padding: 10px;
    height: 145px;
    font-size: 1.0rem;
    border-radius: 5px;
    border: 1px solid black;
    padding-left: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
    resize: vertical;
    height: 100%;

}

#submit_button_outer {
    display: flex;
    justify-content: right;
    width: 97.5%;
}

#submit_button {
    text-align: center;
    text-decoration: none;
    background-color: #000000;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
}

#submit_button img {
    width: 20px;
    height: 20px;
    margin-left: 5px;
}

.file_field {
    padding-top: 15px;
    height: 35px !important;
}

#submit_button:hover {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    border: 1px solid black;
}
#dark_arrow{
    display: none;
    opacity: 0;
}
#submit_button:hover #dark_arrow {
    opacity: 1;
    display: block;
}
#submit_button:hover #arrow {
    opacity: 0;
    display: none;
}
label{
    display: flex;
}
.info img{
    width: 15px;
    margin-left: 10px;
    cursor: pointer;
    margin-top: 2px;
}
.info-tooltip {
    position: absolute;
    background-color: #999999;
    color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    width: 200px;
    top: -10px;
    left: 35px;
    z-index: 100;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    font-size: 13px;
}

.info-tooltip::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -10px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent #999999 transparent transparent;
}

/* For hover functionality */
.info-container:hover .info-tooltip {
    opacity: 1;
    visibility: visible;
}

/* For click functionality */
.info-tooltip.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1200px) {
    #contact_inner{
        flex-direction: column-reverse;
    }
    #right_contact_info,#left_contact_info{
        height: auto;
        width: 100%;
    }
    #right_contact_info{
        border-radius: 10px 10px 0 0;
    }
    #left_contact_info{
        margin-bottom: 25px;
    }
    #left_contact_info h2{
        margin-bottom:65px;
    }
    .two{
        flex-direction: column;
    }
    .input_field,.input_field_full{
        width: 90%;
    }
    #submit_button_outer{
        margin-bottom: 25px;
        width: 95.5%;
    }

}

@media (max-width: 800px) {
    .input_field input{
        width: 98%;
    }
    #submit_button img {
        width: 15px;
        height: 15px;
        margin-left: 5px;
    }
    #submit_button{
        font-size: 1.0rem;
    }
    #contact{
        overflow-x: hidden;
    }
    #left_contact_info{
        width: 101% !important;
    }
}