#Hero-Area {
    margin-bottom: 20px;
}
#heroImage img {
    height: 800px;
    width: 100%;
    background-size: cover;
    display: inline-block;
    margin: 0;
    z-index: 0;
}

/* Initial state of the description div (hidden) */
#Hero-Area #description {
    height: 400px;
    width: 80%;
    display: inline-block;
    background-color: #ffbb34dc;
    position: absolute;
    top: 683px;
    right: 160px;
    z-index: 0.5;
    border-radius: 50px;
    text-align: center;
    font-family: Georgia, serif;
    font-size: 30px;
    opacity: 0;
    /* Hidden initially */
    transform: translateY(50px);
    /* Move down initially */
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    /* Transition effect */
    margin-bottom: 20px;
    box-shadow: 0px 5px 15px teal;
}
#Hero-Area #description p {
    font-size: 24px;
}
/* Slide in animation for the content inside the description div */
#Hero-Area #description img,
#Hero-Area #description h1,
#Hero-Area #description p {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}
#Hero-Area #description h6 {
    margin: 0;
    padding: 0;
    color: #273c75;
}
#Hero-Area.show-description #description img {
    height: 100px;
    width: 300px;
    margin-bottom: 0;
    filter: drop-shadow(5px 5px 2px rgb(66, 64, 64));
}

#Hero-Area.show-description #description h1 {
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
    font-size: 24px;
    /* color: rgb(255, 248, 220);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; */
}

/* When the description div is visible */
#Hero-Area.show-description #description,
#Hero-Area.show-description #description img,
#Hero-Area.show-description #description h1,
#Hero-Area.show-description #description p {
    opacity: 1;
    transform: translateY(0);
}

/* .................................................Responsive Design....................................................... */
/* Media Query for screens with width 767px or less */
@media (max-width: 767px) or ((min-width: 767px) and (max-width: 1400px)) {
    #heroImage img {
        height: auto;
        /* Adjust height for better view on small screens */
    }

    #Hero-Area #description {
        height: auto;
        /* Let the content determine the height */
        width: 90%;
        /* Use more width on smaller screens */
        top: auto;
        /* Let the position be determined by the flow */
        right: 5%;
        /* Center the element horizontally */
        border-radius: 20px;
        /* Smaller border-radius for smaller screens */
        padding: 20px;
        /* Add some padding for better readability */
        box-sizing: border-box;
        /* Include padding and border in width and height */
        opacity: 0;
        /* Hidden initially */
        transform: translateY(50px);
        /* Move down initially */
        transition: opacity 1s ease-in-out, transform 1s ease-in-out;
        /* Transition effect */
        font-family: Georgia, serif;
    }

    #Hero-Area #description img,
    #Hero-Area #description h1,
    #Hero-Area #description p {
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    }
    #Hero-Area #description h6 {
        margin: 0;
        padding: 0;
        color: #273c75;
    }
    #Hero-Area #description img {
        height: auto;
        width: 100%;
        /* Make the image responsive */
        margin-bottom: 20px;
        /* Consistent spacing */
        filter: drop-shadow(5px 5px 2px rgb(66, 64, 64));
    }
    #Hero-Area #description h6 {
        margin: 0;
        padding: 0;
    }
    /* When the description div is visible */
    #Hero-Area.show-description #description,
    #Hero-Area.show-description #description img,
    #Hero-Area.show-description #description h1,
    #Hero-Area.show-description #description p {
        opacity: 1;
        transform: translateY(0);
    }

    #Hero-Area #description h1 {
        font-size: 24px;
        /* Adjust font size for readability */
    }

    #Hero-Area #description p {
        font-size: 18px;
        /* Adjust font size for readability */
    }
}