@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
html, body {
    margin: 0 auto;
    font-family: 'Montserrat';
    font-style: normal;
    display: flex;
}

* {
    box-sizing: border-box;
    padding: 0 0;
    margin: 0 0;
  }
.closebtn{
    color: white;
    font-size: 24px;
    margin-top: 24px;
    font-weight: 700;
    position: fixed;
    top: -2%;
    left: 95%;
}
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
}
#overlay.opened {
    display: block;
}

button, a {
    cursor: pointer;
}

.container-popup {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto auto;
    width: 720px;
    height: fit-content;
    background-image: url(/images/bg-popup-1.webp);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 5px solid rgba(255, 255, 255, 0.2);
    background: #8025ff;
    border-radius: 24px;
    z-index: -5; 
    transition: all .4s;
    opacity: 0;
    transform: scale(.2);
}

.grid button{
    border: none;
    border-radius: 99px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Montserrat';
    font-weight: 600;
    width: 100%;
}

.container-popup.opened {
    z-index: 999; 
    opacity: 1;
    transform: scale(1);
}

.container-popup .content-container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    gap: 12px;
    flex-direction: column;
    margin: auto 0;
    padding: 40px 0;
    border-radius: 24px;
}

.container-popup img {
    width: 327px;
}
.container-popup .content-container h1 {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.container-popup .content-container span {
    font-size: 20px;
    font-weight: 300;
    color: #cfcfcf;
    padding-bottom: 12px;
}

.container-popup .content-container .pop-title {
    font-size: 18px;
    font-weight: bold;
    color: white;
    padding-top: 12px;
}

.container-popup .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 12px;
    grid-row-gap: 12px;
}
.grid .spotify{
    color: white;
    background-color: #3CD16E;
}
.grid .deezer{
    color: white;
    background-color: #9B3CEF;
}
.grid .apple{
    color: white;
    background-color: #EF3256;
}
.grid .amazon{
    color: white;
    background-color: #0080C5;
}
.grid .youtube{
    color: #031314;
    background-color: white;
}
.grid .claro{
    color: #031314;
    background-color: white;
}
.grid .tidal{
    color: #031314;
    background-color: white;
}

.grid img {
    height: 28px;
    width: auto;
}

.grid a {
    text-decoration: none;
}

@media screen and (max-width:800px) {

    .container-popup.opened{
        width: 90vw;
        height: 70vh;
        overflow-y: scroll;
}

    .container-popup .content-container {
      padding: 24px 0;
}
.container-popup .capa {
    width: 100%;
    height: auto;
}

.container-popup .grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-column-gap: 12px;
    grid-row-gap: 12px;
    height: 200px;
    overflow-y: scroll;
    width: 100%;
}
::-webkit-scrollbar {
    display: none;
}
.container-popup .content-container h1 {
    text-align: center;
}

.container-popup .content-container span {
    text-align: center;
}
.container-popup .content-container .pop-title {
    text-align: center;
    width: 250px;
}
.closebtn{
    position: fixed;
    font-size: 18px;
    margin-top: 24px;
    font-weight: 700;
    top: -2%;
    left: 93%;
}

}

