/* Global */
:root {
    --green: #00674B;
    --white: #f8f8f8;
    --black: #272727;
}

html {
    /* border-box box model allows us to add padding and border to our elements without increasing their size */
    box-sizing: border-box;
}

* {
    box-sizing: inherit;
}


/* BODY */
body {
    letter-spacing: -1px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

/* HEADER */
header {
    background-color: var(--green);
    height: 100px;
    padding-top: 20px;
}

header .container {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

header a {
    text-decoration: none;
    color: var(--white);
    font-size: 40px;
    font-weight: 600;
}

/* LOGIN SECTION */
main {
    height: 548px;
}

.login {
    background: var(--green);
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, .3);
    box-sizing: border-box;
    height: 58px;
    left: 50%;
    position: absolute;
    top: 25%;
    transform: translate(-50%, -50%);
    width: 300px;
}

.login h2 {
    color: var(--white);
    font-size: 30px;
    margin: 0 0 30px;
    padding: 3px;
    text-align: center;
}

.login .user-input {
    position: relative;
}

.login .user-input input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--green);
    color: var(--green);
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 30px;
    outline: none;
    padding: 10px 0;
    width: 100%;
}

.login .user-input label {
    color: var(--green);
    font-size: 18px;
    left: 0;
    padding: 1px 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transition: .5s;
}

.login .user-input input:focus~label,
.login .user-input input:valid~label {
    color: #003300;
    font-size: 12px;
    left: 0;
    top: -18px;
}

.login .user-input input[type="submit"] {
    border: none;
}

a.butt-on {
    background-color: var(--green);
    color: var(--white);
    align-content: center;
    border-radius: 10px;
    font-size: 25px;
    font-weight: bold;
    padding: 15px 120px;
    text-decoration: none;
    width: 100px;
}

@media only screen and (min-width: 768px) {
    main {
        height: 631px;
    }

    .login {
        background: var(--green);
        border-radius: 10px;
        box-shadow: 0 8px 15px rgba(0, 0, 0, .3);
        left: 50%;
        position: absolute;
        top: 30%;
        transform: translate(-50%, -50%);
        width: 400px;
    }

    a.butt-on {
        padding: 15px 165px;        
    }
}

@media only screen and (min-width: 1000px) {
    main {
        height: 975px;
    }
}

@media only screen and (min-width: 1440px) {
    main {
        height: 520px;
    }
}

/* FOOTER */

footer {
    background-color: var(--green);
    color: var(--white);
}

footer .container {
    padding: 40px;
}

.address {
    font-size: 1rem;
    letter-spacing: 1px;
    list-style: none;
    line-height: 30px;
}

ul .copyright {
    font-size: 17px;
    font-weight: bold;
    text-transform: uppercase;
}

@media only screen and (min-width: 768px) {
    footer .more-info {
        padding-left: 200px;
    }
}

@media only screen and (min-width: 1000px) {
    footer .more-info {
        padding-left: 300px;
    }
}

@media only screen and (min-width: 1440px) {
    footer .more-info {
        padding-left: 520px;
    }
}