footer {
    position: relative;
    align-self: flex-end !important;
    width: 100%;
    background-color: #1C1D1E;
    height: 16dvh;
    /* border-radius: 25px 25px 0 0; */
    display: flex;
    flex-direction: column;
    /* margin-top: auto; */
    justify-content: flex-end;
    color: #f4f5f5 !important;
    margin-top: 15dvh;
    overflow: visible;
}

#fcontainer>div>ul>li>a,
#fcontainer>div>div>ul>li>a {
    color: #f4f5f5;
}

#footerlogo {
    flex-basis: 25%;
    text-align: center;
    height: fit-content;
}

#footerlogo>img {
    width: 80%;
    height: auto;
    margin-top: auto;
    margin-bottom: auto;
}

#fcontainer {
    display: flex;
    flex-direction: row;
    direction: rtl;
    padding: 1vh 1vw 1vh 1vw;
    flex-wrap: wrap;
    color: #f4f5f5 !important;
    align-items: center;

}

#deck {
    flex-basis: 100%;
    justify-content: space-around;
    /* font-size: 0.625rem; */
    display: flex;
    height: fit-content;
    /* border-top: 1px solid #e4e4e4; */
    direction: ltr;
}

#credit {
    display: flex;
    margin: auto;
    width: 100%;
    flex-wrap: nowrap;
    font-size: 1.5rem;
    flex-basis: 70% !important;

}

#credit>ul * {
    color: #e4e4e4;

}

#credit>ul {
    list-style: none;
    text-decoration: none !important;
    gap: 5dvw;
    flex-wrap: nowrap;
    /* justify-content: space-around; */
    direction: rtl;

}

#socials {
    flex-basis: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    direction: rtl;
    padding: 1dvh;
    padding-bottom: 0;
}


#socials a {
    display: block;
    position: relative;
    width: 50px;
    height: 40px;
    font-size: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: #e4e4e4;
    transition: .5s;
    /* margin-left: 0.5dvw;
    margin-right: 0.5dvw; */
}

#socials>div {
    height: 100%;
    width: 0.5px;
    background-color: #e4e4e4 !important;
    opacity: 20%;
}

#socials i {
    transition: transform 0.3s ease, color 0.3s ease;
}

#socials a:hover i {
    transform: scale(1.3);
    /* Zoom up */
}

.twitter:hover i {
    color: #000 !important;
}

.instagram:hover i {
    color: #c32aa3 !important;
}

.tiktok:hover i {
    color: #6741d9 !important;
}

.youtube:hover i {
    color: #dd4b39 !important;
}

.linkedin:hover i {
    color: #0077b5 !important;
}



/* ________________________________________________________________________________________ */
@media screen and (max-width: 768px) {
    footer {
        height: fit-content;
        margin-top: 5dvh;
    }

    #fcontainer {
        padding: 1vh 1vw 1vh 1vw;
    }

    #footerlogo>img {
        width: 90%;
    }

    #newsletter>form {
        flex-basis: 100%;
    }

    .newsletterform {
        font-size: 0.375rem !important;
    }

    .newsletterform>button {
        font-size: 0.44rem !important;
        flex-basis: 35% !important;
    }

    .material-icons {
        font-size: 1rem !important;
    }

    #newsletter>form>label {
        font-size: 0.8rem;
        font-weight: 500;
    }

    #newsletter>form>input {
        font-size: 0.5rem !important;
    }

    #fpages {
        font-size: 0.7rem;
        font-weight: 400;
    }

    #fpages>ul {
        gap: 0;
    }

    #credit {
        font-size: 0.4rem;
        margin-left: 2vw;
        font-weight: 400;

    }

    #socials {
        gap: 1vw;
    }

    #socials a {
        width: 22px !important;
        height: 17px !important;
        font-size: 0.7rem !important;
    }
}