body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    position: relative;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: -0px;
}

.icon-bar {
    position: fixed;
    left: 50%; /* Position halfway across the viewport */
    transform: translate(-50%, 91%); /* Adjust the position to center the element exactly */
    display: flex;
    background: rgba(4, 116, 59, 0.7);  /* Slightly darker for better visibility */
    padding: 0px;
    border-radius: 10px;
}

.icon-text {
    position: fixed;
    
    left: 50%; /* Position halfway across the viewport */
    transform: translate(-50%, 10%); /* Adjust the position to center the element exactly */
    display: flex;
    background: rgba(4, 116, 59, 0.7);  /* Slightly darker for better visibility */
    padding: 0px;
    border-radius: 10px;
}

.icon-bar a {
    text-decoration: none;
    color: white;
    font-size: 25px;
    padding: 12px;
    transition: transform 0.3s;
}

.icon-text a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    padding: 12px;
    transition: transform 0.3s;
}

@media screen and (min-width: 400px) 
{
    .icon-text a {
        text-decoration: none;
        color: white;
        font-size: 16px;
        padding: 12px;
        transition: transform 0.3s;
    }
    .icon-bar a {
        font-size: 30px;
    }
    .icon-bar {
        transform: translate(-50%, 86%); /* Adjust the position to center the element exactly */
    }
}

@media screen and (min-width: 670px) 
{
    .icon-text a {
        text-decoration: none;
        color: white;
        font-size: 27px;
        padding: 12px;
        transition: transform 0.3s;
    }
    .icon-bar a {
        font-size: 32px;
    }
    .icon-bar {
        transform: translate(-50%, 110%); /* Adjust the position to center the element exactly */
    }
}

.icon-bar a:hover {
    transform: scale(1.1);
}

.icon-text a:hover {
    transform: scale(1.1);
}
