body {
    margin: 0;
    overflow: hidden;
    height: 100vh;
    background-color:rgba(0, 181, 234, 1);
    background-image: radial-gradient(circle at top, rgba(0, 181, 234, 1) 0%, rgba(0, 0, 0, 0.4) 25%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 1) 100%);
    font-family: "Host Grotesk", serif;
    font-optical-sizing: auto;
    font-style: normal;
}


.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    pointer-events: none; 
}

.overlay svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto; 
    pointer-events: none; 
}

@keyframes draw {
    from {
        stroke-dashoffset: var(--stroke-dashoffset);
    }
    to {
        stroke-dashoffset: 0;
    }
}

path {
    animation: draw 1s linear forwards;
    animation-delay: calc(var(--path-index) * 0.5s);
    stroke-dasharray: var(--stroke-dasharray);
    stroke-dashoffset: var(--stroke-dashoffset); 
}
/* Phone container styles */

.phone-container {
    position: absolute;
    top: 50%;
    left: 110%; /* Start completely out of the screen */
    transform: translate(-50%, -50%);
    width: min(65vw, 65vh * (483 / 974));  /* Increase width for high-resolution small screens */
    height: min(65vh, 65vw * (974 / 483));  /* Increase height for high-resolution small screens */
    max-width: 483px; 
    max-height: 974px;  
    transition: left 1.5s ease-in-out 1.5s;
    z-index: 4; /* Ensure it is above the white overlay */
}

/* Show phone animation */
.show-phone {
    left: 80%;
}

/* iPhone frame styles */
.iphone-frame {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 5; /* Ensure it is above the iframe */
    pointer-events: none; /* Ensure transparent areas do not block clicks */
}

/* Iframe container styles */
.iframe-container {
    position: absolute;
    top: 2.5%; /* Adjust to fit inside the transparent section of the iPhone image */
    left: 5%; /* Adjust to fit inside the transparent section of the iPhone image */
    width: 90%; /* Adjust to fit inside the transparent section of the iPhone image */
    height: 95.2%; /* Adjust to fit inside the transparent section of the iPhone image */
}

/* App iframe styles */
.app-iframe {
    width: 100%;
    height: 100%;
    border: none;
    z-index: 3; /* Ensure it is above the white overlay but below the phone frame */
    pointer-events: auto; /* Ensure iframe is interactive */
}

/*nawigacja*/
nav {
    position: absolute;
    display: inline;
    top: 10%;
    left: 9%;
    font-weight: 300;
}

nav a {
    font-size: 18px;
    color: rgb(211, 211, 211);
    text-decoration: none;
    display: inline;
    padding-right: 30px;
    text-shadow: 1px 1px 2px black;
    transition: color 0.5s ease;
}

nav a:hover, nav a.active  {
    color: rgba(0, 181, 234, 1); 
}

/*kontener dla slidow*/
.slider-container {
    width: 50%;
    height: 80%;
    position: absolute;
    overflow: hidden;
    top: 15%;
    left: 5%;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    width: auto;
    display: block;
    font-size: 2em;
    opacity: 0;
    position:relative;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.pause-button {
    top: 9%;
    left: 5%;
    position: absolute;
    font-size: 3em !important;
    color: rgba(0, 181, 234, 1); /* Icon color */
    background: none; /* Transparent background */
    opacity: 0.5;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pause-button:hover {
    opacity: 1;
}

.pause-button.paused {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    color: rgba(0, 181, 234, 1); /* Icon color */
    background: none; /* Transparent background */
    border: 1px solid rgba(0, 181, 234, 1); /* 1px border with color */
    border-radius: 50%; /* Rounded */
    cursor: pointer;
    z-index: 10;
    width: 40px; /* Adjust width */
    height: 40px; /* Adjust height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-left {
    left: 2%
}

.arrow-right {
    left: 55%;
}

/*zawartość slajdów*/
.header {
    width: 100%
}

.header h1 {
    margin: 0;
    font-size: 2em;
    font-weight: 600;
    background: linear-gradient(76deg, #00B5EB, #FF5CDC);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.header:nth-child(1) {
    filter: drop-shadow(2px 2px #000000);
}

.header span {
    font-size: 0.8em;
    font-weight: 400;
    color: #ffffff;
}
.line-svg {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.description {
    width: 100%;
}

.description p {
    font-size: 0.5em;
    font-weight: 300;
    color: #ffffff;
}

.circle-container {
    position: absolute;
    display: flex;
    padding-top: 15%;
    left: 11%;
}

.circle {
    margin-right: 1vw;
    width: 10vw; /* Ustalona szerokość względem widoku */
    height: 10vw;
    position: relative;
    transform: translate(-50%, -50%);
}

.outer-circle {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: #00B7EA;
    border-right-color: #00B7EA;
    border-left-color: #00B7EA;
    border-bottom-color: #ffffff;
    animation: spin 10s infinite linear;
}

.inner-circle {
    position: absolute;
    width: calc(100% - 10%);
    height: calc(100% - 10%);
    border-radius: 50%;
    background: linear-gradient(to bottom, #00B7EA, #006784);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.5em;
    font-weight: 300;
    color: #ffffff;
}

@keyframes spin {
    100% {
        transform: rotate(1turn);
    }
}

/* Brain*/

.brain {
    top: 35%;
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%; 
    justify-content: center;
    pointer-events: none; 
}

.animate .brain-svg-loaded  {
    position: absolute;
    width: 80%;
    height: auto; 
    pointer-events: none;
    fill-opacity: 0;
    animation: brain-patch 2s linear forwards, brain 2s infinite 2s;
}

@keyframes brain {
    0% {
        fill-opacity: 0;
    }
    50% {
        fill-opacity: 0.5;
    }
    100% {
        fill-opacity: 0;
    }
}

@keyframes brain-patch {
    from {
        stroke-dashoffset: var(--stroke-dashoffset);
    }
    to {
        stroke-dashoffset: 0;
    }
}
.f-scan {
    display: flex;
    margin-top: 10%;
    gap: 5%; /* Odstęp między elementami */
    width: 100%; /* Dostosuj szerokość kontenera */
    margin-left: 5%;
}

.face-recognition {
    flex: 1; /* Obraz zajmuje część dostępnej przestrzeni */
    max-width: 40%; /* Maksymalna szerokość obrazu */
    position: relative; /* Kontekst pozycji dla elementów wewnątrz */
}

.scan-wrapper {
    position: relative;
    width: 100%;
}

.face-recognition img {
    width: 100%;
    height: auto;
    display: block;
}

.f-text {
    flex: 1; /* Tekst zajmuje pozostałą przestrzeń */
    font-size: 0.5em;
    font-weight: 300;
    color: #ffffff;
}

/* Linia skanowania nad obrazem */
.scan-line {
    position: absolute;
    width: 100%; /* Dopasowanie szerokości do obrazu */
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, rgba(0, 255, 255, 0.8), rgba(0, 255, 255, 0.277));
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    animation: scan-animation 3s linear infinite;
}

@keyframes scan-animation {
    0% {
        top: 0;
    }
    50% {
        top: 100%;
    }
    100% {
        top: 0;
    }
}


@media (max-width: 1500px) {
    .circle-container {
        left: 11% !important;
    }
    .circle {
        width: 10vw;
        height: 10vw;
        
    }
    .inner-circle {
        font-size: 0.4em;
    }
    nav a{
      padding-left: 40px;  

    }
    .arrow-right {
        left: 60%;
    }
}


@media (max-width: 768px) {
    .circle {
        width: 15vw;
        height: 15vw;
    }
}

@media (max-width: 480px) {
    .circle {
        width: 20vw;
        height: 20vw;
    }
}


