:root {
    --primary: rgba(0, 0, 0, 0.3);
    --secondary: rgba(10, 10, 20, 0.95);
    --glass: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    user-select: none;
}

body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.3) 50%
        ),
        url(background.jpg);
    background-position: center;
    background-size: cover;
    font-family: "Segoe UI", sans-serif;
}

.card {
    /* position: relative;*/
    position: fixed;
    width: auto;
    height: auto;
    background: var(--glass);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.content {
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}


.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    transition: 0.5s;
    cursor: pointer;
}

.avatar:hover {
    transform: scale(1.1) rotate(15deg);
}

h2 {
    color: white;
    text-align: center;
    font-size: 1.75em;
    margin-bottom: 10px;
}

p {
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 25px;
}



button {
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.button {
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }
    25% {
        transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
    }
    75% {
        transform: translateY(20px) rotateX(-5deg) rotateY(-5deg);
    }
}
