:root {
    --left-position: 55%;
    --transition-time: 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

#toggleBtn {
    background-color: #2196f3b0;
    color: white;
    padding: 33px 15px;
    border: none;
    cursor: pointer;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: bold;
    border-radius: 0px 5px 5px 0px;
}

#panelWrapper {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    z-index: 99999;
}

#panelWrapper.closed {
    transform: translateX(-800px);
}

#sidePanel {
    width: 800px;
    max-width: 100vw;
    height: 64%;
    background-color: #f4f4f4;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
    padding: 0px;
    transition: width 0.3s ease;
}

.banner {
    background: linear-gradient(to left, #2196f3, #2a93efbd);
    padding: 0px;
    height: 100%;
    position: relative;
    height: 173px;
}

.banner::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../img/pattern.png);
    opacity: 0.4;
}

.banner a.weblink {
    color: #ffffff;
    border-bottom: 1px dotted #ffffff;
}

.banner a:hover {
    text-decoration: none;
}

.banner-text {
    padding-right: 0px;
    margin: 32px 15px 0px;
    font-family: 'Poppins';
}

.banner-text h3,h6 {
    font-family: 'Poppins';
    font-weight: 500;
    color: #fff;
}

/* carousel */
.carousel3 {
    width: 100%;
    height: 75%;
    overflow: hidden;
    position: relative;
    z-index: 99999;
}

.carousel3 .list .item {
    width: 185px;
    height: 150px;
    position: absolute;
    bottom: 280px;
    left: calc(var(--left-position) + 3%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    background-position: center;
    background-size: cover;
    z-index: 100;
    transform: translate(0, 0px);
    transition: all var(--transition-time);
}

.carousel3 .list .item::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(33, 33, 33, 0.5);
    z-index: 1;
}

.carousel3 .list .item:nth-child(1),
.carousel3 .list .item:nth-child(2) {
    bottom: 0px;
    left: 0;
    border-radius: 0;
    transform: translate(0, 0px);
    width: 100%;
    height: 100%;
}

.carousel3 .list .item:nth-child(3) {
    left: var(--left-position);
}

.carousel3 .list .item:nth-child(4) {
    transition-delay: 0.1s;
    left: calc(var(--left-position) + 200px);
}

.carousel3 .list .item:nth-child(5) {
    transition-delay: 0.2s;
    left: calc(var(--left-position) + 400px);
}

.carousel3 .list .item:nth-child(6) {
    transition-delay: 0.3s;
    left: calc(var(--left-position) + 600px);
}

.carousel3 .list .item:nth-child(n + 7) {
    transition-delay: 0.4s;
    left: calc(var(--left-position) + 800px);
}

.list .item .content {
    position: absolute;
    text-align: left;
    color: #fff;
    z-index: 3;
    left: 0;
    top: 100%;
    transform: translateY(-100%);
    width: 100%;
    padding: 10px;
    transition: all var(--transition-time);
}

.content .title::before {
    content: "";
    display: block;
    height: 1px;
    width: 20px;
    background-color: #fff;
    margin-bottom: 10px;
}

.content .title {
    font-size: 12px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 10px;
    transition: all var(--transition-time);
    position: relative;
}

.content .title::after {
    content: attr(data-item);
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: -20px;
    left: 0px;
    z-index: 2;
    font-weight: 400;
}

.content .name {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1;
    transition: all var(--transition-time);
    margin-bottom: 10px;
    color: #d36e10;
}

.content .des {
    font-size: 16px;
    font-weight: 400;
    transition: all var(--transition-time);
    opacity: 0;
    display: none;
}

.list .item:nth-child(1) .content,
.list .item:nth-child(2) .content {
    transform: translateY(-50%);
    left: 40px;
    width: 600px;
    top: 50%;
    padding: 0;
}

.list .item:nth-child(1) .content .title::before,
.list .item:nth-child(2) .content .title::before {
    width: 50px;
    height: 3px;
    margin-bottom: 20px;
}

.list .item:nth-child(1) .content .title::after,
.list .item:nth-child(2) .content .title::after {
    font-size: 20px;
    top: -40px;
    left: 15px;
}

.list .item:nth-child(1) .content .title,
.list .item:nth-child(2) .content .title {
    font-size: 30px;
    margin-bottom: 20px;
}

.list .item:nth-child(1) .content .name,
.list .item:nth-child(2) .content .name {
    font-size: 20px;
    margin-bottom: 20px;
}

.list .item:nth-child(1) .content .des,
.list .item:nth-child(2) .content .des {
    font-size: 16px;
    opacity: 1;
    display: block;
    width: 400px;
}

@keyframes animate {
    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

/* Carousel */

/* next prev arrows */

.arrows {
    position: absolute;
    bottom: 50px;
    left: var(--left-position);
    width: calc(100% - var(--left-position) - 2%);
    z-index: 100;
    display: flex;
    gap: 5%;
    align-items: center;
}

.arrows button {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    border: 2px solid rgb(255, 255, 255);
    color: rgb(255, 255, 255);
    background-color: transparent;
    outline: none;
    font-size: 25px;
    font-weight: bold;
    transition: all var(--transition-time);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrows button:hover {
    border: 2px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
}

.slide-number {
    font-size: 25px;
    color: #ffffff;
    font-weight: 400;
    margin-left: auto;
    letter-spacing: 5px;
    opacity: 0;
    animation: animate 0.5s ease-in-out 0.3s 1 forwards;
}

.progress-bar-container {
    width: 60%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 100%;
    background-color: #d36e10;
    transition: all var(--transition-time);
}

/* time running */
.carousel3 .timeRunning {
    position: fixed;
    z-index: 1000;
    width: 0%;
    height: 4px;
    background-color: #ffffff;
    left: 0;
    top: 0;
    animation: runningTime 7s linear 1 forwards;
}

@keyframes runningTime {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.youtube-button {
    left: 20px;
}