* {
    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/wynik.png);
        background-size: cover;
        position: relative;
        top: 50px;
        left: 100px;
        z-index: 5;
        width: 800px;
        height: 500px;
        animation: wynik 7s linear alternate;
        overflow: hidden;

    }
}

@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: 40px 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;

    }
}

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

/*main*/
div.duzy-flex {
    display: flex;
    flex-direction: column;
}

main.center {
    color: white;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
}

div.auto {
    background-image: url(pictures/hyundaii20.jpg);
    border: solid 1px #ebb100;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.8;
    min-width: 400px;
    height: 520px;
    margin-top: 22px;
    margin-left: 80px;
}


div.o-mnie {
    display: flex;
    flex-direction: column;
    margin-left: 80px;
    margin-right: 14%;
    text-align: justify;
    line-height: 25px;
    position: relative;
    letter-spacing: 1px;
}

div.o-mnie h1 {
    color: white;
    text-shadow: #ebb100 0.1em 0.1em 0.2em;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
}

p span {
    text-transform: uppercase;
    font-weight: bold;
}

p.bold {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2em;
    margin-top: 10px;
    margin-bottom: 10px;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 1023px) and (orientation:portrait) {
    main.center {
        flex-direction: column-reverse;
        margin: 70px auto 0;
        padding: 0;
    }

    div.o-mnie {
        margin-left: 4%;
        margin-right: 4%;
    }

    div.auto {
        position: relative;
        margin: 3%;
        transform: scale(76%) translate(-17%, -10%);
    }

}

@media only screen and (min-device-width: 353px) and (max-device-width: 1023px) and (orientation:portrait) {
    div.o-mnie {
        margin-top: 22%;

    }

    div.auto {
        position: relative;
        margin: 3%;
        margin-top: 20px;
        transform: scale(80%) translate(-10%, -10%);
    }
}

@media only screen and (min-device-width: 390px) and (max-device-width: 1023px) and (orientation:portrait) {
    div.auto {
        transform: scale(90%) translate(-5%, -8%);
    }



}

@media only screen and (min-device-width: 412px) and (max-device-width: 1023px) and (orientation:portrait) {
    div.o-mnie {
        margin-top: 30%;
    }

    div.auto {
        transform: scale(94%) translate(-2%, 1%);
    }

}

@media all and (min-width:1024px) and (max-width:1280px) {
    div.o-mnie {
        margin-right: 5%;
    }
}

@media all and (min-width:1024px) and (max-width:1200px) {
    div.auto {

        min-width: 400px;
        height: 520px;
        margin-top: 50px;
        margin-left: 10px;

    }

    div.o-mnie {
        margin-left: 24px;
        margin-right: -2%;
    }
}

/*
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;
    }
}*/

.kolo {
    background-image: url(pictures/WIEDZA.png);
    background-size: contain;
    width: 380px;
    height: 380px;
    position: absolute;
    left: 620px;
    bottom: -370px;
    transform: rotate(-360deg);
    animation-name: wiedza;
    animation-duration: 24s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    overflow: hidden;
}

@keyframes wiedza {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@media all and (min-width:1600px) and (max-width:1919px) {
    .kolo {
        left: 475px;
    }

    .info-container {
        width: 92vw;
    }
}

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

    section.pomocnik {
        max-width: 1201px;
        margin-left: 100px;

    }
}

@media all and (min-width:1024px) and (max-width:1200px) {
    .kolo {
        width: 300px;
        height: 300px;
        left: 180px;
        overflow: hidden;
        border-radius: 100% 100% 100% 100%;
    }
}





/*Akty Prawne*/

main.akty {
    display: flex;
    flex-direction: row-reverse;
    max-width: 1440px;
    margin: 200px auto 0px;
}

h1.akty-prawne {
    color: white;
    text-shadow: #ebb100 0.1em 0.1em 0.2em;
    text-transform: uppercase;
    text-align: center;
    line-height: 80px;
    margin-top: -200px;
}


div.akty-prawne {
    display: flex;
    flex-direction: column;
    margin: 50px auto;

}

div.akty-prawne a {
    text-decoration: none;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: bold;
    text-align: left;
    color: rgb(149, 152, 155);
    margin-right: 300px;
    margin-left: 300px;
    transition: 0.5s;
}

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

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

div.akty-prawne i.fa-solid {
    color: rgb(0, 0, 0);
    float: left;
    transition: 0.5s;
    line-height: 2.2em;
}

div.akty-prawne a:hover i.fa-solid {
    color: #ebb100;
    display: block;
    float: left;
    line-height: 2.2em;

}

div.akty-prawne a:hover {
    color: #ebb100;
}

.paragraf {
    display: none;
}

@media all and (min-device-width: 320px) and (max-device-width: 1023px) and (orientation:portrait) {
    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.paragraf {
        margin: 0;
    }

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

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

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

    .kolo {
        left: 7px;
        bottom: -1242px;
        background-repeat: no-repeat;
        width: 280px;
        height: 280px;


    }
}
@media only screen and (min-device-width: 344px) and (max-device-width: 350px) and (orientation:portrait){
    .center1{
        text-align: center;
        line-height: 1.4em;
        margin-top: 18px;
        margin-bottom: 18px;
    }
    div.o-mnie {
        margin-left: 4%;
        margin-right: 4%;
        margin-top: 130px;
    }
}

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

    .kolo {
        left: 19px;
        bottom: -1273px;
        background-repeat: no-repeat;
        width: 300px;
        height: 300px;
        overflow: hidden;
    }
}

@media only screen and (min-device-width: 390px) and (max-device-width: 1023px) and (orientation:portrait) {
    .kolo{
        bottom: -1390px;
        width: 330px;
        height: 330px;
        overflow: hidden;
    }

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

@media only screen and (min-device-width: 412px) and (max-device-width: 1023px) and (orientation:portrait) {
    h1.akty-prawne {
        margin-top: 100px;
    }

    .kolo {
        bottom: -1452px;
        width: 366px;
        height: 366px;
        left: 6px;
    }
    .kolo>img{
        overflow: hidden;
    }
}

@media all and (min-width:1024px) and (max-width:1200px) {
    div.akty-prawne a {
        margin-right: 320px;
        margin-left: 20px;

    }
}

@media all and (min-width:1200px) and (max-width:1599px) {
    div.akty-prawne a {
        margin-right: 400px;
        margin-left: 40px;

    }
}

/*pomocnik kursanta*/

section.pomocnik {
    max-width: 1440px;
    margin: 0 auto;
    color: white;
}

div.textpomocnik h1 {
    color: white;
    text-shadow: #ebb100 0.1em 0.1em 0.2em;
    text-transform: uppercase;
    font-size: 2em;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 50px;

}
.pogrubienie{
    font-style: normal;
    font-weight: 700;
    color: #a07855;
}

div.textpomocnik p {
    letter-spacing: 1px;
    line-height: 25px;
    margin: 0 50px;
}

div.floatl {
    box-sizing: border-box;
    display: flex;
    margin: 50px 50px;
}

div.egzamin {
    width: 300px;
    height: 350px;
    background-color: black;
    position: relative;
    overflow: hidden;
}

.egzamin div.imgbgc {
    background-image: url(pictures/osobaegzamin.jpg);
    width: 300px;
    height: 350px;
    background-position: center top;
    transition: 2s linear;
    display: block;

}

.egzamin .obramowanie {
    width: 98%;
    height: 98%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s linear;
}

.egzamin button:hover~div.imgbgc {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    z-index: 3;
}


.egzamin button:hover~.obramowanie {
    border: 5px solid #a07855;
}

div.egzamin button {
    text-transform: uppercase;
    background-color: black;
    border: 1px solid #a07855;
    transition: 0.5s linear;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 999;
}

div.egzamin button a {
    text-decoration: none;
    color: #a07855;
    font-weight: bold;
    font-size: 1.4em;
    letter-spacing: 1px;
    padding: 15px 30px;
    display: block;
    transition: 0.5s linear;
}

div.egzamin button:hover a {
    color: white;
}

div.egzamin button:hover {
    background-color: #a07855;
    cursor: pointer;
}

.floatl .egzamin .imgbgc#rondo {
    background-image: url(pictures/rondoszkolenie.jpg);
}

.floatl .egzamin .imgbgc#twarz {
    background-image: url(pictures/twarz.jpg);
    /*Obraz autorstwa valuavitaly na Freepik*/
}

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

    section.pomocnik {
        max-width: 1201px;
        margin-left: 50px;

    }
}

@media all and (min-width:1024px) and (max-width:1200px) {
    div.floatl {
        margin: 50px 0px;
    }
}

@media all and (min-device-width: 320px) and (max-device-width: 1023px) and (orientation:portrait) {
    section.pomocnik {
        margin: 280px auto;
        max-width: 300px;
    }

    div.textpomocnik {
        text-align: justify;
        margin-left: 4%;
        margin-right: 4%;
    }
    div.textpomocnik p {
        letter-spacing: 1px;
        line-height: 25px;
        margin: 0 0px;
    }

    div.floatl {
        display: flex;
        margin: 20px auto;
        flex-direction: column;
    }

    div.egzamin {
        margin-bottom: 20px;
    }
}
@media only screen and (min-device-width: 344px) and (max-device-width: 350px) and (orientation:portrait){
    .center1{
        text-align: center;
        line-height: 1.4em;
        margin-top: 18px;
        margin-bottom: 18px;
    }
    div.o-mnie {
        margin-left: 4%;
        margin-right: 4%;
        margin-top: 130px;
    }
    div.textpomocnik h1{
        padding-top: 120px;
    }
    section.contact h1{
        padding-top: 120px;
    }
}

@media only screen and (min-device-width: 353px) and (max-device-width: 1023px) and (orientation:portrait) {
    section.pomocnik {
        margin: 330px auto;
        max-width: 100vw;
    }
}

@media only screen and (min-device-width: 390px) and (max-device-width: 1023px) and (orientation:portrait) {
    section.pomocnik {
        margin: 410px auto;
    }
}

/*kontakt*/

section.contact div {
    width: 100%;
}

section.contact h1 {
    color: white;
    text-shadow: #ebb100 0.1em 0.1em 0.2em;
    text-transform: uppercase;
    font-size: 2em;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 50px;

}

section.contact .formularz {
    max-width: 1920px;
    height: 500px;
}

.formularz #contactform {
    display: flex;
    flex-direction: column;
    height: 400px;
}

.formularz #contactform fieldset {
    width: 400px;
    display: flex;
    flex-direction: column;
    border: 1px solid #a07855;
}

#contactform fieldset input {
    margin: 20px auto;
    width: 200px;
}

#contactform fieldset textarea {
    height: 140px;
    width: 380px;
}

#contactform fieldset .btn {
    padding: 5px 10px;
    width: auto;
}

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

    section.contact {
        margin: -340px auto;
        max-width: 100vw;
    }

    #contactform fieldset textarea {
        width: 230px;
    }

    .formularz #contactform fieldset {
        width: 280px;
    }
}

@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;
    }
}

@media only screen and (min-device-width: 390px) and (max-device-width: 1023px) and (orientation:portrait) {
    .formularz #contactform fieldset {
        width: 320px;
    }

    #contactform fieldset textarea {
        width: 265px;
        height: 200px;
    }

}


@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;
    }
}

@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;
    }
    div.auto{
        margin: 20px auto;
    }

    main.akty a{
        width: 100vw;
        margin-right: 400px;
    }
    .kolo {
        left: 344px;
        bottom: -1075px;
    }
    div.textpomocnik h1{
        padding-top: 90px;
    }
    .egzamin div.imgbgc{
        width: 270px;
    }
    .menu ul li:hover a{
        color: white;
        border-bottom: none;
    }
    
}
@media only screen and (min-device-width: 1142px) and (max-device-width: 1199px) and (orientation:landscape) {
    .kolo {
        width: 350px;
        height: 350px;
        left: 255px;
        overflow: hidden;
    }
}
@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%;
    }

    .kolo {
        width: 350px;
        height: 350px;
        left: 300px;
        overflow: hidden;
    }
}