@import url('https://fonts.googleapis.com/css2?family=League+Gothic&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: "League Gothic", sans-serif;
    background-color: #011e26;
    background-image: url(img/css-pattern-by-magicpattern.png);
    color: #FFFFFF;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 200px;
    margin-right: 10px;
}

main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.content {
    max-width: 600px;
}

.content h2 {
    font-size: 60px;
    color: #ed1c39;
    font-weight: 700;
}

.content p {
    font-size: 28px;
    margin-top: 20px;
    font-weight: 300;
}

.input-group {
    margin-top: 20px;
    display: flex;
}

.input-group input {
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px 0 0 5px;
    width: 300px;
}

.input-group button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background-color: #43D39E;
    color: #10131C;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.platforms {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.platforms img {
    height: 30px;
}
.image{
    display: flex;
    justify-content: center;
    align-items: center;
}
.image img {
    max-height: 100%;
    border-radius: 10px;
}

.player {
    width: 350px;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.player-info h2 {
    margin: 0;
    font-size: 28px;
    color: #043464;
}

.player-info p {
    margin: 5px 0 20px;
    color: #555555;
}

.controls {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.control-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: #043464;
}

.control-button span {
    font-size: 30px;
}

.control-button small {
    font-size: 16px;
}


.play-button, .pause-button {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.circle {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: #ed1c39;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.circle::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: #ed1c39;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}
.circle.playing::after {
    animation: ripple 1.5s infinite;
}

.circle:hover {
    background-color: #ed1c387e;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 15px solid #FFFFFF;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    transition: transform 0.3s ease;
}

.rectangle {
    width: 10px;
    height: 20px;
    background-color: #FFFFFF;
    position: relative;
    transform: translateX(-7px);
}

.rectangle::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 20px;
    background-color: #FFFFFF;
    left: 12px;
}

.play-button:active .triangle, .pause-button:active .rectangle {
    transform: scale(0.9);
}
audio{
    display: none;
}
.platforms p{
    cursor: pointer;
}


/* Mobile styles */
@media (max-width: 758px) {
    body{width: 100%;}
    .container {
        width: 100%;
        padding: 10px;
    }
    
    main{
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 100%;
        flex-direction: column;
        
    }
    .content, .image{
        width: 100%;
    }
    .content{order:2;}
    .image{order:1;}
    .player {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .player-info h2{
        font-size: 1.4em!important;
    }

    .controls {
        margin-top: 10px;
    }

    .platforms {
        flex-direction: row;
        display: flex;
        justify-content: center;
    }

    .platforms p {
        margin-bottom: 10px;
    }
    
    header .logo img {
        width: 80px;
        height: auto;
    }
    
    .content h2 {
        font-size: 3.2em;
        text-align: center;
    }

    .content p {
        font-size: 1em;
        text-align: center;
    }
    .image{width: 100%;}
    .image img{max-height:100%; width:100%}
    
}


@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}