* {
    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;
    list-style: none;
}

.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;
    }

}

nav.menu li{
    list-style: none;
}
/*/*egzamin

div.egzamin{
    margin-top: -50px;
    width: 90%;
}
h1.egzamin{
    color: white;
    text-shadow: #ebb100 0.1em 0.1em 0.2em;
    text-transform: uppercase;
    text-align: center;
    line-height: 80px;
    margin-top: 50px;
    }

div.tekstegzamin{
    color: white;
    text-align: justify;
    letter-spacing: 1px;
    line-height: 25px;

}
p.bold{
    text-transform: uppercase;
    font-size: 1.2em;
}
ul li {
    list-style-type: upper-roman;
}
div.kwestie li{
    list-style-type: square;
    margin-left: 14px;

}

ul.struktura li{
    list-style-type: square;
    margin-left: 14px;
}
ol.plac {
    margin-left: 14px;
}
ol.plac li{
    list-style-type: lower-alpha;
}

arkusz-tabela
div.tabelaarkusz{
    background-color: white;
    max-width: 100vh;
    text-transform: uppercase;
    width: 100%;
    min-width: 70%;
}
.wiersz{
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}
td{
    text-transform:initial;
    font-size: 0.7em;
    text-align: center;
    border: 1px solid black;
    padding-left: 12px;
    padding-right: 12px;
   
}
.wiersz1 td{
    text-align: center;
    text-transform:initial;
    font-size: 0.7em;
}

.wiersz3{
    font-weight: 800;
    font-size: 1.3em;
}
.wiersz3 .poz p{
    rotate: -90deg;
    padding-left: 14px;
}
.wiersz4 td{
    font-size: 0.9em;
    padding-top: 6px;
    padding-bottom: 6px;
}
.lewa{
    text-align: left;
}
.padding{
    padding-left: 5px;
    padding-right: 6px;
}*/
/*<i class="fa-regular fa-square-check"></i>*/


@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;
        }

    }
    div.egzamin{
        margin-top: 80px;
    }
}

@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: 94vh;
        clear: both;
        
    }

    .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: 390px;
        height: 390px;
        top: -1%;
    }

    div.wynik {
        top: 200px;
    }

    .banner {
        height: 77vh;
    }
    .center1{
        text-align: center;
        line-height: 1.4em;
    }
}

@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;

}
/*zadania*/

div.zadanie{
    overflow: hidden;
    max-width: 1440px;
    color: white;
    letter-spacing: 1px;
}
.zadanie h1 {
    color: white;
    text-shadow: #ebb100 0.1em 0.1em 0.2em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2em;
    font-size: 2em;
    margin-top: 50px;
}
.zadanie p{
    margin-left: 5%;
    margin-right: 5%;
    text-align: justify;
    line-height: 25px;
    margin-top: 40px;
}
p span {
    text-transform: uppercase;
    font-weight: bold;
}
ul.kryteria1{
    margin-left: 10%;
    line-height: 25px;
    list-style: decimal;
    list-style-position: unset;
}
ul.liczby{
    list-style-type: decimal;
}
.pogrubienie{
    font-style: normal;
    font-weight: 700;
    color: #a07855;
}
ul.tab{
    list-style: lower-alpha;
    list-style-position:outside;
    margin-left: 5%;
}
.zwykle~p{
    margin-top: 0px;
}

#red{
    padding-left: 0px;
    padding-bottom: 3px;
    color: red;
}
/*film*/

.film{
    max-width: 1440px;
    height: 100%;
    display: flex;
    text-align: center;
    color: white;
    font-size: 0.9rem;
    flex-direction: column;
}
.picture{
    max-width: 1440px;
    height: 100%;
    display: flex;
    text-align: center;
    color: white;
    font-size: 0.9rem;
    flex-direction: column;
}
.picture img{
    max-width: 100vh;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 1023px) and (orientation:portrait) {
    .menu ul {
        flex-direction: column;
        padding: 50px;
        font-size: 1.3em;
        line-height: 2.4em;
    }

    .menu ul li:hover a {
        color: white;
        border-bottom: none;
        font-size: 1.3em;

    }
    .center1{
        text-align: center;
        line-height: 1.4em;
    }
    .zadanie h1 {
        margin-top: 200px;
    }
    ul.kryteria1{
        margin-left: 10%;
        margin-right: 5%;
    }
    video {
    max-width: 100%;
    height: 100%
    }
    .picture img{
    max-width: 100%;
}
}

@media only screen and (min-device-width: 412px) and (max-device-width: 1023px) and (orientation:portrait) {
    .menu ul {
        font-size: 1.3em;
    }
    .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) {
   
}

@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:1280px) {
   
}

@media all and (min-width:1024px) and (max-width:1200px) {
   
}



.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%;
    }
}


@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) {
 
}

@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) {
    div.floatl {
        margin: 50px 0px;
    }
}


@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;
    }
}


@media only screen and (min-device-width: 320px) 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: 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;
    }

}

@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;
    }
    
    
}
@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;
    }
}