@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

/* 共通部分
============================================ */
:root {
    font-size: 18px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Lato", Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

body {
    color: rgb(209, 219, 195);
    background-color: rgb(199, 211, 213);
}

body.news {
    background: linear-gradient(270deg, #222A2B 0%, #2A3121 100%);
}

body.no-scroll {
    position: fixed;
    top: 0;
    width: 100%;
}

section {
    padding: 36px 0;
}

h1 {
    font-size: 3rem;
    text-align: center;
    letter-spacing: 3rem;
    text-indent: 3rem;
}

@media (max-width: 991px) {
    h1 {
        letter-spacing: 1.5rem;
        text-indent: 1.5rem;
    }
}

@media (max-width: 767px) {
    h1 {
        letter-spacing: 0;
        text-indent: 0;
    }
}

p {
    line-height: 1.5;
    text-indent: 2rem;
    margin-bottom: 1rem;
}

a {
    color: rgb(209, 219, 195);
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

.container--full {
    max-width: 100%;
}


@media (max-width: 991px) {
    .container {
        max-width: 960px;
    }
}


@media (max-width: 767px) {
    .container {
        max-width: 720px;
    }
}


@media (max-width: 575px) {
    .container {
        max-width: 540px;
    }

}

.wrapper {
    padding: 64px 40px;
}


@media (max-width: 991px) {
    .wrapper {
        padding: 30px 40px;
    }
}


@media (max-width: 575px) {
    .wrapper {
        padding: 30px 20px;
    }
}

.no-bullets {
    list-style: none;
}

 /*==== 頁首-header ==== */
.header {
    background-color: rgb(42, 49, 33);
    color: rgb(209, 219, 195);
    font-size: 1.2rem;
    padding: 8px 1rem;
    position: sticky;
    top: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* logo */
.header__logo {
    /*width: 3.6rem;
    height: 3.2rem;
    */
    background-color: rgb(255, 255, 255);
    border-radius: 80px;
    padding: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.header__logo:hover {
    background-color: rgb(34, 42, 43);
}

.header__logo img {
    width: 6rem;
    height: 6rem;
    border-radius:50%;
    z-index: 200;
}

/* 導航 */
.header__nav-list {
    text-align: center;
    display: flex;
}

.header__nav-item {
    position: relative;
    cursor: pointer;
    transition: 0.3s ease;
}

.header__nav-item::after {
    content: "";
    width: 2px;
    height: 2rem;
    background-color: rgb(209, 219, 195);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.header__nav-item:last-child::after {
    content: none;
}

.header__nav-link {
    display: block;
    margin: 8px 1.5rem;
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.header__nav-link:hover {
    opacity: 0.5;
}

.header__nav-sublinks {
    border: 1px solid rgb(42, 49, 33);
    background-color: rgb(209, 219, 195);
    border-radius: 4px;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 50%;
    overflow: hidden;
    opacity: 0;
    display: flex;
    pointer-events: none;
    box-shadow: 4px 4px 4px rgba(9, 26, 6, 0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%) translateY(10px);
}

.header__nav-item:hover .header__nav-sublinks {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.header__nav-sublink {
    color: rgb(42, 49, 33);
    white-space: nowrap;
    padding: 8px 16px;
    width: 100%;
    border-top: 1px solid rgb(42, 49, 33);
    transition: 0.3s ease;
}

.header__nav-sublink:hover {
    color: rgb(199, 211, 213);
    background-color: rgb(34, 42, 43);
}

.header__language {
    font-size: 18px;
    background-color: rgb(209, 219, 195);
    border-radius: 8px;
    color: rgb(42, 49, 33);
    padding: 4px 8px;
    display: block;
    position: absolute;
    right: 20px;
}

.header__user {
    font-size: 12px;
    background-color: rgb(209, 219, 195);
    border-radius: 8px;
    color: rgb(42, 49, 33);
    padding: 4px 8px;
    display: block;
    position: absolute;
    right: 20px;
    display: none;
}

@media (max-width: 991px) {
    .header__language {
        right: inherit;
        left: 100px;
    }
}

.header__burger {
    width: 1rem;
    height: 1rem;
    background-color: transparent;
    border: 0;
    background-color: rgb(209, 219, 195);
    -webkit-mask-image: url('../images/burger.png');
    mask-image: url('../images/burger.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    opacity: 1;
    display: none;
}

.header__burger.closed {
    -webkit-mask-image: url('../images/burger_closed.png');
    mask-image: url('../images/burger_closed.png');
}

@keyframes fadeBurger {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fadeBurger {
    animation: fadeBurger 0.4s ease-in-out forwards;
}
/*@media ----------*/

@media (max-width: 991px) {
.header {
	justify-content: space-between;
}

.header__nav {
	width: 100%;
	height: 100vh;
	background-color: rgb(34, 42, 43);
	padding: 4rem;
	position: absolute;
	top: 72px;
	right: 0;
	opacity: 0;
	pointer-events: none;
	z-index: 100;
}

.header__nav.animate {
	transition: opacity 0.4s ease;
}

.header__nav.open {
	opacity: 1;
	pointer-events: all;
}

.header__nav-list {
	flex-direction: column;
}

.header__nav-item {
	position: relative;
}

.header__nav-item::after {
	content: "";
	width: 100%;
	height: 1px;
	left: 0%;
	top: 100%;
}

.header__nav-item:last-child::after {
	content: "";
}

.header__nav-link {
	border-bottom: 2px solid rgb(61, 74, 75);
	margin: 0;
	padding: 12px 0;
}

.header__nav-sublinks {
	border-top: 0;
	background-color: rgb(42, 49, 33);
	pointer-events: none;
	transition: none;
	transform: none;
	box-shadow: inherit;
}

.header__nav-item:hover .header__nav-sublinks {
	position: relative;
}

.header__nav-sublink {
	color: rgb(209, 219, 195);
	border-color: rgba(209, 219, 195, 0.3);
	padding: 12px 0;
}

.header__burger {
	display: block;
}
}

/* 檢查是否有類似這種針對第 2 到第 5 個項目的隱藏設定 */
@media (max-width: 767px) {
    #mobileoff_1, #mobileoff_2, #mobileoff_3, #mobileoff_4,#mobileoff_5,#mobileoff_6,#mobileoff_7 {
        display: none !important;
    }    
    .header__nav-sublinks {
    height: auto !important; /* 確保高度隨內容撐開 */
    max-height: none !important;
    overflow: visible !important;
    }
}

/*@media ----------*/


.header__nav-plus {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 30px;
    left: 100%;
    transform: translateX(-100%) translateY(-50%);
    cursor: pointer;
    display: none;
}

/* 橫線 */
.header__nav-plus::before,
.header__nav-plus::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background-color: rgb(209, 219, 195);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 垂直線 */
.header__nav-plus::after {
    transform: rotate(90deg);
}

.header__nav-item:hover .header__nav-plus::after {
    opacity: 0;
    transform: rotate(0deg);
}

@media (max-width: 991px) {
    .header__nav-plus {
        display: block;
    }
}


/* ==== 頁尾-footer ==== */
/* 連結 */
#footer {
    background-color: rgb(42, 49, 33);
    color: rgb(209, 219, 195);
}

.footer {
    padding: 40px;
}

.footer__links {
    display: flex;
    margin-bottom: 12px;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.footer__item {
    width: 12rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
    border-radius: 8px;
    padding: 12px 4px;
}

.footer__item:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.footer__logo img {
    width: 60px;
}

/* 資訊 */
.footer__info {
    text-align: center;
}

.footer__info>p {
    font-size: 0.8rem;
    margin-bottom: 8px;
}

/* ==== 卡片 ==== */
.home-card {
    width: 100%;
    height: 100%;
    color: inherit;
    border-radius: 8px;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.8);
    display: block;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.home-card:hover {
    opacity: 0.7;
}

.home-card:hover img {
    transform: scale(1.1);
}

.home-card img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    object-position: bottom;
    transition: transform 0.3s ease;
}

.home-card__text {
    width: 100%;
    height: 3rem;
    line-height: 3rem;
    background-color: rgb(42, 42, 42);
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    position: absolute;
    bottom: 0;
}

/* ==== 橫幅 ==== */
.banner {
    position: relative;
    overflow: hidden;
}

.banner__title {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}

.banner img {
    width: 100%;
    display: block;
}

.banner--border {
    width: 100%;
    background-color: #222A2B;
    padding: 4%;
}

.banner--border .container {
    width: 100%;
    max-width: 1320px;
    padding-top: calc(100% / 3);
    position: relative;
    overflow: hidden;
}

.banner--border img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    border-radius: 16px;
}

@media (max-width: 1199px) {
    .banner--border .container {
        padding-top: calc(100% / 2.5);
    }
}

@media (max-width: 767px) {
    .banner h1 {
        font-size: 2rem;
    }

    .banner--border .container {
        padding-top: calc(100% / 2);
    }
}

/* ==== 類別清單 ==== */
.category__item {
    margin-top: 20px;
}

.category__name {
    font-size: 1.5rem;
    letter-spacing: 0.4rem;
}

.category__list {
    display: flex;
    flex-wrap: wrap;
}

.card {
    width: 50%;
    max-width: calc((100% - 36px) / 2);
    margin: 16px 8px;
}


@media (max-width: 767px) {
    .card {
        width: calc((100% - 18px));
        max-width: calc((100% - 18px));
    }

    .category__list .card:nth-child(3),
    .category__list .card:nth-child(4) {
        display: none;
    }
}

.card:hover img {
    opacity: 0.7;
    transform: scale(1.1);
}

.card__image {
    width: 100%;
    aspect-ratio: 7 / 4;
    border-radius: 8px;
    overflow: hidden;
}


.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.card__title {
    padding: 4px 8px;
}

.category__pagination {
    font-size: 1.1rem;
    text-align: center;
}

.pagination {
    list-style: none;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination li {
    margin: 4px 2px;
}

.pagination__selected {
    font-size: 2rem;
}

.category__pagination svg {
    fill: rgb(209, 219, 195);
}

/* ==== 標籤 ==== */
.tabber {
    background-color: #556342;
}

.tabber .container {
    display: flex;
}

.tabber__btn {
    background-color: #2A3121;
    text-align: center;
    flex: 1;
    padding: 10px 0;
    cursor: pointer;
}

.tabber__btn:hover,
.tabber__btn.current {
    color: #2A3121;
    background-color: #D1DBC3;
}


.tabber__list {
    display: flex;
    flex-wrap: wrap;
}


/* 000100首頁-index
============================================ */

/* ==== 輪播圖-hero ==== */
.hero {
    width: 100%;
    height: calc(100vh - 74px);
    padding-top: 0;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(270deg, rgb(34, 42, 43) 0%, rgb(42, 49, 33) 100%);
}

@media (max-width: 991px) {
    .hero {
        height: 100vw;
    }
}

.hero__carousel {
    width: 100%;
    position: relative;
    display: flex;
    transform: translate3d(-100%, 0, 0);
}

.hero__item {
    width: 100%;
    display: inline-block;
    position: relative;
    flex: 0 0 100%;
    overflow: hidden;
}

.hero__item>img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: brightness(50%);
}

@media (max-width: 991px) {
    .hero__item>img {
        height: 100vw;
    }
}

.hero__item-content {
    color: #fff;
    position: absolute;
    z-index: 1000;
    bottom: 0%;
    padding: 0 0 8rem 6rem;
    text-shadow: 0 0 10px rgb(0, 0, 0);
}

@media (max-width: 991px) {
    .hero__item-content {
        padding: 0 0 4rem 3rem;
    }
}

@media (max-width: 767px) {
    .hero__item-content {
        padding: 12px;
    }
}

.hero__item-content h1 {
    font-size: 4rem;
    font-size: clamp(22px, 3vw, 64px);
    letter-spacing: 0.5rem;
    text-align-last: left;
    width: 100%;
    text-indent: 0px;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero__item-content p {
    font-size: 20px;
    font-size: clamp(16px, 3vw, 20px);
    width: 72%;
    text-indent: 0px;
    font-weight: light;
    margin: 0;
}

@media (max-width: 767px) {
    .hero__item-content h1 {
        margin-bottom: 0.5rem;
        letter-spacing: 0;
    }

    .hero__item-content p {
        width: 100%;
    }
}

.hero__arrow {
    width: 100%;
    position: absolute;
    top: 50%;
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
}

.hero__arrow svg {
    cursor: pointer;
    fill: rgb(255, 255, 255);
}

/* ==== 社區林業中心-content ==== */
#home-content {
    background: linear-gradient(270deg, #222A2B 0%, #2A3121 100%);
}

.home-content__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.home-content__item {
    width: 100%;
    max-width: calc((100% - 72px) / 4);
    height: 100vh;
    max-height: 30rem;
    border-radius: 8px;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.home-content__item:hover {
    transform: scale(1.1);
    z-index: 100;
}

@media (max-width: 991px) {
    .home-content__item {
        max-width: calc((100% - 48px) / 2);
        max-height: 24rem;
        margin-bottom: 16px;
    }
}


@media (max-width: 575px) {
    .home-content__item {
        max-width: 100%;
        max-height: 12rem;
        margin-bottom: 16px;
    }

    .home-content__item:hover {
        transform: scale(1);
    }
}

.home-content__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-content__title {
    width: 100%;
    height: 3.5rem;
    background-color: rgba(42, 49, 33, 0.9);
    color: rgb(242, 222, 204);
    font-weight: normal;
    font-size: 1rem;
    padding: 4px 16px;
    position: absolute;
    bottom: 0;
}

/* ==== 社區林業-social ==== */
#home-social {
    background: rgb(34, 42, 43);
    color: rgb(199, 211, 213);
}

.home-social h1 {
    padding-bottom: 8px;
}

.home-social hr {
    border: 0;
    border-top: 2px solid rgb(199, 211, 213);
}

.home-social__grid {
    display: grid;
    gap: 24px;
}

.home-social__item {
    height: 240px;
    max-height: 240px;
}

.home-social__grid--special {
    grid-column: span 3;
}

@media (max-width: 991px) {
    .home-social__grid {
        display: grid;
        gap: 24px;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, auto);
    }

    .home-social__grid--special {
        grid-column: auto;
    }
}

/* ==== 根經濟-deep ==== */
.deep__intro-content {
    background-color: #D1DBC3;
    border-radius: 16px;
    padding: 16px 32px;
}

.deep__intro-content h2 {
    color: #556342;
    padding: 16px 0;
}

.deep__intro-content p {
    color: #000;
}

.home-deep__item {
    height: 280px;
}

.home-deep__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
}

/*
@media (max-width: 575px) {
    .home-deep__grid {
        grid-template-columns: auto;
    }
}
*/
/* 010000社區林業中心-關於我們-about
============================================ */
.about-title {
    background-color: #222A2B;
}

.about-title h1 {
    text-align: left;
    text-indent: 0;
    border-bottom: 1px solid #D1DBC3;
    padding-bottom: 16px;
}

.about-content {
    background-color: #455457;
    color: white;
}

.about-content h2 {
    color: #F2DECC;
    margin: 80px 0 24px;
}

 020300森川里海景點-viewpoint
/*============================================ */
.viewpoint-category h3 {
    letter-spacing: 2rem;
    text-align: center;
}

@media (max-width: 991px) {
    .viewpoint-category h3 {
        letter-spacing: 1rem;
    }
}

@media (max-width: 767px) {
    .viewpoint-category h3 {
        letter-spacing: 0rem;
    }
}

/* 030000根經濟-deep
============================================ */


/* 040000訊息專區-news
============================================ */
.news__banner {
    text-align: center;
}

.news__banner h2 {
    color: #979797;
    font-size: 0.8rem;
    font-weight: normal;
    letter-spacing: 2rem;
}


@media (max-width: 575px) {
    .news__banner h2 {
        letter-spacing: 0rem;
    }

}

.news__updata {
    color: rgb(255, 255, 255);
    text-align: right;
    background-color: #556342;
    padding: 4px;
}

.news__list {
    display: flex;
    flex-wrap: wrap;
}

.news__card {
    width: calc((100% - 72px) / 4);
    max-width: calc((100% - 72px) / 4);
    margin: 16px 8px;
}


@media (max-width: 991px) {
    .news__card {
        width: calc((100% - 32px) / 2);
        max-width: calc((100% - 32px) / 2);
    }
}


@media (max-width: 575px) {
    .news__card {
        width: calc((100% - 16px));
        max-width: calc((100% - 16px));
    }
}

.news__card:hover img {
    filter: brightness(50%);
}

.news__card-box {
    width: 100%;
    box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.6);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.news__card-image {
    width: 100%;
    height: 100%;
    transition: 0.5s;
    object-fit: cover;
}

.news__card-title {
    color: rgb(255, 255, 255);
    font-size: 1.2rem;
    font-weight: normal;
}

.news__card-tag {
    font-style: 0.8rem;
    font-weight: normal;
}

/* ==== 新聞詳細 ==== */
.news-detail__title {
    font-size: 3rem;
}

.news-detail__date {
    font-size: 0.8rem;
    font-weight: light;
}

.news-detail__image {
    width: 100%;
    max-width: 800px;
    margin: auto;
    display: block;
}

.news-detail__content {
    padding: 40px;
}

.news-detail__content .wrapper {
    background-color: #D1DBC3;
    color: #000;
}

.news-detail__gallery {
    display: flex;
    flex-wrap: wrap;
}

.news-detail__gallery-item {
    width: calc((100% - 40px) / 4);
    max-width: calc((100% - 40px) / 4);
    aspect-ratio: 1 / 1;
    margin: 4px;
    overflow: hidden;
    cursor: pointer;
}

.news-detail__gallery-item:hover img {
    filter: brightness(70%);
    transform: scale(1.1);
}

.news-detail__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: 0.5s;
}

.news-detail__modal {
    background-color: #fff;
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: none;
    z-index: 999;
}

.news-detail__modal-content {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

.news-detail__modal-top {
    font-size: 40px;
    font-weight: lighter;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
}

#closeModal {
    cursor: pointer;
}

/* 影片頁面
============================================ */
.video {
    background-color: #000;
}

.video .container {
    height: 80vw;
    max-height: 80vh;
    overflow: hidden;
}

.video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video__title {
    background-color: #1f231e;
}

.video__title .container {
    padding-top: 8px;
    padding-bottom: 24px;
}

.video__title h2 {
    padding: 8px 0;
}

.video__info {
    align-content: center;
    display: flex;
    font-size: 14px;
}

.video__info>* {
    padding-right: 5vw;
    line-height: 1.5rem;
    font-weight: light;
}

.video__subtitle {
    font-size: 1.5rem;
}

.video__subtitle img {
    height: 1em;
    vertical-align: middle
}

.video__content {
    background-image: linear-gradient(144deg, #222A2B 0%, #2A3121 100%);
}

.video__content .container {
    color: #949b94;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-content: center;
}

.video__content-left {
    display: flex;
    justify-content: center;
    align-content: center;
    flex: 1;
}

.video__content-left img {
    width: 100%;
    aspect-ratio: auto;
    object-fit: contain;
}

.video__content-line {
    background-color: #fff;
    width: 1px;
    align-self: stretch;
    margin: 0 40px;
}

.video__content-right {
    flex: 2;
}

.video__content-info {
    color: #c7d3d5;
}

h3.video__content-info {
    font-size: 1.2rem;
    padding: 8px 0;
}

.video__content-link {
    margin-top: 80px;
}

.video__content-link a {
    font-size: 24px;
    color: #fff;
    text-decoration: underline;
}

.video__content-link img {
    vertical-align: middle;
    margin-right: 8px;
}

.video__content-bottom {
    width: 100%;

}

.video__content-left--deep,
.video__content-right--deep {
    flex: 1;
}

.btn-return {
    width: fit-content;
    background-color: rgba(69, 84, 87, 0.2);
    border-radius: 100px;
    color: #fff;
    font-size: 24px;
    font-weight: lighter;
    margin: auto;
    display: block;
    padding: 0.5rem 2rem;
    border: 1px solid #fff;
    transition: 0.5s;
    cursor: pointer;
}

.btn-return:hover {
    background-color: rgb(24, 24, 24);
    border: 1px solid rgb(24, 24, 24);
}

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

    .video__content-line {
        width: 100%;
        height: 1px;
        margin: 40px 0;
    }

}

/* 動畫
============================================ */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s, transform 0.5s;
}

.slide-down,
.slide-up,
.slide-left,
.slide-right {
    opacity: 0;
    transition: opacity 1.5s ease-out 0.2s, transform 1.5s ease-out 0.2s;
}

.slide-down {
    transform: translate3d(0, -25%, 0);
}

.slide-up {
    transform: translate3d(0, 25%, 0);
}

.slide-left {
    transform: translate3d(-25%, 0, 0);
}

.slide-right {
    transform: translate3d(25%, 0, 0);
}

.slide-down.active,
.slide-up.active,
.slide-left.active,
.slide-right.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}