body {
    background-image: url('/assets/iris.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

@keyframes floatAnimation {
    0% {
        transform: translateY(-5px);
    }

    50% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(-5px);
    }
}

#welcome--intro {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    min-height: 90vh;
    padding: 5vh 0 20vh;
}

#welcome--intro div.inactive {
    opacity: 0;
    transform: translateY(40px);
    pointer-events: none;
}

#welcome--intro div.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);

    transition: all 0.5s ease;
    pointer-events: all;
}

#welcome--intro #down.active {
    animation: floatAnimation ease-in-out 2s infinite;
}

#welcome--intro #header {
    margin: 1em 3em;
    text-align: left;
    display: flex;
    flex-direction: column;
}

#welcome--intro #message {
    margin: 1em 3em;
    padding: 1em;
    width: 800px;
    max-width: 80vw;

    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(100, 100, 100, 0.75));
    background-size: 150% 150%;
    background-position: 0% 0%;

    border-radius: 30px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 10px 20px 10px rgba(0, 0, 0, 0.5);
}

#welcome--intro #message #emphasized {
    font-size: 40px;
}

#welcome--intro #message:hover {
    border-color: rgba(255, 255, 255, 0.75);
    background-position: 100% 100%;
    box-shadow:
        20px 40px 20px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
}

#welcome--intro #message h1 {
    margin: 0;
}

#welcome--intro #buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3em;

    user-select: none;
}

#welcome--intro #buttons a button {
    font-family: 'Fira Code';
    font-size: 40px;

    border: none;
    border-radius: 100em;
    margin: 1em;

    cursor: pointer;
    transition: all 0.5s ease;
}

#welcome--intro #buttons a button:active {
    transform: translateY(20px);
}

#welcome--intro #profile-button {
    all: unset;

    padding: min(2.5rem, 5vw) min(10rem, 5vw);
    color: white;

    background: linear-gradient(120deg, #6a30ffaa, #3532ffaa);
    box-shadow:
        0 0 min(2rem, 2vw) white,
        inset 0 0 min(1rem, 1vw) white;
}

#welcome--intro #profile-button:hover {
    background: linear-gradient(120deg, #3c09be, #360ed8);
    box-shadow:
        0 25px 50px rgb(87, 40, 255),
        inset 0 0 25px rgb(117, 67, 255);
}

#welcome--intro #navigation-button {
    all: unset;

    font-size: 30px;
    font-family: 'Fira Code';
    background: none;
    border: none;

    color: #ccc;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transition: all 0.5s ease;
}

#welcome--intro #navigation-button:hover {
    color: white;
    text-shadow: 0 0 20px white;
    cursor: pointer;
}

#welcome--intro #down {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 20px;

    margin: 40px;
    padding: 20px;

    background: linear-gradient(120deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.75));
    box-shadow: 5px 10px 20px black;
    border-radius: 20px;

    max-width: 300px;
}

#welcome--intro #down p {
    font-size: 20px;
    user-select: none;

    margin: 0;
    padding: 0;
    border-radius: 0;

    background: none;
}

#welcome--intro #down svg {
    border: none;
    background: none;

    min-width: 100px;
    min-height: 75px;

    width: max(10vh);
    height: max(7.5vh);

    transition: filter 0.5s ease;
}

#welcome--intro #down svg:hover {
    filter: drop-shadow(0 0 20px white);
    cursor: pointer;
}

#welcome--profile {
    background: black;
}

#welcome--profile #name-display {
    user-select: none;

    width: 100%;
    height: 750px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    background: radial-gradient(circle at 20% 30%, rgba(104, 4, 192, 0.25), transparent 40%), radial-gradient(circle at 80% 70%, rgba(0, 100, 255, 0.2), transparent 50%), radial-gradient(circle at 50% 50%, #02010a, #000 80%);

    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

#welcome--profile #name-display #lanzoor-letters span {
    font-family: 'Geist';
    font-style: italic;
    font-weight: 200;
    font-size: 100px;

    text-shadow: 0 0 25px rgb(121, 168, 255);

    line-height: 1;
    white-space: nowrap;
    display: inline-block;
    transform-origin: center;
}

#welcome--profile #name-display:hover {
    box-shadow: inset 0 0 50px white;
}

#welcome--profile #name-display #optimization-indicator {
    position: absolute;

    left: 30px;
    bottom: 30px;
    opacity: 0;

    transition: opacity 0.5s ease;
}

#welcome--profile #name-display #optimization-indicator.active {
    opacity: 0.6;
}

#welcome--profile #name-display button {
    position: absolute;

    padding: 20px 40px;
    border-radius: 30px;

    right: 30px;
    bottom: 30px;

    font-family: 'JetBrains Mono';
    font-size: 20px;

    color: white;
    border: none;
    cursor: pointer;

    background: linear-gradient(135deg, #7b00ffaa, #008cffaa);
    background-size: 200% 200%;
    backdrop-filter: blur(4px);

    box-shadow: 0 0 20px rgba(87, 41, 255, 0.5);
    animation: floatAnimation ease-in-out 2s infinite;

    transition: all 0.2s ease;

    z-index: 101;
}

#welcome--profile #name-display button:hover {
    background-position: right center;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

#welcome--profile #name-display button:active {
    transform: scale(0.8);
    box-shadow:
        0 0 10px rgba(123, 0, 255, 0.6),
        inset 0 0 10px rgba(0, 0, 0, 0.6);
}

#welcome--profile #name-display canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

#connections {
    background: linear-gradient(140deg, #3a0387 0%, #1b0346 25%, #1b0346 75%, #4307b1);

    text-align: left;
    padding: 2.5%;
    color: #aaa;

    box-shadow: 0 -10px 50px #151515;
    border-top: 10px solid #000000;

    overflow-y: hidden;
}

footer {
    font-family: 'Space Grotesk';

    width: 100%;
    text-align: center;
    background: none;
}

#connections #container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    flex-direction: row;
    gap: 15px;
}

#connections #socials,
#connections #support {
    font-family: 'JetBrains Mono';

    margin: 0;
    padding: 30px;
    background: rgba(0, 0, 0, 0.25);
    border: 2px solid rgb(255, 255, 255, 0.5);
    border-radius: 30px;
    box-shadow: 0 0 10px rgb(255, 255, 255, 0.5);

    transition: box-shadow 0.2s ease;
}

#connections #socials:hover,
#connections #support:hover {
    box-shadow:
        0 10px 20px rgb(255, 255, 255, 0.25),
        inset 0 0 10px rgb(255, 255, 255, 0.5);
}

#connections #socials {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#connections #social-icons {
    display: flex;
    justify-content: left;
    align-items: center;

    flex-direction: row;
    gap: 15px;
}

#connections #social-icons img {
    display: inline-block;

    width: 60px;
    height: 60px;
    filter: drop-shadow(0 0 5px rgb(130, 130, 130));

    transition: filter 0.2s ease;
}

#connections #social-icons img:hover {
    filter: drop-shadow(0 5px 10px rgb(130, 130, 130));
}

#discord-status {
    font-family: 'JetBrains Mono';

    background: #12022f;

    margin: 2rem;
    padding: 2rem;
    border-radius: 2rem;
    border: 0.5rem solid #30078f;
    box-shadow: 0 0 10px #360ed8;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;

    text-align: left;

    color: #bca1ff;
    text-shadow: 0 0 10px #360ed8;

    animation: insetBlackGlow linear 4s infinite;
    transition:
        box-shadow 0.2s ease,
        background 0.5s ease;
}

#discord-status b {
    color: #7b47ff;
    text-shadow: 0 0 10px #5512ff;
}

@keyframes insetBlackGlow {
    0% {
        box-shadow: 0 0 10px #360ed8;
    }

    50% {
        box-shadow:
            0 0 10px #360ed8,
            inset 0 0 40px #4713c3;
    }

    100% {
        box-shadow: 0 0 10px #360ed8;
    }
}

#discord-status:hover {
    background: #220a5d;
    cursor: pointer;
}

#discord-status #avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 6px solid transparent;

    background:
        linear-gradient(120deg, #5634ff, #8f72da, #824dff, #7e42ff) border-box,
        #2f3136 padding-box;
    background-clip: border-box, padding-box;

    box-shadow: 0 8px 20px #6d0bc3;

    transition: transform 0.2s ease;
}

#discord-status #avatar:hover {
    transform: translateY(-3px);
}

#discord-status #nameplate {
    width: 100%;
}

#discord-status #display-name {
    text-decoration: none;
    background: linear-gradient(180deg, #ded3ff, #7c35ff);
    color: transparent;
    text-shadow: 0 0 10px #8819ff;

    background-clip: text;
    -webkit-background-clip: text;
}

#discord-status #nameplate hr {
    margin: 1rem 0;
    height: 5px;
}

.status-online {
    color: #6dff6d;
    text-shadow: 0 0 10px #12a212;
}

.status-idle {
    color: #fff56d;
    text-shadow: 0 0 10px #8a8207;
}

.status-dnd {
    color: #fd5858;
    text-shadow: 0 0 10px #8a0707;
}

.status-offline {
    color: #9c9c9c;
    text-shadow: 0 0 10px #555555;
}

/* ==================== The Responsive Zone ==================== */

@media (max-width: 768px) {
    #welcome--intro {
        backdrop-filter: none;
    }

    #welcome--intro #buttons {
        flex-direction: column;
        margin: 100px 0;
    }

    #connections #social-icons {
        gap: 5px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 1080px) {
    #welcome--profile #name-display {
        height: 500px;
    }

    #connections #container {
        flex-direction: column;
    }

    #connections #support {
        align-self: flex-end;
    }
}
