@import url('https://fonts.googleapis.com/css2?family=Zeyada&display=swap');

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-image: url("https://www.psdgraphics.com/wp-content/uploads/2022/01/white-math-paper-texture.jpg");
    background-position: center center;
    margin: 0;
    padding: 0;
}

.paper {
    background-image: url("https://i0.wp.com/textures.world/wp-content/uploads/2018/10/2-Millimeter-Paper-Background-copy.jpg?ssl=1");
    background-size: cover;
    background-position: center center;
    padding: 20px;
    box-shadow: 1px 15px 20px 0px rgba(0,0,0,0.5);
    position: absolute;
    transform: rotateZ(-5deg);
}

.paper.heart {
    position: relative;
    width: 200px;
    height: 200px;
    padding: 0;
    border-radius: 50%;
    margin: 20px;
}

.paper.image {
    padding: 10px;
    margin: 10px 0;
    max-width: 90%;
    max-height: 50%;
}

.paper.image p {
    font-size: 24px;
}

img {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
    user-select: none;
}

.paper.heart::after {
    content: " ";
    background-image: url('https://cdn.pixabay.com/photo/2016/03/31/19/25/cartoon-1294994__340.png');
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.6;
}

p {
    font-family: 'Zeyada';
    font-size: 36px;
    color: rgb(0, 0, 100);
    opacity: 0.75;
    user-select: none;
    text-align: center;
}

/* Privacy Button */
.privacy-button {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    color: #000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s, transform 0.3s;
}

.privacy-button:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

/* Loader */
#loader {
    height: 100%;
    width: 100%;
    background-color: #000;
    position: fixed;
    z-index: 999;
    top: 0;
    transition: all ease 0.7s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loader h1 {
    font-size: 6vw;
    color: transparent;
    background: linear-gradient(to right, orange, orangered);
    -webkit-background-clip: text;
    position: absolute;
    opacity: 0;
    animation-name: load;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-timing-function: linear;
}

#loader h1:nth-child(2) {
    animation-delay: 2s;
}

#loader h1:nth-child(3) {
    animation-delay: 3s;
}

@keyframes load {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 600px) {
    body {
        background-size: 100%;
    }

    #loader h1 {
        font-size: 8vw;
    }

    .paper {
        width: 90%;
        padding: 10px;
        margin: 10px auto;
        transform: none;
    }

    .paper.heart {
        width: 150px;
        height: 150px;
    }

    .paper.image p {
        font-size: 20px;
    }

    p {
        font-size: 28px;
    }

    img {
        max-height: 150px;
    }

    .privacy-button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
