@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;500;700&display=swap');
*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

footer a:link, footer a:active, footer a:visited{
    color:#fff;
    text-decoration: none;
}

body{
    font-family: 'Quicksand', sans-serif;
    color:#00345D;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header{
    display: flex;
    align-items: center;
    height: 80px;
    padding:16px 32px;
}
header > a {
    height: 100%;
}
header > a > img{
    height: 100%;
}

.banner{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 24px 48px;
    background-color: transparent;
    background-image: linear-gradient(310deg, #00a4fc 0%, #00345d 50%);
    /*opacity: 0.55;*/
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

.banner > img{
    height: 450px;
}

.text{
    color:#fff;
}

.text h1{
    font-size: 65px;
}

.text span{
    font-size: 40px;
}

.contacts{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 80px;
}
.address-list{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.address{
    padding:24px;
}

.address > h3{
    padding:10px 0;
}
.address > h2{
    padding:10px 0;
}
.address > span{
    display: block;
    padding:5px 0;
}

footer{
    background: #323437;
    padding:20px;
    color:#fff;
    margin-top: auto;
}

@media(max-width: 1450px){
    .address-list{
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 1150px){
    .map > img{
        max-width: 350px;
    }

    .banner > img{
        height: 350px;
    }

    .text h1{
        font-size: 50px;
    }
    
    .text span{
        font-size: 30px;
    }
}

@media(max-width: 991px){
    .map > img{
        max-width: 250px;
    }
}

@media(max-width: 890px){
    .map > img{
        max-width: 100%;
    }
    .contacts{
        display: flex;
        flex-direction: column;
    }
}

@media(max-width: 890px){
    .banner > img{
        display: none;
    }

    .text h1{
        font-size: 35px;
    }
    
    .text span{
        font-size: 22px;
    }
}

@media(max-width: 540px){
    .map > img{
        display: none;
    }
    .address-list{
        display: flex;
        flex-direction: column;        
    }
    .address{
        padding:12px;
    }
    .address:not(:last-child){
        border-bottom:1px solid #ccc;
    }
    .contacts{
        padding:12px;
    }
}

@media(max-width: 360px){
    header > a > img{
        width: 100%;
        height: auto;
    }
}