@import url(https://fonts.bunny.net/css?family=lobster:400|sacramento:400);

* {
    margin: 0;
    padding: 0;
    outline: none;
    cursor: none;
    box-sizing: border-box;
    overflow: hidden;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

*::selection {
    background: crimson;
    color: #FFF;
}

@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes roll-in-blurred-left {
  0% {
    -webkit-transform: translateX(-1000px) rotate(-720deg);
    transform: translateX(-1000px) rotate(-720deg);
    -webkit-filter: blur(50px);
    filter: blur(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) rotate(0deg);
    transform: translateX(0) rotate(0deg);
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}

:is(h1,h2,h4) {
    font-weight: 600;
    font-size: clamp(4vw, 4.3vw, 3rem);
}

/* Custom Music Prompt Style */
.music-prompt {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: grid;
    place-items: center;
    gap:4vw;
    z-index: 10;
}

.prompt-container {
    background-color: crimson;
    padding: 8vw;
    text-align: center;
    border-radius: 10px;
    max-width: 500px;
    width: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.prompt-container h4 {
    margin-bottom: 2rem;
}

.prompt-container buttons{
    display: grid;
    place-items: center;
    grid-template-columns:repeat(2, 1fr);
}

.prompt-container button {
    background-color: white;
    color: crimson;
    border: none;
    padding: 2vw 4vw;
    font-size: 1rem;
    margin: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
}

.prompt-container button:hover {
    background-color: darkred;
}

body {
    background: #B80B25;
    background: linear-gradient(100deg, crimson , #B80B25);
    color: #F7F3F4;
    display: grid;
    place-items: center;
    padding: 3vw;
    grid-template-rows: 35vh 60vh;
    width: 100vw;
    height: 100vh;
    font-smoothing: optimizeLegibility;
}

.Info{
    margin-top:15vh;
}

.img {
    width: 100%;
    height: auto;
    top: -2.8rem;
    position: fixed;
    z-index: 2;
    filter: drop-shadow(10px 10px 15px rgba(0, 0, 0, 0.6));
}

.btmimg {
    width: 100%;
    height: auto;
    bottom: 0;
    position: absolute;
    filter: drop-shadow(10px 10px 15px rgba(0, 0, 0, 0.6));
    z-index: 2;
}

h1 {
    font-size: 20vw;
    font-family: 'Lobster', cursive;
    font-weight: bold;
    animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.name {
    font-family: 'Sacramento', cursive;
    font-size: 5vw;
    font-weight: 800;
}

.name iconify-icon {
    position: absolute;
    left: 0;
    margin-bottom: 6vw;
    z-index: 2;
}

.details {
    background: #FFF;
    color: crimson;
    animation: roll-in-blurred-left 0.65s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
    width: 100%;
    height: auto;
    padding: 8vw;
    border-radius: 5vw;
    display: grid;
    place-items: center;
    gap: 2vw;
    z-index: 2;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.details .tp{
    font-size: clamp(3.5vw, 4vw, 3rem);
}

/* Additional Adjustments for Larger Desktops */
@media (min-width: 480px) {
    body {
        padding: 6vw;
        grid-template-columns: 60vw 100vw;
        overflow:scroll ;
        gap:10vw;
        height:100%;
        width:auto;
    }

    h1 {
        font-size: 10vw;
    }

    .name {
        font-size: 4vw;
    }

    .details {
        padding: 10vw;
        margin-top:40vw;
        border-radius: 2vw;
        gap: 1.2vw;
        z-index:1;
        width:100vw;
    }

    .btmimg {
        bottom:0;
    }

    .name iconify-icon {
        margin-bottom: 6vw;
    }
}


/* Responsive Design for Small devices (400px to 1023px) */
@media (min-width: 300px) and (max-width: 400px) {
    body {
        padding: 6vw;
        grid-template-rows: 30vh 60vh;
    }
    
    .Info{
    margin-top:5vh;
    }

    h1 {
        font-size: 10vw;
    }

    .name {
        font-size: 6vw;
    }

    .details {
        padding: 5vw;
        height:auto;
        border-radius: 3vw;
        overflow:scroll ;
        gap: 1.5vw;
        overflow:scroll ;
    }

    .img, .btmimg {
        filter: drop-shadow(8px 8px 10px rgba(0, 0, 0, 0.6));
    }

    .name iconify-icon {
        margin-bottom: 4vw;
    }
}

  
