@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chango&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chango&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chango&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url("login.css");
html,body {
    overflow-x: hidden !important;
    font-family: Arial, "Helvetica Neue", Helvetica,  -webkit-font-smoothing: antialiased;
    line-height: normal;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
}

:root {
    --primary-theme-color: #7197d5;
    --primary-text-color: white;
    --secondary-color: #597D80;
    --accent-light: #CC9A8F;
    --accent: #995C5C;
    --primary-color: #1F3D4C;
    --main: #DAD6C9;
}
.cursor {
    cursor: pointer;
}
.w-12 {
    width: 20%;
}
.w-88 {
    width: 80%;
}
.main-container {
    min-height: 100%;
    margin: 0px;
    padding: 0px;
}

canvas {
    z-index: -1;
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

#taroFrontBuffer {
    opacity: 1;
}

.non-link {
    cursor: pointer;
    color: #0275d8 !important
}

.non-link:hover {
    color: #014c8c !important;
    text-decoration: underline !important;
}

.itemscontainer h4 {
    font-size: 1vw;
    word-wrap: break-word;
}

.z-index11 {
    z-index: 11
}

.arrow-left {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}

.popover-custom {
    position: relative;
}

.popover-content-custom {
    padding: .47rem 1rem !important;
    font-weight: 400;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    font-size: .875rem;
    font-style: normal;
}

.card-style {
    width: "340px";
    height: "295px";
    position: "relative";
    margin: "auto";
    border: "0px";
    background-size: "cover";
}

.card-block {
    width: "300px";
    top: "50%";
    left: "50%";
    position: "absolute";
    transform: "translate(-50%, -50%)";
    background: "rgba(0,0,0,0.5)";
    border-radius: "10px";
    color: "white"
}

.loadingBackdrop {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.game-card-home {
    /* padding: 15px; */
    position: relative;
    border: 0px;
}

.game-card {
    padding: 15px;
    position: relative;
    margin: 25px;
    border: 0px;
}

.game-card-home .star {
    font-size: 14px;
    padding: 3px;
    color: #FFD700;
}

.game-card-home .footer {
    border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    -ms-border-radius: 0 0 5px 5px;
    -o-border-radius: 0 0 5px 5px;
}

.game-card-home .footer .game-title, .game-card-home .footer .game-owner {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card-home .footer .game-title abbr {
    text-decoration: none;
    cursor: default;
}

.game-image {
    width: 100%;
    height: 200px;
    border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    -ms-border-radius: 5px 5px 0 0;
    -o-border-radius: 5px 5px 0 0;
    background: #1f4f7e;
}

#main-menu-bar.nav {
    border-bottom: none;
}

#main-menu-bar>li>a.nav-link.active {
    color: white;
}

#main-menu-bar>li>a.nav-link.active[name='play-game'] {
    color: var(--primary-text-color);
    background: var(--primary-theme-color);
    border-color: var(--primary-theme-color);
}

.game-card-boxshadow {
    box-shadow: 0.5rem 1rem 2rem rgba(0, 0, 0, .2)!important;
}

.cover-image {
    margin: auto;
    border: 0px;
    border-radius: 5px;
    background-size: cover;
}

.game-card:hover {
    background: #dedede;
}

.col-xs-15 {
    width: 20%;
    float: left;
}

.inherit-height {
    min-height: inherit;
}

@media (min-width:100px) {
    .col-sm-15 {
        width: 100%;
        float: left;
    }
    .set-height {
        height: 150px !important;
    }
}

@media (min-width:550px) {
    .col-sm-15 {
        width: 50%;
        float: left;
    }
    .set-height {
        height: 150px !important;
    }
}

@media (min-width: 850px) {
    .col-sm-15 {
        width: 33.33%;
        float: left;
    }
    .set-height {
        height: 150px !important;
    }
}

@media (min-width: 1150px) {
    .col-md-15 {
        width: 25%;
        float: left;
    }
    .set-height {
        height: 150px !important;
    }
}

@media (min-width: 1450px) {
    .col-lg-15 {
        width: 25%;
        float: left;
    }
}

.game-card a {
    text-decoration: none
}

.cursor-pointer {
    cursor: pointer !important;
}

.backColorDiv {
    background-color: rgba(0, 0, 0, 0.4);
    margin: auto;
    padding: 20px;
    color: white;
}

.containerForNav {
    padding: 30px 14px;
    border-radius: 3px;
    box-shadow: rgb(206, 206, 206) 0px 0px 0px 1px;
}

.white-background {
    background: white !important;
}

.inner-div-container {
    min-height: 100%;
    margin: 0px;
    padding: 0px;
}

.margin-top-50 {
    margin-top: 50px !important;
}

.margin-top-10 {
    margin-top: 10px !important;
}

.gameBackground {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    box-shadow: 2px 2px 13px 8px;
}

.border-right {
    border-right: 1px solid #cecece;
}

.fluid-margin {
    margin-left: 15px;
    margin-right: 15px;
}

.horizontal-padding-15 {
    padding: 0px 15px !important;
}

.margin-zero {
    margin: 0;
}

.margin-bottom-10 {
    margin-bottom: 10px !important;
}

.padding-top-50 {
    padding-top: 50px;
}

.padding-top-12 {
    padding-top: 12px;
}

.alert-position {
    position: relative;
    bottom: 18px;
}

.color-link {
    color: #292b2c !important;
}

.game-background {
    background-color: hsla(0, 0%, 100%, .5);
    border-radius: 5px;
}

.anchortag-color {
    color: #007bff !important;
}

.card-sub-title {
    margin-top: 10px;
}

/* Editor Stuff */

#miniMap {
    position: absolute;
    left: 20px;
    bottom: 20px;
    border: 1px solid #000;
}

#view_rect {
    position: fixed;
    z-index: 9999999;
    border: 1px solid #fff;
    min-width: 10px;
    min-height: 10px;
    pointer-events: none;
}

#cur_texture_box {
    border: 1px solid #fff;
    width: 1;
    height: 1;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(255, 255, 255, .5);
}

#world_cur_tile {
    background-color: #fff;
    opacity: .5;
    position: absolute;
    pointer-events: none;
}

#main {
    min-height: initial !important;
    position: relative;
    z-index: 19;
}

#texture_pal_cont {
    position: fixed;
    right: 0;
    width: 20%;
    /* height:30%; */
    bottom: 0;
    border: 2px solid #000;
    background-color: #000;
    display: none;
    /* overflow: auto; */
}

#texture_pal {
    width: 100%;
}

body, canvas {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

#layer_menu {
    position: absolute;
    top: 275px;
    left: 20px;
    color: #fff;
    display: none;
}

#mouse_coords {
    color: #fff;
    position: fixed;
    /* right: 5px; */
    bottom: 5px;
}

#add_region, #eraser, #fill, #open-pallet, #add_entities, #select_entity, #mapsave, #clear-layer, #brush {
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
    color: black !important;
}

/* #clear-layer:hover, #open-pallet:hover, #mapsave:hover, #add_entities:hover, #fill:hover, #eraser:hover, #select_entity:hover, #brush:hover, #add_region:hover {
    background-color: white;
} */

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

@media (min-width: 768px) {
    .modal-xl {
        width: 90%;
        max-width: 1200px;
    }
}

@media (min-height: 987px) {
    .modal-height {
        min-height: 900px;
    }
}

@media (max-height: 986px) {
    .modal-height {
        min-height: 700px;
    }
}

@media (min-height: 987px) {
    .modal-height {
        min-height: 900px;
    }
}

#editor-div {
    display: inline-block;
    position: absolute;
    top: 65px;
    left: 20px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 1);
}

.region-border-color {
    border-color: 'blue'
}

#layer_menu ul li {
    list-style-type: none;
    color: #000;
    padding: 0 10px 0 10px;
}

#layer_menu ul li input {
    margin-right: 10px;
}

#layer_menu ul li .fa {
    padding-right: 10px;
}

#layer_menu input {
    cursor: pointer;
}

#adblockmodal .modal-header {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

button {
    cursor: pointer;
}

@media (min-width:550px) {
    .ad-container {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
}

.slider {
    overflow-y: hidden;
    height: 100vh;
    /* approximate max height */
    transition-property: all;
    transition-duration: 2s;
    transition-timing-function: cubic-bezier(1, 0, 0.5, 1);
    color: black;
    z-index: 99999;
    background-color: white;
}

.slider-out {
    height: 0;
}

.overlay-loading {
    position: fixed;
    /* Sit on top of the page content */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.close-loading-screen {
    position: absolute;
    right: 5px;
    color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.game-container:hover {
    text-decoration: none;
}

.game-container {
    text-decoration: none;
}
.fill-link{
    position: absolute;
    top: 0;
    left:0;
    right:0;
    bottom:0;
}
.table-cell {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #eceeef;
}

.anchor-disable {
    color: #292b2c;
}

.anchor-disable:hover {
    color: #292b2c;
    text-decoration: none;
}

.anchor-disable:visited {
    color: #292b2c;
    text-decoration: none;
}

.anchor-disable:focus {
    color: #292b2c;
    text-decoration: none;
}

div.action-buttons {
    height: fit-content;
}

#login-modal a.forget-password {
    font-size: 12px;
}

#login-modal button.login-button {
    padding: 1.1rem;
}

div.or-separation {
    height: 14px;
    margin-bottom: 10px;
    border-bottom: 1px solid #dddddd;
    text-align: center;
}

div.or-separation span {
    font-size: 17px;
    color: #dddddd;
    background: white;
    padding: 0 10px 14px 10px;
}

#login-modal .btn.facebook-login-button, #signupmodal .btn.facebook-login-button {
    background: #4267B2;
    color: white;
}

.open-source-badge {
    position: absolute;
    left: 0;
    margin-left: 10px;
}

.homepage-theme {
    background: var(--main);
    color: var(--primary-color);
    margin-top: -1px;
}

.info-cards .card-img-top {
    height: 160px;
    margin-top: 1px;
}

.feature-cards .card {
    /* max-width: 400px; */
    box-shadow: 5px 5px 4px #90918a;
    border: none;
}

.feature-cards .card-img-top {
    height: 150px;
    object-fit: cover;
}
.shadow-bg {
    box-shadow: 5px 5px 4px #90918a;
}

/* sandbox page css */

.game-div {
    background-color: var(--main);
    font-family: "Noto sans";
    min-height: calc(100vh - 186px);
    color: var(--primary-color);
}

.create-btn {
    background-color: var(--primary-color);
    font-family: "Nunito";
    font-size: 19px;
    color: #fff;
    font-weight: 600;
    padding: 10px;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.create-btn:hover {
    color: #fff;
    background-color: var(--secondary-color);
    font-weight: 800;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
    background-color: #597D80;
    letter-spacing: .05rem;
    /* text-shadow:
    -0.15px -0.15px 0 #eee,
     0.15px -0.15px 0 #eee,
    -0.15px  0.15px 0 #eee,
     0.15px  0.15px 0 #eee; */
    /* box-shadow: 3px 3px 2px #90918a; */
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    margin-bottom: 0px;
}
.create-btn a {
    color: #fff;
    text-decoration: none;
}
.game-list .header-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: "Noto sans";
}
/* */

/* learn page css */
.tutorial-heading {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary-color)
}
.video-card {
    border: none;
    justify-content: center;
    width: 100%;
    background-color: transparent;
}
.video-card .video {
    width: 100%;
    height: 250px;
    position: relative;
    margin: auto;
    border: 0px;
    border-radius: 5px;
    background-size: cover;
}
.video-card .title {
    font-size: 18px;
    font-weight: 400;
    color: var(--primary-color);
}
.video-card:hover {
    background-color: #dedede;
}

#youtubeModal .modal-content {
    background-color: var(--main);
}
#youtubeModal .modal-content .modal-header .modal-title {
    color: var(--primary-color);
    font-size: 24px;
    font-family: "Nunito";
}

.white-opacity {
    background-color: rgba(255, 255, 255, 0.8);
}
.preview button {
    background-color: var(--primary-color);
} 
.use-template button {
     background-color: var(--secondary-color);
}
#create-game-modal .modal-content {
    background-color: var(--main);
}
#create-game-modal .modal-content .modal-header .modal-title {
    color: var(--primary-color);
    font-size: 24px;
    font-family: "Nunito";
}
.creations-mobile-coming{
    display: flex;
    gap: 20px;
    background: #597D80;
    font-size: 15px;
    color: #FFFFFF;
    padding: 6px 10px;
    margin-top: 10px;
    margin-right: 20px;
    align-items: center;
}
.your-creations{
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 10px;
}
/* .creations-list{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin-bottom: 20px;
    width: fit-content;
    gap: 15px;
} */

.creations-list .creations-item{
    padding: 8px;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    /* box-shadow: 2.6835px 2.6835px 2.6835px rgb(0Y 0 0 / 25%); */
    box-shadow: 2.6835px 2.6835px 2.6835px;
    box-shadow: 2.6835px 2.6835px 2.6835px rgba(0, 0, 0, 0.25);
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
    /* border: 2px solid var(--secondary-color); */
    border-radius: 3px;
}
.creations-list {
    padding: 8px;
    padding-bottom: 15px;
    display: grid;
    gap: 14px;
    align-items: stretch;
    justify-items: stretch;
    align-self: center;
    width: 70% !important;
    overflow-x: hidden;
    grid-template-columns: repeat(1, 1fr);
}

.creations-view-main{
    display: flex;
    gap: 10px;
    align-items: center;
}
.creations-view{
    display: flex;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    /* color: white; */
    /* padding: 5px; */
    border-radius: 3px;
    font-weight: bold;
    font-size: 14px;
}
.creations-active-view{
    background: var(--primary-color);
    padding: 5px;
    color: white;
    border-radius: 3px;
    transform: scale(1.1);
}
.card-view, .list-view{
    cursor: pointer;
    padding: 5px 15px;  
    font-size: 14px;  
}

.creations-info-modal{
    -webkit-touch-callout: text;
    -webkit-user-select: text; 
     -khtml-user-select: text; 
       -moz-user-select: text;
        -ms-user-select: text; 
            user-select: text; 
}

@media (min-width: 670px) {
    .creations-list {
        grid-template-columns: repeat(2, 1fr);
        width: 100% !important;
    }
}

@media(min-width: 1080px){
    .creations-list {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1348px) {
    .creations-list {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1980px) {
    .creations-list {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 700px) {
    .creations-list{
        justify-content: center;
    }
    .creations-item{
        width: 240px;
    }
    .your-creations{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.creations-item:hover{
    /* width: 285px; */
    /* transform: scale(1.05, 1.05); */
    transition: 200ms all ease-in-out;
}
#cookies-alert {
    font-size: 22px;    
}

.creations-list .creations-item-title{
    font-size: 19px;
    font-weight: 700;
    width: 100%;
    display: block;
    color: #1F3D4C;
}

.creations-icon-row-container{
    position: relative;
}

.creations-item .creations-icon-row{
    display: flex;
    position: absolute;
    padding: 3px;
    padding-left: 6px;
    margin-top: 9px;
    background: rgba(255, 255, 255, 0.5);
    top: 0;
    right: 1px;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    font-size: 14px;
    color: #1F3D4C;
    border-bottom-left-radius: 5px;
    cursor: pointer;
}
.creations-item .creations-icon-row > .creations-published, .creations-unpublished, .creations-hidden{
    font-size: 13px;
    padding: 2px 5px;
    background: #63A529;
    cursor: pointer;
    color: white;
    border-radius: 4px;
    border: 1px solid white;
}

.creations-published:hover, .creations-unpublished:hover, .creations-hidden:hover{
    transition: 200ms all ease-in-out;
}

.creations-item .creations-icon-row > .creations-unpublished{
    background: #A52828;
} 
.creations-current-players{
    position: absolute;
    bottom: 0;
    right: 0;
    margin-bottom: 8px;
    padding: 2px 5px;
    font-size: 13px;
    padding: 2px 5px;
    background: var(--secondary-color);
    cursor: pointer;
    color: white;
    border-top-left-radius: 4px;
}
.creations-item .creations-icon-row > .creations-hidden{
    background: #f2eeb8;
    color: #1F3D4C;
} 

.creations-list .creations-subbox{
    /* d-flex flex-row justify-content-between */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.creations-list .creations-subbox-item{
    /* d-flex flex-column */
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.creations-img-cover{
    width: 100%;
    margin: 8px 0px;
    /* box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25); */
    border: 1px var(--secondary-color) solid;
    border-radius: 2.94876px;
    aspect-ratio: 3/2;
}
.creations-subbox-item .creations-subbox-item-head{
    font-size: 13px;
    font-weight: 500;
    color: #1F3D4C;
}
/* font-weight-bold d-flex flex-row align-items-center */
.creations-subbox-item .creations-subbox-item-desc{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}
.creations-subbox-item-desc > div{
    font-size: 15px;
    font-weight: 700;
    color: #1F3D4C;
}
.info-modal-description{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.creations-settings{
    display: none;
    flex-direction: row;
    gap: 8px;
    margin-top: 8px;
}
.creations-settings-box{
    display: flex;
    flex-direction: row;
    padding: 3px 14px;
    justify-content: center;
    align-items: center;
    padding-bottom: 4px;
    gap: 15px;
    width: 100%;
    color: #FFFFFF;
    background-color: #1F3D4C;
    border-radius: 4px;
}

.creations-settings-box:hover{
    background-color: #0d5377;
}

.creations-settings-box-title{
    font-size: 19px;
}
.template-main {

}

.list-view-container{
    display:flex;
    background-color: white;
    flex-direction: column;
}
.list-view-container-head{
    display: flex;
}
.list-view-container-head div{
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #eceeef;
    font-weight: 600;
}
.list-view-container-items div{
    padding: .75rem;
    vertical-align: top;
    text-align: center;
}
.list-view-container, .card-view-container{
    display: none;
}

/* responsive design */
@media (min-width: 1981px) {
    .feature-cards .card-img-top {
    height: 250px;
}
}
@media (max-width: 768px) {
    .create-btn {
        font-size: 16px;
    }
    .tutorial-heading {
        font-size: 28px;
    }
    #cookies-alert {
        font-size: 14px;    
    }
    #cookies-alert .text-light {
        font-size: 14px;
        padding: 8px;
    }
}
@media (min-width:320px) and (max-width:767px) {
   .tutorial-heading {
       font-size: 19px;
       padding: 0;
   }
   .create-btn {
       font-size: 12px;
   }    
   .game-list .header-title {
       font-size: 19px;
   }
}

#accordion > button::after {
    position: absolute;
    display: block;
    right: 10px;
    top: 13px;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform .2s ease-in-out;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#accordion > button:not(.collapsed)::after {
    transform: rotate(-180deg);
}
