@tailwind base;
@tailwind components;
@tailwind utilities;

.background-image {
    box-sizing: border-box;
    position: absolute;
    width: 400px;
    border-radius: 10px;
    animation-fill-mode: forwards;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);

    opacity: 40%;
}

.background-image:hover, .background-image:active {
    z-index: 1000;
}

#particle-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

body {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("/img/background.jpg");
    background-size: cover;
}

#card-frame {
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 100;
    white-space: pre-line;
}

#card-frame h3 {
    background-image: linear-gradient(90deg, rgb(250, 176, 5) 0%, rgb(250, 82, 82) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes up {
    0% {
        top: 100vh;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    90% {
        opacity: 1
    }
    100% {
        top: 0;
        opacity: 0;
    }
}