*{margin:0;padding:0;font-family:Roboto;}

:root{
    --orange: rgb(243, 168, 59);
}

body{background:#eeeeee;}

.contentContainer{
    width: 977px;
    margin: auto;
}

h1{
    font-weight: 900;
    font-size: 32px;
    text-align: center;
    margin-bottom: 100px;
    line-height: 27px;
}

.articleCaseGrid{
    display: grid;
    grid-template-areas: 
        "articles articles topRightReklama"
        "articles articles topRightReklama"
        "claims claims topRightReklama"
        "claims claims bottomRightReklama"
        "claims claims bottomRightReklama"
        "bottomReklama bottomReklama bottomRightReklama";
    grid-gap: 21px;
}

.articles{
    display: inline-block;
    grid-area: articles;
    background: white;
    height: 276px;
    width: 685px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.article{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    color: black;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 1s;
    position: absolute;
    top: 0;
    z-index: -1;
}

.article.articleFromLeft{
    right: 100%;
    transform: translateX(100%);
    z-index: 1;
}

.article.articleFromRight{
    left: 100%;
    transform: translateX(-100%);
    z-index: 1;
}

.article .date{
    position: absolute;
    top: 18px;
    right: 24px;
    font-weight: 500;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.4);
}

.article .navBtn{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 85px;
    width: 22px;
    background: var(--orange);
    position: absolute;
    top: calc(50% - 43px);
}

.article .navLeft{
    left: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.article .navRight{
    right: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.article .learnMore{
    position: absolute;
    bottom: 18px;
    right: 24px;
    color: rgba(0, 0, 0, 0.4);
    font-weight: 500;
    font-size: 12px;
}

.article img{
    height: 244px;
    width: 325px;
}

.articleContent{
    display: flex;
    flex-direction: column;
    padding: 60px 35px 50px 30px;
    box-sizing: border-box;
    height: 100%;
}

.articleContent h2{
    font-weight: 900;
    font-size: 19px;
    line-height: 22px;
    margin-bottom: 20px;
}

.articleContent p{
    font-size: 17px;
    font-weight: 400;
    line-height: 24px;
    overflow: hidden;
}

.articleDots{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55%;
    height: 50px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.articleDot{
    border-radius: 50%;
    background: #d9d9d9;
    height: 12px;
    width: 12px;
    z-index: 2;
    margin: 0 4px;
}

.articleDotActive{background:var(--orange);}

.claimsContainer{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-area: claims;
    background: white;
    overflow: hidden;
    width: 685px;
    height: 457px;
}

.claimsContainer > h2{
    text-align: center;
    font-size: 35px;
    color: rgb(243, 168, 59);
    margin-top: 35px;
}

.claims{
    display: flex;
    position: relative;
    height: 40%;
}

.claim{
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    transition: transform 1s, box-shadow 1s;
}

.hiddenLeftClaim{
    transform: translateX(-100%) scale(25%);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.leftClaim{
    transform: translateX(-60%) scale(75%);
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
}

.centerClaim{
    transform:  translateX(50%) scale(125%);
    box-shadow: 0 0 27px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.rightClaim{
    transform: translateX(165%) scale(75%);
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
}

.hiddenRightClaim{
    transform: translateX(200%) scale(25%);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.claimDots{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
}

.claimDot{
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    margin: 0 10px;
}

.claimDotActive{
    background: rgb(243, 168, 59);
}

.topRightReklama{
    grid-area: topRightReklama;
    height: 445px;
    width: 271px;
}

.bottomRightReklama{
    grid-area: bottomRightReklama;
    height: 445px;
    width: 271px;
}

.bottomReklama{
    grid-area: bottomReklama;
    height: 142px;
    width: 685px;
    margin-top: -16px;
}

.topRightReklama img, .bottomRightReklama img, .bottomReklama img, .pageEndReklama img{
    height: 100%;
    width: 100%;
}

.sectionTitle{
    color: var(--orange);
    text-align: center;
    margin: 65px 0 35px 0;
    font-weight: 900;
    font-size: 30px;
}

.videos{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.videos iframe{
    height: 324px;
    width: 468px;
}

.servicesCard{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 225px;
    width: 855px;
    margin: 35px auto;
    background: white;
    border-radius: 4px;
    box-shadow: 5px 6px 15px rgba(0, 0, 0, 0.1);
}

.serviceCardReverse{flex-direction:row-reverse;}

.servicesCard p{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    max-width: 444px;
    padding: 35px;
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
}

.imageText{
    position: relative;
    flex-grow: 1;
    height: 199px;
    width: 348px;
}

.imageText > *{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.imageText h4{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 100%;
    font-size: 23px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.75);
    z-index: 2;
    top: calc(50% - 30px);
}

.subscriptionSubHeader{
    text-align: center;
    font-size: 17px;
    margin-bottom: 35px;
}

.subscriptionCards{
    display: flex;
}

.subscriptionCard{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 462px;
    width: 232px;
    background: white;
    border: 2px solid #c4c4c4;
    border-radius: 16px;
    margin: 0 8px;
    position: relative;
}

.subscriptionCard h2{
    font-size: 24px;
    font-weight: 900;
    line-height: 30px;
    margin: 50px 0 42px 0;
}

.subPrice{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subSlash{
    display: none;
}

.subPrice p{
    font-size: 14px;
}

.yearPrice span{
    font-size: 29px;
    font-weight: 900;
    line-height: 30px;
}

.monthPrice span{
    font-size: 25px;
    font-weight: 900;
    line-height: 30px;
}

.subscriptionBullet{
    display: flex;
    align-items: center;
    margin: 12px auto 12px 34px;
    font-size: 13px;
    line-height: 15px;
}

.subscriptionBullet svg{
    min-width: 15px;
    margin-right: 8px;
}

.subscribeButton{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 37px;
    width: 179px;
    border-radius: 3px;
    background: var(--orange);
    color: white;
    font-weight: 700;
    font-size: 15px;
    margin: auto 0 32px 0;
    text-decoration: none;
}

.boldSpan{font-weight:bold;}

.recSub{
    font-size: 12px;
    font-weight: 500;
    color: var(--orange);
    position: absolute;
    top: 28px;
}

.pageEndReklama{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 978px;
    height: 139px;
    background: #032506;
    color: white;
    font-size: 50px;
    font-weight: 900;
    margin: 80px auto;
}

@media screen and (max-width: 999px){
    .contentContainer{
        width: 360px;
    }

    h1{
        margin: 100px 0 35px 0;
        font-size: 23px;
    }

    body .caseTag{
        display: none;
    }

    .articleCaseGrid{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .articles{
        height: 301px;
        width: 360px;
    }

    .article{
        color: white;
    }

    .article img{
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        filter: brightness(50%);
        height: 100%;
        width: 100%;
    }

    .article .date{
        color: rgba(255, 255, 255, 0.75);
        font-weight: 700;
        top: 12px;
        right: 16px;
    }

    .article .learnMore{
        color: rgba(255, 255, 255, 0.75);
        font-weight: 700;
        bottom: 12px;
        right: 16px;
    }

    .articleDots{
        width: 100%;
    }

    .articleDot{
        height: 6px;
        width: 6px;
    }

    .article .navBtn{
        height: 95px;
        width: 24px;
        top: calc(50% - 48px);
    }

    .claimsContainer{
        width: 360px;
        height: 242px;
        background: #eeeeee;
        margin-top: 9px;
    }

    .claimsContainer h2{
        font-size: 18px;
        line-height: 21px;
        margin: 0;
    }

    .claims{
        height: 300px;
    }

    .claims .claim{
        margin: 0;
    }

    .claimDot{
        height: 6px;
        width: 6px;
        margin: 0 3px;
    }

    .centerClaim{
        transform: translateX(1%) scale(0.86);
    }

    .rightClaim{
        transform: translateX(82%) scale(0.68);
    }

    .leftClaim{
        transform: translateX(-80%) scale(0.68);
    }

    .claimDots{
        height: initial;
    }

    .topRightReklama, .bottomRightReklama{
        display: none;
    }

    .bottomReklama{
        height: 90px;
        width: 360px;
        margin-top: 30px;
    }

    .sectionTitle{
        font-size: 18px;
        margin: 35px 0 25px 0;
    }

    .videos{
        margin: 0 auto 0 14px;
        width: calc(360px - 14px);
        overflow-x: auto;
    }

    .videos iframe{
        width: 285px;
        height: 191px;
    }

    .videos iframe:first-of-type{
        margin-right: 27px;
    }

    .servicesCard{
        flex-direction: column-reverse;
        height: 320px;
        width: 330px;
    }

    .servicesCard p{
        font-size: 15px;
        line-height: 22px;
        padding: 0;
        margin: auto 16px auto 16px;
        height: initial;
        text-align: justify;
    }

    .imageText{
        height: 157px;
        width: 248px;
        flex-grow: 0;
    }

    .subscriptionSubHeader{
        margin-bottom: 22px;
    }

    .subscriptionCards{
        flex-direction: column;
        align-items: center;
    }

    .subscriptionCard{
        height: initial;
        width: 330px;
        margin-bottom: 30px;
    }

    .subscriptionCard h2{
        margin: 34px 0 30px 0;
    }

    .subPrice{
        flex-direction: row;
        justify-content: space-around;
        align-items: flex-end;
    }

    .subPrice p{
        font-size: 13px;
    }

    .subOr{
        display: none;
    }

    .subSlash{
        display: block;
        border-right: 3px solid var(--orange);
        height: 36px;
        transform: rotate(20deg) translateY(3px);
        border-radius: 10px;
        margin: 0 15px;
    }

    .subscriptionBullet{
        font-size: 12px;
    }

    .recSub{
        top: 17px;
    }

    .pageEndReklama{
        width: 360px;
        height: 90px;
        margin: calc(40px - 30px) 0 40px 0;
        font-size: 28px;
        overflow: hidden;
    }

    .pageEndReklama img{
        height: 100%;
        width: 720px;
    }
}
