* {
    margin: 0;
    padding: 0;
    border:0;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    font-stretch: 100%;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/opensans/v35/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVI.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
body {
    background-color: #333;
    background-attachment: fixed;
    font-family: 'Open Sans', sans-serif;
    color: #fff;
}
a {
    color: lightskyblue;
}
#adres p{
    text-align: center;
}
#adres{
    margin-top: 20px;
}
#mapa {
    margin-top: 20px;
    margin-bottom: 70px;
}
#mapa iframe {
    display: block;
    margin: 0 auto;
}
.content{
    display: block;
}
#about {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    width: 100%;
    max-width: 1140px;
    height: 80vh;
    background-image: url(autokar.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px;
}
#about h1 {
    position: absolute;
    top: 100px;
    display: block;
    margin: 0 auto;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color:#d6de23;
}
#about a {
    position: absolute;
    bottom: 50px;
    display: block;
    margin: 0 auto;
    text-align: center;
    padding: 10px;
    width: 100px;
    background-color: blue;
    color: white;
    font-size: 20px;
    text-decoration: none;
    border: solid 2px blue;
}
#about a:hover {
    border: solid 2px white;
}
h2 {
    margin-top: 20px;
}
#akapit1, #akapit2, #kontakt {
    margin-top: 70px;
    margin-bottom: 30px;
}
.all-width {
    display: block;
    position: fixed;
    top: 0;
    background-color: #333;
    z-index: 10;
    width: 100%;
    height: 70px;
}
header{
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    background-color: #333;
    z-index: 20;
    width: 100%;
    max-width: 1140px;
}
header img.logo {
        margin: 0 auto;
}
nav ul{
    list-style: none;
    overflow: auto;
    padding: 0px;
}
nav ul li{    
    float: right;
    height: 70px;
    /* min-width: 70px; */
    /* margin: 0 10px; */
    /* width: 10vw; */
    margin-left: 20px;
}
nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
    display: table;
    height: 100%;
    width: 100%;
}
nav ul li a:hover{
    text-decoration: underline;
    /* font-size: 22px; */
}
nav ul li a span{
    display: table-cell;
    vertical-align: middle;
    width: auto;
    text-transform: uppercase;
}
div.container{
    max-width: 1140px;
    margin: auto;
    padding: 0 15px;
}
#oferta p {
    font-weight: bold;
    text-decoration: underline;
    margin-top: 20px;
}
#oferta ul {
    padding-left: 20px;
}
.formField{
    font: inherit; 
    border: 1px solid #ccc; 
    border-radius: 3px; 
    margin: 3px 0 10px 0; 
    width: 100%;
    background-color: #333;
    padding: 3px 10px;
    color: white;
}
#zgoda {
    margin: 3px 0 10px 0; 
    line-height: normal;
}
textarea.formField{     
    height: 100px;
}
#sendBtn{
    cursor:pointer;
    background: #ccc;
    border: 1px solid #ccc; 
    line-height: 48px; 
    font-size: 18px;
    padding: 0 25px; 
    border-radius: 3px;    
}
#send_form_status{
    border: 1px dashed #ccc;
    display: none; 
    padding: 0 10px; 
    margin: 10px auto;
    font-size: 30 px;
}
.status_ok{
    color: #0f0
}
.status_err {
    color: #F00
}
h2.errorName {
    margin: 50px;
    color: red;
    text-align: center;
    font-size: 50px;
}
#contact {
    display: flex;
    justify-content: space-between;
    max-width: 730px;
    margin: 0 auto 20px auto;
}
#contact div{
    text-align: center;
}
#contact img {
    width: 50%;
    height: auto;
    opacity: 70%;
}
#contact img:hover{
    opacity: 100%;
}
#contact a{
    text-decoration: none;
    color: #fff;
}
#rodo {
    font-style: italic;
    font-size: 14px;
}
#karuzelka {
    width: 1140px;
    height: 606px;
    margin: 10px auto;
    position: relative;
    background: url("autokar.webp");
    background-size: cover;
    background-position: center;
}
#karuimg {
    width: 100%;
    height: 100%;
}
 #prawo {
    position: absolute;
    right: 10px;
    width: 30px;
    height: 30px;
    top: 50%;
    margin-top: -15px;
}
#lewo {
    position: absolute;
    left: 10px;
    width: 30px;
    height: 30px;
    top: 50%;
    margin-top: -15px;
}
#prawo img, #lewo img {
    width: 30px;
    height: 30px;
}
#oferta {
    padding-right: 15px;
}
#toGallery{
    display: block;
    width: 80%;
    height: 100%;
    margin: 0 auto;
}
@media (max-width: 640px) {
    #mapa iframe {
        width: 90vw;
    }
}
@media (max-width: 420px) {
    #contact {
        display: block;
    }
    #contact p {
        font-size: 20px;
    }
}