@import url('/css/button.css');
@import url('/css/banner.css');
@import url('/css/sondage.css');
@import url('/css/nav.css');
@import url('/css/propositions.css');
@import url('/css/medias.css');
@import url('/css/bloc.css');
@import url('/css/contributions.css');
@import url('/css/mobile.css');

@font-face {
    font-family: nunito;
    font-weight: 100;
    font-style: normal;
    src: url('/fonts/nunito.ttf') format('truetype');
}

@font-face {
    font-family: nunitolite;
    font-weight: 100;
    font-style: normal;
    src: url('/fonts/nunito-lite.ttf') format('truetype');
}

b {
    font-family: nunito;
}

:root {
    --main-red: #cb1919;
    --first-red: #ec3535;
    --second-red: #8a0e0e;
    --main-blue: #242736;
    --first-blue: #51577a;
    --second-blue: #0b0e11;
}

p {
    font-family: nunitolite;
}

.textcenter {
    text-align: center;
}

.nunitolite {
    font-family: nunitolite;
}

article {
    font-family: nunitolite;
}

article h2 {
    font-family: nunito;
}

article ul li {
    font-family: nunitolite;
}

article h2 {
    font-size: 1.2em;
}

.main-link {
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
}

.bg-top {
    background-position-y: 30%;
    background-position-x: 50%;
}

.measure-wide {
    max-width: 55em;
}
.lh-title {
    margin-top: 0;
    margin-top: 0;
    text-transform: uppercase;
}



.athelas, .nunito {
    font-family: nunito, serif;
}

.mid-gray {
    color: #242736;
}

a {
    text-decoration: none;
}

a:not(.not-white){
    color: white;
}

.red-link a {
    color: var(--main-red);
}

a:visited{
    text-decoration: none;
}

a:visited:not(.not-white){
    color: white;
}

.red-link a:visited {
    color: var(--main-red);
}


@media screen and (min-width: 60em) {
    .pv6-l, .pv6 {
        padding-top: 2em !important;
        padding-bottom: 2em !important;
    }
}

.row {
    display: flex;
}



.square {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    min-height: 220px;
    background-position: center center;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em; /* adjust the font size as needed */
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.square.center{
    align-items: center;
    align-content: center;
    text-align: center;
    justify-content: center;
}

.square:not(.no-overlay)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Set the background color and opacity of the overlay */
    z-index: -1;
    border-radius: 0.6em;
}



.big-text{
    font-size: 1.5em;
    padding: 1em;
}

.not-bold {
    font-size: 1em;
    font-weight: unset;
}

.red {
    color: var(--main-red);
}

.blue {
    color: var(--main-blue);
}


input[type="submit"]:hover {
    opacity: 0.5;
    cursor: pointer;
}

input[type="submit"].blue {
    background-color: var(--main-blue);
    color: white;
}

.g-recaptcha {
    margin-top: 0.5em;
}

.calmText{
    font-size: 0.8em;
    line-height: 1em;
}

.w100 {
    width: 100%;
}



.pb7 {
    padding-bottom: 3rem;
}

.actu-content, .resume_livre{
    text-align: justify;
}


.actu-content strong {
    color: var(--main-red);
}

.summary-img{
    width: 100%;
}
.flex-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-right: 2em;
    padding-left: 2em;
}

.element1, .element3 {
    flex: 1;
}

.element2 {
    flex: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.element3 {
    text-align: right;
}

.only-small {
    display: none;
}

.bg-bottom {
    position: relative;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}


.bg-blue {
    background-color: var(--main-blue);
}

.portfolio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    padding: 20px;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(25% - 30px);
    margin: 15px;
}

.portfolio-item img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.portfolio-item p {
    text-align: center;
    margin-top: 10px;
    font-family: nunito;
    font-size: calc(0.75em + 0.5vw); /* Add this line */
}

.portfolio-background {
    position: relative;
    height: 200px;
    width: 200px;
}
.portfolio-background::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Set the background color and opacity of the overlay */
    z-index: -1;
    /*border-radius: 0.6em;*/
}

.portfolio-background-politiques {
    background-color: rgb(229, 28, 41);
}
.portfolio-background-journalistes {
    background-color: rgb(111, 56, 133);
}
.portfolio-background-intellectuels {
    background-color: rgb(246, 59, 5);
}
.portfolio-background-PR {
    background-color: rgb(203, 167, 70);
}
.portfolio-background-artistes {
    background-color: rgb(253, 221, 11);
}
.portfolio-background-acteurs-publics {
    background-color: rgb(46, 114, 79);
}
.portfolio-background-civils  {
    background-color: rgb(64, 67, 102);
}
h3.portfolio-politiques {
    color: rgb(229, 28, 41);
}
h3.portfolio-journalistes {
    color: rgb(111, 56, 133);
}
h3.portfolio-intellectuels {
    color: rgb(246, 59, 5);
}
h3.portfolio-PR {
    color: rgb(203, 167, 70);
}
h3.portfolio-artistes {
    color: rgb(253, 221, 11);
}
h3.portfolio-acteurs-publics {
    color: rgb(46, 114, 79);
}
h3.portfolio-civils  {
    color: rgb(64, 67, 102);
}

.mw8 {
    margin-left: auto;
    margin-right: auto;
}

.orga-text a {
    text-decoration: underline;
}


.portfolio-selector-container {
    font-family: nunito;
    text-align: center;
}

.portfolio-selector-container .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.portfolio-selector-container .row h3{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(25% - 30px);
    margin: 15px;
}

.portfolio-selector {
    cursor: pointer;
}

.hamburger-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: white;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.close-button:focus {
    outline: none;
}

.mobile-nav-links {
    display: none;
}

a.red:not(.button):not(.list-button) {
    color: var(--main-red) !important;
}

.image-container {
    position: relative;
    display: inline-block;
}

.image-tag-rectangle {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.85); /* Adjust the last value (0.7) to set the desired opacity */
    color: #fff; /* Text color */
    padding: 5px 10px; /* Adjust padding as needed */
    font-size: 14px; /* Adjust font size as needed */
    z-index: 1;
    border-bottom-left-radius: 10px;
}

.temoin-header {
    position: relative;
    max-width: 700px; /* Set a maximum width for the parent div */
    width: 90%;
    margin: 0 auto;
    font-family: nunito, serif;
}

.temoin-intro {
    text-align: center;
    text-transform: uppercase;
}

.temoin-image img {
    width: 100%;
    height: auto;
}

.temoin-title {
    position: absolute;
    bottom: -10px;
    left: -10px;
    background-color: var(--main-blue);
    color: white;
    padding: 1px 5px 1px 5px;
    margin-bottom: 10px;
    font-size: calc(0.5em + 1vw);
}

.temoin-date {
    position: absolute;
    bottom: -52px;
    left: -10px;
    color: var(--main-blue);
}

.temoin-quote {
    position: absolute;
    top: 80%;
    right: 0; /* Updated to stick to the right of the image */
    background-color: var(--main-red);
    color: white;
    max-width: 38%; /* Set a maximum width of 15% */
    font-size: calc(0.8em + 0.1vw);
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 10px 0 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 20%;
}

.temoin-quote span {
    margin-left: 10px;
    margin-bottom: 5px;
}

.temoin-quote::before,
.temoin-quote::after {
    font-size: 3em; /* Adjust the size of the pictogram */
    margin-top: -5px;
    margin-bottom: -15px;
    line-height: 1.2;
}

.temoin-quote::before {
    content: "❝"; /* Add your quote pictogram here */
    align-self: flex-start; /* Align the top-left pictogram */
}

.temoin-quote::after {
    content: "❞"; /* Add your quote pictogram here */
    align-self: flex-end; /* Align the bottom-right pictogram */
    margin-top: -20px;
}

.temoin-content {
    margin-top: 10%;
    text-align: justify;
}

.justify {
    text-align: justify;
}

.center {
    text-align: center;
}

.orga-text  {
    text-align: justify;
}

.orga-text h3 {
    text-align: center;
}

@media screen and (min-width: 768px) {
    .l-hide {
        display: none;
    }

    .temoin-content {
       width: 75%;
        margin-left:auto;
        margin-right:auto;
    }

    .main-link {
        font-size: 2em;
    }
    .f2, .f1-l, .f-subheadline-l {
        font-size: 2.25rem !important;
    }
}
@media screen and (max-width: 768px) {

    .hamburger-button {
        display: flex;

    }
    .square {
        min-height: 150px;
        border-radius: 25px;
        font-size: calc(0.7em + 1vw) !important;
    }

    .square:not(.no-overlay)::before{
        border-radius: 25px;
    }



    .small-button {
        min-height: 50px;
        border-radius: 45px;
        margin-top: 20px;
    }





    .portfolio-item {
        width: var(--portfolio-item-size);
        margin: 2.5%;
    }

    .portfolio-item img {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
    }

    .portfolio-background {
        position: relative;
        width: 100%;
        overflow: hidden;
        padding-top: var(--portfolio-item-size); /* Update this line */
        padding-bottom: 0; /* Update this line */
        height: 0;        padding-bottom: 100%; /* Add this line */
    }

    .portfolio-item img {
        position: absolute;
        top: 0;
        left: 0;
    }

    .portfolio-item p {
        font-size: calc(0.4em + 0.9vw); /* Adjust the values here to get the desired font size */
    }

    .portfolio-selector-container .row h3 {
        width: calc(33% - 30px);
        font-size: 0.75em;
    }



    .temoin-intro {
        font-size: 0.65em;
    }

    .temoin-quote {
        font-size: calc(0.2em + 1vw);
    }

    .temoin-quote::before,
    .temoin-quote::after {
        font-size: 3em; /* Adjust the size of the pictogram */
        margin-top: -5px;
        margin-bottom: -15px;
        line-height: 1.5;
    }
    .temoin-quote::after {
        margin-top: -15px;
    }

    .list-button {
        font-size: calc(0.5em + 1vw);
    }
}
