footer {
    position: absolute;
    width: 100vw;
    height: 64vh;
    background-image: url('../static/vectors/foot-bg.svg');
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    transform: translateY(-10vh);
    z-index: 20;
    /* GRID PROPS */
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: 80% 20%;
    padding: 10vh 10% 0 10%;
}

footer p {
    letter-spacing: 0.01rem;
}

.footer-left {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
}

h5 {
    font-family: Lato, sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: #373737;
    margin-bottom: 1rem;
}

footer p, footer a {
    font-family: Lato, sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: #373737;
    text-decoration: none;
}

.footer-left form {
    margin: 5vh 0;
}

.follow {
    height: 4vh;
    display: flex;
    align-items: center;
    cursor: pointer;
    width: fit-content;
    opacity: 1;
}

.follow img  {
    height: 100%;
    width: auto;
}

.follow:hover {
    opacity: 0.9;
}

.follow p {
    color: #B1B1B1;
    margin-left: 1vw;
    font-weight: 500;
}

.subscribe {
    height: 3.2rem;
    display: flex;
}

.subs-mail {
    padding: 0.8rem;
    height: 100%;
    width: 55%;
    border-radius: 0.5rem;
    border: 0.08rem solid #C1C1C1;
}

footer ::placeholder {
    font-family: Lato, sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: #C1C1C1;
    text-decoration: none;
}

.subscribe :focus {
    font-family: Lato, sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: #373737;
}

.subscribe input[type="submit"] {
    margin-left: 0.4rem;
    height: 100%;
    width: 30%;
    background-color: var(--yellow);
    color: #373737;
    font-size: 1.1rem;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    letter-spacing: 0.03rem;
    border-radius: 0.5rem;
    border: none;
    opacity: 1;
    transition: opacity 0.3s ease-out, letter-spacing 0.3s ease-out;
}

.subscribe input[type="submit"]:hover {
    opacity: 0.8;
    letter-spacing: 0.04rem;
    transition: opacity 0.3s ease-out, letter-spacing 0.3s ease-out;
}

.footer-right {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-links {
    width: 70%;
    display: flex;
    justify-content: space-between;
}

.footer-links li {
    margin-bottom: 0.2rem;
}

.footer-links li a:hover {
    color: purple;
}

.foot-btn {
    margin-top: 6vh;
    height: 3.5rem;
    width: 19rem;
    background-color: var(--yellow);
    color: #373737;
    font-size: 1.1rem;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    letter-spacing: 0.03rem;
    border-radius: 0.5rem;
    border: none;
    opacity: 1;
    transition: opacity 0.3s ease-out, letter-spacing 0.3s ease-out;
}

.arw-foot {
    margin-left: 0.5rem;
    width: 2rem;
    height: 0.8rem;
    transition: width 0.3s ease-out, margin-left 0.3s ease-out;
}

.foot-btn:hover {
    opacity: 0.8;
    letter-spacing: 0.04rem;
    transition: opacity 0.3s ease-out, letter-spacing 0.3s ease-out;
}

.foot-btn:hover .arw-foot {
    margin-left: 0.7rem;
    width: 2.2rem;
    transition: width 0.3s ease-out, margin-left 0.3s ease-out;
}

.footer-bottom {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    border-top: 0.08rem solid #C1C1C1;
    display: flex;
    justify-content: space-between;
    padding-top: 2vh;
    color: #C1C1C1;
}

.footer-bottom ul {
    display: flex;
    width: clamp(300px, 28%, 40vh);
    justify-content: space-between;
}

.footer-bottom p, .footer-bottom a {
    font-size: 1rem;
    color: #B1B1B1;
}

.remove {
    display: none;
    visibility: hidden;
}

/* ULTRAWIDE */
@media (min-aspect-ratio: 17/9) and (orientation: landscape) {
    
    footer {
        transform: translateY(-15vh);
        grid-template-columns: 45% 55%;
        grid-template-rows: 80% 20%;
        padding: 14vh 10% 0 10%;
    }

    .footer-left form {
        margin: 8vh 0;
    }

    .follow {
        height: 6vh;
    }

    .footer-links {
        width: 80%;
    }

}

/* SMALL WIDE */
@media (max-width: 1090px) and (min-aspect-ratio: 3.9/3) and (orientation: landscape) {

    footer {
        height: 80vh;
    }

    h5 {
        font-size: 1.6rem;
    }

    footer p, footer a, footer ::placeholder, .subscribe :focus, .subscribe input[type="submit"]  {
        font-size: 1.4rem;
    }

    .subs-mail {
        width: 65%;
    }

    .subscribe {
        height: 4.5rem;
    }

    .footer-links {
        width: 90%;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .foot-btn {
        margin-top: 4vh;
        height: 4.4rem;
        width: 24rem;
        font-size: 1.4rem;
    }

    .footer-bottom ul {
        width: 30vw;
    }

    .footer-bottom p, .footer-bottom a {
        font-size: 1.3rem;
    }
}

@media (orientation: portrait) {
    
    footer {
        width: 100vw;
        height: 80vh;
        margin: 0 auto;
        transform: translateY(-15vh);
        /* GRID PROPS */
        grid-template-columns: 100%;
        grid-template-rows: 38% 52% 7%;
    }

    .footer-left, .footer-right, .footer-bottom {
        grid-area: span 1 / span 1;
    }

    h5 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    footer p, footer a {
        font-size: 1.7rem;
    }

    .follow {
        height: 3vh;
    }

    .subscribe {
        width: 60vw;
        height: 5rem;
        display: flex;
        font-size: 2rem;
    }

    .footer-left form {
        margin: 5vh 0 2vh 0;
    }

    footer ::placeholder, .subscribe:focus {
        font-size: 1.7rem;
    }

    .subscribe input[type="submit"], .subs-mail {
        font-size: 1.7rem;
    }

    .footer-right {
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .footer-links {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .footer-links li {
        margin-bottom: 0.7rem;
    }

    .foot-btn {
        margin: 3vh 0;
        font-size: 1.7rem;
        height: 6rem;
        width: auto;
        padding: 0 5vw;
    }

    .arw-foot {
        margin-left: 1rem;
        width: 4rem;
        height: 1rem;
    }

    .footer-bottom ul {
        width: 44%;
    }

    .footer-bottom p, .footer-bottom a {
        font-size: 1.4rem;
    }
}

@media (max-aspect-ratio: 11/16) and (orientation: portrait) {
    
    footer {
        width: 100vw;
        height: 92vh;
        margin: 0 auto;
        transform: translateY(-15vh);
        /* GRID PROPS */
        grid-template-columns: 100%;
        grid-template-rows: 25% 60% 15%;
    }

    h5 {
        margin-bottom: 1.5rem;
    }

    footer p, footer a {
        font-size: 1.7rem;
    }

    .footer-left form {
        margin: 0;
    }

    .follow {
        align-self: flex-start;
        height: 2.5vh;
    }

    .subscribe {
        height: 5.2rem;
        align-self: center;
        padding: 0 10vw;
        width: 100vw;
    }

    .subs-mail {
        width: 60%;
    }

    .subscribe input[type="submit"] {
        width: 40%;
    }

    .footer-left form {
        margin: 2vh 0;
    }

    .subscribe input[type="submit"], .subs-mail {
        font-size: 1.7rem;
    }

    .footer-right {
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer-links {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 4fr;
    }

    .about-link {
        grid-area: span 1 / span 2;
        display: block;
        justify-self: center;
        margin: 2vh;
    }

    .footer-links li {
        justify-self: start;
        grid-area: span 1 / span 1;
        margin-bottom: 1rem;
    }

    .foot-btn {
        margin: 0 0 2vh 0;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 0vh;
    }

    .footer-bottom ul {
        width: 90%;
    }

    .footer-bottom p, .footer-bottom a {
        margin: 2vh 0;
        font-size: 1.5rem;
    }
}







