:root {
    --black: #383838;
    --dark-gray:  #767676;
    --medium-gray:  #B5B5B5;
    --light-gray : #F5F5F5;
    --light-yellow: #FFFBF9;
    --april-orange: #FE6D20;
    --april-blue: #005184;
    --dark-orange: #933401;
}

@font-face {
    font-family: "Russo One";
    src: url("../fonts/Russo_One.woff2") format("woff2");
}

@font-face {
    font-family: "PT Sans";
    src: url("../fonts/PTS55F.woff") format("woff");
}

@font-face {
    font-family: "PT Sans";
    src: url("../fonts/PTS75F.woff") format("woff");
    font-weight: bold;
}

@font-face {
    font-family: "PT Sans Narrow";
    src: url("../fonts/PTN57F.woff2") format("woff2");
}

@font-face {
    font-family: "PT Sans Narrow";
    src: url("../fonts/PTN77F.woff2") format("woff2");
    font-weight: bold;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0px;
    font-family: sans-serif;
}

a {
    color: var(--dark-orange);
    text-decoration: underline dotted;
    transition: 0.2s;
}

a:hover:not(.active) {
    color: var(--april-orange);
}

a img {
    transition: 0.2s;
}
a:hover:not(.active) img {
    filter: brightness(150%);
}

.newspaper {
    max-width: 1280px;
    margin: 10px auto 0px auto;
    padding: 10px;
    border: 1px solid var(--medium-gray);
    background-color: var(--light-yellow);
}

nav {
    font-size: 1.5rem;
    font-family: "Russo One";
    color: var(--black);
    display: flex;
    flex-direction: row;
    margin: 10px 10px 25px 10px;
}

nav .arrow {
    font-size: 3rem;
    flex: 0 1 auto;
    margin-top: -15px;
}

nav a {
    text-decoration: none;
}

nav .date { flex: 0 1 auto; }
nav .bar {
    flex: 1 0 auto;
    border-top: 5px solid var(--black);
    margin: 12px 15px 0px 15px;
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

header .title-left {
    flex: 0 1 25%;
    text-align: center;
}

header .title-left img {
    width: 160px;
    height: 160px;
    border-radius: 90px;
    border: 5px solid var(--april-orange);
}

header .title-center {
    flex: 1 0 50%;
    font-family: "Russo One";
    text-align: center;
    color: var(--black);
}

header .title-center .title {
    font-size: 6rem;
    line-height: 0.8;
    margin-bottom: 10px;
}

header .title-center .subtitle {
    font-size: 2rem;
}

header .title-right {
    flex: 0 1 25%;
    text-align: center;
}

header .title-right img {
    border: 3px solid var(--april-orange);
}

.price {
    display: flex;
    flex-direction: row;
    font-family: "PT Sans Narrow";
    margin-top: 20px;
}

.price .price-tag {
    font-size: 3rem;
    font-weight: bold;
    flex: 0 0 80px;
    height: 70px;
    border-radius: 50px;
    padding-top: 10px;
    border: 5px solid var(--black);
    color: var(--black);
    text-align: center;
}

.price .price-libre {
    text-align: right;
    font-size: 1.2rem;
    margin-left: 10px;
}

.mobile-header { display: none; }

.mobile-header img {
    flex: 0 1 25%;
    width: 100%;
    border: 3px solid var(--april-orange);
}


.frise {
    position: relative;
    margin: 10px 10px 35px 10px;
    height: 67px;
}

.frise::after {
    content: "";
    position: absolute;
    bottom: -5px;
    inset: 0;
    border-bottom: 5px solid var(--april-orange);
    z-index: 1;
}

.frise-item {
    position: absolute;
    left: var(--pos, 0%);
    transform: translate(-50%, 0%);
    white-space: nowrap;
    padding: 0;
    pointer-events: auto;
    z-index: 0;
}

.frise-item.debut {
    transform: translate(0%, 0%);
}

.frise-item.fin {
    transform: translate(-100%, 0%);
}

#lama {
    left: 0%;
}

#lama.animate {
    left: var(--pos, 0%);
    transition: left 2s ease;
}

main {
    margin: 10px;
}

.columns {
    columns: 2 30em;
    column-gap: 30px;
}

article {
    font-family: "PT Sans";
    font-size: 1.2rem;
    break-inside: avoid-column;
    clear: both;
    position: relative;
    margin-bottom: 50px;
}

article p {
    margin-top: 5px;
    margin-bottom: 25px;
}

article h2 {
    font-family: "Russo One";
    font-size: 1.7rem;
    text-transform: uppercase;
    border-bottom: 3px solid var(--dark-gray);
    margin-bottom: 10px;
    color: var(--black);
}

article .subtitle {
    position: relative;
    font-family: "Russo One";
    font-size: 1.5rem;
    font-style: italic;
    color: var(--dark-orange);
}

article img {
    width: calc(100% - 6px);
    border: 3px solid var(--dark-gray);
}

article .chiffre {
    font-size: 5rem;
    font-weight: bold;
    font-style: italic;
    float: left;
    color: var(--dark-orange);
    margin-right: 20px;
}

article blockquote {
    font-size: 1.5rem;
    font-style: italic;
    padding-left: 1em;
    padding-right: 1em;
    position: relative;
}

article blockquote::after {
    content: close-quote;
    right: -.5em;
    bottom: -.3em;
}

article blockquote::before {
    content: open-quote;
    left: -.5em;
    top: -0.5em;
}

article blockquote::before, article blockquote::after {
    color: var(--april-orange);
    font-size: 4em;
    font-style: normal;
    position: absolute;
}

article .author {
    color: var(--dark-orange);
    text-align: right;
    font-size: 1.5rem;
    font-weight: bold;
    font-style: italic;
    margin-right: 40px;
}

article .dessin-accueil {
    max-width: 432px;
    margin-right: 15px;
    float: left;
}

article .dessin-accueil img {
    display: block;
}

article .dessin-accueil p {
    display: block;
    font-family: "Russo One";
    font-size: 1.7rem;
    text-align: center;
    text-transform: uppercase;
}

#accueil h2 {
    text-align: center;
    border-bottom: 0px;
}

.encart {
    border: 5px solid var(--april-orange);
    padding: 0px 10px;
    color: var(--dark-orange);
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 50px;
}

section.encart h2 {
    font-family: "Russo One";
    font-size: 1.7rem;
    margin-top: 10px;
    margin-bottom: 0px;
}

.encart code {
    font-size: 1.15rem;
}

.encart a {
    color: black;
}

.encart a:hover:not(.active) {
    color: var(--dark-gray);
}

article.parole img, article.logiciel img {
    width: 80px;
    margin-right: 10px;
    margin-top: 10px;
    float: left;
    border: 3px solid var(--dark-gray);
}

article .important {
    color: var(--dark-orange);
    font-weight: bold;
    font-style: italic;
}

article.courrier blockquote {
    font-size: 1.2rem;
}

.chapril {
    float: right;
    margin-top: 10px;
    margin-left: 10px;
    width: 120px;
    border: 0px;
}

#adherer {
    margin-bottom: 70px;
}

footer {
    border-top: 1px solid var(--medium-gray);
    position: fixed;
    bottom: 20px;
    height: 60px;
    width: 1300px;
    display: flex;
    justify-content: space-around;
    background-color: #FFFFFF;
    transition: bottom 0.2s;
    align-items: center;
    z-index: 2;
    margin: 20px -20px -20px -20px;
    background-color: var(--light-yellow);
}

.footer-item {
    flex: 1 1 0%;
    text-align: center;
    font-family: "PT Sans Narrow";
    font-size: 20px;
}

.footer-item img {
    max-height: 55px;
}

.footer-item a {
    text-decoration: none;
}

.footer-item i {
    display: block;
    font-size: 25px;
}

.footer-item span {
    display: block;
    margin-top: -5px;
    font-weight: bold;
}

.liens-accueil {
    display: flex;
    justify-content: space-around;
}

.liens-accueil .footer-item {
    font-size: 30px;
}    

.liens-accueil .footer-item i {
    font-size: 37px;
}

.liste-numeros {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.liste-numeros a {
    border: 3px solid var(--dark-gray);
    flex: 0 1 calc(33.33% - 20px);
    text-align: center;
    font-family: "Russo One";
    font-size: 1.2rem;
}

.liste-numeros a img {
    width: 100%;
    border: 0;
}

#adherer {
    margin-bottom: 70px;
}

#merci {
    margin-bottom: 70px;
}

.merci p {
    font-family: "PT Sans Narrow";
    font-size: 1rem;
}

/* Large-screen */
@media screen and (max-width: 1320px) {
    .newspaper {
        margin: 10px;
    }
    footer {
        width: calc(100% - 22px);
        left: 0;
        margin-left: 10px;
        margin-right: 10px;
        border-left: 1px solid var(--medium-gray);
        border-right: 1px solid var(--medium-gray);
    }

    .liste-numeros a {
        border: 3px solid var(--dark-gray);
        flex: 0 1 calc(50% - 20px);
    }
    
}

/* Medium-screen */
@media screen and (max-width: 992px) {
    .newspaper {
        margin: 0px;
        border-left: 0;
        border-right: 0;
    }

    header .title-left { flex: 0 1 33%; }
    header .title-center { flex: 1 0 67%; }
    
    header .title-right { display: none; }

    .mobile-header {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mobile-header .price {
        margin-top: 0px;
        margin-right: 10px;
        justify-content: center;
        align-items: center;
        
    }
    
    .mobile-header .price .price-libre {
        text-align: center;
    }
    
    footer {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        border-left: 0;
        border-right: 0;
    }
}

/* Small-screen */
@media screen and (max-width: 700px) {
    .newspaper { padding: 5px; }
    .frise { margin: 10px 0px 35px 0px; }
    header .title-left { flex: 0 1 25%; }
    header .title-left img { width: 100%; height: auto; }
    header .title-center .title { font-size: 12vw; }
    header .title-center .subtitle { font-size: 4vw; }
    nav { font-size: 1rem; }

    .mobile-header { flex-wrap: wrap; }
    .mobile-header .price { flex: 1 0 100%; }
    .footer-image { display: none; }
    .frise {
        position: relative;
        height: 10vw;
    }
    .frise img {
        height: 9.5vw;
        width: auto;
    }

    article .dessin-accueil {
        max-width: 100%;
        margin-right: 0;
        float: none;
    }
    .liste-numeros a {
        flex: 0 1 100%
    }

}
