:root{
    --gray: #4c4c4c;
    --light-gray: #ddd;
    --red: #f00;
}
html{
    font-size: 62.5%;
}
body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 1.6rem;
    
}
header nav{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
    padding-top: .75rem;
}
nav .logo1 img{
    height: 10rem;
    width: auto;
}
nav .logo2 img{
    height: 15rem;
    width: auto;
}
.banner{
    text-align: center;
    background: var(--gray);
    padding: .5rem;
}
.container{
    width: 82.5%;
    margin: 0.25rem auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}
figure img{
    height: 17.5rem;
    width: auto;
}
figcaption{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
figcaption img{
    height: 2.5rem;
}
footer{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    border-top: .2rem solid var(--gray);
    position:sticky;
    bottom: 0;
    left: 0;
}
footer h4{
    padding-bottom: .5rem;
}
footer ul{
    display: flex;
    flex-direction: row;
    list-style: none;
}
footer ul li{
    padding: 0.25rem 1rem;
}
footer ul li a img{
    height: 2.5rem;
    width: auto;
}

@media(max-width:567px){
    header nav{
        padding: 0 .25rem;
        justify-content: center;
        align-items: center;
    }
    .banner{
        text-align: center;
    }
    .container{
        flex-direction: column;
        width: 80%;
    }
    footer{
        flex-direction: column;
        position: relative;
    }
}