html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    background-color: #F7F6F2 ; 
}
.content {
    flex: 1 0 auto;
}
.top{
    display: flex;
    justify-content:space-between;
    background-color:#C8C6C6;
}

.logo{
    align-self:center;
    margin-left: 20px;
}

.header-text{
    display: flex;
    justify-content: center;
}

.headline{
    font-size: 21px;
    color:#0B5C9B;
    font-family: 'Oswald', sans-serif;
    list-style: none;
    text-align: center;
}

.bold{
    font-weight: bold;
    text-transform:uppercase;
    font-size: 19px;
}

.header-contacts{
    margin-right: 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    color:#0B5C9B;
    text-align: center;
}

.mail{
    text-decoration: none;
    color:#0B5C9B;
    cursor:grab;
}

.mail:hover{
    color: white;
}

.nav{
    display: flex;
    justify-content: flex-end;
    background-color: #4B6587;
    flex-wrap: wrap;
}

.menu-item{
    color: white;
    padding: 20px;
    margin-left:50px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 23px;
}

a {            
    text-decoration: none;
}

.main-image-text{
    display: flex;
    
}

.maintext{
    display: flex;
    flex-direction: column;
    align-self: center;
    margin-left: 70px;
    margin-right: 70px;
}

h2{
    font-family: 'Oswald', sans-serif;
    font-size: 25px;
    color: #0B5C9B;
}
.change:hover{
color:grey;
}

.company{
    font-size: 20px;
    font-family: 'Oswald', sans-serif;
    color: #4B6587;
    letter-spacing: 0.4px;
}

.colour{
    color: #0B5C9B;
}

.heading{
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    color: #0B5C9B;
    font-size:25px;
    margin-left: 40px;
}

.margin{
    margin-left: 20px;
}

.list{
    font-family: 'Oswald', sans-serif;
    font-size: 21px;
    letter-spacing: 0.3px;
    padding: 15px;
    color: #4B6587;
}
.line-dotted{
    border-bottom: grey 1px dotted;
}
.partners-logo{
    display: flex;
    /* justify-content:space-between; */
    padding: 20px;
    margin-left: 10px;
    flex-wrap: wrap;
}

.partner{
    border: #07689f 1px dotted;
    border-radius: 20px;
    padding: 30px;
}
.footer{
    flex-shrink: 0;
}
.footer-line{
    display: flex;
    justify-content:space-between;
    background-color:#C8C6C6;
    padding: 10px;
    margin-top: 60px;
}

.footertext{
    font-size: 15px;
    color:#0B5C9B;
    font-family: 'Oswald', sans-serif;
}

/* ABOUT US */

.nav2{
    display: flex;
    justify-content: flex-end;
}

.menu-item2{
    color:#0B5C9B;
    padding: 8px;
    margin-left:30px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
}
.center{
    text-align: center;
}

.group{
    display: flex;
    justify-content: center;
    }

.card{
    width: 250px;
    height: 320px;
    border: grey 1px solid;
    border-radius: 20px;
    padding: 25px;
    margin: 0 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.front{
    width: 250px;
    text-align: center;
}

.htext{
    font-size: 23px;
    font-family: 'Oswald', sans-serif;
    color:#0B5C9B;
}
.htext:hover{
    color: #C8C6C6;
}

a {            
    text-decoration: none;
}

.person{ 
    width: 200px; 
    height: 220px;  
    object-fit: cover;
}
.zoom{
    cursor: zoom-in;
}

/* SERVICES */
#myvideo{
    width: 100%;
    height:500px;
    object-fit: cover;
}

.serv{
    display: flex;
    justify-content: space-between;
    line-height: 40px;
}

.site{
    height: 300px;
    filter: opacity(80%);
    align-self: center;
    margin-right: 60px;
}

/* DOCUMENTS */
.documents{
    display: flex;
}
.company2{
    font-size: 20px;
    font-family: 'Oswald', sans-serif;
    color: #4B6587;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.company3{
    font-size:17px;
    font-family: 'Oswald', sans-serif;
    color: #4B6587;
}

/* INFORMATION */

.information-heading{
    display: flex;
    margin-left: 10px;
    margin-right: 10px;
}
.dline{
    line-height: 40px;
}
/* CONTACTS */

.contacts{
    display: flex;
    justify-content: center;
}
.numbers{
    align-self: center;
    margin-left: 100px;
    }

.mail2{
    text-decoration: none;
    color:#4B6587;
    cursor:grab;
}

.mail2:hover{
    color: grey;
}

h1{
    font-family: 'Oswald', sans-serif;
    font-size: 30px;
    color: #4B6587;
}

/* BIOGRAPHY */

.back{
    display: flex;
    justify-content: flex-end;
    margin-right: 30px;  
}
button{
    padding: 10px; 
    border: none;
    background-color: #4B6587;
}
.button-text{
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    color: white;
    text-transform: uppercase;
}
button:hover{
    background-color: #C8C6C6;
    color:#0B5C9B;
}
.button-text2{
    padding: 10px;
    margin-left: 20px;
    margin-right: 20px; 
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    color: white;
}
.button2{
    padding:10px;
    border: none;
    border-radius: 30px;
    background-color: #4B6587  
}
.margin2{
margin-left: 20px;
margin-right: 20px;
}
.justify{
    text-align: justify;
}
.heading-biography{
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    color: #0B5C9B;
    font-size:28px;
}
.heading2-biography{
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    color: #4B6587;
    font-size:20px;
}
.text-biography{
    margin-left: 30px;
    margin-right: 30px;
    border: #07689f 1px solid;
    border-radius: 20px;
    
}
.without-point{
    list-style: none;
    margin-top: 10px;
}
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

@media screen and (max-width: 1024px) {
    .image-main-page{
        width: 100%;
        height: 400px;
    } 
    .main-image-text{
    flex-direction: column;
    }
    .maintext{
        max-width: 950px;
        margin-left: 20px;
        margin-right: 20px;
    }
    .menu-item{
        margin-left:5px;
    }
    .margin{
        margin-left: 10px;
    }
    .partners-logo{
        flex-direction: column;
    }   
    .serv{
        margin-right: 15px;
        line-height: 30px;
    } 
    .site{
        margin-left: 40px;
    }
    .partner{
        margin-bottom: 20px;
        max-width: 250px;
    }
    .card{
        padding: 15px;
    }
    .contacts{
        flex-direction: column;
        margin: 35px;
    }
    .map{
        width: 100%;
    }
    .numbers{
        margin: auto; 
        text-align: center;
    } 

}
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

@media all and (max-width:900px){


    .logo-image{
        width: 120px;
    }
    .headline{
        font-size: 18px;
    }
    .bold{
        font-size: 16px;
    }
    .header-contacts{
        font-size: 17px;
    } 
    .menu-item{
        margin-left:3px;
        font-size: 19px;
    }
    .image-main-page{
        height: 350px;
    } 
    
    .partners-logo{
        display: block;
    }
    .card{
        width: 200px;
        height: 270px;
        padding: 15px;
        margin: 0 10px 10px;
    }
    .front{
        width: 200px;
    }
    .person{ 
        width: 170px; 
        height: 190px;  
    }
    .htext{
        font-size: 20px;
    }
    h1{
        font-size: 28px;
    }
    #myvideo{
        width: 100%;
        height:350px;
        object-fit: cover;
    }
    .site{
        width: 300px;
        height: 200px;
    }
    .documents{
        margin-top: 30px;
    }
    .contacts{
        margin: 20px;
    }
    }
    /* +++++++++++++++++++++++++++++++++++++++++++++++++++++ */

    @media all and (max-width:540px){
    .logo-image{
        width: 100px;
    }
    .headline{
        display: none !important;
    }
    .header-contacts{
        font-size: 14px;
    } 
    h2{
        font-size: 19px;
    }
    .nav{
        flex-direction: column;
    }
    .menu-item{
        font-size: 15px;
        padding: 5px;
        text-align: end;
        margin-right: 15px;
    }
    .image-main-page{
        height: auto;
    } 
    .button-text{
        font-size: 15px;
    }
    .button-text2{
        font-size: 15px;
        
    }
    .button2{
        padding:7px;  
    }
    .maintext{
        margin-left: 10px;
        margin-right:10px;
    }
    .margin{
        margin-left: auto;
    }
    .partners-logo{
        margin-left: auto;}
        
    .heading{
        font-size: 18px;
        margin-left: 20px;
    }
    .serv{
        flex-wrap: wrap;
        margin-right: 10px;
        line-height: 20px;
    } 
    .company{
        font-size: 14px;
    }
    .company2{
        font-size: 13px;
    }
    .company3{
        font-size: 12px;
    }
    .list{
        font-size: 15px;
        padding: 5px;
    }
    .partner{
        max-width: 120px;
    }
    .logo-image-partner{
        width: 120px;
    }
    .footertext{
        font-size: 10px;
    }
    .menu-item2{
        font-size: 10px;
        margin: 0;    
    }
    .group{
        flex-wrap: wrap;
    }
    h1{
        font-size: 23px;
    }
    #myvideo{
        height:250px;
    }
    .htext{
        font-size: 16px;
    }
    .site{
        margin:auto;
    }
    .contacts{
        margin: 5px; 
    }
    .heading-biography {
        font-size: 20px;
    }
    .dline{
        line-height: 20px;
    }
    .margin2{
        margin-left: 5px;
        margin-right: 10px;
    }
    .heading2-biography{
        font-size:16px;
        }
    .text-biography{
        margin-left: 10px;
        margin-right: 10px;
        }
    
}
    /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
    @media all and (max-width:414px){
    .map{
        height: 280px;
    }
    .footertext{
        font-size: 8px; 
    }
    .htext{
        font-size: 15px;
    }
    .button-text{
        font-size: 13px;
    }
    .margin{
        margin-left: -10px;
    }
    .menu-item2{
        padding: 6px;
    }
    h1{
        font-size: 20px;
    }
}
 /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
 @media all and (max-width:380px){
    .menu-item2{
        padding: 4px;
    }
}
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

    @media all and (max-width: 280px) {
        .logo-image{
            width: 70px;
        }
        .header-contacts{
            font-size: 10px;
        } 
        h2{
            font-size: 14px;
        }
        .nav{
            flex-direction: column;
        }
        .menu-item{
            font-size: 12px;
            padding: 3px;
            margin-right: 5px;
        }
        .heading{
            font-size: 14px;
            margin-left: 10px;
        }
        .company{
            font-size: 12px;
        }
        .company2{
            font-size: 10px;
        }
        .company3{
            font-size: 9px;
        }
        .list{
            font-size: 12px;
            padding: 4px;
        }
        .menu-item2{
            font-size: 7px;
        }
        #myvideo{
            height:200px;
        }
        .site{
            width: 180px;
            height: 120px;
        }
        .footertext{
            font-size: 6px;
        }
}