/* Medium devices (tablets/desktops, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 1167px) {
    a.header__logo img {
        width: 330px;
    }

    h2 {
        font-size: 3.2rem;
    }

    h3 {
        font-size: 2.8rem;
    }

    #hero-bloc .biscuit-rose {
        display: none;
    }

    #app-for-all .col,
    #exp-user {
        flex-direction: column;
        gap: 2rem;
    }

    #app-for-all .logo-b {
        width: 150px;
    }

    #more,
    #mode {
        flex-direction: column;
    }

    #mode .col-1,
    #more .col-1 {
        width: 100%;
        padding: 25px;
        height: 630px;
        justify-content: space-evenly;
    }

    #mode .col-1 p:first-child {
        font-size: 4rem;
    }

    #mode .col-1 .btn {
        width: 90%;
    }

    #free {
        padding: 0 15px;
        position: relative;
        margin-bottom: 90px;
    }

    #free .free {
        text-align: center;
    }

    #hero-bloc .free {
        width: 20rem;
    }

    #free span {
        font-size: 130px;
        text-shadow: 5px 5px rgba(0, 0, 0, 1);
        -webkit-text-stroke: 2px #000;
    }

    #free img.lb {
        width: 98px;
        height: 98px;
    }

    #free p {
        font-size: 1.6rem;
    }

    #free img.lb:nth-of-type(3),
    #free img.lb:nth-of-type(4),
    #free div.free:nth-of-type(3) {
        display: none;
    }

    #free .perso {
        position: absolute;
        top: 170px;
    }

    #question {
        margin-top: 150px;
    }

    /* NAVBAR */
    .navbar {
        flex-direction: column;
    }

    #header {
        position: fixed;
        width: 100%;
        top: 0;
        background-color: white;
        z-index: 99;
    }

    .logo-name {
        width: 330px;
    }

    main.container {
        margin-top: calc(var(--header-height) + 60px);
    }

    .header__burger {
        display: block;
        font-size: 4rem;
    }

    .header__nav {
        display: none;
    }

    .header__menu {
        flex-direction: column;
        background-color: white;
        width: 100%;
        gap: 10px;
    }

    .header__nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        right: 0;
        background-color: var(--primary-color);
        width: 100%;
    }

    .header__menu {
        height: calc(100vh - var(--header-height));
        justify-content: start;
        align-items: start;
        padding-left: 50px;
        padding-top: 50px;
    }

    .header__menu-item a {
        font-size: 10vw;
        line-height: 8vw;
        font-family: 'Brice';
        text-transform: uppercase;
    }

    .header__menu-item {
        margin: var(--spacing-unit) 0;
    }

    /* UTILISES */
    .col {
        flex: 1 0 100%;
        /* Stack columns on small screens */
    }

    .col-1 {
        flex: auto;
    }

    p,
    #infos_legal p {
        font-size: 2.8rem;
    }

    .lp {
        font-size: 2.5rem;
    }

    #hero-bloc p,
    #iscoming p,
    #subcribe p,
    #subcribe #filed-sub {
        width: 80%;
    }

    #iscoming {
        padding-bottom: 50px;
    }

    .btn {
        font-size: 2.7rem;
        text-align: center;
        width: 80%;
    }

    #hero-bloc h1 {
        font-size: 4rem;
        width: 80%;
    }

    #hero-bloc p {
        width: 90%;
    }

    #form-login {
        flex-direction: column;
    }

    #form-login #bloc-2 {
        height: calc(100vh - var(--header-height));
        width: 90%;
        justify-content: center;
        align-items: center;
        display: flex;
    }

    #form-login #bloc-2 #form {
        width: 100%;
    }

    #form-login #bloc-1 {
        display: none;
    }

    #form-login h1 {
        font-size: 2.5rem;
    }

    .connected {
        overflow: auto;
    }

    #welcome #gest-list {
        flex-direction: column;
    }

    #welcome .btn-gestion {
        width: 100%;
        padding: 75px 0 65px;
    }

    #create_pub section.flex {
        flex-direction: column;
    }

    #lien-img .flex {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    #lien-img #download {
        margin-top: 15px;
    }

    #actions {
        flex-wrap: wrap;
        justify-content: center;
        transform: none;
    }

    #app-for-all .col h3,
    #artiste h3 {
        font-size: 4rem;
        line-height: 4rem;

    }

    #app-for-all .col .col-1 {
        height: 750px;
        padding: 30px 0;
        margin: 40px 0
    }

    #app-for-all .col .info {
        padding: 0 30px;
    }

    #app-for-all .col .info p,
    #artiste ul li {
        font-size: 2.35rem;
    }

    #app-for-all .col p {
        font-size: 2.7rem;
    }

    #app-for-all .free {
        width: 190px;
    }

    #exp-user .col-1 .bloc-text {
        width: 80%;
        text-align: center;
        margin: auto;
    }

    #exp-user h2 {
        font-size: 2.5rem;
    }

    #exp-user h3 {
        font-size: 2rem;
    }

    .phone {
        display: none;
    }

    #filed-sub form button,
    #artiste ul {
        font-size: 2rem;
    }

    #artiste .bloc-info {
        width: 80%;
    }

    #hero-bloc {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    #more #bloc-1,
    #more #bloc-2 {
        height: 420px;
    }

    #app-for-all h2 {
        width: 80%;
    }



    #hero-bloc .biscuit {
        width: 100%;
    }

    .list-cat {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-bottom: 50px;
    }

    .bigcat {
        font-size: 3.7rem;
        margin: 0;
    }

    section#preparation {
        gap: 30px;
        padding: 30px 0;
    }

    #preparation h2 {
        width: 100%;
        transform: translateY(0);
    }

    #preparation p {
        width: 80%;
    }

    #infos_legal {
        flex-direction: column;
        gap: 2rem;
    }

    #biscuit-pink {
        width: 265px;
    }

    #subcribe #filed-sub form {
        border-radius: 31px;
    }

    #subcribe #filed-sub form input {
        font-size: 2.8rem;
        padding-left: 25px;
    }

    input {
        height: 95px;
    }

    .logo_biscuit {
        width: 150px;
    }

    #email,
    #password {
        font-size: 3.5rem;
    }

    #form-login .btn-submit {
        font-size: 2.5rem;
    }
}

/* Small devices (mobile/tablets, 767px and below) */
@media only screen and (max-width: 766px) {
    .lp {
        font-size: 1.2rem;
    }

    #hero-bloc,
    #preparation,
    #artiste,
    #iscoming,
    #subcribe {
        padding: 25px;
    }

    #hero-bloc .biscuit-rose {
        display: none;
    }

    #hero-bloc h1 {
        width: 100%;
        font-size: 1.75rem;
    }

    #hero-bloc .biscuit {
        width: 100%;
    }

    .l-biscuit {
        width: 75%;
    }

    .list-cat {
        flex-wrap: wrap;
        gap: 1rem 1rem;
        justify-content: center;
    }

    .bigcat {
        margin: 0;
        text-align: center;
        font-size: 1.35rem;
    }

    #hero-bloc p {
        padding-top: 1.25rem;
    }

    #more,
    #mode {
        flex-direction: column;
    }

    #more #bloc-1,
    #more #bloc-2 {
        height: 220px;
    }

    #app-for-all {
        padding: 50px 1rem;
    }

    #app-for-all h2 {
        width: 100%;
    }

    #app-for-all .col .col-1 {
        height: auto;
        padding: 2rem 1.5rem;
    }

    #app-for-all .col,
    #exp-user {
        flex-direction: column;
        gap: 2rem;
    }

    #app-for-all .col h3 {
        margin-top: 2.25rem;
    }

    #app-for-all .col p {
        font-size: 1.3rem;
    }

    #app-for-all .col .info p {
        font-size: 1.1rem;
    }

    #mode .title h2 {
        width: 100%;
        font-size: 3rem;
        padding: 0.7rem 1.25rem 1.3rem;
    }

    #mode .col-1:last-child h2 {
        width: auto;
        padding: 0.7rem 1.25rem 1.3rem;
    }

    #mode p {
        padding: 15px;
    }

    #mode .col-1 .btn {
        width: 90%;
    }

    #preparation img {
        width: 100%;
    }

    #preparation h2 {
        transform: translateY(0);
    }

    #preparation p {
        text-align: center;
    }

    #free {
        padding: 0 15px;
        position: relative;
        margin: 320px;
    }

    #free .free {
        text-align: center;
    }

    #free span {
        font-size: 80px;
        text-shadow: 5px 5px rgba(0, 0, 0, 1);
        -webkit-text-stroke: 2px #000;
    }

    #free img.lb {
        width: 48px;
        height: 48px;
    }

    #free img.lb:nth-of-type(3),
    #free img.lb:nth-of-type(4),
    #free div.free:nth-of-type(3) {
        display: none;
    }

    #free .perso {
        position: absolute;
        top: 100px;
    }

    #question {
        margin-top: 150px;
    }

    #question form {
        margin-top: 35px;
        width: 80%;
    }

    #question input {
        width: 100%;
    }

    #footer #infos_legal {
        flex-direction: column;
        gap: 1rem;
    }

    /* UTILISES */
    html {
        font-size: 12px;
    }

    h2 {
        font-size: 1.9rem;
    }

    .col-1 {
        flex: auto;
        padding: 1rem;
        width: 100%;
    }

    .col {
        flex: 1 0 100%;
        /* Stack columns on small screens */
    }

    p br {
        display: none;
    }

    /* NAVBAR */
    .navbar {
        flex-direction: column;
    }



    #header {
        position: fixed;
        width: 100%;
        top: 0;
        background-color: white;
        z-index: 99;
    }



    main.container {
        margin-top: calc(var(--header-height) + 20px);
    }

    .header__burger {
        display: block;

    }

    .header__nav {
        display: none;
    }

    .header__menu {
        flex-direction: column;
        background-color: white;
        width: 100%;
        height: calc(100vh - var(--header-height));
        gap: 10px;
        justify-content: center;
    }

    .header__menu-item a {
        font-size: 3rem;
        font-family: 'Brice';
        text-transform: uppercase;
    }

    .header__nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        right: 0;
        background-color: var(--primary-color);
        width: 100%;
    }

    .header__menu-item {
        margin: var(--spacing-unit) 0;
    }


    #hero-bloc p,
    #iscoming p,
    #subcribe p {
        width: auto;
    }

    #artiste .bloc-info {
        width: 90%;
    }

    #exp-user .img-beta-test {
        width: 80%;
    }

    #free .phone {
        display: none;
    }

    #subcribe #filed-sub {
        width: 100%;
    }

    #form-login {
        flex-direction: column;
    }

    #form-login #bloc-2 {
        height: calc(100vh - var(--header-height));
    }

    #form-login #bloc-2 #form {
        width: 100%;
    }

    #form-login #bloc-1 {
        display: none;
    }

    #form-login h1 {
        font-size: 2.5rem;
    }

    .connected {
        overflow: auto;
    }

    #welcome {
        padding: 25px 0;
        margin-bottom: 25px;
    }

    #welcome #gest-list {
        flex-direction: column;
        padding: 25px;
    }

    #welcome .btn-gestion {
        width: 100%;
        padding: 75px 0 65px;
    }

    #welcome .btn-quit {
        width: calc(100% - 50px);
        margin-top: 25px;
    }

    #cplt #type {
        font-size: 1.5rem;
    }

    #cplt .name {
        font-size: 2rem;
    }

    #create_pub #menu {
        flex-direction: column;
    }

    #create_pub section.flex {
        flex-direction: column;
    }

    #infos {
        margin-top: 25px;
    }

    #actions {
        flex-wrap: wrap;
        justify-content: center;
        transform: none;
    }

    #infos .flex {
        flex-direction: column;
    }

    #lien-img .flex {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    #lien-img #download {
        margin-top: 15px;
    }

    .col-2,
    .col-3 {
        flex: auto;
    }

    #cgu {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    #cgu #logo-biscuit {
        margin: 0;
    }

    #cgu .container {
        width: 80%;
    }


}