:root {
    --gold1: #B47F00;
    --gold2: #FCD672;
    --gold3: #F3EFA1;
    --gold4: #DAAA2A;
    --green: #00953B;
    --brown: #382F2D;
}

@font-face {
    font-family: NotoLao;
    src: url("../fonts/NotoSansLaoUI-Regular.ttf") format("opentype");
    unicode-range: U+0E80-0EFF;
    font-display: swap;
}

@font-face {
    font-family: Lao_Khunlor;
    src: url("../fonts/Lao_Khunlor.ttf") format("opentype");
    unicode-range: U+0E80-0EFF;
    font-display: swap;
}

@font-face {
    font-family: Ubuntu;
    src: url("../fonts/Ubuntu-Regular.ttf") format("opentype");
    font-display: swap;
}

@font-face {
    font-family: UbuntuLight;
    src: url("../fonts/Ubuntu-Light.ttf") format("opentype");
    font-display: swap;
}

* {
    box-sizing: border-box;
    font-family: NotoLao, Lao_Khunlor, Ubuntu, sans-serif;
}

p, li, a, div[data-type="P"] {
    font-family: NotoLao, UbuntuLight, sans-serif;
    text-align: justify;
    text-justify: inter-word;
}

body {
    margin: 0;
}

.limiter {
    max-width: 2000px;
    height: 100%;
    margin: auto;
    position: relative;
    text-align: center;
}

header {
    position: fixed;
    height: 60px;
    width: 100%;
    background-color: var(--green);
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-image: linear-gradient(90deg, var(--gold1), var(--gold2), var(--gold3), var(--gold2), var(--gold1)) 1;
    z-index: 10;
}

#header-logo {
    position: absolute;
    left: 5%;
    top: 140%;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: url("../img/ssb-logo2.svg") no-repeat 57% 50%, linear-gradient(white, white) padding-box,
    linear-gradient(90deg, var(--gold1), var(--gold2), var(--gold3), var(--gold2), var(--gold1)) border-box;
    background-size: 125%;
    border: 2px solid transparent;
    z-index: 5;
}

#header-title {
    position: absolute;
    left: calc(150px + 6%);
    top: 50%;
    transform: translateY(-50%);
    aspect-ratio: 12 / 2;
    width: 330px;
    background: url("../img/ssb-title3.png") no-repeat center;
    background-size: cover;
    z-index: 5;
}

@media (max-width: 1160px) {
    #header-title {
        display: none;
    }
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.scroll-horizontal {
    overflow: scroll hidden;
    white-space: nowrap;
}

.filter-green {
    filter: invert(27%) sepia(55%) saturate(4576%) hue-rotate(140deg) brightness(98%) contrast(102%) !important;
}

.filter-brown {
    filter: invert(10%) sepia(4%) saturate(4259%) hue-rotate(323deg) brightness(93%) contrast(75%) !important;
}

.filter-invert {
    filter: invert(100%) !important;
}

.golden-background {
    background: linear-gradient(90deg, var(--gold1), var(--gold2), var(--gold3), var(--gold2), var(--gold1));
}

.light-golden-background {
    background: linear-gradient(90deg, var(--gold2), var(--gold3), var(--gold2));
}

.mid-golden-background {
    background: linear-gradient(90deg, var(--gold4), var(--gold3), var(--gold4));
}

.red-background {
    background-color: #bb0000;
    color: white;
}

.red-background:hover {
    background-color: red;
}

.red-background:active {
    background-color: darkred;
}

.disabled {
    background-color: lightgray;
    color: dimgray;
}

.hidden {
    display: none !important;
}

.justify-center {
    justify-content: center;
}

.align-left {
    text-align: left !important;
}

.align-center {
    text-align: center !important;
}

.align-right {
    text-align: right !important;
}

.lazyload {
    position: relative;
}

.lazyload::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(3px);
}

.loading {
    border: 10px solid #f3f3f3;
    border-top: 10px solid var(--green);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 10px;
}

.moving {
    position: absolute !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigator Section */

nav {
    position: absolute;
    top: calc(50% + 4px);
    right: 10px;
    max-width: calc(95% - 130px);
    transform: translateY(-50%);
    overflow: scroll hidden;
    white-space: nowrap;
    padding: 0 20px 8px 20px;
}

nav>div {
    transition: all .5s;
    position: relative;
    display: inline-block;
    color: white;
    padding: 0 15px;
    font-size: 1.2em;
    cursor: pointer;
    vertical-align: middle;
}

nav>div>span>img {
    height: 1.2em;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

nav>div>span {
    width: 1.2em;
    display: inline-block;
    text-align: left;
}

#nav-indicator {
    transition: all .5s;
    height: 2px;
    position: absolute;
    left: 15px;
    bottom: 0;
    width: 61px;
    background-color: white;
    border-radius: 3px;
    opacity: 0;
}

#shader {
    transition: all .5s;
    width: 100vw;
    height: 100vh;
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
}

.shader {
    opacity: 0;
    z-index: -5;
}

.shader-active {
    opacity: .5;
    z-index: 5;
}

.mobile-hide {
    transition: all .5s;
    overflow: hidden;
}

.mobile-menu {
    display: none;
}

@media (max-width: 850px) {
    #toggle-menu~.mobile-hide {
        width: 0;
        padding: 0;
    }

    #toggle-menu:checked~.mobile-hide {
        width: auto;
        padding: 0 15px;
    }

    .mobile-menu {
        display: inline-block;
        width: 20px;
        height: 21px;
        position: relative;
        margin: 0 15px;
        border-width: 3px 0;
        border-style: solid;
        border-image: linear-gradient(90deg, var(--gold2), var(--gold3), var(--gold2)) 1;
    }

    .mobile-menu::before {
        content: " ";
        width: 30px;
        height: 3px;
        background: linear-gradient(90deg, var(--gold2), var(--gold3), var(--gold2));
        position: absolute;
        left: 0;
        top: 6px;
    }

    #toggle-menu:checked~.mobile-menu {
        border-width: 3px 3px 0 0;
        transform: rotateZ(45deg) translate(-50%, 50%);
        height: 15px;
        width: 15px;
        padding: 0;
    }

    #toggle-menu:checked~.mobile-menu::before, #toggle-menu~#nav-indicator {
        display: none;
    }

    #toggle-menu:checked~#nav-indicator {
        display: block;
    }

    #header-logo {
        top: 10vw;
        width: min(140px, 20%);
    }
}

/* Menu Options Section */

.menu-options {
    transition: all .5s;
    width: 100%;
    z-index: 7;
    background-image: linear-gradient(90deg, var(--gold1), var(--gold2), var(--gold3), var(--gold2), var(--gold1));
    position: fixed;
    top: -200%;
}

.menu-active {
    top: 60px;
}

.menu-section {
    display: inline-block;
    margin: 5px;
}

.menu-section>h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 18px;
}

.menu-section>div {
    display: inline-block;
    padding: 0 20px;
    position: relative;
    cursor: pointer;
}

.menu-section * {
    transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-section>div:hover>img, .menu-section>div:hover>.nav-picture, .menu-section>div:hover>.menu-span {
    transform: scale(1.2);
}

.menu-section>div:active>img, .menu-section>div:active>.nav-picture, .menu-section>div:active>.menu-span {
    transform: scale(.8);
}

.menu-section>div>img {
    height: 50px;
    padding-bottom: 0;
}

.menu-section>div>span, .menu-section>div>div[data-type="SPAN"] {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
}

.menu-section>div::after {
    content: " ";
    position: absolute;
    top: 50%;
    right: -1px;
    transform: translateY(-50%);
    width: 2px;
    height: 80%;
    background-color: black;
}

.menu-section>div:last-child::after {
    content: none;
}

.nav-picture {
    width: 50px;
    height: 50px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("../img/upload.svg");
    margin: auto auto 3px auto;
}

.title-active {
    font-size: 22px;
    font-weight: bold;
}

@media (max-width: 800px) {
    .menu-section {
        display: block;
    }
    .menu-section>h2 {
        font-size: 18px;
    }
    .menu-section>div>img {
        height: 40px;
        padding-bottom: 0;
    }
    .menu-section>div>span {
        font-size: 10px;
    }
    .menu-section>div::after {
        width: 1px;
    }
}

.header-padding {
    height: 60px;
}

/* Slideshow Section */

.slideshow {
    position: relative;
    width: 100%;
}

.slides {
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-snap-type: x mandatory;
    display: flex;
}

.slide {
    width: 100%;
    flex-shrink: 0;
    display: inline-block;
    aspect-ratio: 1280 / 473;
    background-size: auto 110%;
    background-position: center 50%;
    scroll-snap-align: center;
    vertical-align: top;
}

.slide-left, .slide-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, .2);
    color: white;
    cursor: pointer;
}

.slide-left {
    left: 5%;
}

.slide-left::before {
    border-width: 0 0 5px 5px;
    left: 17px;
}

.slide-left::before, 
.slide-right::before {
    content: " ";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    transform: rotateZ(45deg);
    border-color: var(--gold2);
    border-style: dotted;
}

.slide-right {
    right: 5%;
}

.slide-right::before {
    border-width: 5px 5px 0 0;
    right: 17px;
}

.slide-dots {
    width: 100%;
    position: absolute;
    bottom: 2%;
    display: flex;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    align-items: center;
    gap: 1%;
}

.slide-dot {
    cursor: pointer;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .5);
    display: inline-block;
    transition: all .5S;
}

.slide-dot.active {
    width: 13px;
    height: 13px;
    margin: -5px;
    background-color: var(--gold4);
}

@media (max-width: 800px) {
    .slide {
        aspect-ratio: unset;
        /*height: 500px;*/
    }

    .article-card:first-child {
        flex-basis: calc(50% - 5px) !important;
    }
}

/* Action Bar Section */

.action-bar {
    width: 100%;
    background-color: var(--green);
    color: white;
}

.action-bar>.limiter {
    padding: 0 5%;
    display: flex;
    align-items: center;
}

.actions {
    overflow: visible;
}

.action-item {
    flex-shrink: 0;
    display: inline-block;
    padding: 10px;
    width: min(150px, 28%);
    text-align: center;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
    white-space: normal;
}

.action-item>img {
    height: 60px;
    padding-bottom: 5px;
}

.action-item>span {
    display: block;
    font-size: 16px;
}

.action-bar * {
    transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.action-item:hover>img, .action-item:hover>span {
    transform: scale(1.2);
}

.action-item:active>img, .action-item:active>span {
    transform: scale(.8);
}

.action-item::after {
    content: " ";
    position: absolute;
    top: 50%;
    right: -1px;
    transform: translateY(-50%);
    width: 2px;
    height: 80%;
    background-color: white;
}

.action-item:last-child::after, .action-item:nth-last-child(2)::after {
    content: none;
}

@media (max-width: 800px) {
    .action-item>img {
        height: 60px;
        padding-bottom: 5px;
    }

    .action-item>span {
        font-size: 14px;
    }
}

.action-socials {
    flex: auto;
    text-align: right;
}

.action-socials .socials {
    border-radius: 50%;
    border: 3px solid transparent;
}

/* News & Activities Section */

.news-activities {
    margin: auto;
    width: 100%;
    max-width: 2000px;
    text-align: left;
}

.news-activities>h1 {
    color: var(--green);
    margin: 20px 50px 0 50px;
}

.article-cards {
    width: 100%;
    overflow-y: hidden;
    overflow-x: scroll;
    white-space: nowrap;
}

.article-card-wrapper {
    height: 600px;
    width: fit-content;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 20px;
    margin: 0 5%;
    gap: 10px;
    align-items: baseline;
}

.article-card {
    transition: transform .5s, opacity 1s;
    flex-basis: calc(50% - 5px);
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    white-space: normal;
    box-shadow: -2px 5px 5px rgba(0, 0, 0, .2);
    cursor: pointer;
    background-size: cover;
    background-position: center;
    border: var(--green) 5px solid;
}

.article-card:first-child {
    flex-basis: 100%;
}

.article-card:hover {
    transform: scale(1.03);
}

.article-card>.article-image {
    transition: all .5s;
    height: 50%;
    width: 100%;
    background-size: 110%;
    background-position: center;
}

.article-card:hover>.article-image {
    background-size: 100%;
}

.article-card>.article-details {
    height: 50%;
    padding: 15px 20px;
    position: relative;
}

.article-card>.article-details>h3 {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--green);
    font-size: 24px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.article-card>.article-details>p {
    width: 100%;
    font-size: 16px;
    margin: 10px 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
}

.article-card>.article-details>a {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: dimgray;
}

.article-card-wrapper::after {
    content: " ";
    flex-basis: 100%;
    width: 20px;
}

/* Home Page Main Article Section */

.main-article {
    text-align: left;
}

.main-article>h1 {
    color: var(--green);
    margin: 20px 50px 40px 50px;
}

.picture-text-side {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    transition: all .5s;
    overflow: hidden;
}

.picture-text-side>* {
    transition: all 2s;
}

.picture-text-side.hide {
    opacity: 0;
}

.picture-text-side.show {
    opacity: 1;
}

.flex-reverse {
    flex-direction: row-reverse;
}

.picture-side, .text-side {
    flex: 50%;
}

.picture-side {
    background-size: cover;
    background-position: center;
    aspect-ratio: 5 / 3;
}

.hide>.text-side {
    transform: translateY(20%);
}

.hide.flex-reverse>.text-side {
    transform: translateY(20%);
}

.text-side {
    align-self: center;
    padding: 50px;
}

.hide>.picture-side {
    transform: translateY(20%);
}

.text-side>h1 {
    font-size: 28px;
    color: var(--green);
    margin-top: 0;
}

.text-side>p, .text-side>div[data-type="P"] {
    font-size: 20px;
    margin-bottom: 20px;
}

.text-side>a {
    text-decoration: none;
    color: var(--green);
}

.green-background>.text-side>a {
    text-decoration: none;
    color: white;
}

.green-background {
    background-color: var(--green);
    color: white;
}

.green-background h1 {
    color: white;
}

@media (max-width: 800px) {
    .picture-side, .text-side {
        flex: 100%;
    }

    .picture-side {
        padding-top: 60%;
    }
}

.store-download {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
}

.store-download>img {
    width: 45%;
}

/* Footer Section */

footer::after {
    content: " ";
    display: block;
    clear: both;
    width: 100%;
    height: 20px;
    background-color: var(--green);
    border-top-width: 3px;
    border-top-style: solid;
    border-image: linear-gradient(90deg, var(--gold1), var(--gold2), var(--gold3), var(--gold2), var(--gold1)) 1;
}

.footer-contents {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    padding: 2% 5%;
}

.footer-navigators {
    flex: 4;
    display: flex;
}

.footer-logo {
    flex: 2;
    min-height: 250px;
    background-image: url("../img/ssb-logo2.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.footer-row {
    flex: 1;
    text-align: right !important;
}

.footer-row>h2 {
    color: var(--green);
}

.footer-row>a {
    transition: all .5s;
    display: block;
    text-decoration: none;
    color: black;
    padding: 5px;
    font-weight: normal;
    text-align: right;
}

.footer-row>a:hover {
    color: var(--gold1);
}

.footer-link-items {
    flex-basis: 600px !important;
}

@media (max-width: 800px) {
    .footer-navigators, .footer-logo {
        flex: 100%;
    }

    .footer-row:first-child>h2, .footer-row:first-child>a {
        text-align: left !important;
    }

    .footer-row:nth-child(2)>h2, .footer-row:nth-child(2)>a {
        text-align: center !important;
    }
    
    .footer-row:last-child>h2, .footer-row:last-child>a {
        text-align: right !important;
    }

    .footer-row>a {
        font-size: 2.9vw;
    }

    .footer-links>div {
        text-align: center !important;
    }

    .footer-info-socials {
        flex-basis: 100% !important;
    }

    .footer-links>div>a {
        padding: 2vw;
    }

    .footer-icon {
        margin-bottom: 20px;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 50px;
    align-items: baseline;
}

.footer-links>div {
    flex: 400px;
    padding: 5px;
    flex-wrap: wrap;
    display: flex;
    justify-content: space-evenly;
    align-items: baseline;
}

.footer-links>div>a {
    text-decoration: none;
    color: black;
    padding: 15px;
    transition: all .5s;
    font-weight: normal;
}

.footer-links>div>a:hover {
    color: var(--gold1);
}

.footer-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.footer-info>div {
    flex: 1;
}

.footer-info>div>div>h1 {
    margin: 0;
}

.footer-icon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.socials {
    display: inline-block;
    width: 50%;
    max-width: 50px;
    min-width: 30px;
    aspect-ratio: 1/1;
    margin: min(5px, 1%);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.facebook {
    background-image: url("../img/socials/facebook.png");
}

.line {
    background-image: url("../img/socials/line.png");
}

.instagram {
    background-image: url("../img/socials/instagram.png");
}

.tiktok {
    background-image: url("../img/socials/tiktok.png");
}

.wechat {
    background-image: url("../img/socials/wechat.png");
}

.whatsapp {
    background-image: url("../img/socials/whatsapp.png");
}

.youtube {
    background-image: url("../img/socials/youtube.png");
}

/* Gallery Section */

.photo-gallery {
    width: 100%;
    max-width: 900px;
    display: grid;
    grid-template-columns: 40% auto auto;
    gap: 5px;
    margin: auto;
    aspect-ratio: 3 / 2;
}

.gallery-item {
    transition: all .5s;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: -2px 5px 5px rgba(0, 0, 0, .2);
}

.gallery-vertical {
    grid-row: 1 / 3;
}

.gallery-horizontal {
    grid-column: 2 / 4;
}

#gallery-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -5;
    opacity: 0;
    background-color: rgba(0, 0, 0, .5);
}

#gallery-preview>div:first-child {
    transition: all .5s;
    position: absolute;
    transform: translate(-50%, -50%);
    transform-origin: center;
    overflow: hidden;
    text-align: center;
}

#gallery-preview>div:first-child>img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#gallery-preview>div:last-child {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, .2);
}

#popup-container {
    transition: opacity 1s;
    z-index: 11;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
}

#popup-container.show {
    opacity: 1;
    visibility: visible;
}

#popup-container.hide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s, visibility .5s linear 1s;
}

#popup-text {
    padding: 10%;
    min-width: 200px;
    min-height: 100px;
    background-color: white;
    z-index: 1;
    border-radius: 10px;
}

.popup-image {
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    max-height: 800px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 12;
    margin: auto;
}

.popup-shader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .7);
}

.popup-close {
    background-color: lightgray;
    border-radius: 50%;
    font-size: 20px;
    aspect-ratio: 1/1;
    width: 50px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    z-index: 13;
    position: absolute;
    top: 20%;
    right: 15%;
    cursor: pointer;
}

.popup-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

.popup-buttons button {
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.image-contain {
    background-size: contain !important;
}

.page-background{
    margin-bottom: -12%;
}

.img-icon {
    width: 50px;
    height: 50px;
    background-size: contain;
    background-position: center;
}

#verify-input {
    margin: 20px;
    font-size: 30px;
    letter-spacing: 0.5em;
    padding: 0 10px 0 30px;
    border-radius: 5px;
    border-style: none;
}

.tap-expandable {
    margin: 20px;
    border: 1px solid var(--green);
    border-radius: 5px;
    transition: all .5s;
}

.tap-expandable:has(input:checked) {
    margin: 20px 0;
    border-radius: 10px;
}

.tap-title {
    background-color: var(--green);
    padding: 10px 80px 10px 20px;
    color: white;
    font-size: 18px;
    transition: all .5s;
    border-radius: 3px;
    position: relative;
}

.tap-title>.delete {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
}

.tap-expandable>label:has(input:checked)>.tap-title {
    padding: 20px 80px 20px 20px;
    border-radius: 8px 8px 0 0;
}

.tap-title::after {
    content: "";
    float: right;
    border-color: white transparent transparent;
    border-width: 10px;
    border-style: solid;
    margin-top: 5px;
    margin-right: -60px;
    transition: all .5s;
}

.tap-expandable>label:has(input:checked)>.tap-title::after {
    transform: rotateZ(180deg) translateY(10px);
}

.tap-expandable>label>input[type="checkbox"] {
    display: none;
}

.expand-box {
    padding: 0;
    max-height: 0;
    transition: all .5s cubic-bezier(0.7,0,0.05,1);
    overflow: hidden;
}

.expand-box>*:first-child {
    margin-top: 0;
}

.expand-box>*:last-child {
    margin-bottom: 0;
}

.tap-expandable>label:has(input:checked)~.expand-box {
    padding: 20px;
    max-height: 100vh;
    overflow: visible;
}

.file-attachment {
    padding: 20px 130px 20px 20px;
    background-color: #00953b50;
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
    cursor: pointer;
}

.file-attachment::before {
    content: var(--ext);
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    border: var(--green) solid 1px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.file-attachment.uploading {
    color: #2228;
}

.file-attachment.uploading::before {
    font-size: 12px;
    background-image: conic-gradient(var(--green) var(--pg), transparent 0);
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.file-attachment.uploaded::before {
    background-color: var(--green);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
}

.remove-file {
    position: absolute;
    top: 50%;
    right: 100px;
    transform: translateY(-50%);
    cursor: pointer;
}

.video-attachment {
    width: 100%;
    background-color: #f5f5f5;
    margin: 20px 0;
    aspect-ratio: 16 / 9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.video-attachment::before {
    content: var(--ext);
    position: absolute;
    top: 56%;
    left: 0;
    width: var(--pg);
    transform: translateY(-50%);
    background-color: var(--green);
    color: white;
    display: flex;
    justify-content: right;
    align-items: center;
    padding: 10px;
    transition: all .5s;
    border-radius: 5px;
    box-sizing: border-box;
}

iframe {
    margin: auto;
    display: block;
}

.horizontal-align {
    min-height: 200px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}