html{
    scroll-behavior: smooth;
    overflow-x: hidden !important;
}

body{
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    position: relative;
}


/* -------- NAV BAR -------- */


.nav-bar{
    background-image: linear-gradient(to left, #FFE6EE, #802BFF);
    height: 28px;
    width: 100%;
    display: flex;
    font-size: 18px;
    font-family: "PT Sans", sans-serif;
    font-weight: 700;
    justify-content: space-between;
    align-items: center;
    padding: 35px 30px;
    box-sizing: border-box;
    position: fixed;
    z-index: 999;
    top: 0;
}

.nav-bar .name{
    color: #ffffff;
    margin: 0;
    text-decoration: none;
}

.nav-bar .right a {
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s;
    outline: none !important;
}

.nav-bar .right a:hover {
    border-bottom: 1px solid #1A004B;
}

.nav-bar .right #demo:hover, .nav-bar .right #demo2:hover  {
    border-bottom: none !important;
}

.nav-bar .right {
    margin: 0;
    display: flex;
    gap: 30px;
    color: #1A004B;
}

.nav-bar .right a {
    color: #1A004B;
}

.nav-bar span {
    background-color: #1A004B;
    color: #ffffff;
    border-radius: 25px;
    padding: 10px 25px;
}

.nav-bar span:hover {
    cursor: pointer;
    background-color: #8A3AFE;
}

#menu-angle{
    display: none;
    transition: transform 0.1s ease;
}

#menu {
    padding: 10px 0 50px 0;
    background-image: linear-gradient(to left, #FFE6EE, #802BFF);
    position: absolute;
    width: 100%;
    left: 0;
    top: 50px;
    text-align: center;
}

#menu a{
   margin-bottom: 10px;
    display: inline-block;
}

#menu #demo2{
    margin-top: 20px;
}


@media only screen and (max-width: 800px) {

    .nav-bar {
        padding: 25px 10px;
    }
    #demo, #menu-mozliwosci, #menu-steps{
        display: none;
    }
    #menu-angle{
        display: block;
    }

}


/* -------- BANNER -------- */


.banner {
    margin-top: -50px;
    text-align: center;
    background-color: rgb(247, 247, 255);
    height: 600px;
    position: relative;
}

.banner .title {
    position: relative;
    font-family: "Gemunu Libre", serif;
    color: #1A004B;
    font-size: 140px;
    font-weight: 300;
    z-index: 9;
    line-height: 100px;
    top: 130px;
}

.image-container {
    position: absolute;
    display: inline-block;
    z-index: 9;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.phone {
    display: block;
    position: relative;
    width: 100%;
    max-width: 400px;
}

.overlay {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -70%);
    text-align: center;
    font-size: 28px;
    font-family: "Gemunu Libre", serif;
    color: #1A004B;
}

.overlay h2 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 300;
    padding-bottom: 20px;
}

.overlay a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 30px;
    color: #1A004B;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 18px;
    background-image: linear-gradient(to bottom right, #FFB1AB, #FFCDCA, #C2F6B6, #3EFFEF, #00DDFF);
    font-family: "PT Sans", sans-serif;
}

.overlay strong{
    font-family: "PT Sans", sans-serif;
}

.overlay a:hover {
    background-image: none;
    background-color: #8A3AFE;
    color: #ffffff;
}

.rotating-star {
    display: block;
    position: fixed;
    top: -80px;
    left: 5%;
    z-index: 0;
    width: 90%;
    height: auto;
    transform-origin: center;
    pointer-events: none;
    will-change: transform;
    overflow: hidden;
}

@media only screen and (max-width: 928px) {
    .banner {
        height: 640px;
    }
    .phone {
        width: 90%;
        margin: auto;
    }
    .banner .title {
        top: 80px
    }
    .image-container {
        width: 80%;
    }
    .rotating-star {
        top: 6%;
    }
}

@media only screen and (max-width: 580px) {
    .banner {
        height: 580px;
    }
    .banner .title {
        top: 120px;
        font-size: 90px;
        line-height: 70px;
    }
    .rotating-star {
        top: 0;
        width: 160%;
        left: -30%;
    }
}

@media only screen and (max-width: 390px) {
    .banner {
        height: 500px;
    }
    .banner .title {
        font-size: 70px;
        line-height: 50px;
    }
    .overlay{
        font-size: 20px;
    }
    .overlay a {
        font-size: 16px;
    }

}


/* -------- MECHANISM -------- */


.mechanism {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 70px 0;
    background-color: #ffffff;
    text-align: center;
    width: 100%;
    z-index: 9;
}

.mechanism .content{
    width: 80%;
    margin: auto;
    text-align: center;
    font-size: 24px;
    line-height: 28px;
    font-family: "PT Sans", sans-serif;
    color: #1A004B;
    font-weight: 100;
}

.vertical-line {
    width: 1px;
    height: 100px;
    background-color: #1A004B;
    margin: 40px 0;
}

.mechanism h3{
    font-size: 36px;
    font-family: "Gemunu Libre", serif;
    font-weight: 100;
    line-height: 38px;
    color: #1A004B;
    margin: 0;
}

.mechanism h3 strong{
    font-family: "PT Sans", sans-serif;
    font-size: 33px;
}

.mechanism span{
    color: #1A004B;
    font-family: "PT Sans", sans-serif;
}

.mechanism a, .mozliwosci a{
    display: inline-block;
    margin-top: 15px;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 18px;
    background-color: #1A004B;
    font-family: "PT Sans", sans-serif;
}

.mechanism a span, .mozliwosci a span {
    color: #ffffff;
}

.mechanism a:hover, .mozliwosci a:hover{
    background-color: #8A3AFE;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 50px 0;
    width: 90%;
}

.step {
    flex: 1 1 calc(25% - 40px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 350px;
    min-width: 250px;
    box-sizing: border-box;
}

.step img {
    display: block;
    margin: auto auto 20px auto;
}

.step .title {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #1A004B;
    font-family: "PT Sans", sans-serif;
    margin: 0;
    height: 20px;
    padding-top: 0;
}

.step .description {
    font-size: 14px;
    color: #1A004B;
    line-height: 1.3;
    font-family: "PT Sans", sans-serif;
    height: 60px;
    text-overflow: ellipsis;
}

@media only screen and (max-width: 1280px) {
    .step {
        flex: 1 1 calc(50% - 20px);
    }
}


/* -------- MOZLIWOSCI -------- */


.mozliwosci{
    background-image: linear-gradient(to bottom, #F8F8FF, #F7DBEF, #9A51FB);
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.mozliwosci .content{
    width: 90%;
    margin: auto;
    padding: 50px 0;
    text-align: center;
}

.mozliwosci .personalizacja{
    display: flex;
    text-align: left;
}

.mozliwosci .personalizacja .left{
    flex: 1 1 60%;
}

.mozliwosci .personalizacja .right{
    flex: 1 1 40%;
    padding: 30px 0;
    font-family: "PT Sans", sans-serif;
    color: #1A004B;
}

.mozliwosci .subtitle{
    font-family: "PT Sans", sans-serif;
    color: #1A004B;
    font-size: 22px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.mozliwosci .personalizacja .right li{
    padding: 5px 0;
}

.cechy{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 50px 0;
}

.storytelling, .doswiadczenia, .publicznosc ,.zaangazowanie{
    flex: 1 1 calc(50% - 80px);
    border-radius: 15px;
    background-color: #ffffff;
    padding: 50px 30px;
    font-family: "PT Sans", sans-serif;
    color: #1A004B;
    font-weight: 100;
    display: flex;
    text-align: left;
    min-width: 300px;
}

.storytelling .left, .doswiadczenia .left, .publicznosc .left,.zaangazowanie .left {
    flex: 1 1 35%;
    align-content: center;
    display: block;
    padding-right: 20px;
}

.storytelling .left img, .doswiadczenia .left img, .publicznosc .left img,.zaangazowanie .left img{
    display: block;
    margin: auto;
}

.storytelling .right, .doswiadczenia .right, .publicznosc .right,.zaangazowanie .right {
    flex: 1 1 65%;
}


@media only screen and (max-width: 1200px) {

    .storytelling, .doswiadczenia, .publicznosc ,.zaangazowanie{
        flex-direction: column;
        text-align: center;
    }
    .storytelling .left img, .doswiadczenia .left img, .publicznosc .left img,.zaangazowanie .left img{
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 1180px) {
     .mozliwosci .personalizacja .left {
        flex: 1;
    }

    .mozliwosci .personalizacja .right {
        flex: 1;
    }
    .mozliwosci .personalizacja{
        flex-direction: column;
    }

    .mozliwosci .personalizacja .left img{
        display: block;
        margin: auto;
        width: 100%;
    }
}

@media only screen and (max-width: 540px) {

    .storytelling, .doswiadczenia, .publicznosc, .zaangazowanie {
        min-width: unset;
    }
}


/* -------- FORM -------- */


.contact{
    background-color: #ffffff;
    position: relative;
    width: 100%;
}

.contact .content{
    width: 90%;
    margin: auto;
    display: flex;
    padding-top: 80px;
    flex-wrap: wrap;
}

.contact .left{
    flex: 1 1 50%;
}

.contact .left img{
    display: block;
    margin: auto;
}

.contact .contact-right{
    flex: 1 1 50%;
    min-width: 450px;
}

.contact .contact-right h2{
    font-family: "Gemunu Libre", serif;
    color: #1A004B;
    font-weight: 100;
    font-size: 36px;
}

.contact .contact-right h2 strong{
    font-family: "PT Sans", sans-serif;
    color: #1A004B;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-form input{
    padding: 15px 25px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 16px;
    border: 1px solid #D1D1EC;
    outline: none;
    margin-right: 20px;
    width: calc(50% - 80px);
}

.checkbox-container {
    display: flex;
    align-items: center;
}

.checkbox-container input[type="checkbox"] {
    margin: 0;
    width: 20px;
}

.checkbox-container label {
    font-family: "PT Sans", sans-serif;
    font-size: 14px;
    color: #1A004B;
    margin: 20px 0 20px 10px;
}

#responseMessage {
    transition: all 0.3s ease;
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    color: #ffffff;
    font-family: "PT Sans", sans-serif;
}

#submitBtn{
    width: 100%;
    padding: 10px 30px;
    color: #1A004B;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 18px;
    border: none;
    background-image: linear-gradient(to bottom right, #FFB1AB, #FFCDCA, #C2F6B6, #3EFFEF, #00DDFF);
    font-family: "PT Sans", sans-serif;
    margin-bottom: 20px;
}

#submitBtn:hover{
    background-image: none;
    background-color: #8A3AFE;
    cursor: pointer;
    color: #ffffff;
}

.loading-spinner {
    margin-left: 10px;
    font-size: 16px;
    animation: spin 2s linear infinite;
    display: inline-block;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.success-content{
    font-family: "PT Sans", sans-serif !important;
    text-align: left !important
}

.success-content h2{
    font-family: "PT Sans", sans-serif !important;
    font-size: 48px !important;
    font-weight: 800 !important;
}

.success-content span{
    display: block;
    margin: 10px 0;
}

.success-content img{
    margin-top: 30px;
}

.loteria{
    display: inline-block;
    margin: 15px 0;
    padding: 10px 30px;
    color: #1A004B;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 18px;
    background-image: linear-gradient(to bottom right, #FFB1AB, #FFCDCA, #C2F6B6, #3EFFEF, #00DDFF);
    font-family: "PT Sans", sans-serif;
}

.loteria:hover{
    cursor: pointer;
    background-image: none;
    background-color: #8A3AFE;
    color: #ffffff;
}


@media only screen and (max-width: 999px) {
    .contact .left{
        order: 2;
    }
    .contact .left img{
      width: 90%;
    }
    .contact .contact-right{
        order: 1;

    }
    .contact-form input{
        width: calc(100% - 60px);
    }
    .contact .contact-right h2{
        text-align: center;
    }
    #submitBtn{
        margin-bottom: 50px;
    }
}

@media only screen and (max-width: 540px) {
    .contact .contact-right{
        min-width: 100%;
    }
}


/* -------- FOOTER -------- */


.footer{
    background-color: rgb(247, 247, 255);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 80px;
    position: relative;
    font-family: "PT Sans", sans-serif;
    color: #1A004B;
}

.footer .left{
    flex: 1 1 50%
}

.footer .middle, .footer .right{
    flex: 1 1 25%;
    min-width: 300px;
    padding: 10px 0;
}

@media only screen and (max-width: 720px) {
    .footer .middle, .footer .right{
        flex: 1;
    }
}

@media only screen and (max-width: 540px) {
    .footer {
        padding: 20px 20px;
    }
}
