body {
    margin: 0;
    padding: 0;
}

.container {
    margin: auto;
    background-color: #000000;
}

.line-container {
    background-color: black;
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 60px;
}

.line1 {
    background-color: red;
    height: 1px;
    flex: 1;
    margin-right: 25px;
}

.text h1 {
    margin: 0;
    color: #ffffff;
    font-size: 30px;
    font-weight: 600;
    font-family: "Red Hat Display", sans-serif;
}

.line2 {
    background-color: red;
    height: 1px;
    flex: 4;
    opacity: 0;
    margin-left: 10px;
}

.container2 {
    padding: 20px 140px;
    margin-bottom: 10px;
}

.chill-kill {
    width: 100%;
    display: flex;
    align-items: flex-end;
    position: relative;
    gap: 20px;
}

.chill-kill-image {
    width: 40%;
    position: relative;
    cursor: pointer;
}

.chill-kill-image img {
    width: 100%;
    transition: opacity 0.2s ease;
}

.chill-kill-image:hover img {
    opacity: 0.65;
}

.tracklist1 {
    position: absolute;
    top: 8px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    font-family: "Red Hat Display", sans-serif;
    padding: 20px;
    box-sizing: border-box;
    font-size: 20vw;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.chill-kill-image:hover .tracklist1 {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease, visibility 0s linear 0s;
}

.tracklist1 p:hover {
    color: #252525;
    font-weight: 600;
    transition: all 0.3 ease;
}

.chill-kill-text {
    width: 60%;
    font-family: "Red Hat Display", sans-serif;
    color: #ffffff;
    justify-content: left;
}

.chill-kill-text h1 {
    font-size: 62px;
    color: #d6d6d6;
}

.chill-kill-text h1:hover {
    color: #ebebeb;
    cursor: pointer;
}

.chill-kill-text h2 {
    font-size: 23px;
    font-weight: 400;
    margin-top: -45px;
    color: #d4d4d4;
}

.chill-kill-text h2:hover {
    cursor: pointer;
}

.chill-kill-text p {
    font-size: 22px;
    margin-bottom: 10px;
    color: #c6c6c6;
}

.chill-kill-text p:hover {
    cursor: pointer;
}

.chill-kill-text .line {
    background-color: #ffffff;
    height: 0.65px;
    width: 100%;
    align-items: center;
    margin-bottom: 20px;
}

.container3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 30px;
    padding: 20px 120px;
    padding-bottom: 120px;
}

.container-music {
    display: none;
}

.container3 .music-item {
    width: 20%;
}

.music-item {
    position: relative;
}

.music-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
    transform-origin: center;
}

.music-item:hover img {
    transform: rotateY(15deg);
    cursor: pointer;
}

.info {
    color: #f3f3f3;
    margin-top: 10px;
    text-align: left;
    font-family: "Red Hat Display", sans-serif;
}

.info h5 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.info p {
    font-size: 14px;
    color: #c5c5c5;
    margin-top: -5px;
    /* Adjust spacing */
}

.tracklist {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 255px;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: left;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
    box-sizing: border-box;
    font-family: "Red Hat Display", sans-serif;
    display: flex;
    /* Use flexbox for tracklist content alignment */
    flex-direction: column;
    /* Stack tracklist items vertically */
}

.music-item:hover .tracklist {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.tracklist h2 {
    color: #1d1d1d;
    font-size: 22px;
    font-weight: bold;
    text-decoration: underline;
    margin-top: 0;
    /* Reset default margin */
    margin-bottom: 10px;
    /* Space below the title */
}

@media screen and (max-width: 1230px) {
    .tracklist {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 193px;
    }

    .tracklist h2 {
        margin-top: -5px;
        margin-bottom: -14px;
    }

    .chill-kill-text h1 {
        font-size: 56px;
    }

    .chill-kill-text h2 {
        font-size: 22px;
    }

    .chill-kill-text p {
        font-size: 20px;
    }
}

@media screen and (max-width: 1053px) {

    .chill-kill {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .chill-kill-image {
        width: 75%;
    }

    .container {
        gap: 50px 0;
    }

    .container3 {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        gap: 20px;
        padding: 20px 40px;
        margin-bottom: 20px;
    }

    .container3 .music-item {
        width: 56%;
    }

    .tracklist {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 440px;
    }
}

@media screen and (max-width: 1052px) {

    .chill-kill {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .chill-kill-image {
        width: 75%;
    }

    .container {
        gap: 50px 0;
    }

    .container3 {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        gap: 20px;
        padding: 20px 40px;
        margin-bottom: 20px;
    }

    .container3 .music-item {
        width: 40%;
    }

    .tracklist {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 325px;
    }
}

@media screen and (max-width: 768px) {

    .chill-kill {
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex-wrap: wrap;
        gap: 0;
        margin-bottom: 30px;
    }

    .chill-kill-image {
        width: 100%;
    }

    .chill-kill-text {
        width: 100%;
        text-align: center;
    }

    .container3 {
        display: none;
        gap: 50px 0;
        padding: 50px;
    }

    .container3 .music-item {
        width: 56%;
    }

    .tracklist {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 380px;
    }

    .container-music {
        margin: 120px;
        margin-top: 0;
    }

    .tracklist {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }
}

@media screen and (max-width: 375px) {

    .container2 {
        padding: 20px 30px;
        margin-bottom: 10px;
    }

    .container-music {
        width: 170px;
        margin-top: 0;

    }
}