body {
    background-color: #292929;
    font-family: "Cascadia Mono", monospace;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #fff;
    flex-direction: column;
    overflow: hidden;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: blur(20px);
}

.header {
    text-align: center;
    z-index: 1;
}

.header img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #fff;
}

h1,
p {
    margin: 10px 0;
}

#static-text {
    font-size: 24px;
    font-weight: 700;
    color: rgb(73, 73, 255);
}

#typed-text {
    font-size: 24px;
    font-weight: 700;
    font-family: "Cascadia Mono", monospace;
    display: inline-block;
}

.typed-cursor {
    font-size: 24px;
    font-weight: 700;
    font-family: "Cascadia Mono", monospace;
    display: inline;
}

.slider {
    --slider-width: 100%;
    --slider-height: 6px;
    --slider-bg: rgb(82, 82, 82);
    --slider-border-radius: 999px;
    --level-color: #fff;
    --level-transition-duration: 0.1s;
    --icon-margin: 15px;
    --icon-color: var(--slider-bg);
    --icon-size: 25px;
    cursor: pointer;
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
}

.slider .volume {
    display: inline-block;
    vertical-align: top;
    margin-right: var(--icon-margin);
    color: var(--icon-color);
    width: var(--icon-size);
    height: auto;
}

.slider .volume-mute {
    display: inline-block;
    vertical-align: top;
    margin-right: var(--icon-margin);
    color: var(--icon-color);
    width: var(--icon-size);
    height: auto;
}

.slider .level {
    appearance: none;
    width: var(--slider-width);
    height: var(--slider-height);
    background: var(--slider-bg);
    overflow: hidden;
    border-radius: var(--slider-border-radius);
    transition: height var(--level-transition-duration);
    cursor: inherit;
}

.slider .level::-webkit-slider-thumb {
    appearance: none;
    width: 0;
    height: 0;
    box-shadow: -200px 0 0 200px var(--level-color);
}

.slider:hover .level {
    height: calc(var(--slider-height) * 2);
}

.showbutton {
    background: none;
    border: none;
    cursor: pointer;
}

.showbutton .bloom-container {
    position: relative;
    transition: all 0.2s ease-in-out;
    border: none;
    background: none;
}

.showbutton .bloom-container .showbutton-container-main {
    width: 110px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    display: grid;
    place-content: center;
    border-right: 5px solid white;
    border-left: 5px solid rgba(128, 128, 128, 0.147);
    transform: rotate(-45deg);
    transition: all 0.5s ease-in-out;
}

.showbutton .bloom-container .showbutton-container-main .showbutton-inner {
    height: 60px;
    aspect-ratio: 1;
    border-radius: 50%;
    position: relative;
    box-shadow: rgba(100, 100, 111, 0.5) -10px 5px 10px 0px;
    transition: all 0.5s ease-in-out;
}

.showbutton .bloom-container .showbutton-container-main .showbutton-inner .back {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(60deg,
            rgb(50, 50, 50) 0%,
            rgb(100, 100, 100) 100%);
}

.showbutton .bloom-container .showbutton-container-main .showbutton-inner .front {
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: linear-gradient(60deg, rgb(30, 30, 30) 0%, rgb(80, 80, 80) 100%);
    display: grid;
    place-content: center;
}

.showbutton .bloom-container .showbutton-container-main .showbutton-inner .front .svg {
    fill: #ffffff;
    opacity: 0.5;
    width: 30px;
    aspect-ratio: 1;
    transform: rotate(45deg);
    transition: all 0.2s ease-in;
}

.showbutton .bloom-container .showbutton-container-main .showbutton-glass {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.888) 100%);
    transform: translate(0%, -50%) rotate(0deg);
    transform-origin: bottom center;
    transition: all 0.5s ease-in-out;
}

.showbutton .bloom-container .bloom {
    height: 1px;
    width: 1px;
    position: absolute;
    background: white;
}

.showbutton .bloom-container .bloom1 {
    top: 10px;
    right: 20px;
    box-shadow: rgb(255, 255, 255) 0px 0px 10px 10px,
        rgb(255, 255, 255) 0px 0px 20px 20px;
}

.showbutton .bloom-container .bloom2 {
    bottom: 10px;
    left: 20px;
    box-shadow: rgba(255, 255, 255, 0.5) 0px 0px 10px 10px,
        rgba(255, 255, 255, 0.5) 0px 0px 30px 20px;
}

.showbutton .bloom-container:hover {
    transform: scale(1.1);
}

.showbutton .bloom-container:hover .showbutton-container-main .showbutton-glass {
    transform: translate(0%, -40%);
}

.showbutton .bloom-container:hover .showbutton-container-main .showbutton-inner .front .svg {
    opacity: 1;
    filter: drop-shadow(0 0 10px white);
}

.showbutton .bloom-container:active {
    transform: scale(0.7);
}

.showbutton .bloom-container:active .showbutton-container-main .showbutton-inner {
    transform: scale(1.2);
}

#checkbox {
    display: none;
}

.toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition-duration: 0.3s;
}

.bars {
    width: 100%;
    height: 4px;
    background-color: rgb(128, 128, 128);
    border-radius: 5px;
    transition-duration: 0.3s;
}

#checkbox:checked+.toggle .bars {
    margin-left: 13px;
}

#checkbox:checked+.toggle #bar2 {
    transform: rotate(135deg);
    margin-left: 0;
    transform-origin: center;
    transition-duration: 0.3s;
}

#checkbox:checked+.toggle #bar1 {
    transform: rotate(45deg);
    transition-duration: 0.3s;
    transform-origin: left center;
}

#checkbox:checked+.toggle #bar3 {
    transform: rotate(-45deg);
    transition-duration: 0.3s;
    transform-origin: left center;
}

.navbar {
    position: fixed;
    bottom: 3%;
}

.selectbtn {
    font-size: 36px;
    color: #e1e1e1;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    border: none;
    background: none;
    text-transform: uppercase;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: color;
}

.selectbtn:focus,
.selectbtn:hover {
    color: #fff;
}

.selectbtn:focus:after,
.selectbtn:hover:after {
    width: 100%;
    left: 0%;
}

.selectbtn:after {
    content: "";
    pointer-events: none;
    bottom: -2px;
    left: 50%;
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: width, left;
}

.projects {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.card img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.card {
    position: relative;
    width: 300px;
    height: 200px;
    background: linear-gradient(-45deg, #272727 0%, #6d6d6d 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card:hover {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgb(128, 128, 128);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card:hover .card__content {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 1;
}

.card__title {
    margin: 0;
    font-size: 24px;
    color: #333;
    font-weight: 700;
}

.card__description {
    margin: 10px 0 0;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.stack {
    text-align: center;
    padding: 20px;
}

.stack__container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stack__card {
    background: linear-gradient(-45deg, #272727 0%, #6d6d6d 100%);
    border-radius: 10px;
    width: 300px;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.stack__card:hover {
    transform: rotate(-5deg) scale(1.1);
}

.stack__card__content {
    text-align: left;
}

.stack__card__content h2 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #fff;
}

.stack__card__content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stack__card__content ul li {
    margin: 5px 0;
    font-size: 16px;
    color: #fff;
}

footer {
    position: fixed;
    bottom: 2%;
    text-align: center;
}

.music {
    position: fixed;
    bottom: 2%;
    right: 20px;
    z-index: 1000;
}