@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    background-color: #000000;
    height: 100%;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

.header {
    position: relative;
    text-align: center;
    color: white;
    padding: 30px;
    z-index: 2;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 80px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    background: transparent;
    overflow: hidden;
}

.topbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(-90deg, rgba(0, 0, 0, 0.656) 0%, rgba(0, 0, 0, 0.963) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
    pointer-events: none;
}

.divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.082);
    margin: 17px 0;
}

.topbar a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    width: 100%;
    /* make links full width */
    flex-direction: column;
    /* icon above text or side by side */
}

.tabs a:hover {
    background-color: #191919;
}

.icon-cropper {
    margin: 0 0 6px 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.home-icon {
    width: auto;
    height: 35px;
    object-fit: cover;
    margin-top: 10px;
    transition: transform 0.2s ease;
}

.home-icon:hover {
    transform: scale(1.2);
}

.home-icon:active {
    transform: scale(0.92);
    transition: transform 0.1s ease;
}

.music-icon {
    width: auto;
    height: 30px;
    object-fit: cover;
}

.contact-icon {
    width: auto;
    height: 30px;
    object-fit: cover;
}

.tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
}

@font-face {
    font-family: 'King Dubstepikz';
    src: url('fonts/King Dubstepikz.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

.banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    overflow: hidden;
    z-index: 1;
    overflow-x: hidden;
}

.banner-img {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    overflow: hidden;
    opacity: 50%;
    z-index: 1;
    overflow-x: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.precoded {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2);
    pointer-events: none;
    z-index: 10;
    height: auto;
    width: auto;
    transition: transform 0.08s ease;
    overflow-x: hidden;
}

.under-dev {
    position: absolute;
    align-items: stretch;
    /* 👈 stretches children to full height */
    margin-top: -250px;
    width: 75%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    /* keeps image vertically centered */
    gap: 20px;
    background: rgb(246, 220, 88);
    padding: 20px;
    z-index: 1;
    border-radius: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.under-dev .message-text {
    font-size: 10px;
    color: #3c3e03;
}

.precoded img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.08s ease;
}

.content-wrapper {
    position: relative;
    padding-top: 300px;
    height: calc(100vh - 300px);
    overflow-y: auto;
    z-index: 2;
}

.main-body {
    position: relative;
    padding-top: 300px;
    height: 500px;
    width: 100%;
    background: rgb(224, 225, 231);
    z-index: 1;
}

.main-body2 {
    position: relative;
    padding-top: 300px;
    width: 100%;
    background: rgb(224, 225, 231);
    z-index: 1;
}

.main-body3 {
    position: relative;
    padding-top: 300px;
    width: 100%;
    background: rgb(224, 225, 231);
    z-index: 1;
}

.music-section {
    position: absolute;
    align-items: stretch;
    /* 👈 stretches children to full height */
    margin-top: -120px;
    width: 75%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    /* keeps image vertically centered */
    gap: 20px;
    background: rgb(254, 254, 255);
    padding: 20px;
    z-index: 1;
    border-radius: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.music-button {
    align-self: flex-end;
    margin-top: 20px;
    padding: 18px 40px;
    /* bigger padding */
    font-size: 15px;
    /* larger text */
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.music-section img {
    align-self: stretch;
    /* 💡 makes it match section height */
    /* keep height fixed */
    width: 100%;
    /* let it shrink in width */
    max-width: 50%;
    flex-shrink: 1;
    object-fit: cover;
    /* crop excess */
    margin-left: -20px;
    margin-top: -20px;
    margin-bottom: -20px;

    mask-image: linear-gradient(to right, black 0%, black 70%, transparent 100%);
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
}

.music-section h2 {
    align-self: flex-end;
    padding: 18px 0px;
    margin-right: 20px;
    margin-top: -40px;
    /* pushes it to the right */
    font-size: 70px;
    font-family: 'King Dubstepikz', sans-serif;
    color: #0c0c0c;
}

@media (max-width: 768px),
(orientation: portrait) {
    .music-section {
        flex-direction: column;
        height: auto;
        text-align: center;
    }

    .music-section img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .music-text {
        width: 100%;
    }

    .music-button {
        top: 50%;
        left: 50%;
        transform: translate(-120%, -50%);
    }
}

.music-section:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.music-section2 {
    position: relative;
    /* better than absolute for container */
    height: auto;
    /* adjust height based on content */
    margin-top: -175px;
    width: 900px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    /* allow items to wrap to next line */
    gap: 20px;
    background: rgb(232, 232, 237);
    padding: 20px;
    z-index: 1;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
    overflow: visible;
    /* allow overflow if needed */
    justify-content: center;
    /* center items horizontally */
}

.music-item {
    height: 375px;
    width: 27%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Ensures content is spaced with button at the bottom */
    align-items: center;
    background: rgb(239, 239, 243);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease, background 0.3s ease;
    overflow: hidden;
}

.music-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: flex-start;
    /* override parent center alignment, align this block to top */
    color: #000000;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    max-width: 70%;
    margin-left: auto;
    /* push to right */
    margin-top: 10px;
    /* slightly lowered */
}

.view-button {
    display: inline-block;
    margin-top: 10px;
    width: 70px;
    height: 25px;
    text-align: center;
    padding: 6px 12px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
}

.action-button:hover {
    background-color: #64afff;
    cursor: pointer;
}

.view-button:hover {
    background-color: #555;
}

.music-item img {
    width: 100%;
    height: auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.01);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.music-item:hover img {
    transform: scale(1.03);
    box-shadow: 0 0px 12px rgba(0, 0, 0, 0.2);
}

.music-item p {
    margin-top: 10px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #0c0c0c;
    text-align: left;
    width: 100%;
}

.music-item p2 {
    margin-top: -10;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-style: italic;
    color: #0c0c0c;
    text-align: left;
    width: 100%;
}

.music-item p3 {
    margin-top: 15px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: #0c0c0c;
    text-align: left;
    width: 100%;
}

.music-item {
    display: flex;
    flex-direction: column;
}

.content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.music-section2:hover {
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.music-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    background: rgb(247, 247, 250);
}

.title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    text-align: center;
}

.title p {
    margin-top: -10px;
    font-size: 70px;
    font-family: 'King Dubstepikz', sans-serif;
    color: #0c0c0c;
}

.music-section p {
    color: #666;
    margin-top: -40px;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    align-self: flex-end;
    text-align: right;
}

.music-button:hover {
    background-color: #333;
}

.music-page {
    position: relative;
    height: 100%;
    width: 100%;
    background: transparent;
    overflow: hidden;
    z-index: 1;
}

.music-page::before {
    content: "";
    position: absolute;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    background-image:
        linear-gradient(to top, rgba(0, 0, 0, 0.614) 0%, rgba(0, 0, 0, 0) 70%),
        var(--bg-image);
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    opacity: 0.7;
    z-index: -1;
}

.music-info {
    box-sizing: border-box;
    height: 500px;
    width: 370px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to bottom, #ffffff, #f4f4f8);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    padding: 30px 20px;
    border-radius: 16px;
    overflow-y: auto;
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(-10%, -50%);
    gap: 12px;
}

#track-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* vertical center */
    align-items: flex-start;
    /* align left horizontally */
    height: 100%;
    text-align: left;
    /* align text left */
    padding-left: 50%;
    /* optional padding for some spacing from the edge */
    box-sizing: border-box;
}

.cover {
    width: 300px;
    margin-top: -8px;
    border-radius: 7px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: block;
}

h1 {
    font-size: 36px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 12px 0 0;
    color: #ffffff;
    text-align: center;
}

p {
    margin: 0;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
}

p i {
    display: block;
    font-size: 12px;
    color: #d7d7d7;
    margin-top: -3px;
}

p b {
    display: block;
    font-size: 18px;
    color: #ffffff;
    margin-top: 15px;
}

.track-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -35px;
    width: 100%;
}

.action-logo {
    width: 150px;
    height: 100px;
    object-fit: contain;
}

.action-button {
    padding: 10px 20px;
    width: 75px;
    background-color: #ececec;
    color: rgb(0, 0, 0);
    font-weight: 400;
    text-align: center;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    user-select: none;
}

.cover-wrapper {
  position: relative;
  display: inline-block;
}

.cover {
  display: block;
}

.action-button2 {
    position: absolute;
    top: -4px;
    left: 5px;
    width: 20px;
    height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #ececec00;
    user-select: none;
}

.cover-wrapper:hover .action-button2 {
    opacity: 0.75;
}

.action-button:hover {
    background-color: #64afff;
    cursor: pointer;
}

audio {
    margin-top: 25px;
    width: 100%;
    max-width: 400px;
    outline: none;
    border-radius: 8px;
}

.confirm-download {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 300px;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    /* hide by default */
    flex-direction: column;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
}

.confirm-download.active {
    display: flex;
    animation: popup-in 0.3s forwards;
}

.confirm-download.closing {
    animation: popup-out 0.3s forwards;
}

@keyframes popup-in {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.3);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes popup-out {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

.button-row {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.download-button {
    padding: 10px 20px;
    width: 150px;
    background-color: #ececec;
    color: rgb(0, 0, 0);
    font-weight: 400;
    text-align: center;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    user-select: none;

    margin-top: auto;
    /* push to bottom */
}

.download-button:hover {
    background-color: #64afff;
    cursor: pointer;
}

.cancel-button {
    padding: 10px 20px;
    width: 150px;
    background-color: #ececec;
    color: rgb(0, 0, 0);
    font-weight: 400;
    text-align: center;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    user-select: none;

    margin-top: auto;
    /* push to bottom */
}

.cancel-button:hover {
    background-color: #ff6464;
    cursor: pointer;
}

.title-text {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

.message-text {
    font-size: 14px;
    font-weight: 300;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

.text {
    background-color: #000000d6;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    margin-top: 10px;
    margin-left: -20px;
    line-height: 1.8;
    padding: 12px 16px;
    /* add padding for inner spacing */
}

.form-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    width: 640px;
    height: 900px;
    margin-top: -200px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.form-container iframe {
    padding-top: 15px;
}

.form-container p {
    font-size: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    padding-top: 15px;
    color: #000000;
    text-align: center;
}

.bottom-bar {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.bottom-bar img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
}

.my-socials {
    position: absolute;
    right: 70px;
    bottom: 60px;
    display: flex;
    gap: 60px;
    align-items: center;
    z-index: 1;
}

.my-socials img {
    width: 50px;
    height: 35px;
    object-fit: contain;
    display: block;
}

.bottom-bar a {
    position: relative;
    margin-top: 60px;
    font-size: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    color: #ffffff;
    text-align: left;
    z-index: 1;
}

.bottom-bar>a {
    position: absolute;
    bottom: 10px;
    left: 90px;
    margin: 10px;
    /* optional, to give some padding from edges */
}