.animated-text-bottom-contact .animated-link {
    text-decoration: none;
    color: white;
    transition: filter 0.3s ease, transform 0.3s ease; /* Smoothly transition the filter and transform properties over 0.3 seconds */
}

.animated-text-bottom-contact .animated-link:hover {
    filter: brightness(0) saturate(100%) invert(67%) sepia(92%) saturate(1005%) hue-rotate(1deg) brightness(103%) contrast(101%);
    transform: scale(1); /* Slight zoom effect on hover */
}

.container-contact {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    margin-top: 0px;
    background-color: black;
    padding-left: 3%;
    display: flex;
    justify-content: space-between;
    z-index: 6;
}


.content-contact {
    box-sizing: border-box;
    background-color: black;
    justify-content: left;
    margin-right: auto;
    width: 45vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 45px;
    padding-bottom: 30px;
    transform: scaleX(0.9);
    transform-origin: left;
}

.font-animated-text-bottom-high {
    font-size: 26px;
}

.font-animated-text-bottom-low {
    font-size: 18px;
}

@media (max-width: 1300px) {
    .font-animated-text-bottom-high {
        font-size: 24px;
    }
    .font-animated-text-bottom-low {
        font-size: 17px;
    }
}

@media (max-width: 1100px) {
    .font-animated-text-bottom-high {
        font-size: 23px;
    }
    .font-animated-text-bottom-low {
        font-size: 17px;
    }
}

@media (max-width: 845px) {
    .content-contact {
        margin-left: 5%;
        width: 95%;
    }
    .font-animated-text-bottom-high {
        font-size: 20px;
    }
    .font-animated-text-bottom-low {
        font-size: 15px;
    }
}

/* ANIMATIONS */

.slide-in-text-bottom-contact {
    animation: slideInFromBottom-contact 1.5s ease-out forwards;
    background-color: black;
}

@keyframes slideInFromBottom-contact {
    from {
        transform: translateY(75%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}




.background-block-contact {
    width: 100%;
    background-size: cover; /* Keep cover to ensure the image covers the block */
    background-position: center; /* Default center position */
    background-repeat: no-repeat;
    background-attachment: fixed; /* Optional: make the background image fixed */
    display: flex;
    flex-direction: column; /* Arrange children in a column */
    justify-content: flex-start; /* Align children to the top */
    align-items: flex-start; /* Align children to the start horizontally */
    z-index: 5;
    background-image: url('../Images/Bottom.webp'); /* Desktop background image */
    margin-bottom: -15px;
}


@media (max-width: 845px) {
    .background-block-contact {
        background-image: url('../Images/ContactMobile.webp'); /* Mobile background image */
        background-attachment: scroll; /* Ensure background attachment is scroll on mobile */
        background-size: contain; /* Ensure the entire image is visible */
        background-position: center top; /* Adjust position to start from the top */
        height: 80vw; /* Adjust height automatically based on image aspect ratio */
        margin-bottom: -50px;
    }
}

@media (max-width: 770px) {
    .background-block-contact {
        margin-bottom: -25px;
    }
}

@media (max-width: 400px) {
    .background-block-contact {
        margin-bottom: -15px;
    }
}



.content-quote {
    padding-left: 100px;
    margin-left: auto;
    margin-top: auto;
    justify-self: right;
    box-sizing: border-box;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-right: 50px;
    opacity: 0;
    transition: opacity 4s ease-in-out;
}

.quote-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-left: auto;
}

.fancy-quote {
    position: relative;
    font-family: 'Georgia', serif;
    font-size: 24px;
    color: #f5f5f5;
    max-width: 600px;
    margin: 0;
}

.animated-quote {
    background: linear-gradient(270deg, #fcb900 10%, #f5f5f5 40%, #fcb900 60%, #f5f5f5 90%);
    background-size: 400% 400%;
    animation: gradientAnimation 16s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fancy-quote footer {
    text-align: right;
    font-size: 20px;
    margin-top: 10px;
    color: #f5f5f5;
}

.image-contact {
    width: 100%;
    display: block;
}


.fade-in-content-quote {
    opacity: 1;
}