
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-image: url(https://img.freepik.com/premium-photo/dark-blue-grunge-texture-wall-background_148157-298.jpg?semt=ais_hybrid);
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main-content {
    background-image: url(https://img.freepik.com/premium-photo/dark-blue-grunge-texture-wall-background_148157-298.jpg?semt=ais_hybrid);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.project-name {
    width: 90%;
    max-width: 350px;
    margin: 0 auto 20px;
    padding: 8px;
    background-color: rgba(179, 0, 255, 0.1);
    border: 3px solid rgba(210, 207, 240, 0.2);
    border-radius: 4px;
    color: #fff;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    font-size: 23px;
    font-weight: bold;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.left-section,
.playlist-section,
.right-section {
    background-color: rgba(144, 224, 239, 0.8);
    padding: 20px;
    border-radius: 10px;
}

.circle-div {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}

.circle-div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.controls-panel {
    text-align: center;
    margin-top: 20px;
    background-color: white;
    padding: 15px;
    border-radius: 4px;
}

.slider-container {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.control-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.control-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    font-size: 15px;
}

.volume-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.volume-btn {
    background: none;
    border: none;
    color: black;
    font-size: 16px;
    cursor: pointer;
}

.playlist-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.search-icon {
    position: relative;
    width: 100%;
}

.search-icon i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: black;
    pointer-events: none;
}

.playlist-input1 {
    padding: 8px;
    padding-right: 30px;
    border: none;
    border-radius: 4px;
    background-color: white;
    width: 100%;
    box-sizing: border-box;
}

.playlist-inputs {
    margin-top: 20px;
}

.playlist-line {
    height: 2px;
    background-color: #666;
    margin: 5px 0;
}

.music-control {
    background-color: rgba(59, 130, 246, 0.3);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.control-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.control-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.music-text {
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
}

.start-btn {
    width: 100%;
    padding: 10px;
    background-color: #17021c;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    margin-top: auto;
}

.progress-container {
    width: 100%;
    height: 5px;
    background-color: #ccc;
    cursor: pointer;
    margin-top: 10px;
}

.progress-bar {
    height: 100%;
    background-color: #007bff;
    width: 0%;
}

.time-display {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.share-options {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.share-options a {
    display: block;
    margin: 5px 0;
    color: #007bff;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .right-section {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .right-section {
        grid-column: span 1;
    }

    .circle-div {
        width: 150px;
        height: 150px;
    }

    .control-circle {
        width: 100px;
        height: 100px;
    }

    .playlist-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .playlist-input1 {
        width: 100%;
        margin-top: 10px;
    }

    .controls-panel {
        margin-top: 10px;
    }

    .control-buttons {
        flex-wrap: wrap;
    }

    .control-btn {
        margin: 5px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 10px;
    }

    .left-section,
    .playlist-section,
    .right-section {
        padding: 10px;
    }

    .circle-div {
        width: 120px;
        height: 120px;
    }

    .control-circle {
        width: 80px;
        height: 80px;
    }

    .music-text p {
        font-size: 14px;
    }

    .start-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

a {
    color: white;
    list-style: none;
    text-decoration-style: none;
}

/* Add this to change the song duration time color to black */
.time-display {
    color: black;
}

/* Add this for shuffle and loop buttons */
.shuffle-btn,
.loop-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    font-size: 15px;
    margin: 5px;
}

.shuffle-btn.active,
.loop-btn.active {
    background-color: #007bff;
    color: white;
}

.control-buttons {
    text-align: center;
}