*{
    margin: 0px;
    font-family: arial, sans-serif;        
}
html{
    background-color: #FAFAFA;
}


#header{
    position:sticky;
    top: 0;
    background-color: #112233;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#header>h1{
    color: aliceblue;
}
#header>nav{
    display:flex;
    justify-content: flex-end;
}
#header>nav>a{
    color: aliceblue;
    text-decoration: none;
    padding: 10px;
    font-weight: bold;
}
#header>nav>a:hover{
    color: #C0C0CA;
}

@media(max-width: 620px){
    #header{
        flex-direction: column;
    }
    #header>h1{
        text-align: center;
    }
    #header>nav{
        justify-content: space-evenly;
    }
}

#hero{
    display: flex;
    justify-content: center;
}
#hero>img{
    width: 80%;
}

#oferta{
    text-align: center;
    background-color: #F0F0FA;
    padding: 20px 0px;
}
#oferta-container{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    flex-direction: row;
}
#oferta-container>div{
    width: auto;
    margin:20px;
    background-color: #FFFFFF;
    border-radius: 5px;
    padding: 15px 10px;
    box-shadow: #e2e2f0 0px 0px 10px 5px;
}

#oferta-container>div:hover{
    margin: 15px 15px;
    padding: 15px;
    box-shadow: #e2e2f0 0px 0px 15px 10px;
}
#oferta-container>div>img{
    width: 100%
}
@media (max-width: 1000px) {
    #hero>img{
        width:100%;
    }
  #oferta-container {
    flex-direction: column;
  }
  #oferta-container>div{
    width: auto;
    margin-top: 20px;
    padding: 20px 15px;
  }
  #oferta-container>div>img{
    width: 80%;
  }
  #oferta-container>div:hover{
    width: auto;
    margin: 20px;
    padding: 20px 15px;
    box-shadow: #e2e2f0 0px 0px 10px 5px;
}
}

#kontakt{
    text-align: center;
    padding: 20px 0px;
}
#kontakt>div{
    padding: 20px 0px;
    display: flex;
    justify-content: center;
}
form{
    display: grid;
    grid-template-columns: auto;
}
input, textarea{
    font-size: medium;
    padding: 5px 10px;
    min-width: 400px;
    max-width: 80dvw;
    margin: 5px 0px;
}
textarea{
    resize: vertical;
}
button{
    color: #C0C0CA;
    background-color: #112233;
    font-weight: bold;
    border: none;
    padding: 12px 0px;
    margin: 5px 0px;
}
button:hover{
    color: aliceblue;
}

#footer{
    color: aliceblue;
    background-color: #112233;
    display: flex;
    justify-content: space-evenly;
    font-size: small;
}
#footer>div{
    display: flex;
    flex-direction: column;
}
@media(max-width: 620px){
    #footer{
        flex-direction: column-reverse;
    }
    #footer>div{
        flex-direction: row;
        justify-content: space-evenly;
    }

}

/*responsywnosc telefony*/
@media(max-width: 500px){
    html{
        font-size: 70%;
    }
    #header>nav>a{
        text-align: center;
    }
    input, textarea{
        max-width: 80dvw;
        min-width: 80dvw;
    }
    #footer{
        font-size: 80%;
    }
}

