@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('/assets/css/fonts.global.css');

html {
    width: 100%;
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Ubuntu Mono';
    color: #dedede;
    min-height: 100vh;
    margin: 0;
    background: url('/assets/img/background-gradient-4k.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.icon {
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
    animation: flyInTop 0.8s cubic-bezier(0.16, 1, 0.3, 1) both,
               float 3.4s ease-in-out infinite 0.8s;
}

.card {
    width: min(480px, 90vw);
    padding: 2.5rem 3rem;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.05);
    border-right-color: rgba(255, 255, 255, 0.05);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    animation: flyInBottom 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.card > * {
    margin-bottom: 1.71rem;
}
.card > *:last-child {
    margin-bottom: 0;
}

.card-spacer {
    font-family: 'NerdIcons';
    font-size: 9px;
    color: #9b9b9b;
    margin-left: 2px;
    margin-right: 2px;
}

.card a {
    color: #ffd3d3;
    text-decoration: underline;
}
.card a:hover {
    color: #58e235;
    text-decoration: wavy underline;
}

@keyframes flyInBottom {
    from {
        opacity: 0;
        transform: translateY(100vh);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flyInTop {
    from {
        opacity: 0;
        transform: translateY(-100vh);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}