@import url('https://fonts.googleapis.com/css2?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=Protest+Strike&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comforter+Brush&family=Orbitron:wght@500&family=Poppins&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --light: white;
    --grey: #494949;
    --dark: #3a3a3a;
    --gold: rgba(255, 187, 0, 0.828);
    --blue: #2eb1c2;
    --green: #04a126;
    --lakegreen: #01871e;
    --purple: #6807c2;
    --orange: #ed490e;
    --red: #e51106;
    --dark: black;

}

body {
    margin: 0;
    background-color: #000;
    color: #eee;
    font-family: Poppins;
    font-size: 12px;
    overflow-x: none;
}


.custom-tooltip {
    /* --bs-tooltip-bg: var(--purple); */
    --bs-tooltip-bg: color: rebeccapurple;
    --bs-tooltip-color: var(--light);
}

.custom-popover {
    --bs-popover-max-width: 200px;
    --bs-popover-border-color: var(--lakegreen);
    --bs-popover-header-bg: var(--lakegreen);
    --bs-popover-header-color: var(--bs-white);
    --bs-popover-body-padding-x: 1rem;
    --bs-popover-body-padding-y: .5rem;
}

.protest-strike-regular {
    font-family: "Protest Strike", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h2,
h3,
h4,
h5 {
    font-family: "Protest Strike",
        sans-serif;
    font-weight: 400;
    font-style: normal;
}

a {
    text-decoration: none;
}

a:hover {
    color: green;
}

.nav_links {
    position: absolute;
    margin-top: 100px;
    box-shadow: 1px 1px 3px black;
}

#home {
    width: 200px;
    padding-right: -2px;
    height: auto;
}

#monkey_portfolio {
    width: 66px;
    margin-top: 7px;
    margin-right: -24px;
    padding-left: 12px;
    height: auto;
}

header {
    width: 1140px;
    max-width: 80%;
    margin: auto;
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

header a {
    color: #eee;
    margin-right: 40px;
}

/* 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;
}

.carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    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: 5em;
    font-weight: bold;
    line-height: 1.3em;
}

.carousel .list .item .topic {
    color: #f1683a;
}

.carousel .list .item .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}

.carousel .list .item .buttons button {
    border: none;
    background-color: #eee;
    letter-spacing: 3px;
    font-family: Poppins;
    font-weight: 500;
}

.carousel .list .item .buttons button:nth-child(2) {
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}

/* thumbail */
.thumbnail {
    z-index: 1600;
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}

.thumbnail .item {
    cursor: pointer;
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}

.thumbnail .item img {
    z-index: 1700;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform .2s ease-in-out
}

.thumbnail .item img:hover {
    z-index: 2000;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
    transform: scale(1.2);
    border-radius: 20px;
}

.thumbnail .item .content {
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

.thumbnail .item .content .title {
    font-weight: 500;
}

.thumbnail .item .content .description {
    font-weight: 300;
}

/* arrows */
.arrows {
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.arrows button {
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}

.arrows button:hover {
    background-color: #fff;
    color: #202020;
    font-size: 2rem;
}

.btn {
    position: absolute;
    bottom: 2%;
    left: 2%;
    z-index: 1000;
    font-family: 'Protest Strike', 'Poppins', sans-serif;
    color: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all ease-in-out;
}

#btn:hover {
    color: whitesmoke;
    border: 2px solid black;
    filter: invert(20%);
    -webkit-filter: invert(20%);
}

/* animation */
.carousel .list .item:nth-child(1) {
    z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons {
    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:nth-child(1) .content .title {
    animation-delay: 1.2s !important;
}

.carousel .list .item:nth-child(1) .content .topic {
    animation-delay: 1.4s !important;
}

.carousel .list .item:nth-child(1) .content .des {
    animation-delay: 1.6s !important;
}

.carousel .list .item:nth-child(1) .content .buttons {
    animation-delay: 1.8s !important;
}

/* create animation when next click */
.carousel.next .list .item:nth-child(1) img {
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}

@keyframes showImage {
    to {
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 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: #f1531f;
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time {
    animation: runningTime 3s 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: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}

@keyframes outFrame {
    to {
        width: 150px;
        height: 220px;
        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;
}

.arrows,
#next,
#prev {
    z-index: 1000;
}

.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;
}

/* Start of: Slideshow Toggle Button */

.slideshow_toggle {
    position: absolute;
    top: 2%;
    left: 2%;
}

.ss_on {
    position: absolute;
    z-index: 900;
    top: 66px;
    left: 7%;
    color: var(--lakegreen);
    font-size: 1rem;
    width: 100px;
}

.ss_off {
    position: absolute;
    z-index: 900;
    top: 50px;
    left: 7%;
    color: var(--lakegreen);
    font-size: 1rem;
    width: 100px;
}

/* 
#soundwave {
    z-index: inherit;
    width: 100%
} */

.music_toggle {
    position: absolute;
    top: 2%;
    right: 2%;
}


input {
    color: #ffffff;
    font: 1em 'Protest Strike', 'Poppins', Helvetica Neue",
Helvetica,
        sans-serif;
    line-height: 1.5;
}

.toggle,
.toggle:before,
.slot__label,
.curtain {
    z-index: 1500;
    transition-property: background-color, transform, visibility;
    transition-duration: 0.25s;
    transition-timing-function: ease-in, cubic-bezier(0.6, 0.2, 0.4, 1.5), linear;
}

.toggle:before,
.slot,
.slot__label {
    display: block;
}

.toggle:before,
.curtain {
    position: absolute;
}

.toggle:checked,
.curtain {
    background-color: #136723;
}

.toggle:focus {
    outline: transparent;
}

.toggle {
    border-radius: 0.75em;
    box-shadow: 0 0 0 0.1em inset;
    cursor: pointer;
    position: relative;
    margin-right: 0.25em;
    width: 3em;
    height: 1.5em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.toggle:before {
    background: currentColor;
    border-radius: 50%;
    content: "";
    top: 0.2em;
    left: 0.2em;
    width: 1.1em;
    height: 1.1em;
}

.toggle:checked:before {
    transform: translateX(1.5em);
}

.toggle:checked~.slot .slot__label,
.slot__label:nth-child(2) {
    transform: translateY(-50%) scaleY(0);
}

.toggle:checked~.slot .slot__label:nth-child(2) {
    transform: translateY(-100%) scaleY(1);
}

.toggle:checked~.curtain {
    transform: scaleX(1);
}

.slot {
    color: transparent;
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 1;
    overflow: hidden;
    height: 1em;
    text-indent: -0.9em;
    -webkit-text-stroke: 0.05em #fff;
}


.slot__label {
    z-index: 1500;
    transform-origin: 50% 0;
    font-size: 2rem;
    color: whitesmoke;
    font-family: "Protest Strike",
        sans-serif;
    font-weight: 400;
    font-style: normal;

}


.sound_on {
    position: absolute;
    top: 60px;
    right: -5%;
    color: var(--lakegreen);
    width: 100px;
}

.sound_off {
    position: absolute;
    top: 34px;
    right: -5%;
    color: var(--lakegreen);
    width: 130px;
}

.slot__label:nth-child(2) {
    transform-origin: 50% 100%;
}

.curtain {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    z-index: -1;
}

#bread_alone {
    z-index: 500;
}

.grass {
    position: absolute;
    z-index: 10;
    bottom: -200px;
    left: 50%;
    transform: translate(-50%);
    width: 100%;
    text-align: center;
}

#track_pos {
    position: absolute;
    z-index: 2000;
    bottom: 0%;
    right: 1%;
    font-size: 1.2rem;
    color: orangered;
}

#cross_hair {
    color: rgb(255, 255, 255);
    font-size: 2rem;
}


/* End of: Slideshow Toggle Button */

/* Start of: Animations */
@keyframes contentOut {
    to {
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}

/* End of: Animations */
/* Start of: Media Breakpoints Queries */

@media screen and (max-width: 678px) {
    .carousel .list .item .content {
        padding-right: 0;
    }

    .btn {
        display: none;
        font-size: 12px;
    }

    .carousel .list .item .content .title {
        font-size: 30px;
    }
}

@media screen and (max-width:1000px) {
    .btn {
        font-size: 16px;
        display: none;
    }
}

/* End of: Media Breakpoints Queries */