/**************************************/
/* HERO CONTAINER */
.hero_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
}
.hero_info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.tag_container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tag {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 16px;
    height: 40px;
    border-radius: 100px;
    color: var(--primary-color-on);
    background-color: rgb(var(--primary-color) );
    font-size: 16px;
    font-weight: 480;
}

/* IMG */
.hero_container img {
    width: 100%;
    aspect-ratio: 13/10;
    border-radius: 24px;
    object-fit: cover;
}
.darker {
    filter:brightness(0.96);
}
.lighter {
    filter:brightness(1.04);
}
.contrast {
    filter:contrast(1.06);
}
/* FONTS */
.hero_container h1 {
    font-weight: 490;
    font-size: 28px;
    line-height: 30px;
    letter-spacing: -1.2px;
}
.hero_container h2{
    font-weight: 400;
    font-size: 22px;
    line-height: 1.2;
}


/**************************************/
/* ROTATOR */
.rotator_container {
    width: 100%;
    height: 100px;
    margin: 56px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rotator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}
.rotator svg {
    transform: scale(0.9);
}



/**************************************/
/* BODY TEXT */
h3 {
    font-weight: 500;
    font-size: 23px;
    line-height: 25px;
    padding-bottom: 16px;
}
.body_text {
    width: 100%;
}
.body_text p {
    padding-bottom: 20px;
    font-weight: 380;
    font-size: 19px;
    line-height: 1.5;
}
.body_text p:last-child {
    padding: 0;
}
.dot {
    margin-bottom: 2px;
}
.body_text ul, .body_text ol {
    font-weight: 380;
    font-size: 19px;
    line-height: 1.2;
    padding: 32px 0;
    list-style-position: inside;
}
.body_text ol li {
    /* color: red; */
    padding-bottom: 12px;
}



/**************************************/
/* BODY IMG */
.img_container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 80px 0px;
    width: 100%;
}
.portrait_group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.img_container img, .img_container iframe, .img_container .video video {
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}
.img.landscape {
    aspect-ratio: 10/7;
}
.img.portrait {
    aspect-ratio: 7/10;
}
 
/* for image descriptions :) */
.img_container p, .img_container a:link, .img_container a:active, .img_container a:visited {
    font-size: 14px;
    color: var(--text-color-soft);
    text-align: center;
}
.img_container a:link {
    text-decoration: underline;
}



/**************************************/
/* VIDEO */
.video {
    aspect-ratio: 10/7;
}
.playBtn {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    pointer-events: none;
    z-index: 3;
}
.video.iframe {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}
.video.iframe iframe,
.video.iframe .imagestill {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.video.iframe .imagestill {
    display: none;
    object-fit: cover;
    z-index: 2;
}
.portrait_group .video {
    aspect-ratio: 7/10;
}



/**************************************/
/* GO BACK */
.goBack_container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 136px 0px;
}
.goBack {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -1.2px;
    border-radius: 200px;
    border: none;
    padding: 21px 64px 19px 64px;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: rgb(var(--primary-color) );
    color: var(--primary-color-on);
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 10%);
    border-radius: 100px;
}
.goBack:active {
    background-color: var(--secondary-color);
    color: var(--secondary-color-on);
}


        /********************  MOBILE LANDSCAPE  ********************/
        @media screen and (min-width: 576px) and (orientation: landscape) {
            .content_container {
                padding: 96px;
            }
            /* HERO CONTAINER */
            .hero_container {
                gap: 32px;
                margin-bottom: 64px;
            }
            .hero_info {
                padding: 0 64px;
            }
            /* BODY TEXT */
            .body_text {
                padding: 0 64px;
            }
            /* BODY IMG */
            .img.portrait {
                margin: 0px 64px;
            }
            .img_container p {
                width: 100%;
            }
            .portrait_group {
                flex-direction: row;
            }
            .portrait_group .portrait {
                margin: 0;
            }
            .portrait_group img, .portrait_group div {
                flex-grow: 1;
                flex-shrink: 1;
                flex-basis: 0;
            }
        }



/****************************************************************************/
/********************  TABLET  ********************/
/****************************************************************************/

@media screen and (min-width: 601px) and (orientation: portrait) {
    .content_container {
        padding: 128px 48px;
    }
    /* HERO CONTAINER */
    .hero_container {
        margin-bottom: 64px;
    }
    /* IMG */
    .img_container p {
        width: 100%;
    }
    .portrait_group {
        flex-direction: row;
    }
    .portrait_group img, .portrait_group div {
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 0;
    }
}

        /********************  TABLET LANDSCAPE  ********************/
        @media screen and (min-height: 601px) and (orientation: landscape) {
            /* CONTENT CONTAINER */
            .content_container {
                padding: 128px 96px;
            }
            /* HERO CONTAINER */
            .hero_container {
                flex-direction: row-reverse;
                align-items: flex-end;
                gap: 40px;
                margin-bottom: 64px;
            }
            .img.title {
                width: 100%;
            }
            .hero_info {
                gap: 24px;
                width: 80%;
                padding: 0;
            }
        }



/****************************************************************************/
/********************  DESKTOP SMALL ********************/
/****************************************************************************/

@media screen and (min-width: 1280px) and (orientation: landscape) {
    /* CONTENT CONTAINER */
    .content_container {
        width: 800px;
        margin: 0 auto;
        padding: 120px 0px;
    }
    /* HERO CONTAINER */
    .hero_container {
        width: 1100px;
        gap: 64px;
        margin-bottom: 80px;
    }
    .hero_container p{
        line-height: 26px;
    }
    /* FONTS */
    .hero_container h1 {
        font-size: 34px;
        line-height: 35px;
    }
    .hero_container h2{
        font-size: 20px;
        line-height: 24px;
    }
    /* BODY TEXT */
    .body_text {
        padding: 0px 100px;
    }
    .body_text p {
        font-weight: 400;
        font-size: 18px;
        line-height: 1.5;
    }
    .dot {
        margin-bottom: 5px;
    }
    .img.title {
        width: 100%;
    }
    .hero_info {
        width: 60%;
        gap: 12px;
    } 
    .hero_info .tag_container {
        margin-top: 16px;
    }
    /* BODY IMG */
    .img_container {
        gap: 8px;
        padding: 120px 0px;
    }
    .img.portrait {
        margin: 0px 100px;
    }
    .playBtn {
        transform: translate(-50%, -50%);
    }
    .portrait_group {
        gap: 8px;
    }
    .portrait_group .portrait {
        margin: 0;
    }
    /* ROTATOR */
    .rotator_container {
        margin: 64px 0px;
    }
    .rotator_container svg {
        transform: scale(1);
    }
    /* GO BACK */
    .goBack_container {
        padding: 192px 0px;
    }
    .goBack {
        width: 320px;
        font-size: 36px ;
        padding: 23px 0px 25px 0px;
    }
    .goBack:active {
        background-color: rgb(var(--primary-color) );
    }
    .goBack:hover {
        background-color: var(--secondary-color);
        color: var(--secondary-color-on);
        animation: goBackWiggle 0.4s;
    }
    @keyframes goBackWiggle {
        0% {transform: rotate(0deg);}
        20% {transform: rotate(6deg);}
        40% {transform: rotate(-6deg);}
        60% {transform: rotate(6deg);}
        80% {transform: rotate(-6deg);}
        100% {transform: rotate(0deg);}
    }
}

        /********************  DESKTOP LARGE  ********************/
        @media screen and (min-width: 1441px) and (orientation: landscape) {
            .content_container {
                width: 1024px;
            }
            .hero_container {
                width: 1280px;
                margin-bottom: 120px;
            }
            .rotator_container {
                margin: 104px 0px;
            }
            .body_text {
                padding: 0px 212px;
            }
            .img_container {
                padding: 144px 0px;
            }
            .img.portrait {
                margin: 0px 212px;
            }
            .portrait_group .portrait {
                margin: 0;
            }
            /* GO BACK */
            .goBack_container {
                padding: 256px 0px;
            }
}