@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,500;1,500&display=swap');

@font-face {
    font-family: 'Product Sans';
    src: url("./ProductSans-Regular.ttf") format('truetype');
}

body {
    margin: 0;
    overflow: hidden;
    background-color: #1a1a1a;
    font-family: 'Product Sans', sans-serif;
    font-weight: bolder;
    height: 100vh;
    position: relative;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.profile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: grey;
    width: 360px;
    height: 340px;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.userbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: grey;
    width: fit-content;
    height: fit-content;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.userbox input {
    width: 220px;
    padding: 10px;
    margin: 8px 0;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    background-color: #222;
    color: #fff;
    outline: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.userbox button {
    padding: 10px 24px;
    margin-top: 12px;
    background-color: #222;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.1s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    outline: none;
}

.userbox button:hover {
    background-color: #444;
    color: #e0e0e0;
    transform: translateY(-2px) scale(1.03);
}

.raindrop {
    position: absolute;
    bottom: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 10px;
    height: 10px;
    animation: fall linear infinite;
    z-index: 5;
}

@keyframes fall {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(100vh);
    }
}

.user {
    margin: 0;
    margin-top: -90px;
}

.text {
    color: aqua;
}

.pic {
    position: relative;
    top: 10px;
}

.img {
    width: 100px;
    border-radius: 50%;
}

.img-link {
    width: 30px;
    background-color: white;
    border-radius: 15px;
    position: relative;
    top: 40px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.img-link:hover {
    animation: bounce 1s forwards;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.25);
    }

    60% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.bio {
    height: 5px;
    font-size: 12px;
}

br {
    margin: 0;
}

.click {
    width: 100%;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background-color: gray;
    opacity: 0;
}