@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:300,400,500');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Josefin Sans', sans-serif;
}

body {
  display: flex;
  cursor: url('custom-cursor.cur'), auto;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #221414;
  text-align: center;
  color: white;
  font-family: Arial, sans-serif;
}

a, a:hover, a:focus {
  cursor: url('custom-pointer.cur'), pointer;
}

.music-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
}

#volume-icon {
  color: white;
  font-size: 20px;
  margin-right: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#volume-slider {
  width: 100px;
  cursor: pointer;
}

.music-container:hover {
  transform: scale(1.1);
  transition: 0.3s;
}

.card {
  position: relative;
  width: 300px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  background: #1d3548;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  
  background: url('your-image.jpg') no-repeat center top;
  background-size: cover;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.imgbx {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transition: 0.5s;
  transform-origin: top;
  border-radius: 20px;
  overflow: hidden;
}

.imgbx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card:hover .imgbx {
  transform: translateY(30px) scale(0.5);
}

.content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transition: 0.5s;
  padding-bottom: 30px;
  transform: translateY(100%);
}

.card:hover .content {
  transform: translateY(0);
}

.content .details {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.content .details h2 {
  color: #fff;
  line-height: 1.2em;
  font-weight: 500;
}

.content .details h2 span {
  font-size: 0.8em;
  font-weight: 400;
  color: #03a9f4;
}

.sci {
  position: relative;
  display: flex;
  margin-top: 5px;
  gap: 8px;
}

.sci li {
  list-style: none;
  display: flex;
}

.sci li a {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #294d69;
  font-size: 1.5em;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: 0.5s;
}

.sci li a:hover {
  background: #03a9f4;
  transform: rotate(360deg);
}
