/* Import font */
@font-face {
    font-family: 'Montserrat';
    src: url('./fonts/Montserrat-VariableFont_wght.ttf') format("truetype-variations");
    font-weight: 1 999;
}

body {
    background: #081337;
    font-family: 'Montserrat';
}

.hide-desktop {
    display: none;
}

.show-desktop {
    display: block;
}

.main-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1440px;
    padding: 80px 0px;
    margin: auto;
    background: #081337;
}

.flex-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 auto 40px;
    gap: 40px;
    width: 1200px;
    justify-content: space-between;
}

.tuile-voeux {
    width: 787px;
    height: 332px;
    background-image: url(./img/bg-bonneannee-desk.png);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 69px 60px;
    box-sizing: border-box;
}

.text-voeux {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 36px;
    font-weight: 900;
    line-height: 47.52px;
    color: #ffffff;
    text-align: left;
}

.logo-velvet {
    height: 74px;
    width: 76px;
    margin-bottom: 24px;
    background-size: cover;
}

.anim-20232024 {
    height: 332px;
    width: 373px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #1b2a5c;
    position: relative;
    border-color: #1b2a5c;
    border-radius: 20px;
}

.tuile-intro-ino {
    height: 332px;
    width: 373px;
    box-sizing: border-box;
    background-color: #003ad0;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.text-ino {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 28px;
    font-weight: 900;
    line-height: 33.6px;
    color: #ffffff;
    text-align: left;
    text-wrap: balance;
}

.logo-ino {
    width: 82px;
    height: 82px;
    background-size: cover;
}

.tuile-ino {
    background-position: center;
    background-image: url(./img/3Mots.gif);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
    height: 332px;
    width: 787px;
}

.tuile-texte {
    padding: 78px 40px;
    box-sizing: border-box;
    width: 1200px;
    height: 312px;
    background-position: center;
    background-image: url(./img/bg-inno-desk-1.png);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
}

.texte-long {
    font-size: 28px;
    font-weight: 400;
    line-height: 39.2px;
    color: #ffffff;
    text-align: center;
    margin: 0;
    text-wrap: pretty;
}

.texte-long span {
    font-weight: 500;
}

.texte-long b {
    font-weight: 800;
}

.tuile-video video {
    object-fit: cover;
    width: 787px;
    height: 292px;
    border-radius: 20px;
}

.gifcoeur {
    height: 292px;
    width: 373px;
    background-position: center;
    background-image: url(./img/bg-coeur.png);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
}

.tuile-stay-tuned {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1200px;
    height: 80px;
    background: #131e42;
    border: 2px solid #1B2A5C;
    border-radius: 20px;
    padding: 0 40px;
    box-sizing: border-box;
}

.text-stay-tuned {
    font-size: 28px;
    font-weight: 900;
    line-height: 33.6px;
    color: #ffffff;
}

.logo-stay-tuned {
    width: 32px;
    height: 32px;
    background: url(./img/Star.svg) no-repeat center;
    background-size: cover;
}

.link {
    text-decoration: none;
}

.tuile-linkedin,
.tuile-playlist,
.tuile-website {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 373px;
    height: 248px;
    background-color: #003ad0;
    background-size: cover;
    border-radius: 20px;
    padding: 40px;
    box-sizing: border-box;
}

.tuile-website {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.tuile-playlist {
    background: url(./img/bento_playlist.gif) no-repeat center;
    background-size: cover;
}

.title-tuile {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.text-linkedin,
.text-playlist,
.text-website {
    font-size: 28px;
    font-weight: 900;
    line-height: 33.6px;
    color: #ffffff;
    text-wrap: balance;
}

.text-website {
    color: #050c22;
}

.logo-playlist,
.logo-linkedin {
    width: 40px;
    height: 40px;
}

.logo-website {
    position: absolute;
    width: auto;
    height: 194px;
    right: 0;
    bottom: 0;
    border-radius: 12px;
}

.bouton-white,
.bouton-blue {
    width: 22px;
    height: 22px;
    padding: 20px;
    border: 2.5px solid #ffffff;
    border-radius: 500px;
}

.bouton-blue {
    border: 2.5px solid #4d88ff;
}

/* Media query for smaller screens (e.g., mobile devices) */
@media only screen and (max-width: 1240px) {
    .hide-mobile {
        display: none;
    }

    .show-mobile {
        display: block !important;
    }

    .main-container {
        max-width: 320px;
        padding: 20px;
    }

    .flex-container {
        flex-direction: column;
        align-items: center;
        width: 320px;
        gap: 20px;
        margin-bottom: 20px;
    }

    /* Row 1 */

    .tuile-voeux {
        max-width: 320px;
        height: 320px;
        background-image: url(./img/bg-bonneanne-mob.png);
        border-radius: 20px;
        padding: 37px 30px 57px;
    }

    .text-voeux {
        font-size: 24px;
        line-height: 31.68px;
    }

    .anim-20232024 {
        max-width: 320px;
        max-height: 285px;
    }

    /* Row 2 */

    .tuile-intro-ino {
        width: 320px;
        height: 285px;
        padding: 30px;
    }

    .text-ino {
        margin: 0;
        font-size: 24px;
        line-height: 28.8px;
    }

    .tuile-ino {
        width: 320px;
        height: 135px;
        background-image: url(./img/3Mots.gif);
    }

    /* Row 3 */

    .tuile-texte {
        width: 320px;
        height: 395px;
        background-image: url(./img/bg-inno-mob-1.png);
        background-size: cover;
        padding: 60px 20px 55px;
    }

    .texte-long {
        font-size: 20px;
        line-height: 28px;
    }

    /* Row 4 */

    .tuile-video video {
        width: 320px;
        height: 196px;
    }

    .gifcoeur {
        width: 320px;
        height: 251px;
    }

    /* Row 5 */

    .tuile-stay-tuned {
        padding: 0 20px;
        width: 320px;
    }

    .text-stay-tuned {
        font-size: 24px;
        line-height: 28.8px;
    }

    .logo-stay-tuned {
        height: 20px;
        width: 20px;
    }

    /* Row 6 */

    .tuile-linkedin,
    .tuile-playlist,
    .tuile-website {
        width: 320px;
        height: 250px;
        padding: 41px 30px;
    }

    .text-linkedin,
    .text-playlist,
    .text-website {
        font-size: 24px;
        line-height: 28.8px;
    }

    .bouton-white,
    .bouton-blue {
        padding: 18px;
    }

    .logo-website {
        height: 205px;
    }
}