/* MAIN COMPONENTS */

@font-face {
font-family: cute-text;
src: url(https://dl.dropbox.com/s/vlxjtnvrl9s0snp/Nintendo-DS-BIOS.ttf);
}

.cute-text {
  font-family: "cute-text", cursive, sans-sherif;
  font-size: 28px;
  color: white;
}

body {
  background-image: url("/images/bg.jpg");
  background-attachment: fixed;
  background-repeat: repeat;
  overflow: hidden;
  overflow-y: auto;
  overflow-x: hidden;
  display:grid;
  place-content: center;
  
}

.flipbook {
  width: 1000px;
  height: 600px;
}


.flipbook .hard {
  background: red;
  color: white;
  font-weight: bold;
  border: none;
}

.flipbook .hard .small {
  font-style: italic;
  font-weight: lighter;
  opacity: 0.7;
  font-size: 14px;
}

.flipbook .page {
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid red;
}

.page img {
  width: 70%;
  object-fit: cover;
  margin: auto;
}

.flipbook .page .small {
  font-size: 14px;
  margin-bottom: 10px;
}

/* DECOR */

.banner {
  background-image: url("https://media.tumblr.com/b9bfba47c898444fdb6497a50e658084/tumblr_inline_mgwlxpFlkK1qbq39l.png");
  background-repeat: repeat-x;
  position: fixed;
  top:0;
  left: 0;
  z-index: 99;
  width: 100%;
  height: 100px;
}

/* WIDGETS */

/* MUSIC PLAYER */

.music-box {
  position: absolute;
  top: 6em;
  left: 6em;
  filter: drop-shadow(0px 8px 15px rgba(0, 0, 0, .5));
}

.cd-container {
            position: relative;
            width: 220px;
            height: 220px;
        }

        .cd-player {
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: url('/images/cd.jpg') no-repeat center/cover;
            border: 3px solid, white;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease-in-out;
        }

        .cd-player::before {
            content: "";
            position: absolute;
            width: 20px;
            height: 20px;
            background: #fff;
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 40px;
            height: 40px;
            background: rgba(0, 0, 0, 0.7);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
            font-size: 20px;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }

        .cd-container:hover .play-button {
            opacity: 1;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }


    

/* END */
