* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ebebeb;
    --tertiary-color: #01cb36;
    --secondary-color: #18181a;
    --padding2: 100px 45px
}

@media (max-width:1200px) {
    :root {
        --padding2: 100px 35px
    }
}

@media (max-width:760px) {
    :root {
        --padding2: 80px 30px
    }
}

@media (max-width:500px) {
    :root {
        --padding2: 75px 20px
    }
}


@font-face {
    font-family: poppin;
    src: url('../public/fonts/Poppins-Regular.ttf') format('truetype'),

}

@font-face {
    font-family: mono;
    src: url('../public/fonts/MartianMono-ExtraBold.ttf') format('truetype'),

}

@font-face {
    font-family: tung;
    src: url('../public/fonts/Tungsten-Bold.ttf') format('truetype'),

}

@font-face {
    font-family: space;
    src: url('../public/fonts/Space_Mono/SpaceMono-Regular.ttf') format('truetype'),

}

@font-face {
    font-family: hel;
    src: url('../public/fonts/helvectical/HelveticaNowDisplay-Medium.ttf') format('truetype'),

}

@font-face {
    font-family: hel-thin;
    src: url('../public/fonts/helvectical/HelveticaNowDisplay-Regular.ttf') format('truetype'),

}


html {
    width: 100%;
}


.footer {
    color: var(--primary-color);
    background-color: var(--secondary-color);
    /* height: 57vh;     */
    min-height: 60vh;
    font-family: hel-thin;
    letter-spacing: .4px;
    display: flex;
    justify-content: space-between;

    padding: var(--padding2);
    font-size: 20px;
}

.footer p {
    letter-spacing: .7px;
}

.footer>div {
    height: 40vh;
    margin: auto 0;
}

.footer p {
    letter-spacing: .4px;
    line-height: 1.3em;
}

.footer .one {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 19em;
    font-size: .68em;
}

.footer .heading {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0px .5rem !important;
}

.footer h3 {
    margin: 0 auto;
}

.footer .links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    row-gap: 7px;
}

.footer .links li:hover {
    cursor: pointer;
}

.footer .links li {
    list-style-type: none;
    position: relative;
    color: var(--primary-color);
    /* width: fit-content; */

    &:hover {
        cursor: pointer;
    }
}

.footer .links li:hover {
    cursor: pointer;
}

.footer .links li::after {
    content: " ";
    height: .4px;
    display: block;
    background: var(--primary-color);
    position: absolute;
    left: 0px;
    bottom: -2px;
    width: 100%;
    transition: all .4s ease;
    transform: scaleX(0);
    transform-origin: left;
}


.footer .links li:hover::after {
    transform: scaleX(1);
}

.footer .one>p {
    text-align: center;
    padding: 10px 5px;
    font-family: space;
    white-space: nowrap;
    display: flex;
    justify-content: center;
}

.footer .one> :nth-child(1) {
    justify-content: space-between;
}





.footer .two {
    border: 1px solid rgb(136, 136, 136);
    font-size: .68em;
    width: max(33vw, 340px);
    height: 50vh;
    height: fit-content;
}

.footer .two>:nth-child(1) {
    border-bottom: 1px solid rgb(136, 136, 136);
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .two>:nth-child(3) {
    border-top: 1px solid rgb(136, 136, 136);
    width: 100%;
    color: var(--primary-color);
    line-height: 20px;
    letter-spacing: .7px;
    font-size: clamp(12px, 2.6vw, 13px);
}


.footer .img {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 11em;
}

.footer .two .img img {
    width: 15.5em;
    position: relative;
    top: 10px;
}
.footer .three .heading{
    text-transform: uppercase;
}
.footer p {
    padding: 13px 15px;
}

/* three */

.footer .three {
    font-size: .68em;
    width: 19em;
    display: flex;
    justify-content: space-between;
    flex-direction: column;

}

.footer .three .img img {
    width: 8em;
}

.footer .three p {
    text-align: center;
    font-family: space;
    white-space: nowrap;
}



@media (max-width:1000px) {
    .footer {
        flex-direction: column;
        align-items: center;
        gap: 70px;
    }

    .footer> :nth-child(2) {
        /* height: 50vh; */
    }

    .footer> :nth-child(1) {
        height: 50vh;
    }

    .footer .three {
        display: none;
    }

    .footer>div {
        width: min(100%, 680px) !important;
    }



    .footer .links {
        font-size: clamp(12px, 2vw, 22px);
        letter-spacing: .8px;
        width: 90%;
        margin: 0 auto;
        padding-inline: 25px;
    }

    .footer .one p {
        width: min(450px, 65%);
        margin-inline: auto;
    }
}

@media (max-width:760px) {
    .footer .one p {
        font-size:clamp(13px , 2vw ,15px);
    }
}

@media (max-width:520px) {
    .footer> :nth-child(1){
        height: 230px;
    }
    
}