body{
    margin: 0 auto;
    max-width: 1440px;
    background:darkblue;
}
header {
    background-color:white;
    padding: 20px 40px;
}
main {
    background-color: white;
    
}
nav {
    display: flex;
    align-items: center;
}

.nav-links {
    margin-left: auto;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}
#hero{
    background-color: #3E3E4D;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 100px 0 160px 0;
}

.content-container-hero {
    width: 80%;
    margin: auto;
}
.hero-title{
    font-family: Poppins;
    font-size: 48px;
    font-style: normal;
    font-weight: 800;
    line-height: 64px;
}
.hero-text{
    color: white;
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: 0.03em;
    max-width: 500px;
}
.two-boxes{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color:#1D2C5F ;
    color:white;
    
}

.two-boxes--reversed {
    flex-direction: row-reverse;
    position: relative;
   
}

.two-boxes > * {
    width: 50%;
}
img{
    display: block;
    width: 100%;
}
h1{
    font-family: Poppins;
font-style: normal;
font-weight: normal;
font-size: 24px;
line-height: 36px;
letter-spacing: 0.03em;

/* #4D4B3E */

color: white
}
h2{
    font-weight: 800;
    font-style: normal;
    font-family: "poppins";
    font-size: 24px;
    line-height: 36px;
}

h3{
    font-family: Poppins;
    font-style: normal;
    font-weight: 800;
    font-size: 36px;
    line-height: 54px;
    color: #4D4B3E;
}

h4{
    font-family: Poppins;
    font-style: normal;
    font-weight: bold;
    font-size: 28px;
    line-height: 42px;
    color:white;
}

h5{
    font-family: Poppins;
    font-style: normal;
    font-weight: 800;
    font-size: 36px;
    line-height: 54px;
    color: #FFFFFF;
}
a{
    text-decoration: none;
    color: black;
}
.text-wspolpraca{
    width: 50%;
    flex-direction: row;
    padding: 80px;
}
.image-wspolpraca{
    width: 50%;
    display: flex;
    position: relative;
}
.text-flota{
    width: 50%;
    padding: 80px;
}
.image-flota{
    width: 50%;
    position: relative;
}
.text-ubezpieczenie {
    padding: 80px;
    width: 50%;
    flex-direction: row;
}
.image-ubezpieczenie{
    width: 50%;
    position: relative;
}
#text-greetings{
    padding: 80px;
    width: 50%;
    flex-direction: row;
}

.image-greetings{
    width: 50%;
    position: relative;
}   
.content-container {
    width: 80%;
    margin: 0 auto;
}
button{
    width: 30%;
}
.image-box{
    
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        font-family:Nunito;
        font-style: normal;
        font-weight: 700;
        font-size: 28px;
        line-height: 38px;
        background-image: url(image-bt.jpg);
        background-repeat: no-repeat;
        background-position: center;
        padding: 100px 0 200px 0;
}
#three-boxes{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.box-one{
    background: #3E3E4D;
    width: 50%;
    padding: 80px;
    color: #FFFFFF;
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px
}

.box-two{
    background: #3E3E4D;
    opacity: 0.9;
    width: 50%;
    padding: 80px;
    color: #FFFFFF;
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px
}

.box-three{
    background: #3E3E4D;
    opacity: 0.8;
    width: 50%;
    padding: 80px;
    color: #FFFFFF;
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
}
@media(max-width:900px) {
     
    body{
        margin: 0,auto;
        
    }
    main{
        margin:0, auto;
    }
    .nav-links{
        display: none;
    }
    nav{
        width: 150px;
    }
    header{
       height: 80px;
       width: 100%;
    }   
    .hero{
        background-position: right  -45% bottom 20px;
        background-size: 60%;
        padding: 20px;
        width: 100%;
    }
    .hero-text{
        margin-left: 0%;
        padding: 1px;
        font-size: 18px;
        line-height: 27px;
        margin-left: 2%;
        justify-content: center;
        width: 100%;
    }
    .hero-title{
    
      
      
        padding: 10px;
        margin-left: 0%;
        font-size: 36px;
        line-height: 44px;
        width: 100%;
       
    }
    #three-boxes{
        flex-direction: column;
    }
    .box-one{
        width: 100%;
        height: auto;
    }
    .box-two{
        width: 100%;
        height: auto;
    }
    .box-three{
        width: 100%;
        height: auto;
    }
    .box{
        width: 100%;
        height: auto;
    }
    .two-boxes{
        flex-direction: column-reverse;
    }
    .two-boxes--reversed{
        flex-direction: column-reverse;
    }
    .text-wspolpraca{
        width: 100%;
        height: auto;
        padding: 30px;
    }
    .image-wspolpraca{
        width: 100%;
        height: auto;
        position: relative;
    }
    .text-flota{
        width: 100%;
        height: auto;
        padding: 30px;
    }
    .image-flota{
        width: 100%;
        height: 100%;
        position: relative;
    }
    .text-ubezpieczenie{
        width: 100%;
        height: auto;
        padding: 30px;
    }
    .image-ubezpieczenie{
        width: 100%;
        height: auto;
        position: relative;
    }
    #text-greetings{
        width: 100%;
        height: auto;
        padding: 30px;
    }
    
    .image-greetings{
        width: 100%;
        height: auto;
        position: relative;
    }   
    .image-box{
        flex-direction: column;
        background-color:#EEEEE6;
        background-image: none;
        display: none;
    }
    .content-container{
        width: 100%;
        height: auto;
        justify-content: center;
        padding: 50px;
    }
    .image-text{
        width: 100% auto;
        height: auto;
        justify-content: center;}
        img{
            width: 100%;
        }
}
