:root {
    --pierwszy: #1b1b1d;
    --drugi: #0000fe;
    --akcent: #ffc61a;
    --braz: #444444;
    --reszta: #f1f1f1;
}

* {
    font-family: 'Kanit';
}

body {
    margin: 0;
    max-width: 2500px;
    overflow-x: hidden;
}

#h3LetterB {
    color: #e42c2c;
    animation: letterJump 0.7s 2s forwards;
}

#h3LetterE {
    color: white;
    animation: letterJump 0.7s 2.2s forwards;
}

#h3LetterS {
    color: #fffb00;
    animation: letterJump 0.7s 2.4s forwards;
}

#h3LetterT {
    color: #09ff6f;
    animation: letterJump 0.7s 2.6s forwards;
}

#h3LetterL {
    color: #fff;

    aspect-ratio: 1/1;


    font-size: 160px;
}

#BoxL {
    background-color: #0000fe;
    height: fit-content;
    width: 150px;
    aspect-ratio: 1/1;
    display: inline-flex;
    opacity: 0;
    justify-content: center;
    align-items: center;
    animation: lJump 0.7s 2.8s forwards;
}

.h3Hero>* {
    position: relative;
    font-size: 160px;
    opacity: 0;

}

.opacityLeft {
    opacity: 0;
    animation-name: opacityfullandgoleft;
    animation-duration: 2s;
    animation-delay: 2s;
    animation-fill-mode: forwards;
}

.priceText {
    text-align: center;
    margin-top: auto;
    margin-bottom: 0;
}

.fileBlockText {
    text-align: center;
}

.fileBlock {

    width: 100%;

    margin: 10px;
    display: flex;
    flex-direction: column;
}

.fileIcon {
    width: 30%;
    margin: 0 auto;
}

.fileBlock>a {
    text-align: center;
    width: 100%;
    display: block;
    margin: auto 0 50px 0;
}

.fileBlockController {
    display: flex;
    width: 60%;
    min-height: 40vh;
    margin: auto;
}

.centerItems {
    display: flex;
    justify-content: center;
    margin: 80px 0 0 0;
    min-height: calc(100vh - 80px);

}

@keyframes lJump {
    0% {
        top: 0;

    }

    50% {
        top: -70px;
        opacity: 1;
    }

    100% {
        top: 0;
        opacity: 1;
        transform: rotate(-10deg);
    }
}

@keyframes letterJump {
    0% {
        top: 0;

    }

    50% {
        top: -70px;
        opacity: 1;
    }

    100% {
        top: 0;
        opacity: 1;
    }
}

.home_body header:first-child {
    animation-duration: 3s;
    animation-delay: 1s;

}

header:first-child {
    z-index: 4;
    width: 100%;
    height: 80px;
    display: flex;
    position: fixed;
    animation-name: showfromup;
    animation-duration: 1s;
    animation-delay: 0s;
    animation-fill-mode: forwards;
    top: -80px;
    background-color: var(--pierwszy);
}

header>nav {
    display: inline-block;
    align-self: center;
    margin: 0 1%;
    cursor: pointer;
}

header>img {
    height: 80%;
    align-self: center;
    margin: 0 4%;
}

header>nav>div>p {
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    color: var(--reszta);
}

.link_top_menu::after {
    margin: -0.2vh auto auto auto;
    width: 0%;
    height: 2px;
    background-color: #f1f1f1;
    display: block;
    content: " ";
    transition: 0.3s;
}

header>nav:hover .link_top_menu::after {
    width: 100%;
}

footer {
    padding: 0 10%;
    width: 80%;
    min-height: 300px;
    background-color: var(--reszta);
    display: grid;
    grid-template-columns: 1fr 0.004fr 1fr 0.004fr 1fr;

    grid-template-rows: 1fr;
}

footer>div {
    display: flex;
}



footer>div>h6 {
    color: var(--pierwszy);
    font-size: 64px;
    font-weight: 600;
    text-align: center;
    margin: 0;
    align-self: center;
    width: 100%;
}

footer>nav {
    height: 100%;
    width: 100%;
    display: flex;
}

footer>nav>nav {
    align-self: center;
    background-color: var(--pierwszy);
    border-radius: 100px;
    height: 80%;
    width: 100%;

}

.dane_footer {
    flex-direction: column;
    align-items: center;
}

.dane_footer>div {
    align-self: center;
    margin: auto 0;
}

.dane_footer>div>p {
    align-self: center;
    color: var(--pierwszy);
    width: 100%;
    display: block;

}

.main_dane_footer {
    font-size: 28px;
    font-weight: 600;
}

.low_dane_footer {
    font-size: 16px;
    font-weight: 100;
}

.footer2 {
    width: 80%;
    padding: 20px 10%;
    min-height: 30px;
    background-color: var(--pierwszy);
    display: grid;
    grid-template-columns: 1fr 2px 1fr 2px 1fr 2px 1fr 2px 1fr 2px 1fr 2px 1fr 2px 1fr 2px 1fr 2px 1fr;
}

.footer2>nav {
    height: 100%;
    width: 100%;
    align-self: center;
    background-color: var(--reszta);
    border-radius: 100px;
}

.footer2>div {
    display: flex;
}

.footer2>div>a {
    color: var(--reszta);
    width: 100%;
    text-decoration: none;
    text-align: center;
    align-self: center;
    font-size: 12px;
    font-weight: 200;
}

main {
    min-height: 100vh;
    width: 100%;
}

.home_body .first {
    display: flex;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #000;
    background-image: url(bck-darker.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid #000;

    &::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: inherit;
        background-size: cover;
        transform-origin: center;
        animation: startphoto 4s forwards;
    }
}


@keyframes startphoto {
    0% {
        transform: scale(1.20);
    }

    100% {
        transform: scale(1);
    }
}

.first>nav>* {
    margin: 0;
    color: var(--reszta);
    font-size: 40px;

}

.first>nav {
    align-self: center;
    margin: 0 10%;

    z-index: 1;
}

.first>nav>h3 {

    line-height: 120px;
}

main>nav,
main>article {
    width: 50%;
    padding: 0 25%;
    min-height: 15vh;
    margin: 12% 0;
}

nav>h5 {
    font-size: 60px;
    margin: 50px 0;

}

nav>h6 {
    font-size: 30px;
    margin: 10px 0;
}

.collored_span>b>a {
    color: var(--akcent);
    text-decoration: none;
}

.contact-info {
    background-color: #e0e0e0;
    padding: 20px;
    text-align: left;
    font-size: 16px;
    margin-bottom: 20px;
}

.contact-info p {
    margin: 5px 0;
}

.map-container {
    background-color: #e0e0e0;
    padding: 20px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

@keyframes showfromup {
    0% {
        top: -80px;
    }

    100% {
        top: 0px;
    }
}

@keyframes opacityfullandgoleft {
    0% {
        opacity: 0;
        margin: 0 15%;
    }

    100% {
        opacity: 1;
        margin: 0 10%;
    }
}

@keyframes opacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.animate {
    animation: rotate 11s linear 0s forwards infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    2% {
        transform: rotate(-12deg);
    }

    4% {
        transform: rotate(13deg);
    }

    6% {
        transform: rotate(-13deg);
    }

    8% {
        transform: rotate(12deg);
    }

    10% {
        transform: rotate(-12deg);
    }

    12% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.Wmenu {
    display: none;
}

.mobile_menu {
    display: none;
}



@media (max-width: 1024px) {
    #h3LetterL {
        font-size: 90px;
    }

    .h3Hero {
        font-size: 0 !important;
    }

    #BoxL {

        width: 90px;

    }

    #boxL>* {
        font-size: 90px !important;
    }

    .h3Hero>span {

        font-size: 90px;


    }

    main>nav {
        width: 90%;
        padding: 0 5%;
    }

    footer {
        grid-template-rows: 1fr 0.004fr 1fr 0.004fr 1fr;

        grid-template-columns: 1fr;
    }

    .dane_footer>div>p {
        text-align: center;
    }

    .footer2 {
        grid-template-rows: 1fr 2px 1fr 2px 1fr 2px 1fr 2px 1fr 2px 1fr 2px 1fr 2px 1fr 2px 1fr;
        grid-template-columns: 1fr;
    }

    .footer2>div {
        height: 3em;
    }

    header>nav {
        display: none;
    }

    .first>nav>h3 {
        font-size: 100px;
        line-height: 90px;
    }

    nav>h5 {
        font-size: 35px;
    }

    .first>nav {
        animation-name: opacity;
    }

    .Wmenu {
        display: inline-block;
        height: 100%;
    }

    .mobile_menu {
        display: block;
        position: fixed;
        z-index: 3;
        width: 100%;
        height: 100vh;
        background-color: var(--pierwszy);
        left: -100%;
        transition: 1s;
        top: 70px;
    }

    .Wmenuparent {
        display: block;
        cursor: pointer;
    }

    header>.footer2>div>a {
        text-align: left;
        margin: 0 0 0 2.5%;
    }
}

.chartfirst {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.zdawalnosctext img {
    width: 100%;
}

.controlallchart {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: 1;
}

.controlallchart2 {
    display: flex;
    flex: 1;
}

.controlallchart2>* {
    flex: 1;
}

.chartbox {
    display: flex;
    flex-direction: column;
}

.space {
    margin: 50px 0;
}

.chartfirst h1 {
    font-size: 60px;
    text-align: center;
    margin: 0;
}

.chartbox img {
    width: 80%;
    margin: auto;
}

.zdawalnosctext2>* {
    width: 80%;
    margin: auto;
}

.chartfirst h2 {
    font-size: 40px;
    text-align: center;
    margin: 0;
}

.graycolor {
    background-color: var(--reszta);
}

a {
    color: var(--pierwszy);
}

.chartbox p {
    font-size: 30px;
    text-align: center;
}

.zdawalnosctext {
    width: 80%;
    margin: auto;
}

.zdawalnosctext2 {
    width: 40%;
    margin: auto;
}

.chart {
    align-self: center;
    background-color: var(--akcent);
    max-width: 200px;
    width: 100%;
    height: 90%;
    animation: chart 2.5s linear;
}

.chart2 {
    background-color: #a7a7a7;
    height: 55%;
    animation: none;
    animation: chart2 2.5s linear;
}

.chart3 {
    background-color: #7e531b;
    height: 40%;
    animation: none;
    animation: chart3 2.5s linear;
}

.charttext {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.controlchart {
    overflow-y: hidden;
    flex: 1;
    width: auto;
}

.chart p {
    font-size: 40px;
    font-weight: 600;
    opacity: 0;
    animation: opacity 1s 1.7s forwards;
}

.controlpodium {
    display: flex;
    height: 100%;
}

.importantInfoBox {
    font-size: 1.5rem;

}

@keyframes chart {
    from {
        height: 0%;
    }

    to {
        height: 90%;
    }
}

@keyframes chart2 {
    from {
        height: 0%;
    }

    to {
        height: 55%;
    }
}

@keyframes chart3 {
    from {
        height: 0%;
    }

    to {
        height: 40%;
    }
}

.cennikall4 * {
    color: var(--pierwszy);
}

.cennikall4 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 70px 0 0 0;
}

.secondcennikall {
    margin: 50px 0 0 0;
}

.ofertatop {
    width: 100%;
    min-height: 10vh;
    padding: 0;
    margin: 200px 0 100px 0;
}

.h3cennikSmallerNote {
    font-size: 16px;
}

.opiscennikSmallerNote {
    font-size: 12px;
}

.cennikdiv {
    margin: auto;
    width: 90%;
    background-color: var(--reszta);
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: 1s;

}

.h3cennik {
    font-size: 1.5rem;
    text-align: center;
    margin: 35px 0 0 0;
    line-height: 1.7rem;
    height: 115px;
    text-transform: capitalize;
}

.cennikh4 {
    font-size: 60px;
    text-align: center;
    margin: 150px 0 0 0;
}

.centertext {
    text-align: center;
}

.navofertatext {
    padding-top: 100px;
    padding-bottom: 100px;
    margin-bottom: 0;
}

.bcsec {
    background-color: var(--reszta);
}

.cena {
    color: var(--akcent);
    font-size: 30px;
    text-align: center;
    line-height: 30px;
    margin-top: 0px;
    margin-bottom: 5px;


}

.cennikboxtext {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.font25 {
    font-size: 25px;
}

.bcnormal {
    background-color: #fff;
    border: solid var(--pierwszy);
    border-width: 0 2px;
    border-radius: 0;
    width: 100%;
}

.bcnormal:first-child {
    border-width: 0px;
}

.ofertabody .cennikboxtext {
    flex: 1;
}

.ofertabody .h3cennik {
    height: 110px;
}

.ofertabody .cennikall4 {
    margin: 0;
}

.ofertachartsample {
    min-height: 0;
    padding: 100px 0;
}

.cennikboxtext a {
    text-align: center;
    padding-bottom: 10px;
}

.cennikbody .cennikdiv:hover {
    transform: scale(1.07);
    cursor: pointer;
}

.gridgaleria {
    width: 80%;
    margin: 50px auto;
    min-height: 100vh;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    grid-template-columns: repeat(3, 1fr);
}

.galeriaimg {
    background-color: var(--reszta);
    margin: 10px;
    background-size: cover;
    background-position: center;
}

.topkontakt {
    margin: 140px 0 0 0;
}

.gridgaleria #g1 {
    background-image: url(silnik.webp);
}

.gridgaleria #g2 {
    background-image: url(bck.jpg);
}

.gridgaleria #g3 {
    background-image: url(luk.webp);
}

.gridgaleria #g4 {
    background-image: url(szkola-nauki-jazdy-tychy-alkogogle.webp);
}

.gridgaleria #g5 {
    background-image: url(deska.webp);
}

.gridgaleria #g6 {
    background-image: url(autabestl.webp);
}

.gridgaleria #g7 {
    background-image: url(autobestl.webp);
}

.gridgaleria #g8 {
    background-image: url(skrzynia.webp);
}

.gridgaleria #g9 {
    background-image: url(7134481_upalone-troleje-e14326514705472-300x210.webp);
}

.lowmargin {
    padding: 0;
}

.contact-section h3 {
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--biały);
    line-height: 0.9;
    font-weight: 200;
    font-style: normal;
    font-size: 24px;
    font-family: Big Shoulders Display, sans-serif;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.box {
    width: 80%;
    max-width: 50vw;
    box-sizing: border-box;
}

.text-box {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    margin-bottom: 25px;
}

.text-box p {
    margin-left: 20px;
    margin: 0;
    font-size: 16px;
}

.map-box iframe {
    width: 100%;
    height: 400px;
    border: none;
}

@media (max-width: 1024px) {

    .fileBlockController {
        flex-direction: column;
    }

    .gridgaleria {
        width: 80%;
        margin: 50px auto;
        min-height: 100vh;
        display: grid;
        grid-template-rows: repeat(9, 50vw);
        grid-template-columns: repeat(1, 1fr);
    }

    .cennikall4 {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin: 150px 0 0 0;
    }

    .secondcennikall {
        margin: 0;
    }

    .h3cennik {
        height: auto;
    }

    .cennikdiv {
        margin: 35px auto;
        min-height: 300px;
    }

    .cennikboxtext {
        flex: 1;
    }

    .chartfirst h1 {
        font-size: 40px;
    }

    .controlallchart {
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr;
    }

    .chartbox p {
        font-size: 30px;
        text-align: center;
        margin: 3px 0;
    }

    .zdawalnosctext {
        width: 95%;
        margin: auto;
    }

    .controlallchart2 {
        flex-direction: column;
        margin-bottom: 100px;
    }

    .zdawalnosctext2 {
        width: 95%;
        margin: auto;
    }

    .reverse_column {
        flex-direction: column-reverse;
    }

    .bcnormal {
        margin: 0;

    }

    .bcnormal {
        border-width: 2px 0 0 0;

    }

}

@media (max-width: 900px) {
    .map-box {
        width: 100vw;
    }

    .map-box iframe {
        width: 100%;
        /* Utrzymanie szerokości iframe w obrębie boxa */
        height: 400px;
        /* Wysokość iframe */
        border: none;
    }

    .box {
        max-width: 100vw;
    }
}