@import url('//fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');
@import url('//fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&display=swap');

@font-face {
    font-family: Lato-regular;
    src: url(../../../fonts/Lato/Lato-Regular.ttf);
}

@font-face {
    font-family: Poppins-regular;
    src: url(../../../fonts/Poppins/Poppins-Regular.ttf);
}

.sticker-background, iframe body {
    margin: 0;
    background: none;
    display: block;
}

.sticker-content {
    background-repeat: no-repeat;
    width: 120px;
    height: 120px;
    z-index: 100;
}
.sticker-content.dark {
    background-image: url("../../../img/refresh/macaron/shape-dark.svg");
    background-size: 100%;
    color: #fff;
}
.sticker-content.light {
    background-image: url("../../../img/refresh/macaron/shape-light.svg");
    background-size: 100%;
    color: #000;
}

.sticker-content a {
    color: inherit;
    text-decoration: none;
}

.sticker-rating {
    font-family: Poppins-regular;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    padding-top: 20%;
}

.sticker-scoring {
    text-align: center;
    padding-top: 5%;
}
.sticker-scoring img {
    width: 11px;
    height: 11px;
    margin-right: 3.3px;
}
.sticker-scoring img:last-child {
    margin-right: 0;
}

.sticker-text {
    font-family: Lato-regular;
    font-size: 8px;
    font-style: normal;
    font-weight: 400;
    line-height: 8px;
    letter-spacing: 0px;
    text-align: center;
    padding-top: 5%;
}

.sticker-logo {
    background-repeat: no-repeat;
    background-size: cover;
    height: 15px;
    display: block;
    margin: 0 auto;
    width: 50%;
    padding-top: 5%;
}

/* This sticker has two different mobile version
* - The class "desktopOnly" indicates that the sticker is not displayed for mobile
* - The class "mobileAndDesktop" indicates that the mobile version sticker is displayed and different from desktop version
* 
* Mobile version if : the container is too small to have desktop size sticker (size is defined inside iframe code)
*/
@media screen and (max-width: 100px) {

    /* Desktop Only version */
    .sticker-content.desktopOnly {
        display: none;
    }

    /* Mobile and desktop version */
    .sticker-content.mobileAndDesktop {
        width: 100px;
        height: 100px;
    }
    .sticker-rating.mobileAndDesktop {
        font-size: 20px;
    }
    .sticker-text.mobileAndDesktop {
        display: none;
    }
}