@import "base.css";

#footer {
    width: 100%;
    height: 40vw;
    background-color: gray;
}

#footer.hide {
    display: none;
}

#footer .links {
    width: 100%;
    height: 60%;
    display: flex;
}

#footer .links .logo {
    width: 35%;
}

#footer .links .contact {
    width: 35%;
    padding: 3%;
    height: 100%;
}

#footer .links .navigation {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

#footer .links .logo .container {
    width: 100%;
    height: 50%;
    margin-top: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer .links .logo .container .icon {
    width: 60%;
    height: 100%;
    background: url("../images/logo.webp") no-repeat center;
    background-size: 100%;
}

#footer .links .contact h2 {
    color: var(--bg);
    font-size: 3vw;
}

#footer .links .contact .details {
    margin-top: 5%;
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

#footer .links .contact .details a {
    margin: 0;
    color: white;
    font-size: 1.5vw;
    font-weight: 200;
    text-decoration: none;
}

#footer .links .navigation .container {
    width: 50%;

    height: 90%;

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

#footer .links .navigation .container a {
    text-decoration: none;
    color: var(--bg);
    font-size: 2vw;
}

#footer .sign-up {
    width: 100%;
    height: 45%;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: var(--main);
}

#footer .sign-up .container {
    width: 50%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

#footer .sign-up .container hr {
    width: 10%;
    color: var(--bg);
}

#footer .sign-up .container h2 {
    font-size: 2.4vw;
    color: var(--bg);
}

#footer .sign-up .container .input {
    display: flex;
    flex-direction: row;
    width: 50%;
    height: 25%;
}

#footer .sign-up .container .input input {
    border: 1px solid var(--bg);
    width: 70%;
    height: 100%;
    background: none;
    padding-left: 0.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

#footer .sign-up .container .input input::placeholder {
    color: var(--bg);
    font-size: 1.5vw;
}

#footer .sign-up .container .input a {
    border: none;
    width: 30%;
    font-size: 1.2vw;
    font-weight: 600;
    color: var(--main);
}

@media screen and (max-width: 900px) {
    #footer {
        height: 55vw;
    }
    #footer .links {
        height: 50%;
    }
    #footer .sign-up {
        height: 50%;
    }

    #footer .links .logo {
        display: none;
    }

    #footer .links .contact,
    #footer .links .navigation {
        width: 50%;
        padding-left: 10%;
    }

    #footer .links .contact h2 {
        display: none;
    }

    #footer .links .contact .details {
        height: 95%;
        justify-content: space-between;
    }

    #footer .links .contact .details a {
        font-size: 2.7vw;
        font-weight: 300;
        text-decoration: none;
        color: white;
    }

    #footer .links .navigation .container a {
        font-size: 2.5vw;
    }

    #footer .sign-up .container {
        width: 100%;
        height: 90%;
    }
    #footer .sign-up .container h2 {
        font-size: 3.5vw;
    }

    #footer .sign-up .container .input {
        display: flex;
        flex-direction: row;
        width: 55%;
        height: 30%;
    }

    #footer .sign-up .container .input input::placeholder {
        font-size: 3vw;
        padding-left: 2vw;
    }

    #footer .sign-up .container .input a {
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        width: 30%;
        font-size: 2.5vw;
        font-weight: 600;
        color: var(--main);
        background: var(--bg);
    }
}
