@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    --primary: #01c9fc;
    /* --secondary:  #fd8608; */
    --secondary: #EC1D24;
  }
body{
    margin: 0;
    background-color: #000;
    color: #eee;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 12px;
}
a{
    text-decoration: none;
}
/* header{
    position: absolute;
    top:0;
    left:0;
    max-width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 30px 100px; */
    /* z-index: 10;
}  */
header{
    padding-top: 10px;
    /* width: 1140px; */
    width: 100%;
    /* max-width: 80%; */
    /* margin: auto; */
    /* height: 50px; */
    text-align: center;
    /* display: flex; */
    margin:0 !important;
    display: flex;
    position: absolute;
    /* padding: 30px 100px; */
    align-items: center;
    /* position: relative; */
    z-index: 100;
}
.col-12 ,.col-md-12 {
    justify-content: center ;
}
header a{
    color: #eee;
    /* margin-right: 40px; */
    padding-right: 5px;
}
header a:hover{
    color: var(--primary);
}
.logo {
    /* position: absolute; */
    left:5vw;
    /* font-size: 60px; */
    font-size: 3.5rem;
    color : #ffffff;
    letter-spacing: 1px;
    font-weight: 800;
    text-transform: uppercase;
}
#gallery{
    /* margin-left:100px; */
    font-weight: 800;
    text-transform: uppercase;
    left:5vw;
    /* font-size: 60px; */
    font-size: 3.5rem;
    align-items: center;
}
.logo img{
   /* filter:drop-shadow(white);
   filter:drop-shadow(white 1rem 1rem -5px); */
   padding: 15px;
   margin-top: -2px;
   width:7rem;
   /* max-width:4rem; */
   /* -webkit-filter: drop-shadow(0px 0px 3px #ffffff);
   filter: drop-shadow(0px 0px 3px #ffffff); */
}
.nav {
    /* padding-top: 20px; */
    display: flex;
    
    /* text-align: center; */
    float: right;
}
.nav li {
    list-style: none;
    margin: 0 0px;
    display : flex;
    align-items : center;
    padding-right: 2vw;
}
.nav li a {
    font-size: 2em;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ;
}
.nav li:hover a {
    color: var(--primary);
}
/* carousel */
.carousel{
    height: 100vh;
    /* margin-top: -50px; */
    width: 100vw;
    overflow: hidden;
    position: relative;
}
.carousel .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
    display: none;
}
.carousel .list .item.active{
    display: block;
    opacity: 0;
    width: 15vw;
    height: 30vh;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImageIn .5s linear 1 forwards;
}
.carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
}
.carousel .list .item .content{
    position: absolute;
    top: 22%;
    width: 50vw;
    max-width: 50vw;
    left: 15%;
    transform: translateX(-20%);
    padding-top: 10px;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}
.carousel .list .item .author{
    font-weight: bold;
    letter-spacing: 10px;
}
.carousel .list .item .title,
.carousel .list .item .topic{
    font-size: 3.5vw;
    font-weight: bold;
    line-height: 1.3em;
}
.carousel .list .item .author{
    font-size: 1.6vw;
}
.carousel .list .item .topic{
    font-size: 2vw;
}
.carousel .list .item .topic{
    color: var(--secondary);
    /* text-shadow: 0.1px 0.8px 3px #fffffff0; */
    /* text-shadow: 3px -2px 4px #ffffffc4; */
    /* -webkit-text-stroke: 1px white;
	-webkit-text-fill-color: #f1683a; */
}
.carousel .list .item .buttons{
    height: 50px;
    /* display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px; */
    margin-top: 20px;
}
.carousel .list .item .buttons a{
    /* height: 100%; */
    border: none;
    border-radius: 0;
    background-color: #eee;
    letter-spacing: 3px;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-weight: 500;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4);
    font-size :1.1rem;
}
.carousel .list .item .buttons button{
    border: none;
    background-color: #eee;
    letter-spacing: 3px;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-weight: 500;
}
.carousel .list .item .buttons button:nth-child(2){
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}
/* thumbail */
.thumbnail{
    /* padding-right: 20px;
    position: absolute;
    bottom: 50px;
    right: 20px; */
    /* left: 50%; */
    /* width: 10vw; */
    /* width: max-content; */
    z-index: 100;
    display: flex;
    gap: 20px;
    /* width: 40vw; */
    max-width: 45vw;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    height: 29vh;
}
.thumbnail .item {
    min-width: calc(100px + 15vw);
    /* min-width: 20vw; */
    /* width: 320px; */
    width: calc(100px + 15vw);
    height: 30vh;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item .foto{
    background-color: black;
    border-radius: 20px 20px 0 0;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
    
    border-radius: 20px 20px 0 0;
    height: 20vh;

    mask-image: linear-gradient(rgb(0 0 0 / 100%), transparent);
    mask-image: linear-gradient(to top, rgba(0,0,0,0) 5%, rgba(0,0,0,1));
}
.thumbnail .item .content{
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;

    /* background hitam */
    
    /* background-color: rgba(0,0,0,0.2);
    padding:13px;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 10px 10px; */

    /* atas img bawah desc */
    position: unset;
    padding: 10px;
    background-color: rgba(0, 0, 0);
    border-radius: 0 0 20px 20px;
    height: 9vh;
    min-height: 7vh;
}
.thumbnail .item .content .title{
    font-weight: 800;
    text-wrap: wrap;
    font-size: 1.6em;
    color :#ffffff;
    white-space: nowrap;
    
    /* color: var(--secondary); */
      
    /* blackbackground */
    /* font-size: 2vh; */
    /* font-size: 1.1vw; */
}
.thumbnail .item .content .code{
    font-weight: 800;
    text-wrap: wrap;
    font-size: 1.5em;
    color :#ffffff;
    /* color: var(--secondary); */
    /* font-size: 1.8em;
    font-size: 2vh; */
    white-space: nowrap;
}
.thumbnail .item .content .track{
    font-weight: 500;
    text-wrap: wrap;
    white-space: initial;
    /* font-size: 1.5em; */
    font-size: 1.2vh;
    color : var(--secondary);
}
.thumbnail .item .content .track-code{
    font-weight: 500;
    text-wrap: wrap;
    white-space: initial;
    /* font-size: 1.5em; */
    font-size: 2vh;
}
.underline{
    
    width: 4vw;
    border-bottom: 1px solid var(--secondary);
    margin-bottom: 5px !important;
}
/* arrows */
.arrows{
    position: absolute;
    top: 80%;
    right: 60%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.arrows button{
    width: 6vh;
    height: 6vh;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
    font-size:2vh
}
.arrows button:hover{
    background-color: #fff;
    color: #000;
}

/* animation */
.carousel .list .item:nth-child(1){
    z-index: 1;
}
.carousel .carousel-box {
    /* padding-right: 20px; */
    width: max-content;
    max-width: 50vw;
    position: absolute;
    bottom: 2.5vh;
    right: 20px;
    padding: 40px;
    background: rgba(0,0,0,0.2);
    box-shadow: 20px 20px 50px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border-radius: 10px;
    z-index: 999;
}
/* animation text in first item */

.carousel .list .item.active .content .author,
.carousel .list .item.active .content .title,
.carousel .list .item.active .content .topic,
.carousel .list .item.active .content .des,
.carousel .list .item.active .content .buttons ,
.carousel .list .item.active .content .underline
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.carousel .list .item.active .content .title{
    animation-delay: .8s!important;
}
.carousel .list .item.active .content .topic{
    animation-delay: 1s!important;
}
.carousel .list .item.active .content .des{
    animation-delay: 1.2s!important;
}
.carousel .list .item.active .content .underline{
    animation-delay: 1.4s!important;
}
.carousel .list .item.active .content .buttons{
    animation-delay: 1.6s!important;
}
/* create animation when next click */
.carousel.next .list .item.active img{
    width: 15vw;
    height: 30vh;
    position: absolute;
    bottom: 50px;
    left: 50%;
    opacity: 0;
    border-radius: 30px;
    animation: showImageIn .5s linear 1 forwards;
}
.carousel.click .list .item.active img{
    opacity: 0;
    width: 15vw;
    height: 30vh;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImageIn 2s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

@-webkit-keyframes showImageIn {
    0% {
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

@-moz-keyframes showImageIn {
    0% {
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

@-o-keyframes showImageIn {
    0% {
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

@keyframes showImageIn {
    0% {
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}
@-webkit-keyframes fadeOutFromShow {
    0% {
        display: block;
        opacity: 1;
    }

    1% {
        display: block;
        opacity: 1;
    }

    100% {
        display: none;
        opacity: 0;
    }
}

@-moz-keyframes fadeOutFromShow {
    0% {
        display: block;
        opacity: 1;
    }

    1% {
        display: block;
        opacity: 1;
    }

    100% {
        display: none;
        opacity: 0;
    }
}

@-o-keyframes fadeOutFromShow {
    0% {
        display: block;
        opacity: 1;
    }

    1% {
        display: block;
        opacity: 1;
    }

    100% {
        display: none;
        opacity: 0;
    }
}

@keyframes fadeOutFromShow {
    0% {
        display: block;
        opacity: 1;
    }

    1% {
        display: block;
        opacity: 1;
    }

    100% {
        display: none;
        opacity: 0;
    }
}
.carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */

.carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: var(--secondary);
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time{
    animation: runningTime 1s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
    animation: fadeOutFromShow 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
/* @keyframes outFrame{
    to{
        width: 15vw;
        height: 30vh;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
} */

.carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}
@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 678px) {
    .carousel .list .item .content{
        padding-right: 0;
    }
    .carousel .list .item .content .title{
        font-size: 30px;
    }
}
.hidden {
    display: none;
 }
 
 .invisible {
    visibility: hidden;
 }
 h4{
    color: var(--secondary);
 }
 h5{
    color: black;
 }
 .offcanvas-start {
    max-width: 30vw;
 }
 .offcanvas-title{
    font-size: 1.5rem;
 }
 h5.offcanvas-title{
    /* font-size: 1.2vw; */
 }

.offcanvas-body>h5{
    font-size: 1.2vw;
}
.offcanvas-body {
     font-size: 1.2vw;
    
}
 /* ::-webkit-scrollbar {
    height: 10px;
}
::-webkit-scrollbar-track {
    border-radius: 4px;
    background-color: #cbf1ff;
    border: 1px solid  rgba(30, 144, 255, 0.5);
}
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color:  rgba(30, 144, 255, 0.5);
} */
/* .thumbnail{
    overflow-x: initial
}
.thumbnail::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

.thumbnail::-webkit-scrollbar-track {
    border-radius: 4px;
    background-color: #cbf1ff;
    border: 1px solid rgba(30, 144, 255, 0.5);
}

.thumbnail::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(30, 144, 255, 0.5);
} */
.list-lang{
    /* width:120px; */
    /* padding-right: 20px; */
    float: left;
    
}
.toggle-lang{
    /* margin-left: -10px; */
    /* display: block; */
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    width:100px;
    height: 50px;
    background:rgb(255, 255, 255);
    box-shadow: inset 3px 3px 6px rgb(0,0,0,0.4);
    border-radius: 25px;
    position:relative;
    outline: none;
    transition: all .5s;
}
.list-logo{
    align-items: center;
    justify-content: left;
}
.list-menu{
    justify-content: right;
}
.toggle-lang:before{
    content:"";
    background: var(--secondary);
    height: 50px;
    width: 50px;
    position: absolute;
    border-radius: 50%;
    top:0;
    left:0;
    transition: all .5s;
    z-index: 2;
}
.header {
    padding-right: 40px;
    padding-left: 40px;
}
.row {
    padding-right: 40px;
    padding-left: 40px;
}
.row>* {
    padding: 0;
}
.list-logo{
    padding-left:10px;
    justify-content: left;
    flex-wrap: nowrap;
}
.toggle-lang:after{
    content:'EN';
    position: absolute;
    font-size:1rem;
    color: #333;
    font-weight: 700;
    top:50%;
    left:50%;
    transform: translate(25%, -50%);
    transition: all .5s;
    z-index: 1;
}
.toggle-lang:checked{
    background: var(--primary) ;
}
.toggle-lang:checked:before{
    left:50%;
}
.toggle-lang:checked:after{
    content:"ID";
    left:20%;
    color: white;
    font-size:1rem;
    font-weight: 700;
}
#modal-rotate{
    background: #393939e3;
}
#modal-rotate>.modal-dialog{
    position: relative;
    height: 100% !important;
    width: 100%;
    margin:0;
    max-width: 100%;
}

#modal-rotate>.modal-dialog>.modal-content>.rotate-text>h2{
    font-size: 8vw;
    color: white;
    word-spacing: 100px;
}
div#modal-rotate>.modal-dialog>.modal-content{
    position: absolute;
    display: flex;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: row;
    justify-content: center;
    background-color: #fff0;
    border: unset;
}
@media only screen and (orientation:portrait) {
    .thumbnail .item {
        width: 45vw;
    }
}

@media only screen and (min-width:900px) and (orientation:portrait) {


    .thumbnail .item {
        width: 45vw;
    }
    .carousel .list .item .author {
        font-size: 30px;
    }
    .carousel .list .item .title {
        font-size: 60px;
    }
    .carousel .list .item .topic{
        font-size: 50px;
    }
    .carousel .list .item .content {
        width: 70vw;
        max-width: 70vw;
        left:20%;
    }
    .list-logo{
        justify-content: left;
    }
    .list-menu{
        justify-content: right;
    }
 }
 @media only screen and (max-height: 600px) {
    .carousel .list .item .content {
        top: 35%;
    }   
}
@media only screen and (max-width: 830px) {
    .title {
      min-width: 75%;
    }
    
    .logo {
        position:relative;
        left:0;
        margin-left:-100px;
        /* width: 100%; */
        text-align: center;
        margin:0;
    }
    .list-logo{
        padding-left:0px;
        justify-content: center;
    }
    .list-menu{
        justify-content: center;
        font-size: 0.6rem;
    }
  }

  @media only screen and (max-width: 640px) {
    .list-menu{
        /* margin-left:20px; */
        justify-content: center;
        font-size: 0.6rem;
    }
    .nav{
        padding: 10px;
        float: right;
        justify-content: center;
    }
    .nav i {
        /* display: none; */
    }
    .nav li{
        font-size:10px;
        width: auto;
    }
    .carousel .list .item .content{
        width: 100%;
        transform: unset;
        left:5%;
        max-width: unset;
        padding-top: 50px;
    }
    .carousel .list .item .title{
        font-size: 27px !important;
    }
    .carousel .list .item .author,
    .carousel .list .item .topic {
        font-size: 15px;
    }
    .arrows{
        display: none;
    }
    .carousel .carousel-box {
        width: 100%;
        max-width: unset;
        right: 0;
        bottom: 50px;
    }
    .thumbnail{
        max-width: unset;
    }
    .thumbnail .item {
        min-width: calc(200px + 15vw + 1.6em);;
    }
    footer {
        
        /* position: relative; */
        /* height: 300px; */
        width: 100%;
        /* background-color: #333333; */
        /* left:0 !important; */
    }
    p.copyright {
        width: 100%;
         text-align: center;
         left: 0 !important;
        
    }
  }
  footer {
        z-index: 99;
        position: relative;
        /* height: 300px; */
        /* width: 100%; */
        /* background-color: #333333; */
        
    }

    p.copyright {
        position: absolute;
        /* width: 100%; */
        color: #fff;
        line-height: 40px;
        font-size: 0.9em;
        /* text-align: center; */
        bottom:0;
        left:calc(10px + 5vw);
    }
    .branch-header{
        color: var(--secondary) !important;
        justify-items: center;
        white-space: nowrap;
        padding-bottom: 2px;
    }
    .offcanvas-start {
        max-width: 34vw !important;
    }

    .list-group-item {
        border: none !important;
    }
      .list-group-item>h5 {
       font-size: 1.2vw;
    }
     .list-group-item>h5 i {
        font-size: 1.2vw;
     }