/* Règles générales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}
a {
    text-decoration: none;
}
section {
    padding: 3%; /* Marges latérales et verticales de chaque section */
}
button {
    padding: 15px;
    font-size: 2em;
    border: solid 3px #172c29;
    border-radius: 35px;
    background-color: transparent;
    color: #172c29;
    cursor: pointer;
}
button:hover {
    transform: scale(1.1);
    transition: all 0.2s ease-in-out;
}

/* Version Téléphone */
/* Corps de page */
body {
    width: 100%;
    background-color: #e0d9cf;
}

/* Section Presse */
.presse {
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #172c29;
}
.presse-title {
    display: flex;
    align-items: left;
    margin: 3% 0 0 4%;
    font-size: 70px;
    font-family: "Cormorant", serif;
    color: whitesmoke;
    text-align: left;
}
.articles-container-wrapper {
    width: 100%;
    height: fit-content;
    padding: 3% 3% 0 3%;
    display: block;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    background-color: #172c29;
}
.articles-container {
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: 49% 49%;
    grid-template-rows: 1fr 1fr 1fr;
    grid-auto-flow: column;
    grid-auto-columns: calc(50% - 1%) calc(50% - 1%);
    column-gap: 2%;
    row-gap: 1%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
.article {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: #ede7e0;
    padding: 4%;
}
.article-image {
    width: 100%;
    object-fit: cover;
}
.article-info-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2% 0 0 0;
}
.article-title {
    font-size: 20px;
    margin: 3% 0;
}
.article-writter-and-date-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.article-writter-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 2% 0;
}
.article-writter-icon {
    width: 15%;
    object-fit: cover;
}
.article-writter {
    font-size: 15px;
    margin: 0 0 0 5%;
}
.article-date-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 2% 0;
}
.article-date-icon {
    width: 15%;
    object-fit: cover;
}
.article-date {
    font-size: 15px;
    margin: 0 0 0 5%;
}
.article-read-more {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 20px;
    border: solid 1px #172c29;
    border-radius: 50px;
    margin: 2% 0 0 0;
    padding: 2%;
    color: #172c29;
}
    /* Animations - section presse */
    .article-read-more:hover {
        border: solid 1px #172c29;
        background-color: #172c29;
        color: #ede7e0;
    }
    .article-read-more:active {
        border: solid 1px #172c29;
        background-color: #172c29;
        color: #ede7e0;
    }

.nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6% 0;
}
.nav-text {
    width: 50%;
    font-size: 20px;
    color: whitesmoke;
    text-align: center;
}
.nav-arrow {
    width: 50px;
    cursor: pointer;
}
    /* Animations - section nav */
    .nav-arrow:hover {
        transform: scale(1.1);
        transition: all 0.2s ease-in-out;
    }
    .nav-arrow:active {
        transform: scale(1.1);
        transition: all 0.2s ease-in-out;
    }




/* Version Tablette */
@media screen and (min-device-width: 768px) {
/* Section Presse */
.presse {
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #172c29;
}
.presse-title {
    display: flex;
    align-items: left;
    margin: 3% 0 0 4%;
    font-size: 50px;
    text-align: left;
}
.articles-container-wrapper {
    width: 100%;
    height: fit-content;
    padding: 2% 2% 0 2%;
    display: block;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}
.articles-container {
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: 32% 32% 32%;
    grid-template-rows: 1fr 1fr 1fr;
    grid-auto-flow: column;
    grid-auto-columns: calc(33% - 1%) calc(33% - 1%) calc(33% - 1%);
    column-gap: 2%;
    row-gap: 10px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
.article {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 3%;
}
.article-image {
    width: 100%;
    object-fit: cover;
}
.article-info-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2% 0 0 0;
}
.article-title {
    font-size: 11px;
    margin: 3% 0;
}
.article-writter-and-date-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.article-writter-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.article-writter-icon {
    width: 10%;
    object-fit: cover;
}
.article-writter {
    font-size: 10px;
    margin: 0 0 0 2%;
}
.article-date-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 0;
}
.article-date-icon {
    width: 10%;
    object-fit: cover;
}
.article-date {
    font-size: 10px;
    margin: 0 0 0 2%;
}
.article-read-more {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 10px;
    border: solid 1px #172c29;
    border-radius: 50px;
    margin: 4% 0 0 0;
    padding: 2%;
}
    /* Animations - section presse */
    .article-read-more:hover {
        border: solid 1px #172c29;
        color: #ede7e0;
    }
    .article-read-more:active {
        border: solid 1px #172c29;
        color: #ede7e0;
    }

.nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5% 0;
}
.nav-text {
    width: 35%;
    font-size: 15px;
    text-align: center;
}
.nav-arrow {
    width: 30px;
    cursor: pointer;
}
    /* Animations - section nav */
    .nav-arrow:hover {
        transform: scale(1.1);
        transition: all 0.2s ease-in-out;
    }
    .nav-arrow:active {
        transform: scale(1.1);
        transition: all 0.2s ease-in-out;
    }
}





/* Version Desktop */
@media screen and (min-device-width: 1024px) {
/* Section Presse */
.presse {
    padding: 0;
    width: 100%;
    margin: 10vh 0 0 0;
    display: flex;
    flex-direction: column;
    background-color: #172c29;
}
.presse-title {
    display: flex;
    align-items: left;
    margin: 2% 0 0 3%;
    font-size: 40px;
    text-align: left;
}
.articles-container-wrapper {
    width: 100%;
    height: fit-content;
    padding: 2% 10% 0 10%;
    display: block;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}
.articles-container {
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: 23.5% 23.5% 23.5% 23.5%;
    grid-template-rows: 1fr 1fr;
    grid-auto-flow: column;
    grid-auto-columns: calc(24.5% - 1%) calc(24.5% - 1%) calc(24.5% - 1%) calc(24.5% - 1%);
    column-gap: 2%;
    row-gap: 10px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
.article {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 3%;
}
.article-image {
    width: 100%;
    object-fit: cover;
}
.article-info-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2% 0 0 0;
}
.article-title {
    font-size: 10px;
    margin: 3% 0;
}
.article-writter-and-date-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.article-writter-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.article-writter-icon {
    width: 10%;
    object-fit: cover;
}
.article-writter {
    font-size: 10px;
    margin: 0 0 0 2%;
}
.article-date-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 0;
}
.article-date-icon {
    width: 10%;
    object-fit: cover;
}
.article-date {
    font-size: 10px;
    margin: 0 0 0 2%;
}
.article-read-more {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 10px;
    border: solid 1px #172c29;
    border-radius: 50px;
    margin: 4% 0 0 0;
    padding: 2%;
}
    /* Animations - section presse */
    .article-read-more:hover {
        border: solid 1px #172c29;
        color: #ede7e0;
    }
    .article-read-more:active {
        border: solid 1px #172c29;
        color: #ede7e0;
    }

.nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3% 0 5% 0;
}
.nav-text {
    width: 35%;
    font-size: 15px;
    text-align: center;
}
.nav-arrow {
    width: 30px;
    cursor: pointer;
}
    /* Animations - section nav */
    .nav-arrow:hover {
        transform: scale(1.1);
        transition: all 0.2s ease-in-out;
    }
    .nav-arrow:active {
        transform: scale(1.1);
        transition: all 0.2s ease-in-out;
    }
}





/* Version 4K */
@media screen and (min-device-width: 2560px) {
/* Section Presse */
.presse {
    padding: 0;
    width: 100%;
    margin: 10vh 0 0 0;
    display: flex;
    flex-direction: column;
    background-color: #172c29;
}
.presse-title {
    display: flex;
    align-items: left;
    margin: 2% 0 0 3%;
    font-size: 40px;
    text-align: left;
}
.articles-container-wrapper {
    width: 100%;
    height: fit-content;
    padding: 2% 10% 0 10%;
    display: block;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}
.articles-container {
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: 23.5% 23.5% 23.5% 23.5%;
    grid-template-rows: 1fr 1fr;
    grid-auto-flow: column;
    grid-auto-columns: calc(24.5% - 1%) calc(24.5% - 1%) calc(24.5% - 1%) calc(24.5% - 1%);
    column-gap: 2%;
    row-gap: 10px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
.article {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 3%;
}
.article-image {
    width: 80%;
    object-fit: cover;
}
.article-info-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2% 0 0 0;
}
.article-title {
    font-size: 15px;
    margin: 3%;
}
.article-writter-and-date-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.article-writter-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.article-writter-icon {
    width: 10%;
    object-fit: cover;
}
.article-writter {
    font-size: 15px;
    margin: 0 0 0 2%;
}
.article-date-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 0;
}
.article-date-icon {
    width: 10%;
    object-fit: cover;
}
.article-date {
    font-size: 15px;
    margin: 0 0 0 2%;
}
.article-read-more {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 15px;
    border: solid 1px #172c29;
    border-radius: 50px;
    margin: 4% 0 0 0;
    padding: 2%;
}
    /* Animations - section presse */
    .article-read-more:hover {
        border: solid 1px #172c29;
        color: #ede7e0;
    }
    .article-read-more:active {
        border: solid 1px #172c29;
        color: #ede7e0;
    }

.nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3% 0 5% 0;
}
.nav-text {
    width: 35%;
    font-size: 15px;
    text-align: center;
}
.nav-arrow {
    width: 30px;
    cursor: pointer;
}
    /* Animations - section nav */
    .nav-arrow:hover {
        transform: scale(1.1);
        transition: all 0.2s ease-in-out;
    }
    .nav-arrow:active {
        transform: scale(1.1);
        transition: all 0.2s ease-in-out;
    }
}