@keyframes slideInLeft {
    from {
        margin-right: 0;
        left: -50vw;
    }
    to {
        margin-right: 20vw;
        left: 0;
    }
}

@keyframes slideInRight {
    from{
        margin-right: 0;
        left: 50vw;
    }
    to{
        margin-right: 20vw;
        left: 0;
    }
}

@keyframes slideOutLeft {
    from {
        margin-right: 20vw;
        left: 0;
    }

    50%{
    }

    to {
        left: -50vw;
        margin-right: 0;
    }
}

@keyframes slideOutRight {
    from{
        margin-right: 20vw;
        left: 0;
    }
    50%{
    }
    to{
        left: 50vw;
        margin-right: 0;
    }
}

@keyframes rotate {
    from {
        rotate: 0deg;
    }

    50% {
        scale: 1 1.5;
    }

    to {
        rotate: 360deg;
    }
}

body{
    background: #171717;
    width: 100%;
    margin: 0;
    font-family: "Segoe UI", serif;
    overflow: hidden;
    color:  white;
}
#blob {
    height: 7vmax;
    aspect-ratio: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    border-radius: 50%;
    background: linear-gradient(to right, #80a7b0, #5990ff);
    animation: rotate 20s infinite;
    opacity: 0.8;
    z-index: 0;
}

#blur {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    position: fixed;
    z-index: 0;
    backdrop-filter: blur(5vmax);
}

#back{
    position: absolute;
    top: 0;
    left: 0;
    margin: 1vw;
    width: 100px;
    aspect-ratio: 1;
    font-size: 25px;
    color: white;
    border: none;
    background-color: #37b7e0;
    border-radius: 50px;
    z-index: 9;
    transition: all 300ms cubic-bezier(0.000, -0.600, 0.000, 1.650);
}

#back:hover{
    background-color: #509cb7;
    transform: scale(1.1);
}

#image-track {
    display: flex;
    gap: 4vmin;
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translate(0%, -50%);
    user-select: none;
}

#image-track > .image {
    width: 40vmin;
    height: 56vmin;
    object-fit: cover;
    object-position: 100% center;
    border-radius: 5px;
    filter: saturate(50%);
    transition: all 100ms ease-in;
}

#image-track > .image:hover {
    width: 40vmin;
    height: 56vmin;
    object-fit: cover;
    object-position: 100% center;
    border-radius: 5px;
    filter: saturate(100%);
}

#image-track > .imgalt {
    position: fixed;
    padding-left: 0.5vw;
    width: 40vmin;
    height: 5vmin;
    object-fit: cover;
    object-position: 100% center;
}

h2{
    position: relative;
}

#prev{
    position: fixed;
    left: 14vw;
    top: 27.5vh;
    translate: -50%;
    width: 50px;
    aspect-ratio: 1;
    border-radius: 10px;
    margin: 1vw;
    font-size: 12px;
    color: white;
    border: none;
    background-color: #37b7e0;
    z-index: 9;
    transition: all 300ms cubic-bezier(0.000, -0.600, 0.000, 1.650);
}

#next{
    position: fixed;
    left: 86vw;
    top: 27.5vh;
    translate: -100%;
    width: 50px;
    aspect-ratio: 1;
    border-radius: 10px;
    margin: 1vw;
    font-size: 12px;
    color: white;
    border: none;
    background-color: #53b5d9;
    z-index: 9;
    transition: all 300ms cubic-bezier(0.000, -0.600, 0.000, 1.650);
}

#prev:hover, #next:hover{
    transform: scale(1.1);
    background-color: #509cb7;
}

#slideContainer{
    overflow: hidden;
}

.slide{
    display: none;
    overflow: clip;
    flex: none;
    position: fixed;
    top: 20%;
    left: 0;
    animation: slideInLeft 220ms;
    animation-fill-mode: forwards;
}

#header {
    font-family: 'Space Mono', monospace;
    font-size: clamp(3rem, 9vw, 9rem);
    color: white;
    padding-top: clamp(0.5rem, 1vw, 2.5rem);
    border-radius: clamp(0.4rem, 0.75vw, 1rem);
    margin: 0;
    position: absolute;
    left: 30%;
    top: 30%;
    translate: -50% -50%;
    z-index: 3;
}

#menus{
    display: none;
    position: absolute;
    z-index: 3;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    text-align: center;
    transition: opacity 300ms ease-in-out;
}

p{
    position: relative;
    z-index: 3;
}

.panel{
    overflow: clip;
    margin: 2vw 20vw 0;
    border-radius: 7px;
    padding: 1vw;
    background-color: rgba(23, 23, 23, 0.59);
    transition: all 200ms ease-in;
}

.panel:hover{
    background-color: rgba(23, 23, 23, 0.75);
    transform: scale(1.1);
}

a{
    text-decoration: none;
    color: #37b7e0;
}

a:hover{
    text-decoration: none;
    color: #80a7b0;
}

@media only screen and (max-width: 600px){
    p{
        margin: 2vw 10vw 0;
        position: relative;
        color: white;
        z-index: 3;
    }

    #blob{
        background: #171717;
    }

    .panel:hover{
        transform: scale(1);
    }

    .panel{
        background-color: #171717;
        padding: 0;
    }
}
@media only screen and (max-width: 425px){
    p{
        margin: 2vw 5vw 0;
        position: relative;
        color: white;
        z-index: 3;
    }

    #blob{
        background: #171717;
    }

    .panel:hover{
        transform: scale(1);
    }
    .panel{
        background-color: #171717;
        padding: 0;
    }
}

