/* footer */

footer {
    min-height: 20vh;
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding: var(--padding);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 30px;
    padding-top: 30px;

    box-shadow: 0px 0px 14px 15px rgba(78, 78, 78, 0.714), inset 0px -13px 20px rgba(76, 104, 89, 0.593);
    /* border-top: 1px solid #777777; */
}

footer .overlay {
    background: black;
    width: 100vw;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: .25;
    z-index: -1;
    display: none;
}

footer video {
    width: 100vw;
    position: absolute;
    top: -70px;
    left: 0px;
    z-index: -2;
    display: none;
}

footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 93%;
    width: 95%;
    margin: 0 auto;
    background-color: var(--tertiary-color);
    border-radius: 35px;
    padding: 30px 35px;
    color: var(--primary-color);
    z-index: 10;
    height: 41vh;

    /* box-shadow: 0px -10px 10px  black; */
}

footer .left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* margin-top: 30px; */
    justify-content: center;
    height: 100%;

}

footer .left h1 {
    font-family: var(--font-4);
    font-size: calc(25px + 1.7vw);
    text-transform: capitalize;

    /*  */

    background: linear-gradient(to bottom, #cdd9ce 15%, #97b499 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

footer .left p {
    font-family: var(--font-2);
    font-size: clamp(12px, 1vw, 15px);
    width: 95%;
}


footer .right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--font-2);
    font-size: clamp(12px, 1vw, 15px);
    justify-content: center;
    z-index: 10;
}

footer .input {
    display: flex;
    border-radius: 5px;
    padding: 5px;
    background-color: var(--primary-color);


}

footer .input input {
    border: none;
    outline: none;
    background: none;
    width: 100%;
        padding: 0px 7px;

}

footer .input button {
    background-color: var(--tertiary-color);
    color: var(--primary-color);
    padding: 6px 20px;
    border-radius: 5px;
    font-size: 16px;


    &:hover{
        cursor: pointer;
    }
}


footer .bottom {
    border-top: 1px solid var(--secondary-color);
    padding: 20px;
    width: 95%;
    margin: 0 auto;
    font-family: var(--font-2);
    display: flex;
    justify-content: space-between;
}


footer .bottom ul li {
    list-style-type: none;
    font-size: 20px;
    font-weight: bold;

    &:hover {
        cursor: pointer;
    }
}

footer .bottom ul {
    display: flex;
    gap: 7px;
}

footer .bottom .socials li i {
    font-size: 25px;
}


@media (max-width:1000px) {
    footer{
        min-height: fit-content;
    }

    footer .left h1 {
        font-size: clamp(26px, 6vw, 45px);
    }

    footer .left p {
        line-height: 19px;
        display: none;


    }

    footer .container {
        width: 100%;
        grid-template-columns: 1fr;
        height: 48vh;
        height: fit-content;
        gap: 26px;
    }

    footer .bottom {
        width: 100%;
    }

    footer .right {
        line-height: 19px;
    }

    footer .right> :nth-child(1) {
        display: none;
    }
    
}


@media (max-width:760px) {
    footer .bottom ul li {
        font-size: calc(10px + 1vw);
    }

    footer .bottom {
        padding-inline: 5px;
    }

    footer .bottom .socials li i {
        font-size: calc(17px + 1.2vw);
    }

    footer .container {
        border-radius: 20px;
        padding: 21px;
    }

    footer .input button {
        font-size: clamp(13.5px, 1.5vw, 16px);
        padding: 6px 13px;
    }
}


@media (max-width:550px) {

    footer .left p {
        line-height: 19px;
        font-size: 11px;
    }

    footer .container {
        padding: 25px;
    }

    footer .right {
        font-size: 11px;
    }


}