:root{
    --primary-color:#4285F4;
    --primary-color-dark: #1577EA;
    --slider-treshold: 30px;
    --slider-slide-width: 209.75px;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'Inter', serif;
    font-style: normal;
}

body {
    background-image: url(../assets/bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: #333;
}


h1 {
    font-weight: 700;
    font-size: 76px;
    line-height: 90px;
    color: #1B1B1B;
}
h3{
    font-weight: 500;
    font-size: 32px;
    line-height: 48px;
}
p {

}

.main{
    margin: auto;
    max-width: 1260px;
}

.container{
    display: flex;
    flex-direction: row;
    align-items: center;

}




.header-container{
    flex: 1;
}

.header :nth-child(n + 2){
    color: var(--primary-color);
}

.header{
    display: flex;
    justify-content: start;
    margin-bottom: 12px;
    white-space: nowrap;
}

.sub-header{
    color: rgba(37, 37, 37, 0.9);
}

.sub-header > h3{
    margin-bottom: 10px;
}

.sub-header > p{
    max-width: 548px;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: 0.3px;
    color: #9F9F9F;
    margin-bottom: 35px;
}

.buttons{
    display: flex;
    gap: 14px;
}

.bar{
    height: 140px;
    display: flex;
    justify-content: flex-end;
    margin-right: 20px;
}

.btn-pp{
    padding: 0 18px;
    height: 38px;
    background: var(--primary-color);
    border-radius: 24px;
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    margin-top: 29px;
    display: flex;
    align-items: center;
    transition: background 0.25s ease;
}

.btn-pp:hover{
    background-color: var(--primary-color-dark);
}

.btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10.5px 24px;
    border: 1px solid #DCDCDC;
    border-radius: 32px;
    text-decoration: none;
    transition: box-shadow 0.25s ease;
}

.btn:hover{
    box-shadow: 0 10px 12px 0 rgba(0,0,0,0.04),0 17px 50px 0 rgba(0,0,0,0.02);
}

.btn-apple{
    background-color: #ffffff;
    color: black;
}

.btn-droid{
    background-color: black;
    color: #ffffff;
}

.btn-wrapper{
    display: flex;
    gap: 8px;
}

.flex{
    display: flex;
    flex-direction: column;
}

.hcenter{
    align-items: center;
}

.vcenter{
    justify-content: center;
}

.btn-wrapper > div > p:not(.apple-title){
    font-weight: 400;
    font-size: 10px;
    line-height: 12px;
    text-transform: uppercase;
}

.apple-title{
    font-weight: 500;
    font-size: 15px;
    line-height: 12px;
    color: black;
    word-wrap: normal;
}

.message-box{
    margin-top: 60px;
    width: 570px;
    min-height: 186px;
    background: #FEFEFE;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(34.0948px);
    border-radius: 11.6897px;
    display: flex;
    overflow: hidden;
    cursor: pointer;
    gap: 18px;
}
.message-box > .message-box-image > img,
.message-box > .message-box-image{
    width: 137px;
}

.message-box > .message-box-image > img{
    position: absolute;
    bottom: 0;
}

.message-box > .message-box-image{
    position: relative;
    min-width: 137px;
}

.content{
    padding-right: 20px;
}

.content > .title{
    font-weight: 500;
    font-size: 22.4052px;
    line-height: 22px;
    color: #003C35;
    margin-top: 45.78px;
    margin-bottom: 15.59px;
    line-height: 1.7rem;
}

.content > .sub-title{
    font-weight: 500;
    font-size: 15.5862px;
    line-height: 23px;
    letter-spacing: 0.01em;
    color: #767A86;
    align-self: stretch;
}




.slider {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 630px;
    transition: all .2s ease-in-out;
}

.slides{
    width: 100%;
    min-height: 558px;
    display: flex;
    position: relative;
    align-items: center;
}

.slides > .slide {
    height: auto;
    width: var(--slider-slide-width);
    cursor: pointer;
    /* transition: 1s all; */
    position: absolute;
    user-select: none;
}

.first-slide{
    position: relative;
    transform: translateX(var(--slider-treshold));
    z-index: 1;
    animation-timing-function: initial;
    animation-duration: 1s;
    animation-play-state: running;
    animation-fill-mode: forwards;
}

.first-slide-next{
    animation-name: firstslidenext;
}

@keyframes firstslidenext {
   0%{
    left: 0;
    transform: translateX(calc(100% + var(--slider-slide-width) - var(--slider-treshold))) scale(1);
    z-index: 0;
   }
   70%{
    left:0;
    transform: translateX(calc(-1 * var(--slider-treshold))) scale(1);
   } 
   100%{
    left:0;
    transform: translate(var(--slider-treshold)) scale(1);
    z-index: 1;
   } 
}

.first-slide-prev{
    animation-name: firstslideprev;
}

@keyframes firstslideprev {
   0%{
    left: 0;
    transform: translate(var(--slider-treshold)) scale(1);
    z-index: 0;
   }
   70%{
       transform: translateX(calc(100% + var(--slider-slide-width) + var(--slider-treshold))) scale(1);
       left: 0;
   }
   100%{
    left: 0;
    transform: translateX(calc(100% + var(--slider-slide-width) - var(--slider-treshold))) scale(1);
    z-index: 0;
   } 
}

.last-slide{
    position: relative;
    transform: translateX(calc(100% + var(--slider-slide-width) - var(--slider-treshold)))  scale(1);
    z-index: 0;
    animation-timing-function: initial;
    animation-duration: 1s;
    animation-play-state: running;
    animation-fill-mode: forwards;
}

.last-slide-next{
    animation-name: lastslidenext;
}

@keyframes lastslidenext {
    0%{
        left: 50%;
        transform: translate(-50%) scale(1.20);
        z-index: 2;
    }
    70%{
        left:0;
        transform: translateX(calc(100% + var(--slider-slide-width) + var(--slider-treshold)))  scale(1);
    } 
    100%{
        left:0;
        transform: translateX(calc(100% + var(--slider-slide-width) - var(--slider-treshold)))  scale(1);
        z-index: 0;
    } 
 }

 .last-slide-prev{
    animation-name: lastslideprev;
}

@keyframes lastslideprev {
    0%{
        left: 0;
        transform: translateX(calc(100% + var(--slider-slide-width) - var(--slider-treshold)))  scale(1);
        z-index: 1;
    }
    100%{
        left: 50%;
        transform: translate(-50%) scale(1.20);
        z-index: 2;
    } 
 }

 .slide.active{
    left:50%;
    transform: translate(-50%) scale(1.20);
    z-index:2;
    animation-timing-function: initial;
    animation-fill-mode: forwards;
    animation-duration: 1s;
    animation-play-state: running;
}

 .slide.active-next{
    animation-name: activeslidenext;
 }

@keyframes activeslidenext {
    0%{
        left:0;
        transform: translate(var(--slider-treshold)) scale(1);
        z-index: 1;
    }
    100%{
        left: 50%;
        transform: translate(-50%) scale(1.20);
        z-index: 2;
    } 
 }

 .slide.active-prev{
    animation-name: activeslideprev;
 }

@keyframes activeslideprev {
    0%{
        left: 50%;
        transform: translate(-50%) scale(1.20);
        z-index: 2;
    }
    70%{
        transform: translate(calc(-1 * var(--slider-treshold))) scale(1);
        left:0;
    }
    100%{
        left:0;
        transform: translate(var(--slider-treshold)) scale(1);
        z-index: 1;
    } 
 }

.controls{
    height: 47.8px;
    width: 100%;
    display: flex;
    gap: 10.86px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10.80px;
    bottom: 0;
}

.btn-slider{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24.98px;
    height: 24.98px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 2.17254px 4.34507px rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    cursor: pointer;
    user-select: none;
}

.btn-slider:nth-child(n + 2) > img {
    transform: rotate(180deg);
}

.progress{
    display: flex;
    gap: 10.86px;
    padding: 5px 8px;
}

.step{
    height: 10px;
    width: 10px;
    box-shadow: 0px 2.17254px 4.34507px rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.9);
    transition: background 0.25s ease;
}

.progress > .active{
    background-color: var(--primary-color);
}

.message-box-mobile {
    display: none !important;
}

.footer{
    min-height: 100px;
    display: flex;
    align-items: end;
    position: absolute;
    bottom: 0;
    margin: 10px;
}


@media (max-width: 1280px) {
    .container{
        flex-direction: column;
    }

    body{
        height: auto;
        background-position: initial;
    }

    .message-box-tablet{
        margin-bottom: 30px;
    }

    .footer{
        min-height: 100px;
        display: flex;
        align-items: end;
        position:unset;
    }
}

@media (max-width: 1024px) {
    .container{
        flex-direction: column;
    }
}

@media (max-width: 768px)
{

    .header-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 20px;
        margin-right: 20px;
    }

    h1 {
        font-size: 50px;
    }

    h3{
        font-size: 24px;
        line-height: 48px;
    }

    .sub-header > p{
        font-size: 15px;
    }
}

@media (max-width: 640px)
{
    :root{
        --slider-slide-width: 41.5%;
        --slider-treshold: 30px;
    }

    .header-container{
        margin-bottom: 20px;
    }

    .message-box-mobile {
        display: flex !important;
        margin: 0 !important;
        width: 90%;
    }

    .message-box-tablet {
        display: none !important;
    }

    h1 {
        font-weight: 700;
        font-size: 48;
        line-height: 90px;
        color: #1B1B1B;
    }

    h3{
        font-weight: 500;
        font-size: 24px;
        line-height: 48px;
    }

    .sub-header > p{
        max-width: 410px;
        font-weight: 300;
        font-size: 14px;
    }

    .bar {
        height: 110px;
    }


    .first-slide{
        position: relative;
        transform: translateX(var(--slider-treshold));
        z-index: 1;
        animation-timing-function: initial;
        animation-duration: 1s;
        animation-play-state: running;
        animation-fill-mode: forwards;
    }

    .slides{
        transform: scale(0.8);
    }

    .message-box.message-box-mobile > .content > .sub-title{
        padding-bottom: 45.78px;
    }
}

@media (max-width: 430px){
    .slides{
        transform: scale(1);
        min-height: 490px;
    }
}