#openContactForm {
    display: none;
    /* display: none; */
    cursor: pointer;
    background-color: rgb(95, 94, 94);

    /* background-color: transparent; */
    color: #ffffff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: 90%;
    right: -15%;
    margin-left: -60px;
    /* transition: opacity 0.3s ease, visibility 0.3s ease; */
    /* transition: opacity 0.3s ease, visibility 0.5s ease;transition: opacity 0.3s ease, visibility 0.5s ease; */
    /* opacity: 0; */
    /* transition: 1s; */

}

.tooltip-D:hover #openContactForm {
    display: block;
    /* opacity: 1; */
}

/* ---------------------------------------------- */

.form-css {
    /* width: -webkit-fill-available !important; */
    max-width: 50vw;
    display: flex;
    /* flex-wrap: wrap; */
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;

}


.form-group,
input,
textarea {
    padding: 1rem !important;
    /* width: 20vw; */
    width: auto;
}

input,
textarea {
    border-radius: 15px;
    border: none;
}

label {
    /* margin-bottom: 1rem; */
}




/* ------------------------------------------------- */

/* Modal Styles */
.contact-modal {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.contact-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #c5c5c54b;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    color: white;
    position: relative;
    z-index: 1000;
}

.close-contact {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.d-none {
    display: none;
}

.go-contact:hover {
    /* background: #000; */
    color: #000000;
}

.go-contact {
    /* bottom: 6.5rem; */
    /* right: 2rem; */
    max-width: 200px;
    margin: auto;
    -webkit-tap-highlight-color: transparent;

    -webkit-touch-callout: none;

    -webkit-user-select: none;

    -khtml-user-select: none;

    -moz-user-select: none;

    -ms-user-select: none;

    user-select: none;

    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.go-contact {
    bottom: 6rem;
    right: 4rem;
    position: fixed;
    width: 2.2rem;
    height: 2.2rem;
    background-color: transparent;
    /* color: #0077b5; */
    font-size: 50px;
    color: rgba(0, 0, 0, 0.528);
    /* font-size: 1.2rem; */
    border-radius: 50%;
    cursor: pointer;
    /* box-shadow: 0 0 1rem rgba(117, 117, 117, 0.6); */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 1000;
}

/* --------------------------------------------- */

.outline {
    display: inline-block;
    font-family: 'Fira Code', monospace;
    text-decoration: none;
    font-weight: bold;
    color: #ffffff;
    background-color: transparent;
    border: 0.15rem solid #ffffff;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.outline:hover {
    background-color: #ffffff;
    color: rgba(0, 0, 0, 0.5);

    transform: translateY(-0.2rem);
}

.contact-modal::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg,
            rgba(160, 21, 153, 0.5),
            rgba(183, 1, 255, 0.5),
            rgb(255, 196, 0),
            rgb(230, 3, 22));
    background-size: 200% 200%;
    animation: softFlow 30s ease-in-out infinite;
    pointer-events: none;
}

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

    .go-contact i {
        font-size: 40px;
    }

}