@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Slab:wght@100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    color: #ddd;
    box-sizing: border-box;
    font-family: "Roboto Slab", sans-serif;
}

ul,
ol,
li,
dd,
dt,
dl {
    all: revert;
}

body {
    width: 100%;
    min-height: 100vh;
    color: white
}

a {
    color: white;
    text-decoration: none;
}

nav {
    --pading_value: 20px;
    display: flex;
    position: fixed;
    top: 0px;
    background-image: linear-gradient(#000000, rgba(0, 0, 0, 0.01));
    height: 10%;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--pading_value);
    z-index: 100;
}

nav div.logo img {
    max-width: 100%;
    max-height: 8vh;
}

nav div.pages ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

footer {
    background: linear-gradient(#1c202c, #00000c);
    color: #ddd;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: justify;
    overflow: hidden;
    flex-wrap: wrap;
}

footer .f-m-d {
    width: calc((100vw - 20px) / 4);
    padding: 20px 10px;
}

footer .f-m-d div.fhead {
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .f-m-d div.fhead img {
    width: 100%;
}

footer .f-m-d .content {
    margin-top: 20px;
}

footer .f-m-d:last-child {
    object-fit: cover;
    /* background-color: #000; */
}

footer .g-m-f {
    width: 100%;
    aspect-ratio: 1 / 1;
}
 
/* @media screen and (max-width: 110px) {
    footer .f-m-d{
        max-width: calc((100vw - 100px) / 3);
        min-width: calc((100vw - 100px) / 3);
    }
} */

@media screen and (max-width: 940px) {
    footer .f-m-d{
        max-width: calc((100vw - 100px) / 2);
        min-width: calc((100vw - 100px) / 2);
    }
}

@media screen and (max-width: 630px) {
    footer .f-m-d{
        max-width: calc(100vw - 100px);
        min-width: calc(100vw - 100px);
    }
}