@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700&display=swap');


.container {
    position: relative;
    margin: 0 auto;
    text-align: left;
    padding: 20px;
}

.popular-product {
    margin-top: 8%;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.popular-product-text{
    font-size: 20px;
    font-weight: 500;
    text-align: left; 
    margin: 10px 10px;
}

.background-text {
    position: absolute;
    font-size: 450px;
    color: rgba(0, 0, 0, 0.05);
    z-index: -1;
    top: 10px;
    right: 0;
    font-family: "Anonymous Pro", monospace;
    font-weight: 400;
}

.image-container {
    position: relative;
    display: inline-block;
    margin-top: 20px;
}

.image-container img {
    width: 400px;
    height: auto;
}

.details {
    text-align: left;
}

.name-popular{
    font-size: 32px;
    font-weight: 300;
    margin: 0px;
}

.model-popular{
    font-size: 48px;
    font-weight: 500;
    margin-top: 0px;
}

.details button {
    border-radius: 12px;
    font-weight: 300;
    font-size: 13px;
    padding: 9px 20px;
    background-color: rgb(255, 255, 255);
    color: rgb(17, 17, 17);
    border: none;
    cursor: pointer;
}

.text-bubbles {
    width: 100%;
    height: 100%;
    margin-top: 20px;
}

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px 30px; 
    border-radius: 10px;
    font-size: 12px;
    text-align: left; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 80px;
    width: 150px;
    opacity: 0.7;
}

.name-bubbles {
    align-self: flex-start;
    font-size: 12px;
    font-weight: Medium;
}

.seting-bubbles {
    align-self: flex-start;
    margin-top: auto;
    font-size: 14px; 
    font-weight: Medium;
    color: #7E7E7E;
}

#bubble1 {
    bottom: 90%;
    left: 50%;
}

#bubble2 {
    top: 30%;
    right: 100%;

}

#bubble3 {
    top: 70%;
    left: 75%;
}

@media (max-width: 960px) {
    .background-text {
        font-size: 250px;
        top: 5px;
    }

    .popular-product {
        flex-direction: column;
        align-items: center;
    }

    .bubble {
        width: 85%; 
        max-width: 300px; 
        height: 70px;
        font-size: 11px;
    }

    .image-container img {
        width: 80%;
        max-width: 350px;
    }

    .details {
        text-align: center;
    }

    .details button {
        width: 80%;
    }

    #bubble1, #bubble2, #bubble3 {
        position: relative;
        bottom: auto;
        top: auto;
        left: auto;
        right: auto;
        margin: 10px 0;
        width: 100%;
        max-width: 300px;

    }
}

@media (min-width: 961px) and (max-width: 1200px) {
    .background-text {
        font-size: 350px;
        top: 10px;
    }

    .bubble {
        width: 130px;
        height: 75px;
        font-size: 12px;
    }

    .image-container img {
        width: 100%;
        max-width: 400px;
    }

    .details {
        text-align: left;
    }

    .details button {
        width: auto;
    }

    #bubble1, #bubble2, #bubble3 {
        position: absolute;
    }

    #bubble1 {
        bottom: 90%;
        left: 50%;
    }
    
    #bubble2 {
        
        top: 9%;
        right: 81%;
    
    }
    
    #bubble3 {
        top: 70%;
        left: 75%;
    }

}

@media (max-width: 600px) {
    .background-text {
        font-size: 150px;
        top: 5px;
    }

    .name-popular{
        font-size: 20px;
    }

    .model-popular{
        font-size: 18px;
        font-weight: 600;
    }

    .popular-product {
        flex-direction: column;
        align-items: center;
    }

    .bubble {
        width: 100px;
        height: 60px;
        font-size: 10px;
    }

    .image-container img {
        width: 90%;
        max-width: 300px;
    }

    .details {
        text-align: center;
    }

    .details button {
        width: 100%;
    }


    .bubble {
        width: calc(100% - 40px); 
        max-width: 100px;
        height: auto;
        font-size: 11px;
    }

    #bubble1, #bubble2, #bubble3 {
        position: relative;
        bottom: auto;
        top: auto;
        left: auto;
        right: auto;
        margin: 10px 0;
        width: 80%; 
        max-width: 300px;
    }
}