@import url('https://fonts.googleapis.com/css2?family=Catamaran:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Palanquin+Dark:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500&display=swap');

:root {
    --bg: #0a060a;
    --footer-bg: #332C39;
    --aqua: #00AAAA;
    --light-blue: #62CDFF;
    --orange: #EBB02D;
    --yellow: #FFD966;
}

* {
    transition: all .2s;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    font-family: 'Catamaran', sans-serif;
    color: azure;
    overflow-x: hidden;
}

#hero {
    position: relative;
    width: 100%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    user-select: none;
}

#hero::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 2px 200px 220px var(--bg);
}

#hero-background {
    position: absolute;
    width: 100%;
    height: 120%;
    background: url('https://pbs.twimg.com/media/DJKLxRAUMAAaiaV.jpg:large');
    filter: blur(.5px) brightness(.8);
    background-size: cover;
    background-position: center;
}

#hero:hover #hero-background {
    transform: scale(1.1);
    filter: blur(2px) brightness(.9);
}

.title, .subtitle {
    margin: 0;
    filter: brightness(1.4);
    color: transparent;
    z-index: 1;
}

.title {
    font-weight: 800;
    font-size: 58px;
    background: linear-gradient(to right, #720B98, var(--aqua));
    background-clip: text;
    -webkit-background-clip: text;
    animation: from-top .5s;
}

.subtitle {
    font-family: 'Palanquin Dark', sans-serif;
    font-size: 34px;
    font-weight: 500;
    background: linear-gradient(to right, azure, #555);
    background-clip: text;
    -webkit-background-clip: text;
    animation: from-bottom .5s .5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.container {
    background: var(--orange);
    padding: 12px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    overflow: hidden;
}

.container, .quote {
    font-size: 20px;
    font-weight: 600;
}

.container:hover {
    transform: scale(1.03);
}

#content {
    margin: 4rem 25%;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.item {
    width: 38px;
    aspect-ratio: 1;
    animation: slide-in .5s;
}

.item.reversed {
    transform: rotateY(180deg);
}

.bigsub {
    margin-top: 6rem;
    margin-bottom: 0;
    color: transparent;
    background: linear-gradient(to right, #4E31AA, #AA77FF, #4E31AA);
    background-clip: text;
    -webkit-background-clip: text;
    font-family: 'Palanquin Dark', sans-serif;
    font-size: 30px;
    font-weight: 600;
    text-align: center;
}

button {
    padding: 11px 14px;
    width: fit-content;
    background: var(--light-blue);
    border-radius: 12px;
    font-size: 17px;
    color: azure;
    border: none;
    cursor: pointer;
}

button:not(.pretty):hover, button.active {
    transform: scale(1.05) rotate(-2deg);
}

button.unactive {
    transform: scale(.9);
    filter: brightness(.6);
}

button.pretty {
    margin: 1rem auto 0 auto;
    padding: .65rem 1.65rem;
    background: #5865F2;
    border-radius: 12px;
    font-size: 20px;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
}

button.pretty:hover {
    filter: brightness(1.25);
}

button.pretty span {
    margin-top: -1px;
}

.trans-square {
    background: #888;
    animation: scaling 3s;
    position: absolute;
    transform-origin: center;
    z-index: -1;
}

pre {
    margin: 0;
    padding: 1rem 2rem;
    background: #282c34;
    border-radius: 6px;
}

.quote {
    border-radius: 12px;
    background: #19A7CE;
    display: flex;
    flex-direction: column;
    font-size: 18px;
    overflow: hidden;
}

.quote .name {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quote .name img {
    border-radius: 50%;
}

.quote div {
    padding: .5rem 2rem;
}

.quote .text {
    padding: .5rem 1rem;
    background: var(--light-blue);
    font-weight: 500;
}

#phases {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.phase {
    padding: 1rem .5rem;
    position: relative;
    height: 256px;
    width: 128px;
    border-radius: 8px;
    overflow: hidden;
    user-select: none;
}

.phase::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://wallpapers.com/images/featured/an8pm9v8gg194ngb.jpg');
    background-size: cover;
    background-position: center;
}

.phase.passed::after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--yellow), transparent);
}

.phase1 {
    filter: brightness(.1);
    transform: translateY(2%);
}

.phase2 {
    transform: translateY(-4%) scale(1.05);
}

.phase2::before {
    background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQqjEzDrLj9g4X38WvpPBF1JdZOTJw9YUxG0LbREEHe0Yxv09SDGhnCuGWpyFhqmkcLHXI&usqp=CAU');
}

.phase3::before {
    background-image: url('https://e1.pxfuel.com/desktop-wallpaper/272/797/desktop-wallpaper-epic-minecraft-the-end-minecraft-dragon.jpg');
}

.phase4::before {
    background-image: url('https://e1.pxfuel.com/desktop-wallpaper/926/228/desktop-wallpaper-minecraft-nether-patch-notes-minecraft-116.jpg');
}

.phase span {
    position: absolute;
    bottom: 1rem;
    z-index: 1;
    color: var(--footer-bg);
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 20px;
}

ul {
    margin: 0;
    color: #bbb;
    font-size: 18px;
    font-weight: 500;
}

.description {
    opacity: .5;
    list-style: none;
    font-size: 16px;
}

li.description {
    margin-top: 12px;
    margin-left: 4px;
}

p.description {
    margin: 0;
}

#stars {
    font-size: 56px;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

#stars i {
    color: var(--orange);
    cursor: pointer;
    opacity: .25;
}

#hypeText {
    margin: 0;
    font-size: 18px;
    color: #ddd;
    text-align: center;
}

#hypeFlex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

#hypeFlex button {
    margin: 0;
}

footer {
    padding: .5rem 2rem;
    background: linear-gradient(to top, var(--light-blue) -400%, var(--footer-bg));
    user-select: none;
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer a {
    text-decoration: none;
    color: var(--light-blue);
    font-weight: 600;
}

footer a:hover {
    opacity: .7;
}

.container, pre, .phase, button, footer {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

@keyframes scaling {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    100% {
        opacity: .15;
    }
}

@keyframes slide-in {
    0% {
        opacity: 0;
        transform: translateX(-200%);
    }
}

@keyframes from-top {
    0% {
        opacity: 0;
        transform: translateY(-200%);
    }
}

@keyframes from-bottom {
    0% {
        transform: translateY(200%);
    }

    100% {
        opacity: 1;
    }
}