*{
    font-family: "Source Sans 3", sans-serif;
    font-weight: 300;
    font-size: 25px;
}
body{
    margin: 0;
}
main{
        max-width: 1200px;
        margin-top: 0;
        margin-left: auto;
        margin-right: auto;
        display: flex;
    }
.leftbar{
    display: flex;
    flex-direction: column;
    width: 60%;
    height: 100%;
    padding-top: 40px;
    padding-left: 40px;
}
.leftbar .logo img{
    width: 210px;
    height: auto;
    
}
.leftbar .logo .redbarMobile{
    display: none;
}
.leftbar .textMobile{
    display: none;
}
.leftbar .textContainer{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    margin-top: 100px;
}
.textwrapper{
    display: flex;
    padding-top: 10px;
    align-items: center;
    height: 40px;
}
.leftbar .textContainer .text{
    width: auto;
    display: flex;
    align-items: center;
}
.leftbar .textContainer .text p{
    margin: 0;
    white-space: nowrap;
}
.leftbar .textContainer .redhr{
    width: 100%;
    flex: 1;
    height: 2px;
    background-color: #ff333f;
    margin-top: 15px;
    margin-left: 10px;
    align-self: center;
}
.leftbar .imgContainer{
    display: flex;
    width: 100%;
    justify-content: flex-end;
}
.leftbar .imgContainer .img2{
    display: flex;
    width: 100%;
    max-width: 600px;
    min-width: 300px;
}
.leftbar .imgContainer .img2 img{
    width: 100%;
    height: auto;
    object-fit: contain;
}
.leftbar .imgContainer .textContainer2{
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 395px;
    top: 54%;
    transform: translateY(-50%);
}
.leftbar .imgContainer .textContainer2 a{
    display: flex;
    text-decoration: none;
    color :#ff333f;
    transition: all 0.3s ease-in-out;
}
.leftbar .imgContainer .textContainer2 a:hover{
    filter: drop-shadow(0 0 8px #ff333f);
}
.leftbar .imgContainer .textContainer2 p{
    margin: 0px;
    color: #000;
}

.leftbar .semicircle{
    position: absolute;
    left: 930px;
    top: 45%;
    transform: translateY(-50%);
    width: 350px;
    height: 700px;
    border: 4px solid #ff333f; /* dodajemy obramowanie zamiast tła */
    border-right: none; /* usuwamy prawą krawędź */
    border-radius: 700px 0 0 700px;
    z-index: 1;
    background-color: transparent;
    rotate: 270deg;
}
.rightbar{
    width: 40%;
    height: 100%;
}
.rightbar .redbar{
    height: 1440px;
    width: 100%;
    background-color: #ff333f;
}
.logo {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.redhr {
    width: 0;
    transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.textContainer2 {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Loader styles */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader {
    position: relative;
    width: 300px;
}

.loader-line {
    height: 2px;
    background: #ff333f;
    width: 0%;
    position: relative;
    transition: width 2s ease-in-out;
    overflow: hidden;
}

.loader-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 51, 63, 0.8), transparent);
    animation: shimmer 1.5s infinite;
}

.loader-text {
    color: white;
    font-size: 24px;
    margin-top: 20px;
    text-align: center;
    letter-spacing: 5px;
    opacity: 1;
    animation: glowPulse 2s infinite;
}

.loader-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    animation: fadeInUpScale 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.loader-text span:nth-child(1) { animation-delay: 0.1s; }
.loader-text span:nth-child(2) { animation-delay: 0.2s; }
.loader-text span:nth-child(3) { animation-delay: 0.3s; }
.loader-text span:nth-child(4) { animation-delay: 0.4s; }
.loader-text span:nth-child(5) { animation-delay: 0.5s; }
.loader-text span:nth-child(6) { animation-delay: 0.6s; }
.loader-text span:nth-child(7) { animation-delay: 0.7s; }
.loader-text span:nth-child(8) { animation-delay: 0.8s; }
.loader-text span:nth-child(9) { animation-delay: 0.9s; }
.loader-text span:nth-child(10) { animation-delay: 1.0s; }
.loader-text span:nth-child(11) { animation-delay: 1.1s; }
.loader-text span:nth-child(12) { animation-delay: 1.2s; }

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes glowPulse {
    0% {
        text-shadow: 0 0 5px #ff333f, 0 0 10px #ff333f;
        filter: brightness(1);
    }
    50% {
        text-shadow: 0 0 25px #ff333f, 0 0 40px #ff333f;
        filter: brightness(1.2);
    }
    100% {
        text-shadow: 0 0 5px #ff333f, 0 0 10px #ff333f;
        filter: brightness(1);
    }
}

.loader-wrapper.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Dodaj efekt pulsowania dla linii loadera */
@keyframes linePulse {
    0% {
        transform: scaleY(1);
        box-shadow: 0 0 10px #ff333f;
    }
    50% {
        transform: scaleY(1.3);
        box-shadow: 0 0 25px #ff333f, 0 0 40px #ff333f;
    }
    100% {
        transform: scaleY(1);
        box-shadow: 0 0 10px #ff333f;
    }
}

.loader-line {
    animation: linePulse 1s infinite;
    transform-origin: center;
}

/* Dodaj nową animację fadeInUp */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpScale {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media screen and (min-width: 2560px) {
    .leftbar .imgContainer .textContainer2{
        display: flex;
        flex-direction: column;
        position: absolute;
        left: 716px;
        top: 42%;
        transform: translateY(-50%);
    }
    .leftbar .imgContainer .textContainer2 a{
        display: flex;
        text-decoration: none;
        color :#ff333f;
    }
    .leftbar .imgContainer .textContainer2 p{
        margin: 0px;
        color: #000;
    }
    
    .leftbar .semicircle{
        position: absolute;
        left: 1250px;
        top: 35%;
        transform: translateY(-50%);
        width: 350px;
        height: 700px;
        border: 4px solid #ff333f; /* dodajemy obramowanie zamiast tła */
        border-right: none; /* usuwamy prawą krawędź */
        border-radius: 700px 0 0 700px;
        z-index: 1;
        background-color: transparent;
        rotate: 270deg;
    }
}
@media screen and (max-width: 1444px) {
    .leftbar .imgContainer .textContainer2{
        display: flex;
        flex-direction: column;
        position: absolute;
        left: 166px;
        top: 63%;
        transform: translateY(-50%);
    }
    .leftbar .imgContainer .textContainer2 a{
        display: flex;
        text-decoration: none;
        color :#ff333f;
    }
    .leftbar .imgContainer .textContainer2 p{
        margin: 0px;
        color: #000;
    }
    
    .leftbar .semicircle{
        position: absolute;
        left: 700px;
        top: 51%;
        transform: translateY(-50%);
        width: 350px;
        height: 700px;
        border: 4px solid #ff333f; /* dodajemy obramowanie zamiast tła */
        border-right: none; /* usuwamy prawą krawędź */
        border-radius: 700px 0 0 700px;
        z-index: 1;
        background-color: transparent;
        rotate: 270deg;
    }

}


@media screen and (max-width: 1025px) {
    .leftbar .imgContainer .textContainer2{
        display: flex;
        flex-direction: column;
        position: absolute;
        left: 38px;
        top: 55%;
        transform: translateY(-50%);
    }
    .leftbar .imgContainer .textContainer2 a{
        display: flex;
        text-decoration: none;
        color :#ff333f;
    }
    .leftbar .imgContainer .textContainer2 p{
        margin: 0px;
        color: #000;
    }
    
    .leftbar .semicircle{
        position: absolute;
        left: 570px;
        top: 45%;
        transform: translateY(-50%);
        width: 350px;
        height: 700px;
        border: 4px solid #ff333f; /* dodajemy obramowanie zamiast tła */
        border-right: none; /* usuwamy prawą krawędź */
        border-radius: 700px 0 0 700px;
        z-index: 1;
        background-color: transparent;
        rotate: 270deg;
    }
}
@media screen and (max-width: 769px) {
    .leftbar .imgContainer .textContainer2{
        display: flex;
        flex-direction: column;
        position: absolute;
        left: 38px;
        top: 58%;
        transform: translateY(-50%);
    }
    .leftbar .imgContainer .textContainer2 a{
        display: flex;
        text-decoration: none;
        color :#ff333f;
    }
    .leftbar .imgContainer .textContainer2 p{
        margin: 0px;
        color: #000;
    }
    
    .leftbar .semicircle{
        position: absolute;
        left: 495px;
        top: 50%;
        transform: translateY(-50%);
        width: 300px;
        height: 600px;
        border: 4px solid #ff333f; /* dodajemy obramowanie zamiast tła */
        border-right: none; /* usuwamy prawą krawędź */
        border-radius: 700px 0 0 700px;
        z-index: 1;
        background-color: transparent;
        rotate: 270deg;
    }
}
@media screen and (max-width: 426px) {
    .leftbar{
        max-width: 425px;
        padding: 0;
        width: 100%;
    }
    .leftbar .textMobile{
        display: flex;
        flex-direction: column;
        text-align: center;
        margin-top: 40px;
        z-index: 5;
    }
    .leftbar .textMobile p{
        font-size: 21px;
        margin: 0;
        padding-left: 10px;
        letter-spacing: 2px;
    }
    .leftbar .textMobile hr{
        height: 1px;
        width: 100%;
        border: none;
        background-color: #000000;
    }
    .leftbar .textMobile .redsquare{
        margin-top: 70px;
        width: 100%;
        height: 390px;
        background-color: #ff333f;
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 5px;
    }
    .leftbar .textMobile .redsquare a{
        text-decoration: none;
        color: #ffffff;
        font-size: 20px;
    }
    .leftbar .textContainer{
        display: none;
    }
    .leftbar .imgContainer .textContainer2{
        display: flex;
        flex-direction: column;
        position: absolute;
        left: 20px;
        top: 70%;
        transform: translateY(-50%);
    }
    .leftbar .imgContainer .textContainer2 a{
        display: flex;
        text-decoration: none;
        color :#000000;
        font-size: 20px;
    }
    .leftbar .imgContainer .textContainer2 p{
        margin: 0px;
        color: #000;
        font-size: 20px;
    }
    .leftbar .semicircle{
        display: none;
    }
    .leftbar .imgContainer .img2 img{
        position: absolute;
        top: 280px;
        z-index: 2px;
    }
    .leftbar .imgContainer .img2 .textContainer2{
        display: none;
    }
    .leftbar .logo{
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 10;
    }
    .leftbar .logo .redbarMobile{
        display: flex;
        width: 115px;
        height: 5px;
        background-color: #ff333f;
    }
    .leftbar .logo img{
        margin-top: 30px;
        width: 120px;
        height: auto;
    }
    .rightbar{
       display: none;
    }
    .rightbar .redbar{
        width: 100%;
    }
    
}
