.neumorphic-container {
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  /* height: 250vh; */
  margin-left: 30px;
  margin-right: 30px;
  background-size: 200% 200%;
  animation: gradientAnimation 10s ease infinite;
  /* background: #dedede;
  box-shadow: inset -6px 6px 13px #a4a4a4, inset 6px -6px 13px #ffffff; */
  background: linear-gradient(145deg, #cacaca, #f0f0f0);
  box-shadow: 5px 5px 8px #7d7d7d, -5px -5px 8px #ffffff;
  display: grid;
  grid-template-columns: 2fr 2fr;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .neumorphic-container {
    /* height: 220vh; */
    margin-left: 0px;
    margin-right: 0px;
    display: block;
    border: none;
    background-size: 100%;
  }
  .portfolio-card {
    margin-top: 20px;
  }
  .containerrr {
    text-align: center;
  }
  .neumorphic-card {
    margin-right: -60px !important;
  }
  body {
    background-size: 100%;
  }
  .song-card {
    margin-left: 80px !important;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.containerrr {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-left: -100px;
}

.neumorphic-card {
  background-color: #f2f2f2;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  animation: fadeIn 1s;
  margin: 20px;
  background: linear-gradient(315deg, #c8c8c8, #eeeeee);
  background: linear-gradient(145deg, #cacaca, #f0f0f0);
  box-shadow: 5px 5px 12px #bababa, -5px -5px 12px #ffffff;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 24px;
}

p {
  font-size: 18px;
  margin-bottom: 20px;
}

.neumorphic-button:hover {
  box-shadow: none;
}

.neumorphic-input {
  background-color: #f2f2f2;
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 10px;
  background: #e0e0e0;
  box-shadow: inset -5px 5px 10px #7b7b7b, inset 5px -5px 10px #ffffff;
}
.neumorphic-input:focus {
  box-shadow: none;
}

.neumorphic-submit-button {
  background-color: #f2f2f2;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background: #e0e0e0;
  box-shadow: inset -5px 5px 10px #7b7b7b, inset 5px -5px 10px #ffffff;
}

.neumorphic-submit-button:hover {
  /* box-shadow: none; */
  transition: 0.7s;
  background: linear-gradient(315deg, #c8c8c8, #eeeeee);
  box-shadow: -5px -5px 10px #8e8e8e, 5px 5px 10px #ffffff;
}

/* credit card */
.credit-card-holder {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  cursor: pointer;
  animation: fadeIn 1s;
}

.credit-card {
  position: relative;
  width: 400px;
  height: 250px;
  transform-style: preserve-3d;
}

.card-front,
.card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.6s;
}

.card-front {
  transform: rotateY(0deg);
  border-radius: 5px;
  background: linear-gradient(315deg, #f0f0f0, #cacaca);
  box-shadow: -5px -5px 7px #a1a1a1, 5px 5px 7px #ffffff;
}

.card-back {
  transform: rotateY(180deg);
  border-radius: 5px;
  background: linear-gradient(315deg, #f0f0f0, #cacaca);
  box-shadow: -5px -5px 7px #a1a1a1, 5px 5px 7px #ffffff;
}

.card-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 60px;
  height: 40px;
  background-color: #ccc;
}

.card-chip {
  position: absolute;
  top: 70px;
  left: 20px;
  width: 60px;
  height: 40px;
  background-color: #999;
}

.card-number {
  position: absolute;
  top: 120px;
  left: 20px;
  max-width: 260px;
  height: 40px;
  background-color: #ddd;
  color: #303030;
  font-family: "Courier New", monospace;
  font-size: 18px;
  letter-spacing: 3px;
  padding: 5px;
  border-radius: 5px;
}

.card-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.card-name {
  width: 200px;
  height: 30px;
  background-color: #ddd;
  color: #303030;
  font-family: "Courier New", monospace;
  font-size: 16px;
  padding: 5px;
  border-radius: 5px;
}

.card-expiry {
  width: 100px;
  height: 30px;
  background-color: #ddd;
  color: #303030;
  font-family: "Courier New", monospace;
  font-size: 16px;
  padding: 5px;
  border-radius: 5px;
}

.card-magnetic-stripe {
  position: absolute;
  top: 70px;
  left: 20px;
  width: 360px;
  height: 40px;
  background-color: #999;
}

.card-cvv {
  position: absolute;
  top: 130px;
  left: 290px;
  width: 80px;
  height: 40px;
  background-color: #999;
  color: #303030;
  font-family: "Courier New", monospace;
  font-size: 18px;
  text-align: center;
  line-height: 40px;
  border-radius: 5px;
}

.credit-card:hover .card-front {
  transform: rotateY(-180deg);
}

.credit-card:hover .card-back {
  transform: rotateY(360deg);
}

/* clock */

.clock {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  margin: 0 auto;
  margin-top: 50px;
  background-color: #f2f2f2;
  box-shadow: 10px 10px 20px #c9c9c9, -10px -10px 20px #ffffff;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s;
  background: #dedede;
  box-shadow: inset -7px 7px 14px #a0a0a0, inset 7px -7px 14px #ffffff;
  border: 4px inset red;
}

.clock .hour-hand,
.clock .minute-hand,
.clock .second-hand {
  background-color: #4d4d4d;
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  transition: transform 0.5s ease-in-out;
}

.clock .hour-hand {
  width: 7px;
  height: 60px;
  border-radius: 4px;
  transform: translateX(-50%) rotate(90deg);
}

.clock .minute-hand {
  width: 6px;
  height: 80px;
  border-radius: 3px;
  transform: translateX(-50%) rotate(180deg);
}

.clock .second-hand {
  width: 4px;
  height: 90px;
  border-radius: 2px;
  transform: translateX(-50%) rotate(270deg);
  background-color: #ff5555;
}

.clock .center-dot {
  width: 10px;
  height: 10px;
  background-color: #4d4d4d;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.digital-clock {
  text-align: center;
  font-size: 24px;
  margin-top: 20px;
  animation: fadeIn 1s;
}

/* Neumorphic Portfolio Card */
.portfolio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  width: 300px;
  height: 400px;
  padding: 20px;
  border-radius: 20px;
  transition: box-shadow 0.3s ease-in-out;
  animation: fadeIn 1s;
  box-shadow: 12px 12px 25px rgba(0, 0, 0, 0.2),
    -12px -12px 25px rgba(255, 255, 255, 0.8);
  margin-top: 15px;
  cursor: pointer;
  /* margin-top: 10px; */
}

.portfolio-card:hover {
  background: #dedede;
  box-shadow: inset -7px 7px 14px #a0a0a0, inset 7px -7px 14px #ffffff;
}

.portfolio-card img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.portfolio-card h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.portfolio-card p {
  font-size: 16px;
  text-align: center;
}

/* Neumorphic Star Rating */
.star-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.star-rating input[type="radio"] {
  display: none;
}

.star-rating label {
  display: inline-block;
  font-size: 30px;
  color: #f0f0f0;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

.star-rating label:hover,
.star-rating input[type="radio"]:checked ~ label {
  color: #303030;
  text-shadow: inset -7px 7px 14px #a0a0a0, inset 7px -7px 14px #ffffff;
}

/* songs */

.button {
  position: relative;
  width: 60px;
  height: 60px;
  background: #f0f0f0;
  border-radius: 50%;
  background: #e0e0e0;
  box-shadow: inset -5px 5px 10px #7b7b7b, inset 5px -5px 10px #ffffff;
  transition: box-shadow 0.3s;
  cursor: pointer;
}

.button:active {
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.2),
    -6px -6px 12px rgba(255, 255, 255, 0.7);
}

.button.play:before,
.button.pause:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.button.play:before {
  width: 20px;
  height: 40px;
  border-radius: 4px;
}

.button.pause:before {
  width: 10px;
  height: 30px;
  border-radius: 4px;
}

.button.play:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-image: url("https://img.icons8.com/fluency/48/play.png");
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
  transition: opacity 0.5s;
}

.button.pause:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-image: url("https://img.icons8.com/fluency/48/pause.png");
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
  transition: opacity 0.5s;
}

/* song card */
.playlist {
  display: flex;
}

.song-card {
  width: 200px;
  height: 250px;
  margin: 10px;
  padding: 15px;
  background-color: #f0f0f0;
  border-radius: 20px;
  /* box-shadow: 10px 10px 20px #c7c7c7, -10px -10px 20px #ffffff; */
  background: linear-gradient(145deg, #ffffff, #e6d8d8);
  box-shadow: 5px 5px 10px #666060, -5px -5px 10px #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}

.song-card:hover {
  /* box-shadow: 5px 5px 10px #c7c7c7, -5px -5px 10px #ffffff; */
  background: linear-gradient(225deg, #ffffff, #e6d8d8);
  box-shadow: -5px 5px 10px #666060, 5px -5px 10px #ffffff;
}

.song-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(145deg, #b3b3b3, #d5d5d5);
  box-shadow: 5px 5px 10px #505050, -5px -5px 10px #ffffff;
}

.song-details {
  text-align: center;
}

.song-title {
  font-size: 18px;
  color: #333;
  margin: 5px 0;
}

.song-artist {
  font-size: 14px;
  color: #555;
}
.neu-text {
  color: #555;
  margin: 0;
  text-shadow: 2px 2px 4px #ffffff;
  padding: 0;
  text-decoration: overline;
}
