/*******************************************************************************
************************************FOOTER**************************************
*******************************************************************************/

footer {
    display: grid;
    grid-template-columns: 10% 1fr 1fr 1fr 10%;
    grid-template-rows: 160px 40px;
    //grid-gap: 100px 40px;
    //height: 240px;
    //background-color: #000000;
    background-color: #282e34;
    color: #ffffff;
    font-size: 22px;
    font-family: 'Oswald', sans-serif;
    padding-top: 30px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer>div>.button {
    //position: relative;
    display: inline-block;
    padding: 10px 20px;
    //margin: 10px 0 0 0;
    border-radius: 100px;
    font-size: .9em;
    font-weight: 600;
    //color: #FFFFFF;
    background-color: #003580;
    color: #ffffff;
    //border: 2px solid #f09b00;
    cursor: pointer;
    transition: background-color .25s, color .25s;
    text-decoration: none;
    text-align: center;
    max-width: 200px;
    width: 100%;
}

footer>div>.button:hover {
    //color: #000000;
    background-color: #0071c2;
    width: 100%;
}


/*
  footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 100px 30px;
    //width: 100%;
    padding: 50px 20% 50px 20%;
    margin: 0 0 0 0;
    background-color: #000000;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    //font-family: 'Montserrat', sans-serif;
  }
  */

footer .logo-invert {
    align-self: center;
    justify-self: center;
    position: relative;
    max-width: 250px;
    width: 100%;
}


/*
  footer div:nth-child(1) {
    position: relative;
  }
*/

footer .logotype {
    display: inline-block;
    align-self: center;
    justify-self: center;
    position: relative;
    //max-width: 250px;
    width: 100%;
    text-align: center;
    font-size: 27px;
    letter-spacing: 8px;
    text-transform: uppercase;
    background-color: #ddd;
    color: #111;
    padding: 20px 20px;
    box-sizing: border-box;
    font-family: 'Courgette', cursive;
    text-transform: none;
}

footer div:nth-child(1) {
    grid-column: 2;
    align-self: center;
    justify-self: center;
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
}

footer div:nth-child(2) {
    grid-column: 3;
    align-self: center;
    justify-self: center;
    text-align: left;
    line-height: 35px;
    text-decoration: none;
    //text-transform: uppercase;
    height: 100%;
}

footer div:nth-child(3) {
    grid-column: 4;
    //align-self: center;
    justify-self: center;
    //width: 100%;
    text-align: left;
}

footer .copyright {
    //grid-row: 2;
    grid-column: 1 / -1;
    //align-self: stretch;
    //justify-self: none;
    background: #0099df;
    //height: 30px;
    text-align: center;
    font-size: 17px;
    line-height: 40px;
}

footer .copyright a {
    //color: #ff6600;
    //color: #ff7f2a;
    color: #000000;
    text-decoration: none;
}

footer .copyright img {
    align-self: center;
    justify-self: center;
    height: 200px;
}

@media screen and (max-width: 676px) {
    footer {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-row-gap: 30px;
        padding: 30px 0 0 0;
    }
    footer .logo-invert {
        max-width: 200px;
    }
    footer .logotype {
        max-width: 200px;
    }
    footer div:nth-child(1) {
        grid-column: 1;
    }
    footer div:nth-child(2) {
        grid-column: 1;
        text-align: center;
    }
    footer div:nth-child(3) {
        grid-column: 1;
    }
}