@import url('https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.cdnfonts.com/css/heavitas');
/*TODO check icon minestrator page parc*/
:root {
    --red: #9E0404;
    --hoverColor: #9e2b2b;
    --DarkGray: #2B2B2B;
    --gray:#3F3F3F;
    --blue:#049E9E;
    --white: #fff;
    --police:#2B2B2B;
    --policeWhite:#fff;
}

*,:before,:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-size: 1em;
    user-select: none;
}

a{
    text-decoration: none;
}

.info {
	width:300px;
	height: 300px;
	object-fit: cover;
	margin: 0 auto;
}

body {
    font-family: 'Exo', sans-serif;
    background-color: var(--white);
    color: var(--policeWhite);
    min-width: 300px;
    max-width: 2000px;
    margin: 0 auto;
    /*font-family: 'Heavitas', sans-serif;*/
}

header {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    background-image: url("./images/2022-06-09_23.51.29.png");
    background-repeat: no-repeat;
    background-origin: content-box;
    background-attachment: fixed;
    background-position: 20% 65%;
    background-size: cover;
    height: 550px;
}

header .logo {
    width: 250px;
    padding: 10px 30px;
    background: rgba(255, 255, 255, 0.78);
    border-radius: 10px;
    margin:30px;
    height: 77px;
}

header ul {
    display: flex;
    justify-content: space-around;
    position: absolute;
    align-items: center;
    top: 30px;
    right: 30px;
    width: 250px;
    background: rgba(255, 255, 255, 0.78);
    height: 77px;
    border-radius: 10px;
    padding: 0 10px ;
}

header ul li a i {
    color: #2B2B2B;
}

header ul li a img {
    width: 100px;
}

header .title {
    margin-left: 50px;
}

header .title h1{
    font-size: 50px;
}

header .title p{
    width: 30%;
    font-size: 20px;
    margin: 20px 0;
}


main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 70%;
    margin: 70px auto 30px;
}

main article {
    color: #2B2B2B;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

main article h2{
    margin: 20px 0;
    font-size: 20px;
    color: #2B2B2B;
}

main article p{
    font-weight: 500;
}

main article p a {
    color: var(--red);
    text-decoration: underline;
    font-weight: 800;

}


.images_ms {
    width: 90%;
    margin: 0 auto;
    border-radius: 20px;
}

span {
    font-weight:700;
}




main #ARTICLE_VIEW .images[data-count="1"] img{
    width: 70%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.images_div  {
    display: flex;
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    position: relative;
    margin: 0 auto;
}

.images_div img {
    display: none;
    width: 40%;
    cursor: zoom-in;
}

.images_div  img:nth-child(1){
    display: flex;
    border-top-left-radius: 20px;
}

.images_div img:nth-child(2){
    display: flex;
    border-top-right-radius: 20px;
}

.images_div  img:nth-child(3){
    display: flex;
    border-bottom-left-radius: 20px;
}

.images_div  img:nth-child(4){
    display: flex;
    border-bottom-right-radius: 20px;
}

main .author {
    color: var(--police);
    font-weight: 900;
    width: 80%;
    text-align: right;
    margin: 30px;
}
footer .actu-footer {
    background-color: var(--red);
    width: 100%;
    height: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

footer .actu-footer h2 {
    text-transform: uppercase;
    font-size: 25px;
    font-weight: 900;
}

footer .actu-footer p {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 900;
}

footer div {
    width: 100%;
    height: 30px;
    background-color: var(--DarkGray);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px;
    background-color: var(--red);
    color: #fff;
    font-weight: 800;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#prev-button,
#next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

#prev-button {
    left: 20px;
}

#next-button {
    right: 20px;
}

.no-scroll {
    overflow: hidden;
}