body {
    background-color: #d3e5f1;
}

.navbar {
    display:none;
    background-color: #2d4059;
    margin: 10px;
}

.nav-link {
    font-size: 18px;
    color: white;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content:space-around;
    background-color: #2d4059;
    margin: 10px;
}

.menuitem {
    color:white;
    padding:30px;
    text-transform: uppercase;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
}

.menuitem:hover {
    color: rgb(229, 212, 188); 
}

.logo {
    margin-left: 100px;
    width: 100px;
}


.firstpart {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content:space-evenly;
    background-image: url(bg7.jpg);
    background-repeat: no-repeat;
    background-position:center;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin: 10px;
    
}
        
.picture1 {
    width: 600px;
    }

.logoandtext{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content:space-evenly;
    align-items:center;
    width: 700px;
    }

.textfirstpart {
    font-size:29px;
    color:#31343a;
    text-align:justify;
    line-height: 36px;
    font-weight: 600;
    font-family: Roboto, sans-serif;
    }

.logo2{
    width: 270px;
    text-align: center;
    }

.secondpart {
    display: flex;
    flex-wrap: wrap;
    justify-content:space-evenly;
    flex-direction: row-reverse;
    background-image: url(bg7.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin: 10px;
    }

.textsecondpart{
    font-size:29px;
    color:#31343a;
    text-align:justify;
    line-height: 36px;
    font-weight: 600;
    font-family: Roboto,sans-serif;
    }

.picture2 {
    width: 600px;
}


.thirdpart {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content:space-evenly;
    background-image: url(bg7.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin: 10px;
}


.textthirdpart{
    font-size:28px;
    color:#1b1c1e;
    text-align:left;
    padding-top: 10px;
    line-height: 38px;
    font-weight: 600;
    font-family: Roboto,sans-serif;
}

.contacts {
    display: flex;
    flex-wrap: wrap;
    padding-top: 5px;
    padding-bottom: 30px;
    justify-content:space-around;
    flex-direction: row;
    }

.contacts1 {
    padding-left: 40px;
    padding-right: 40px;
    }

.btn {
    padding: 10px;
    padding-left: 80px;
    padding-right: 80px;
    font-size: 20px;
    font-family: Roboto, sans-serif;
    border-radius: 5px;    
    font-weight: 600;
    margin-bottom: 100px;
    background-color:  rgb(235, 215, 187);
    }

.btn:hover {
    background-color:rgb(232, 203, 162);
    }

iframe {
    margin-top:70px;
    }
    
    .footer {
        padding: 10px;
        background-color: rgb(187, 187, 187);
        margin-left:10px;
        margin-right: 10px;
        margin-bottom: 10px;
    }


@media all and (max-width:1200px) {

    .firstpart{
        flex-direction: column;
        align-items: center;
        background-attachment: scroll;
    }
  
    .secondpart {
        flex-direction: column;
        align-items: center;
        background-attachment:scroll;
    }

    .thirdpart {
        flex-direction: column;
        align-items: center; 
        background-attachment: scroll;
        
    }
  
    .picture1 {
        width: 350px;
        margin: 0;
    }

    .picture2 {
        width: 350px;
        margin: 0;
    }

    .logo2{
        width: 200px;
    }

    .menuitem {
        font-size: 18px;
        }
        
    .logo {
        margin-left: 10px;
        width: 90px;
        height: 80px;
    }
    
    .logoandtext {
        width: 600px;
    }
    
    
    .textfirstpart{
        font-size:26px;
        text-align:justify;
        margin-top: 0px;
        line-height: 32px;
    } 

    .textsecondpart{
        font-size:26px;
        color:#1b1c1e;
        text-align:justify;
        margin-top:5px;
        margin-bottom: 5px;
        line-height: 32px;
    } 
  
    iframe {
        width: 500px;
        height:450px;
        margin-top:2px;
    }

    .contacts {
        margin-top:15px;
    }
    
}

@media all and (max-width:800px) {
    .navbar {
        display:block;
        }

        .menu {
            display: none;
        }
        
        .but {
        color:aliceblue;
        }

        .logo {
        width: 90px;
        height: 80px;
        }

    }

@media all and (max-width:500px) {

   
        .navbar {
        display:block;
        }

        .menu {
            display: none;
        }
        
        .but {
        color:aliceblue;
        }

        .logo {
        width: 90px;
        height: 80px;
        }

        .firstpart {
        margin: 10px;
        }
       
        .secondpart {
            margin: 10px;
            }

            .thirdpart {
                margin: 10px;
                }
                .picture1 {
                    width: 200px;
                    margin: 0;
                    }
                
                    .picture2 {
                    width: 200px;
                    margin: 0;
                    }
                
                    
                
                    .logo2{
                        width: 170px;
                    }
                    
                    .logoandtext{
                    width:320px;
                    }
                
                
                    .textfirstpart{
                    font-size:21px;
                    margin-top: 0px;
                    line-height: 24px;
                    } 
                
                
                    .textsecondpart{
                    font-size:21px;
                    margin-top:5px;
                    margin-bottom: 5px;
                    line-height: 24px;
                    }
                
                    .textthirdpart {
                    font-size: 22px;
                    line-height: 25px;
                    }
                  
                
                    iframe {
                    width:100%;
                    height:370px;
                    }
                
                    .contacts1 {
                    padding-left: 10px;
                    padding-right: 10px;
                    }
}   

@media all and (max-width:350px) {
    .logoandtext{
        width:260px;
        }

}

@media all and (max-width:280px) {
    .logoandtext{
        width:230px;
        }

}

