body {
    background-color: #ffffff;
    font-family: 'Arial', sans-serif;
    height: 100%;
}

@media (max-width: 767px) {
    /* Wstep */
    .title_div {
        margin-top: -250px !important;
    }
    
    .title h1 {
        font-size: max(40px, 8vw);
    }
    
    .title p {
        font-size: 17px !important;
        line-height: 25px !important;
        margin: 0px 10px !important;
    }
    
    .scroll-button {
        transform: translate(-50%, -220px) !important;
    }    
    
    .arrow {
        margin-top: -160px;
    }

    /* Box */
    .main_box {
        margin-bottom: 100px !important;    
    }
    
    .center_box {
        width: 90vw !important;
    }
    
    /* Przyszlosc jest teraz */
    .future_box {
        display: grid !important; 
        justify-content: left !important;
    }
    
    .brain_img {
        height: auto !important;
        width: 100% !important;
        border-radius: 40px;
        margin: auto !important;
    }
    
    .future_div {
        width: 100% !important;
        margin: 30px auto auto auto !important;
        padding: 0px !important;
    }
    
    .future_div h2 {
        color: black !important;
        font-size: 6vw !important;
    }
    
    .future_div p {
        margin-top: 30px;
        font-size: 17px !important;
        line-height: 25px !important;
    }
    
    .line {
        display: block !important;
        width: 80vw;
        height: 2px;
        background-color: #64A40F;
        margin: 20px 0;
    }
    
    /* Uslugi */
    .flip-box-div {
        display: grid !important;
        grid-template-columns: repeat(1, 1fr) !important;
    }
    
    .flip-box {
        width: 100% !important;
    }
    
    /* Zastosowania AI */
    .examples {
        display: grid !important;
        width: 90vw !important;
    }
    
    .auto_left {
        margin: 0px !important;
    }

    .auto_right {
        margin: 0px !important;
    }
    
    .ai_title_div {
        display: none;
    }
    
    .title_ai_2 {
        display: block !important;
    }
    
    .ai_text {
        width: 100% !important;
        height: auto !important;
        padding: 0px 0px 40px 0px !important;
    }
    
    .ai_text h4 {
        font-size: 25px !important;
        padding: 30px 0px !important;
    }
    
    .ai_text p {
        font-size: 17px !important;
        line-height: 25px !important;
    }
    
    /* Etapy realizacji */
    .etap_phon {
        display: block !important;
    }
    
    .container_e {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    /* Wstep */
    .title h1 {
        font-size: min(8vw, 60px);
    }
    
    .scroll-button {
        transform: translate(-50%, -220px) !important;
    }    
    
    .arrow {
        margin-top: -160px;
    }
    
    /* Box */
    .center_box {
        width: 90vw !important;
    }
    
    /* Przyszlosc jest teraz */
    .future_div {
        margin: 270px 0px auto -650px  !important;
        padding: 15px 40px  !important;
    }
    
    .brain_img {
        margin-left: -90px;
    }
    
    /* Uslugi */
    .flip-box-div {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .flip-box {
        width: calc(100% - 40px) !important;
    }
    
    /* Zastosowania AI */
    .ai_text {
        width: 100% !important;
        height: auto !important;
        padding: 0px 0px 40px 0px !important;
    }
}

@media (min-width: 1024px) and (max-width: 1300px) {
    /* Wstep */
    .title h1 {
        font-size: min(6vw, 100px);
    }
    
    .arrow {
        margin-top: -40px;
    }
    
    /* Box */
    .center_box {
        width: min(90vw, 1200px) !important;
    }
    
    /* Przyszlosc jest teraz */
    .future_div {
        margin: auto 0px auto -420px !important;
    }
    
    .brain_img {
        margin-left: -90px;
    }
    
    /* Uslugi */
    .flip-box-div {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .flip-box {
        width: calc(100% - 40px) !important;
    }
    
    /* Zastosowania AI */
    .ai_text {
        width: 40vw !important;
    }
}

@media (min-width: 1300px) and (max-width: 1600px) {
    /* Wstep */
    .title h1 {
        font-size: min(6vw, 100px);
    }
    
    .arrow {
        margin-top: -40px;
    }
    
    /* Przyszlosc jest teraz */
    .brain_img {
        height: 400px !important;
    }
    
    .future_div p {
        font-size: 18px !important;
        line-height: 30px !important;
    }
    
    /* Zastosowania AI */
    .ai_text {
        width: 40vw !important;
    }
}

@media (min-width: 1600px) {
    /* Wstep */
    .title h1 {
        font-size: min(6vw, 100px);
    }
    
    .arrow {
        margin-top: -40px;
    }
}

@media (max-height: 600px) {
    /* Wstep */
    .scroll-button {
        display: none;
    }
    
    .title_div {
        margin-top: calc(1vh - 150px) !important;
    }
}

/* Wstep */
#animation_vectors {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.animation_div {
    position: relative;
}

.title {
    position: relative;
    height: calc(100vh);
    z-index: 1;
    display: grid;
    justify-content: center;
    align-content: center;
}

.title_div {
    margin-top: -200px;
    text-align: center;
}

.title h1 {
    text-align: center;
    color: #64A40F;
}

.title p {
    font-size: 20px;
    line-height: 32px;
    margin: 0px 45px;
}

.scroll-button {
    position: absolute;
    z-index: 2;
    width: 60px;
    height: 110px;
    left: 50%;
    transform: translate(-50%, -185px);
    cursor: pointer;
}

.arrow {
    margin-left: -8px;
    animation: bounce 1s infinite alternate;
}

.arrow:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(10px);
    }
}

/* Box */
.main_box {
    margin-bottom: 200px;
}

.center_box {
    width: min(90vw, 1400px);
    margin: auto;
}


/* Przyszlosc jest teraz */
.future_box {
    display: flex;
    justify-content: center;
}

.future_div {
    width: 700px;
    height: 100%;
    margin: auto 0px auto -250px;
    background: #FFFFFF;
    padding: 10px 80px;
}

.future_div h2 {
    color: #64A40F;
}

.future_div p {
    font-size: 20px;
    line-height: 32px;
}

.brain_img {
    height: 500px;
    width: auto;
    margin-right: 30px;
    display: block;
}

.line {
    display: none
}

/* Uslugi */
.flip-box {
    background-color: transparent;
    width: calc(25% - 20px);
    height: 250px;
    perspective: 1000px;
    margin: 30px auto;
}

.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: grid;
    justify-content: center;
    align-content: center;
}

.flip-box-front {
    background-color: #E8E8E8;
    color: black;
}

.flip-box-back {
    background-color: #64A40F;
    color: white;
    transform: rotateY(180deg);
}

.flip-box-back div {
    margin: auto 10px;
}

.flip-box-front i {
    font-size: 25px;
    background-color: #fff;
    display: inline-block;
    color: #64A40F;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%; 
    margin: 0px auto 15px auto;
}

/* Zastosowania AI */
.examples {
    display: flex;
    width: min(90vw, 1400px);
    margin: auto;
}

.title_ai {
    border-bottom: 1px solid #64A40F;/*pozioma linia do która znajdzie się pod tekstem nagłówka*/
    color: #000;
    font-size: 50px;
    margin: 65px 6vw;
    position: relative;
    text-align: center;
}
.title_ai span {
    background: #FFF;/*tło dla naszego napisu w nagłówku, który przykryje poziomą linię*/
    padding: 0 15px;
    position: relative;
    top: 29px;
}

.title_ai_2 {
    display: none;
}

.ai_text {
    width: min(33vw, 700px);
    font-weight: 400;
    color: #000;
    margin: 30px auto;
    background-color: #fff;
    border: none;
    border-radius: 45px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
}

.ai_text:hover {
  background-color: #FAFAFA;
  box-shadow: 0px 15px 20px #64A40F;
  color: #000;
  transform: translateY(-7px);
}

.ai_text h4 {
    text-align: center;
    padding: 50px 0px;
    font-size: 30px;
}

.ai_text p {
    text-align: left;
    padding: 0px 25px 30px 25px;
    font-size: 20px;
    line-height: 32px;
}

/* Przykłady Automatyzacji */
.auto_left {
    margin: 0px 20px 0px 0px;
}

.auto_right {
    margin: 100px 0px 0px 20px;
}

.auto_left div, .auto_right div {
    margin: 30px auto;
    border-radius: 16px;
    border-width: 2px;
    border-color: #e8e8e8;
    border-style: solid;
}

.auto_left h3, .auto_right h3 {
    padding: 20px 20px 0px 20px;
}

.auto_left p, .auto_right p {
    padding: 20px 20px 0px 20px;
}

/* Etapy realizacji */
.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #eeeeee;
    left: 50%;
    margin-left: -1.5px;
}

.timeline > li {
    margin-bottom: 20px;
    position: relative;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li > .timeline-panel {
    width: 46%;
    float: left;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    padding: 20px;
    position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline > li > .timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid #ccc;
    border-right: 0 solid #ccc;
    border-bottom: 15px solid transparent;
    content: " ";
}

.timeline > li > .timeline-panel:after {
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " ";
}

.timeline > li > .timeline-badge {
    color: #fff;
    width: 24px;
    height: 24px;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: 30px;
    left: 50%;
    margin-left: -12px;
    background-color: #999999;
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}

.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

.timeline-badge{
    background-color: #64A40F !important;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}

.timeline-body > p + p {
    margin-top: 5px;
}

.etap_phon {
    display: none;
    width: 90vw;
    margin: 30px auto;
    border-radius: 16px;
    border-width: 2px;
    border-color: #e8e8e8;
    border-style: solid;
}

.etap_phon h4 {
    padding: 20px 20px 0px 20px;
}

.etap_phon p {
    padding: 0px 20px;
}

/* Pytania */
.button_contact {
    width: 134px;
    padding: 8px 16px;
    margin: 30px auto;
    background: #64A40F;
    color: white;
    font-size: 16px;
    border-radius: 10px;
}