* {
    margin: 0 auto;
    padding: 0;
    font-family: 'Barlow';
    scroll-behavior: smooth;
}

body {
    max-width: 100vw;
    height: auto;
    background-color: #000000;
}


.info-top {
    height: 40px;
    background-color: #a07855;
    text-align: center;
}

.info-container {
    text-align: center;
    width: 95vw;
    max-width: 1920px;
    padding: 10px 10px;
    font-weight: bold;
    color: white;
    display: flex;


}


i.fa-solid {
    padding-right: 10px;
    padding-left: 40px;
    font-size: 1.2em;
    vertical-align: middle;
}

.info-container ul {
    display: flex;
    margin: 0 auto;
    width: 40px;
    list-style: none;
    justify-content: space-between;
}

.info-container ul li {
    font-size: 1.2em;
    padding-right: 14px;
    cursor: pointer;
    text-align: center;
    transition: 0.2s linear;
}

.info-container ul li:hover {
    color: black;
}



/*Banner*/


.banner {
    max-width: 1800px;
    height: 600px;
    margin: 0 auto;
    background-image: url(pictures/autostrada.jpg);
    background-size: contain;
}

.banner-karolina {
    background-image: url(pictures/Ja1.jpeg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translate(-25%, 0);
    width: 100%;
    max-width: 600px;
    height: 600px;
    animation-name: ninj;
    opacity: 1;
    animation-duration: 6.7s;
    animation-timing-function: linear;
    animation-direction: alternate;
    z-index: 1;

}

@keyframes ninj {
    0% {
        opacity: 0.3;
        transform: translate(-90%, 0);


    }

    8% {
        opacity: 1;
        transform: translate(-87%, 0);


    }

    92% {
        opacity: 1;
        transform: translate(-30%, 0);

    }

    100% {
        opacity: 1;
        transform: translate(-25%, 0);
    }
}

div.wynik {
    background-image: url(pictures/wynik.png);
    background-size: cover;
    position: relative;
    top: 35px;
    left: 90px;
    z-index: 5;
    width: 1000px;
    height: 400px;
    animation: wynik 7s linear alternate;
    overflow: hidden;

}

@keyframes wynik {
    0% {
        opacity: 0;
    }

    95% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

}

.transparent-banner {
    width: 100%;
    position: absolute;
    top: 40px;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    height: 600px;
}

.drivebelfer {
    background-image: url(pictures/Drive.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 700px;
    height: 700px;
    top: 1%;
    right: 53%;
    z-index: 2;
    filter: drop-shadow(5px 5px 2px rgb(56, 120, 238));
    animation: drivebanner 4s linear;
    animation-direction: alternate;
    overflow: hidden;

}

@keyframes drivebanner {
    0% {
        right: 0%;
        opacity: 0;

    }

    8% {
        right: 10%;
        opacity: 1;
    }

    92% {
        opacity: 1;

    }

    100% {
        right: 50%;
        opacity: 1;
    }

}

/*@media only screen and (min-device-width: 480px) and (max-device-width: 800px) {
    .banner {
        height: 80vh;
    }

    .transparent-banner {
        top: 100px;
        height: 400px;
    }

    .banner-karolina {
        top: 100px;
        transform: translate(-50%, 0);
        width: 120%;
        animation-name: none;
        overflow: hidden;
        height: 400px;
    }


}*/


@media only screen and (min-device-width: 320px) and (max-device-width: 1023px) and (orientation:portrait) {
    .info-top {
        height: 100px;
    }

    div.span-kontakt {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        box-sizing: border-box;
        text-align: left;
        width: 100%;
        height: 85px;
        margin: 0px 10px 20px 0px;
    }

    div.span-kontakt span {
        font-size: 1.2em;
        margin: 0;
    }

    .span-kontakt i.fa-solid {
        padding-left: 3%;
    }

    div.info-container ul {
        display: none;
        width: 0px;
        height: 0px;
    }

    .info-container {
        width: 100vw;
        padding: 8px 0px;
    }

    .banner {
        height: 80vh;
    }

    .transparent-banner {
        top: 100px;
        height: 400px;
    }

    .banner-karolina {
        display: block;
        top: 0;
        transform: translate(-50%, 0);
        width: 120%;
        animation-name: none;
        height: 400px;
    }

    .obrazpx {
        position: absolute;
        height: 400px;
        width: 320px;
        overflow: hidden;
    }

    div.wynik {
        overflow: hidden;
        top: -46px;
        left: -200px;
        width: 505px;
        animation: wynik 3s linear alternate;

    }

    .drivebelfer {
        width: 320px;
        height: 320px;
        top: 32%;
        right: 2%;
    }

    @keyframes drivebanner {
        0% {
            right: 50%;
            opacity: 0;

        }

        8% {
            right: 30%;
            opacity: 0;
        }

        92% {
            opacity: 1;

        }

        100% {
            right: 2%;
            opacity: 1;
        }

    }
}

@media only screen and (min-device-width: 353px) and (max-device-width: 1023px) and (orientation:portrait) {
    .info-top {
        height: 80px;
    }

    div.span-kontakt {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        box-sizing: border-box;
        text-align: left;
        width: 100%;
        height: 70px;
        margin: 0px 10px 20px 0px;
    }

    div.span-kontakt span {
        font-size: 1.2em;
        margin: 0;
    }

    .span-kontakt i.fa-solid {
        padding-left: 3%;
    }

    div.info-container ul {
        display: none;
        width: 0px;
        height: 0px;
    }

    .info-container {
        width: 100vw;
        padding: 8px 0px;
    }

    .banner {
        height: 90vh;
    }

    .transparent-banner {
        top: 80px;
        height: 90vh;
    }

    .banner-karolina {
        display: block;
        top: 0;
        transform: translate(-50%, 26%);
        width: 120%;
        animation-name: none;
        height: 90vh;
    }

    .obrazpx {
        position: absolute;
        height: 90vh;
        width: 100vw;
        overflow: hidden;
    }

    div.wynik {
        overflow: hidden;
        top: 150px;
        left: -165px;
        width: 509px;
        animation: wynik 4s linear alternate;

    }

    .drivebelfer {
        width: 360px;
        height: 360px;
        top: -4%;
        right: 0%;
    }

    @keyframes drivebanner {
        0% {
            right: 50%;
            opacity: 0;

        }

        8% {
            right: 20%;
            opacity: 0;
        }

        92% {
            opacity: 1;

        }

        100% {
            right: 0%;
            opacity: 1;
        }

    }
}

@media only screen and (min-device-width: 390px) and (max-device-width: 1023px) and (orientation:portrait) {
    .drivebelfer {
        width: 400px;
        height: 400px;
        top: -3%;
    }

    div.wynik {
        top: 200px;
    }

    .banner {
        height: 77vh;
    }
}

@media only screen and (min-device-width: 412px) and (max-device-width: 1023px) and (orientation:portrait) {
    .drivebelfer {
        width: 415px;
        height: 415px;
    }

    div.wynik {
        left: -207px;
        width: 609px;
        height: 465px;
    }
}

@media only screen and (device-width: 480px) and (orientation: landscape) {
    .info-top {
        height: 80px;
    }

    .span-kontakt {
        height: 70px;
    }
}

@media all and (min-width:1024px) and (max-width:1280px) {
    .drivebelfer {
        top: 14%;
        right: 40%;
    }

    @keyframes drivebanner {
        0% {
            right: 0%;
            opacity: 0;

        }

        8% {
            right: 10%;
            opacity: 1;
        }

        92% {
            opacity: 1;

        }

        100% {
            right: 40%;
            opacity: 1;
        }

    }

    div.wynik {
        background-image: url(pictures/wynik2.png);
        background-size: contain;
        background-repeat: no-repeat;
        top: 200px;
        width: 45%;
        height: 45%;

    }
}

@media all and (min-width:1024px) and (max-width:1200px) {
    .drivebelfer {
        top: 14%;
        right: 30%;
    }

    @keyframes drivebanner {
        0% {
            right: 0%;
            opacity: 0;

        }

        8% {
            right: 10%;
            opacity: 1;
        }

        92% {
            opacity: 1;

        }

        100% {
            right: 30%;
            opacity: 1;
        }

    }

}

/*Menu*/

nav.menu {
    max-width: 1920px;
    height: 130px;
    background-color: rgb(0, 0, 0);
    color: white;
    z-index: 3;

}

.menu ul {
    max-width: 1920px;
    display: flex;
    justify-content: space-evenly;
    margin: 0 auto;
    padding: 50px;
    list-style: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.2em;

}

.menu ul li {
    cursor: pointer;
    text-decoration: none;
    z-index: 3;

}

.menu ul li a {
    font-size: 1.2em;
    text-decoration: none;
    color: white;
    transition: .4s linear;
    text-shadow: #ebb100 0.1em 0.1em 0.2em;
    z-index: 3;

}

.menu ul li:hover a {
    color: #ebb100;
    border-bottom: 4px solid #ebb100;
    font-size: 1.3em;

}

@media only screen and (min-device-width: 320px) and (max-device-width: 1023px) and (orientation:portrait) {
    .menu ul {
        flex-direction: column;
        padding: 50px 50px 50px 50px;
        font-size: 1.3em;
        line-height: 2.4em;
    }

    .menu ul li:hover a {
        color: white;
        border-bottom: none;
        font-size: 1.3em;

    }
}

/*kurs*/
h1.kurs {
    color: white;
    text-shadow: #ebb100 0.1em 0.1em 0.2em;
    text-transform: uppercase;
    text-align: center;
    line-height: 80px;
    font-size: 2.2em;
}
h1{
    color: white;
    text-shadow: #ebb100 0.1em 0.1em 0.2em;
    text-transform: uppercase;
    text-align: center;
    line-height: 80px;
    font-size: 1.6em;

}
div.informacje{
    display: flex;
    justify-content: space-between;
    width: 70%;
}
.informacje div{
    width: 40vw;
    line-height: 25px;
    letter-spacing: 0.4px;
    margin-top: 20px;
}
div ul{
    color: white;
    list-style-type: decimal;
}
ul li ul{
    list-style-type: circle;
}
ul li ul li{
    margin-left: 12px;
}
li i{
    color: #ebb100;
    margin-left: -34px;
}
div.plac{
    max-width: 1800px;
    height: 40vh;
    width: 40vw;
    min-width: 30vw;
    margin-left: 120px;
    margin-top: 43px;
    background-image: url(pictures/PlacWORD.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    border: solid 1px #ebb100;
}


@media only screen and (min-device-width: 412px) and (max-device-width: 1023px) and (orientation:portrait) {
    .menu ul {
        flex-direction: column;
        padding: 20px 50px 50px 50px;
        font-size: 1.3em;
        line-height: 2.4em;
    }
   
}


@media only screen and (min-device-width: 320px) and (max-device-width: 1023px) and (orientation:portrait) {
   
    }



@media only screen and (min-device-width: 353px) and (max-device-width: 1023px) and (orientation:portrait) {
    h1.kurs{
        color: white;
        text-shadow: #ebb100 0.1em 0.1em 0.2em;
        text-transform: uppercase;
        text-align: center;
        line-height: 80px;
        margin: 100px;
        }
        div.informacje{
            display: flex;
            flex-direction: column;
            width: 100%;
        }
        .informacje div{
            width: 80vw;
            line-height: 25px;
            letter-spacing: 0.4px;
            margin-top: -100px;
        }
        div.plac{
            max-width: 1800px;
            margin: auto;
            margin-top: 18px;
            height: 40vh;
            width: 90vw;
            margin-bottom: 10px;
            min-width: 30vw;
            background-image: url(pictures/PlacWORD.jpg);
            background-size: cover;
            background-repeat: no-repeat;
            overflow: hidden;
            border: solid 1px #ebb100;
        }
   
}

@media only screen and (min-device-width: 390px) and (max-device-width: 1023px) and (orientation:portrait) {
    h1.kurs{
    color: white;
    text-shadow: #ebb100 0.1em 0.1em 0.2em;
    text-transform: uppercase;
    text-align: center;
    line-height: 10px;
    margin: 100px;
    margin-top: 160px;
    }
    div.informacje{
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .informacje div{
        width: 80vw;
        line-height: 25px;
        letter-spacing: 0.4px;
        margin-top: -100px;
    }
    div.plac{
        max-width: 1800px;
        margin: auto;
        margin-top: 18px;
        height: 40vh;
        width: 90vw;
        min-width: 30vw;
        background-image: url(pictures/PlacWORD.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        overflow: hidden;
        border: solid 1px #ebb100;
    }
    
}

@media only screen and (min-device-width: 412px) and (max-device-width: 1023px) and (orientation:portrait) {
    

}

@media all and (min-width:1024px) and (max-width:1280px) {
    
}

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

/*
div.o-mnie a.h2 {
    text-transform: uppercase;
    font-weight: lighter;
    font-size: 1.2em;
    text-align: center;
    margin-top: 40px;
    padding-bottom: 20px;
    background: -webkit-linear-gradient(#ebb100, #5797e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation-name: zapraszam;
    animation-iteration-count: infinite;
    animation-duration: 1.5s;
    text-decoration: none;

}/*

/*@keyframes zapraszam {
    0% {
        background: -webkit-linear-gradient(#ebb100, #5797e0);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    50% {
        background: -webkit-linear-gradient(#5797e0, #ebb100);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    100% {
        background: -webkit-linear-gradient(#ebb100, #5797e0);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}*/











@media only screen and (min-device-width: 353px) and (max-device-width: 1023px) and (orientation:portrait) {

    
}

@media only screen and (min-device-width: 390px) and (max-device-width: 1023px) and (orientation:portrait) {
   
}

@media only screen and (min-device-width: 412px) and (max-device-width: 1023px) and (orientation:portrait) {
  
}

@media all and (min-width:1024px) and (max-width:1200px) {
    div.informacje{
        display: flex;
        flex-direction: row;
        width: 100%;
        margin-top: 100px;
    }
    .informacje div{
        width: 82vw;
        line-height: 25px;
        letter-spacing: 0.4px;
        margin-top: -100px;
        margin-left: 40px;
    }
    div.plac{
        max-width: 1800px;
        margin: auto;
        margin-top: -40px;
        margin-right: 40px;
        margin-bottom: 10px;
        height: 50vh;
        width: 40vw;
        min-width: 30vw;
        background-image: url(pictures/PlacWORD.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        overflow: hidden;
        border: solid 1px #ebb100;
    }
}
   

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


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

}


    

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

@media only screen and (min-device-width: 344px) and (max-device-width: 350px) and (orientation:portrait){
    
    section.contact h1{
        padding-top: 120px;
    }
    .banner {
        height: 60vh;
    }
    .obrazpx {
        position: absolute;
        overflow: hidden;
        width: 100%;
        height: 100%;
    }
    .drivebelfer {
        width: 320px;
        height: 320px;
        top: 0%;
        right: 2%;
    }
    div.wynik {
        top: 25%;
    }
    .banner-karolina {
        display: block;
        top: 0;
        transform: translate(-48%, 24%);
        width: 430px;
        animation-name: none;
        height: 430px;
    }
    .center1 {
        text-align: center;
        line-height: 1.4em;
        margin-top: 18px;
        margin-bottom: 18px;
    }
    .kurs{
        margin-top: 220px;  
    }
    h1 {
        line-height: 1.4em;
    }
    div.informacje{
        flex-direction: column;
        width: 85%;
    }
    .informacje div{
        width: 100%;
    }
    div ul{
        text-align: justify;
    }
    div.plac{
        margin-left: 0;
    }

}



@media only screen and (min-device-width: 429px) and (max-device-width: 1023px) and (orientation:portrait) {
    
}




@media only screen and (min-device-width: 640px) and (max-device-width: 1023px) and (orientation:landscape) {
    .span-kontakt {
        margin: 0;
        margin-right: 18%;
    }

    .banner-karolina {
        max-width: 427px;
        height: 427px;
        animation-duration: 4s;
    }

    div.wynik {
        top: -34px;
        left: 36px;
        width: 553px;
        height: 409px;
        animation: wynik 5s linear alternate;
    }

    .drivebelfer {
        width: 396px;
        height: 404px;
        top: 18%;
        right: 36%;
    }

    @keyframes drivebanner {
        0% {
            right: 0%;
            opacity: 0;

        }

        8% {
            right: 6%;
            opacity: 1;
        }

        92% {
            opacity: 1;

        }

        100% {
            right: 36%;
            opacity: 1;
        }

    }

    .transparent-banner {
        height: 118vh;
    }

    .banner {
        height: 118vh;
    }

    .menu ul {
        padding: 24px;
        margin-top: 5vh;
        flex-direction: column;

    }

    main.center {
        flex-direction: column-reverse;
    }

    div.o-mnie {
        margin-left: 0%;
        margin-right: 0%;
        margin-top: 10%;
    }

    .kolo {
        left: 85px;
        bottom: -1460px;
    }

    main.akty {
        margin: 50px auto 0px;
        justify-content: center;
    }

    main.akty a {
        margin: 0 auto;
        max-width: 300px;
        flex-direction: column;
        text-align: center;
        margin-top: 14px;

    }

    div.akty-prawne a.pord {
        line-height: 1.3em;
    }

    div.akty-prawne a.szkolenie {
        line-height: 1.3em;
    }

    div.akty-prawne {
        margin: 0 auto;
    }

    h1.akty-prawne {
        margin-top: 0px;
    }

    div.akty-prawne i.fa-solid {
        display: none;
    }

    div.textpomocnik h1 {
        padding-top: 420px;
    }

    div.floatl {
        margin: 50px 0px;
    }

    .egzamin div.imgbgc {
        width: 203px;
    }
    .menu ul li:hover a{
        color: white;
        border-bottom: none;
    }

    h1.kurs{
        color: white;
        text-shadow: #ebb100 0.1em 0.1em 0.2em;
        text-transform: uppercase;
        text-align: center;
        line-height: 80px;
        margin: 100px;
        }
        div.informacje{
            display: flex;
            flex-direction: column;
            width: 100%;
        }
        .informacje div{
            width: 86vw;
            line-height: 25px;
            letter-spacing: 0.4px;
            margin-top: -100px;
        }
        div.plac{
            max-width: 1800px;
            margin: auto;
            margin-top: -40px;
            margin-right: 100px;
            margin-bottom: 10px;
            height: 50vh;
            width: 40vw;
            min-width: 30vw;
            background-image: url(pictures/PlacWORD.jpg);
            background-size: cover;
            background-repeat: no-repeat;
            overflow: hidden;
            border: solid 1px #ebb100;
        }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 872px) and (orientation:landscape) {
    .banner {
        height: 108vh;
    }

    .banner-karolina {
        left: 55%;
    }

    .drivebelfer {
        width: 481px;
        height: 481px;
    }
    .menu ul{
        font-size: 1.6em;
    }
   
    .menu ul li:hover a{
        color: white;
        border-bottom: none;
    }
    h1.kurs{
        color: white;
        text-shadow: #ebb100 0.1em 0.1em 0.2em;
        text-transform: uppercase;
        text-align: center;
        line-height: 80px;
        margin: 100px;
        }
        div.informacje{
            display: flex;
            flex-direction: column;
            width: 100%;
        }
        .informacje div{
            width: 88vw;
            line-height: 25px;
            letter-spacing: 0.4px;
            margin-top: -100px;
        }
        div.plac{
            max-width: 1800px;
            margin: auto;
            margin-top: -26px;
            margin-right: 60px;
            margin-bottom: 10px;
            height: 50vh;
            width: 40vw;
            min-width: 30vw;
            background-image: url(pictures/PlacWORD.jpg);
            background-size: cover;
            background-repeat: no-repeat;
            overflow: hidden;
            border: solid 1px #ebb100;
        }



    
}
@media only screen and (min-device-width: 873px) and (max-device-width: 1023px) and (orientation:landscape) {
    .banner {
        height: 108vh;
    }

    .banner-karolina {
        left: 55%;
    }

    .drivebelfer {
        width: 481px;
        height: 481px;
    }
    .menu ul{
        font-size: 1.6em;
    }
   
    .menu ul li:hover a{
        color: white;
        border-bottom: none;
    }
    h1.kurs{
        color: white;
        text-shadow: #ebb100 0.1em 0.1em 0.2em;
        text-transform: uppercase;
        text-align: center;
        line-height: 80px;
        margin: 100px;
        }
        div.informacje{
            display: flex;
            flex-direction: column;
            width: 100%;
        }
        .informacje div{
            width: 86vw;
            line-height: 25px;
            letter-spacing: 0.4px;
            margin-top: -100px;
        }
        div.plac{
            max-width: 1800px;
            margin: auto;
            margin-top: -40px;
            margin-right: 100px;
            margin-bottom: 10px;
            height: 50vh;
            width: 40vw;
            min-width: 30vw;
            background-image: url(pictures/PlacWORD.jpg);
            background-size: cover;
            background-repeat: no-repeat;
            overflow: hidden;
            border: solid 1px #ebb100;
        }



    
}
@media only screen and (min-device-width: 1142px) and (max-device-width: 1199px) and (orientation:landscape){
    
}
@media only screen and (min-device-width: 1999px) and (max-device-width: 2000px) and (orientation:landscape){
    
}
@media only screen and (min-device-width: 685px) and (max-device-width: 686px) and (orientation:portrait){
   
.banner-karolina {
    display: block;
    top: 0;
    transform: translate(-50%, 10%);
    width: 140%;
    animation-name: none;
    height: 100vw;
    max-width: 685px;
}
div.wynik {
left: -113px;
width: 791px;
height: 620px;
top: 69px;
overflow: hidden;
}
.drivebelfer{
top: 0%;
width: 460px;
height: 558px;
}
.kolo {
bottom: -1515px;
width: 450px;
height: 450px;
left: 100px;
}
}
@media only screen and (min-device-width: 1199px) and (max-device-width: 1200px) and (orientation:portrait){

.drivebelfer {
    
    top: 5%;
    right: 36%;
}
}