@charset "UTF-8";
header {
  z-index: 10;
  background-color: #050505;
  border-top: 15px solid;
  -o-border-image: linear-gradient(to right, yellow 0%, yellow 11.11%, red 11.11%, red 22.22%, yellow 22.22%, yellow 33.33%, red 33.33%, red 44.44%, yellow 44.44%, yellow 55.55%, red 55.55%, red 66.66%, yellow 66.66%, yellow 77.77%, red 77.77%, red 88.88%, yellow 88.88%, yellow 100%) 1;
     border-image: linear-gradient(to right, yellow 0%, yellow 11.11%, red 11.11%, red 22.22%, yellow 22.22%, yellow 33.33%, red 33.33%, red 44.44%, yellow 44.44%, yellow 55.55%, red 55.55%, red 66.66%, yellow 66.66%, yellow 77.77%, red 77.77%, red 88.88%, yellow 88.88%, yellow 100%) 1;
  height: 95px;
  position: relative;
}
header .head {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
header .head img {
  width: 17%;
  height: 90px;
  margin-left: 2em;
}
header .head h1 {
  color: #fff;
  width: 45%;
  text-transform: uppercase;
  font-size: 2.4em;
}
header .head button {
  background-color: #fff;
  font-size: 1.5rem;
  color: #050505;
  border-radius: 5px;
  margin-right: 1em;
  cursor: pointer;
}
header .menu {
  background-color: #fff;
  color: #050505;
  width: 40%;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 10;
}
header .menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
header .menu ul li {
  padding: 0.5rem 1rem;
  text-align: center;
}
header .menu ul li a {
  color: #050505;
  text-decoration: none;
  font-weight: bold;
  font-size: 2rem;
}
header .menu ul li:hover {
  background-color: #F0EF26;
}
header .menu ul a:hover {
  cursor: pointer;
}

@media only screen and (min-width: 768px) {
  header {
    height: 155px;
    border-top: 10px solid;
  }
  header .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  header .head img {
    height: 150px;
    width: auto;
    margin-left: 3em;
  }
  header .head h1 {
    font-size: 3em;
    text-align: center;
    flex: 1;
    width: 40%;
  }
  header .head .toggle {
    display: none;
  }
  header .head .menu {
    position: static;
    display: block !important;
    background-color: transparent;
    width: 50%;
  }
  header .head .menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    list-style: none;
    margin: 1em;
    width: 103%;
  }
  header .head .menu ul li {
    width: 40%;
  }
  header .head .menu ul li a {
    font-size: 1rem;
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
  }
  header .head .menu ul li:hover a {
    color: #E91B39;
  }
}
@media only screen and (min-width: 1024px) {
  header {
    height: auto;
  }
  header .head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  header .head img {
    height: 100px;
    width: auto;
    margin-left: 11em;
  }
  header .head h1 {
    width: auto;
    font-size: 4em;
    margin: 0 auto;
    text-align: center;
    color: #fff;
  }
  header .head .menu {
    order: 2;
    width: 100%;
    background-color: transparent;
    padding: 1em 2em;
  }
  header .head .menu ul {
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    margin: 0;
    list-style: none;
  }
  header .head .menu ul li {
    width: 20%;
  }
  header .head .menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 0.5rem;
  }
  header .head .menu ul li:hover {
    background-color: transparent;
  }
  header .head .menu ul li:hover a {
    color: #fff;
  }
  header .head .menu ul li a:hover {
    background-color: #F0EF26;
    color: #E91B39;
  }
  header .head .toggle {
    display: none;
  }
}
footer {
  z-index: 10;
  background-color: #050505;
  border-bottom: 15px solid;
  -o-border-image: linear-gradient(to right, yellow 0%, yellow 11.11%, red 11.11%, red 22.22%, yellow 22.22%, yellow 33.33%, red 33.33%, red 44.44%, yellow 44.44%, yellow 55.55%, red 55.55%, red 66.66%, yellow 66.66%, yellow 77.77%, red 77.77%, red 88.88%, yellow 88.88%, yellow 100%) 1;
     border-image: linear-gradient(to right, yellow 0%, yellow 11.11%, red 11.11%, red 22.22%, yellow 22.22%, yellow 33.33%, red 33.33%, red 44.44%, yellow 44.44%, yellow 55.55%, red 55.55%, red 66.66%, yellow 66.66%, yellow 77.77%, red 77.77%, red 88.88%, yellow 88.88%, yellow 100%) 1;
}
footer .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
footer .footer a {
  color: #fff;
  font-size: 1.2rem;
}
footer .footer h3 {
  font-size: 1.5rem;
}
footer .footer .reseau {
  color: #fff;
}
footer .footer .reseau .fa-square-facebook {
  color: #0866FF;
  font-size: 4rem;
}
footer .footer .reseau .fa-instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  font-size: 3.5rem;
  padding: 0.1rem 0.3rem;
  border-radius: 7.5px;
}
footer .footer .reseau .align-reseau {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
footer .footer .mentions {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 1em 0em 3em 0em;
}
footer .footer .connexion {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 1em;
}
footer .footer .connexion a {
  padding-bottom: 1.5rem;
}

@media only screen and (min-width: 768px) {
  footer {
    border-bottom: 10px solid;
  }
  footer .footer {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-around;
    padding: 2rem 0;
  }
  footer .footer .mentions {
    margin-top: 0;
  }
  footer .footer aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
  }
  footer .footer aside h3 {
    margin-bottom: 1rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
  }
  footer .footer aside.reseau {
    justify-content: flex-start;
  }
  footer .footer aside.mentions {
    justify-content: flex-start;
  }
  footer .footer .align-reseau {
    justify-content: center;
    gap: 2rem;
  }
}
.shop h2 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
}
.shop article {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 2rem auto;
  background-color: #fff;
  border-radius: 5%;
  max-width: 500px;
  height: auto;
  width: 95%;
}
.shop article figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}
.shop article figure img {
  background-color: #050505;
  margin: 1em auto;
  max-width: 90%;
  height: 300px;
  cursor: pointer;
}
.shop article figure figcaption {
  text-align: center;
  padding: 0 1rem 1rem 1rem;
  margin-bottom: 1em;
}
.shop article figure figcaption h3 {
  margin: 0.5em 0;
  font-size: 1.8em;
}
.shop article figure figcaption p {
  margin: 0;
  font-size: 1.8em;
}
.shop .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
}
.shop .modal-content {
  display: block;
  margin: 3% auto;
  max-width: 80%;
  max-height: 80vh;
  border-radius: 8px;
}
.shop .close {
  position: absolute;
  top: 15px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}
.shop #modal-caption {
  text-align: center;
  color: white;
  padding: 1rem;
  font-size: 2em;
}
.shop p {
  color: #fff;
  text-align: center;
  font-size: 1.8rem;
}

@media only screen and (min-width: 768px) {
  .shop .target {
    display: flex;
    flex-wrap: wrap;
  }
  .shop .target article {
    width: 48%;
  }
}
.register section article span {
  color: #E91B39;
}
.register section article h2 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
}
.register section article form {
  display: flex;
  flex-direction: column;
  width: 90%;
  gap: 0.5rem;
  padding: 1rem;
  margin: 0 auto;
  font-size: 1.5rem;
  color: #fff;
}
.register section article form input {
  padding: 1rem;
  border: none;
  margin-bottom: 1rem;
  border-radius: 15px;
}
.register section article form button {
  margin: 1em auto;
  font-size: 1.5em;
  cursor: pointer;
  font-style: italic;
}

@media only screen and (min-width: 768px) {
  section article {
    width: 70%;
    margin: 0 auto;
  }
}
@media only screen and (min-width: 1024px) {
  section article {
    width: 50%;
  }
}
.login article span, .login-admin article span {
  color: #E91B39;
}
.login article h2, .login-admin article h2 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
}
.login article form, .login-admin article form {
  display: flex;
  flex-direction: column;
  width: 90%;
  gap: 0.5rem;
  padding: 1rem;
  margin: 0 auto;
  font-size: 1.5rem;
  color: #fff;
}
.login article form input, .login-admin article form input {
  padding: 1rem;
  border: none;
  margin-bottom: 1rem;
  border-radius: 15px;
}
.login article form button, .login-admin article form button {
  margin: 1em auto;
  font-size: 1.5em;
  cursor: pointer;
  font-style: italic;
}

@media only screen and (min-width: 768px) {
  .login article form, .login-admin article form {
    width: 70%;
    margin: 0 auto;
  }
}
@media only screen and (min-width: 1024px) {
  .login article form, .login-admin article form {
    width: 40%;
  }
}
.profil section {
  color: #fff;
}
.profil section h2 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
}
.profil section article:first-of-type {
  margin: 0 auto;
  width: 50%;
  font-size: 1.8rem;
}
.profil section article:first-of-type ul {
  list-style: none;
  padding: 0;
}
.profil section article:first-of-type a {
  color: #E91B39;
}
.profil section article:first-of-type li:last-of-type {
  padding: 1em 0;
}
.profil section article:first-of-type li:last-of-type a {
  display: block;
  border: 1px solid grey;
  padding: 0.5em;
  color: #fff;
  background-color: grey;
  border-radius: 10px;
  margin: 1em auto;
}
.profil section article:first-of-type li:last-of-type form {
  display: flex;
  align-items: center;
  justify-content: center;
}
.profil section article:first-of-type li:last-of-type form button {
  cursor: pointer;
  padding: 0.3em;
  background-color: #E91B39;
  color: #fff;
  border-radius: 10px;
}

@media only screen and (min-width: 768px) {
  .profil section article {
    padding: 1em;
    border-radius: 5px;
  }
  .profil section article ul {
    border: 1px solid grey;
    border-radius: 10px;
  }
  .profil section article ul li {
    padding: 0.5em;
    border-bottom: 1px solid grey;
  }
  .profil section article ul li:last-of-type {
    padding: 1.5em;
    text-align: center;
    border: none;
  }
  .profil section article ul li:last-of-type a {
    width: -moz-max-content;
    width: max-content;
  }
}
.edit section article span {
  color: #E91B39;
}
.edit section article h2 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
}
.edit section article form {
  display: flex;
  flex-direction: column;
  width: 90%;
  gap: 0.5rem;
  padding: 1rem;
  margin: 0 auto;
  font-size: 1.5rem;
  color: #fff;
}
.edit section article form input {
  padding: 1rem;
  border: none;
  margin-bottom: 1rem;
  border-radius: 15px;
}
.edit section article form button {
  margin: 1em auto;
  font-size: 1.5em;
  cursor: pointer;
  font-style: italic;
}

.modify article span {
  color: #E91B39;
}
.modify article h2 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
}
.modify article form {
  display: flex;
  flex-direction: column;
  width: 90%;
  gap: 0.5rem;
  padding: 1rem;
  margin: 0 auto;
  font-size: 1.5rem;
  color: #fff;
}
.modify article form input {
  padding: 1rem;
  border: none;
  margin-bottom: 1rem;
  border-radius: 15px;
}
.modify article form button {
  margin: 1em auto;
  font-size: 1.5em;
  cursor: pointer;
  font-style: italic;
}

@media only screen and (min-width: 768px) {
  .login article form {
    width: 70%;
    margin: 0 auto;
  }
}
@media only screen and (min-width: 1024px) {
  .login article form {
    width: 40%;
  }
}
.contact section article span {
  color: #E91B39;
}
.contact section article h2 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
}
.contact section article form {
  display: flex;
  flex-direction: column;
  width: 90%;
  gap: 0.5rem;
  padding: 1rem;
  margin: 0 auto;
  font-size: 1.5rem;
  color: #fff;
}
.contact section article form input {
  padding: 1rem;
  border: none;
  margin-bottom: 1rem;
  border-radius: 15px;
}
.contact section article form button {
  margin: 1em auto;
  font-size: 1.5em;
  cursor: pointer;
  font-style: italic;
}

@media only screen and (min-width: 768px) {
  section article {
    width: 70%;
    margin: 0 auto;
  }
}
@media only screen and (min-width: 1024px) {
  section article {
    width: 50%;
  }
}
.admin-nav {
  width: 100%;
}
.admin-nav ul {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 1em;
}
.admin-nav ul li {
  padding: 1rem;
}
.admin-nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.5em;
}
.admin-nav ul li a:hover {
  background-color: #F0EF26;
  color: #E91B39;
}

.dashboard-admin article {
  color: #fff;
}
.dashboard-admin article h2 {
  text-align: center;
  font-size: 2em;
}
.dashboard-admin article section:first-of-type {
  text-align: center;
}
.dashboard-admin article section:first-of-type span {
  color: #E91B39;
  text-transform: uppercase;
  font-size: 1.7em;
}
.dashboard-admin article section:nth-of-type(2) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.7rem;
}

.contacts h2, .adherents h2, .comments h2 {
  text-align: center;
  color: #fff;
  font-size: 2em;
}
.contacts .search-user, .adherents .search-user, .comments .search-user {
  display: flex;
  justify-content: center;
  margin: 0 auto 2.5em auto;
  width: 90%;
}
.contacts .search-user form, .adherents .search-user form, .comments .search-user form {
  width: 90%;
}
.contacts .search-user form input, .adherents .search-user form input, .comments .search-user form input {
  width: 65%;
}
.contacts .search-user form input, .contacts .search-user form button, .adherents .search-user form input, .adherents .search-user form button, .comments .search-user form input, .comments .search-user form button {
  padding: 0.5rem;
  border-radius: 15px;
}
.contacts .mobile-view, .adherents .mobile-view, .comments .mobile-view {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contacts .mobile-view .manage, .adherents .mobile-view .manage, .comments .mobile-view .manage {
  /* @include border-shadow(); */
  border-radius: 15px;
  border: 1px solid red_logo;
  padding: 0.5em;
  background-color: #fff;
  width: 310px;
  margin: 0 auto;
  margin-bottom: 1rem;
}
.contacts .mobile-view .manage .fa-eye, .adherents .mobile-view .manage .fa-eye, .comments .mobile-view .manage .fa-eye {
  color: green;
}
.contacts .mobile-view .manage.read, .adherents .mobile-view .manage.read, .comments .mobile-view .manage.read {
  background-color: grey;
}
.contacts .mobile-view .manage.read button, .adherents .mobile-view .manage.read button, .comments .mobile-view .manage.read button {
  background-color: grey;
}
.contacts .mobile-view .manage.read button .fa-eye, .adherents .mobile-view .manage.read button .fa-eye, .comments .mobile-view .manage.read button .fa-eye {
  color: red;
}
.contacts .mobile-view .manage button, .adherents .mobile-view .manage button, .comments .mobile-view .manage button {
  background-color: #fff;
  border: none;
  border-radius: 50%;
}
.contacts .mobile-view .manage p, .adherents .mobile-view .manage p, .comments .mobile-view .manage p {
  padding: 1rem;
  margin: 0;
  font-size: 1.5em;
  border-bottom: 1px dashed #E91B39;
}
.contacts .mobile-view .manage div, .adherents .mobile-view .manage div, .comments .mobile-view .manage div {
  display: flex;
  justify-content: space-around;
  padding: 1rem 0;
}
.contacts .mobile-view .manage i, .adherents .mobile-view .manage i, .comments .mobile-view .manage i {
  font-size: 2.5rem;
  cursor: pointer;
}
.contacts .mobile-view .manage .fa-eye, .adherents .mobile-view .manage .fa-eye, .comments .mobile-view .manage .fa-eye {
  color: green;
}
.contacts .mobile-view .manage .fa-xmark, .adherents .mobile-view .manage .fa-xmark, .comments .mobile-view .manage .fa-xmark {
  font-size: 2.5rem;
  padding: 1rem;
  cursor: pointer;
  color: #E91B39;
  background-color: #fff;
}
.contacts .table-container, .adherents .table-container, .comments .table-container {
  display: none;
}

@media only screen and (min-width: 768px) {
  .contacts .search-user form, .adherents .search-user form, .comments .search-user form {
    width: 33%;
    margin: 0 auto;
  }
  .contacts .search-user form input, .adherents .search-user form input, .comments .search-user form input {
    width: 60%;
  }
  .contacts .mobile-view, .adherents .mobile-view, .comments .mobile-view {
    display: none;
  }
  .contacts .table-container, .adherents .table-container, .comments .table-container {
    display: block;
    width: 100%;
    overflow-x: auto;
  }
  .contacts .table-container .manage-table, .adherents .table-container .manage-table, .comments .table-container .manage-table {
    width: 80%;
    margin: 2rem auto;
    border-collapse: collapse;
    border-radius: 15px;
  }
  .contacts .table-container .manage-table tr.read, .adherents .table-container .manage-table tr.read, .comments .table-container .manage-table tr.read {
    background-color: grey;
  }
  .contacts .table-container .manage-table .fa-eye, .adherents .table-container .manage-table .fa-eye, .comments .table-container .manage-table .fa-eye {
    font-size: 2.5rem;
    padding: 1rem;
    cursor: pointer;
    color: green;
    background-color: #fff;
  }
  .contacts .table-container .manage-table .fa-eye.eye-read, .adherents .table-container .manage-table .fa-eye.eye-read, .comments .table-container .manage-table .fa-eye.eye-read {
    font-size: 2.5rem;
    padding: 1rem;
    cursor: pointer;
    background-color: grey;
    color: red;
  }
  .contacts .table-container .manage-table .fa-eye-slash, .adherents .table-container .manage-table .fa-eye-slash, .comments .table-container .manage-table .fa-eye-slash {
    font-size: 2.5rem;
    padding: 1rem;
    cursor: pointer;
    background-color: grey;
    color: red;
  }
  .contacts .table-container .manage-table tr, .adherents .table-container .manage-table tr, .comments .table-container .manage-table tr {
    background-color: #fff;
  }
  .contacts .table-container .manage-table tr th, .contacts .table-container .manage-table tr td, .adherents .table-container .manage-table tr th, .adherents .table-container .manage-table tr td, .comments .table-container .manage-table tr th, .comments .table-container .manage-table tr td {
    padding: 1.2rem;
    text-align: center;
    border: 1px solid #E91B39;
    font-size: 1.5rem;
  }
  .contacts .table-container .manage-table tr th button, .contacts .table-container .manage-table tr td button, .adherents .table-container .manage-table tr th button, .adherents .table-container .manage-table tr td button, .comments .table-container .manage-table tr th button, .comments .table-container .manage-table tr td button {
    border: none;
    background-color: #fff;
    padding: 0;
  }
  .contacts .table-container .manage-table th, .adherents .table-container .manage-table th, .comments .table-container .manage-table th {
    background-color: #F0EF26;
  }
  .contacts .table-container .manage-table .fa-xmark, .adherents .table-container .manage-table .fa-xmark, .comments .table-container .manage-table .fa-xmark {
    font-size: 2.5rem;
    padding: 1rem;
    cursor: pointer;
    color: #E91B39;
    background-color: #fff;
  }
}
.pagination {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}
.pagination ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}
.pagination ul li a,
.pagination ul li span {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.pagination ul li a:hover {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}
.pagination ul li.active span {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
  font-weight: bold;
}
.pagination ul li.disabled span {
  color: #aaa;
  border-color: #ddd;
  background-color: #f9f9f9;
  cursor: not-allowed;
}

/* .adherents{
    article{
        h2{
            text-align: center;
            color: $white;
            font-size: 2em;
        }
        section{
            .table-container{

                display: none;
            }
            table{
                border-collapse: collapse;

                thead{
                    background-color: $yellow_logo;
                    color: $red_logo;
                    th{
                        border: 1px solid $red_logo;
                    }
                }

                tr{
                    th{
                        font-size: 1.2rem;
                    }
                }

                th,tr{
                    padding: 0.3em;

                }

                tbody{
                    tr{
                        background-color: $white;
                        color: $black;

                        button{
                            border: none;
                            background-color: $white;

                            i{
                                color: $red_logo;
                                font-size: 1.5rem;
                            }
                        }
                    }
                    td{
                        border: 1px solid $red_logo;
                        padding: 0.5em 0;
                    }
                }
            }
        }
    }
} */
.events {
  padding: 1rem;
}
.events article h2 + a {
  margin: 0 auto;
  padding: 0.7rem;
  font-size: 1.6rem;
  text-decoration: none;
  color: #050505;
  border: 1px solid #F0EF26;
  background-color: #F0EF26;
  border-radius: 15px;
  cursor: pointer;
  display: block;
  width: -moz-max-content;
  width: max-content;
}
.events article div {
  margin-top: 2em;
}
.events article h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #fff;
}
.events article .see-more a {
  margin: 1em auto;
  font-size: 1.5em;
  cursor: pointer;
  font-style: italic;
  text-decoration: none;
  color: #050505;
  background-color: #F0EF26;
  padding: 1rem;
  border-radius: 15px;
  font-weight: bold;
}
.events article p {
  text-align: center;
  color: #666;
  font-style: italic;
}
.events article section.hidden-event {
  background-color: grey;
  opacity: 0.85;
}
.events article .text-red {
  color: #E91B39;
}
.events article section {
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  padding: 1rem;
}
.events article section figure {
  margin: 0;
}
.events article section figure h3 {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
  color: #050505;
  text-align: center;
}
.events article section figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 0.8rem;
  -o-object-fit: cover;
     object-fit: cover;
}
.events article section figure figcaption p {
  font-size: 1.5rem;
  line-height: 1.4;
  color: #444;
  margin-bottom: 1rem;
}
.events article section figure figcaption .action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.events article section figure figcaption .action a, .events article section figure figcaption .action button {
  background-color: #007bff;
  border: none;
  color: white;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  text-decoration: none;
}
.events article section figure figcaption .action a:hover, .events article section figure figcaption .action a:focus, .events article section figure figcaption .action button:hover, .events article section figure figcaption .action button:focus {
  background-color: #0056b3;
  outline: none;
}
.events article section figure figcaption .action button {
  border: none;
}
.events article section figure figcaption .action a {
  background-color: #28a745;
}
.events article section figure figcaption .action a:hover {
  background-color: #1e7e34;
}
.events article section figure figcaption .action form .toggle {
  background-color: #28a745;
}
.events article section figure figcaption .action form .toggle:hover {
  background-color: #1e7e34;
}
.events article section figure figcaption .action form .hidden-toggle {
  background-color: #E91B39;
}
.events article section figure figcaption .action form .hidden-toggle:hover {
  background-color: #a71d2a;
}
.events article section figure figcaption .action form .delete {
  background-color: #E91B39;
}
.events article section figure figcaption .action form .delete:hover {
  background-color: #a71d2a;
}

@media only screen and (min-width: 768px) {
  .events {
    padding: 2rem 3rem;
  }
  .events div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  .events div section {
    width: 45%;
  }
  .events div section figure img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 4/3;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .events div section figure figcaption {
    flex: 2;
  }
  .events div section figure figcaption .action {
    justify-content: space-around;
  }
}
@media only screen and (min-width: 768px) {
  .events article {
    max-width: 1350px;
    margin: 0 auto;
  }
}
.add-events h2, .edit-events h2 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
}
.add-events section, .edit-events section {
  margin: 0 auto;
  width: 90%;
}
.add-events section form, .edit-events section form {
  display: flex;
  flex-direction: column;
  width: 90%;
  gap: 0.5rem;
  padding: 1rem;
  margin: 0 auto;
  font-size: 1.5rem;
  color: #fff;
}
.add-events section form label, .edit-events section form label {
  margin-bottom: 1rem;
}
.add-events section form input, .add-events section form textarea, .edit-events section form input, .edit-events section form textarea {
  padding: 1rem;
  border: none;
  margin-bottom: 1rem;
  border-radius: 15px;
}
.add-events section form #img, .edit-events section form #img {
  display: none;
}
.add-events section form .custom-file, .edit-events section form .custom-file {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #F0EF26;
  color: #050505;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  width: -moz-max-content;
  width: max-content;
  margin: 0 auto;
  transition: background-color 0.3s;
}
.add-events section form .custom-file:hover, .edit-events section form .custom-file:hover {
  background-color: rgb(212.3232758621, 211.3448275862, 14.6767241379);
}
.add-events section form button, .edit-events section form button {
  margin: 1em auto;
  font-size: 1.5em;
  cursor: pointer;
  font-style: italic;
}

@media only screen and (min-width: 768px) {
  .add-events section, .edit-events section {
    width: 70%;
  }
}
@media only screen and (min-width: 1024px) {
  .add-events section, .edit-events section {
    width: 50%;
  }
}
.events-details {
  padding: 2rem 1rem;
  /* background-color: #fafafa; */
}
.events-details h2 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
  width: 100%;
}
.events-details article:first-of-type {
  margin: 0 auto;
  border-radius: 16px;
}
.events-details article:first-of-type section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.events-details article:first-of-type section figure {
  margin: 0;
  text-align: center;
}
.events-details article:first-of-type section figure img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.events-details article:first-of-type section figure figcaption {
  margin-top: 1rem;
  font-size: 1.6rem;
  color: #fff;
  line-height: 1.6;
  padding: 0 1rem;
}
.events-details article:first-of-type aside {
  border: 1px solid grey;
  border-radius: 15px;
  background-color: #fff;
  color: #050505;
  text-align: center;
  max-height: 400px;
  overflow: auto;
  margin-bottom: 2em;
}
.events-details article:first-of-type aside h3 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
  color: #050505;
}
.events-details article:first-of-type aside div {
  border-bottom: 1px solid #050505;
}
.events-details article:first-of-type aside div p:first-of-type {
  font-size: 1.5em;
  color: #E91B39;
}
.events-details article:first-of-type aside div p:nth-of-type(2) {
  font-size: 1.5em;
  padding: 1rem;
}
.events-details article:last-of-type {
  /* border: 1px solid white; */
  margin: 0 auto;
  padding: 1rem;
}
.events-details article:last-of-type h3 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
}
.events-details article:last-of-type form {
  display: flex;
  flex-direction: column;
  width: 90%;
  gap: 0.5rem;
  padding: 1rem;
  margin: 0 auto;
  font-size: 1.5rem;
  color: #fff;
}
.events-details article:last-of-type form textarea {
  padding: 1rem;
  margin: 1em 0;
}
.events-details article:last-of-type form button {
  width: -moz-max-content;
  width: max-content;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .events-details article:first-of-type {
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .events-details article:first-of-type section {
    width: 60%;
    flex-direction: row;
    align-items: flex-start;
  }
  .events-details article:first-of-type section figure img {
    height: 450px;
  }
  .events-details article:first-of-type section figcaption {
    padding: 0 2rem;
  }
  .events-details article:first-of-type aside {
    width: 38%;
    background-color: #fff;
    border-radius: 15px;
    margin: 0;
    max-height: 450px;
  }
  .events-details article:first-of-type aside h3 {
    margin: 0 auto;
    padding: 1em;
    text-align: center;
    font-size: 1.7em;
    color: #050505;
  }
  .events-details article:last-of-type h3 {
    padding: 1rem;
    width: 100%;
    text-align: center;
  }
  .events-details article:last-of-type form {
    display: flex;
    flex-direction: column;
    width: 90%;
    gap: 0.5rem;
    padding: 1rem;
    margin: 0 auto;
    font-size: 1.5rem;
    color: #fff;
    width: 75%;
  }
  .events-details article:last-of-type form textarea {
    padding: 1rem;
    margin: 1em 0;
  }
  .events-details article:last-of-type form button {
    margin: 0 auto;
    font-size: 1.5em;
    cursor: pointer;
    font-style: italic;
  }
}
@media (min-width: 1024px) {
  .events-details article:first-of-type {
    max-width: 1350px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .events-details article:first-of-type section {
    width: 65%;
    display: flex;
    flex-direction: column;
  }
  .events-details article:first-of-type section figure {
    width: 100%;
    height: auto;
  }
  .events-details article:first-of-type section figure img {
    width: 100%;
    max-width: 100%;
    height: 550px;
    display: block;
  }
  .events-details article:first-of-type section figure figcaption {
    padding: 0;
  }
  .events-details article:first-of-type aside {
    width: 33%;
    max-height: 550px;
  }
  .events-details article:last-of-type {
    margin: 0 auto;
    max-width: 1350px;
  }
}
.home {
  color: #fff;
}
.home .slider {
  margin: 0;
  width: 100%;
  /* height: 100%; */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}
.home .slider .slides {
  display: flex;
  width: 200%;
  transition: transform 0.6s ease-in-out;
}
.home .slider img {
  width: 100vw;
  height: 240px;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
  display: block;
}
.home .slider img.slide-in {
  transform: translateX(0);
}
.home .slider img.slide-out-left {
  transform: translateX(-100%);
}
.home .slider img.slide-in-right {
  transform: translateX(100%);
}
.home article section h2 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
}
.home article section img {
  width: 90%;
  height: 100%;
  padding: 1rem;
  display: block;
  margin: 0 auto;
}
.home article section p {
  font-size: 1.7em;
  padding: 1rem;
  text-align: justify;
}
.home .modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}
.home .modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
}
.home .modal .close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.home .modal .close:hover,
.home .modal .close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (min-width: 768px) {
  .home .slider .slides img {
    height: 480px;
    cursor: pointer;
  }
  .home article {
    padding: 1em;
  }
  .home article section div {
    display: flex;
    align-items: center;
    justify-content: center;
    float: right;
    width: 46%;
    padding: 1em;
  }
  .home article section div img {
    cursor: pointer;
    width: 350px;
  }
}
@media only screen and (min-width: 1024px) {
  .home .slider .slides img {
    width: 100vw;
    height: 80vh;
    /* aspect-ratio: 16 / 9; */
    -o-object-fit: cover;
       object-fit: cover;
  }
  .home article {
    max-width: 1250px;
    margin: 0 auto;
  }
  .home article section div {
    padding: 0;
  }
  .home article section div img {
    padding: 0;
    padding-bottom: 2em;
    height: 419px;
    width: 400px;
  }
}
.partenaires article h2 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
}
.partenaires article p {
  padding: 1em;
  color: #fff;
  font-size: 1.5em;
  text-align: justify;
}
.partenaires article section h3 {
  font-size: 1.7em;
  text-align: center;
}
.partenaires article section h3 a {
  color: #E91B39;
}
.partenaires article section img {
  display: block;
  margin: 1em auto;
  max-width: 310px;
  max-height: 250px;
}
.partenaires article section p {
  text-align: justify;
  padding: 1.5em;
}

@media only screen and (min-width: 768px) {
  .partenaires article div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .partenaires article div section {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1em;
    box-sizing: border-box;
    min-height: 400px;
  }
  .partenaires article div section img {
    max-width: 100%;
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
    display: block;
    margin: 0 auto;
  }
}
@media only screen and (min-width: 768px) {
  .partenaires article {
    margin: 0 auto;
    max-width: 1350px;
  }
  .partenaires article div section {
    width: 32%;
  }
}
.adminShop article h2 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
}
.adminShop article a {
  margin: 0 auto;
  padding: 0.7rem;
  font-size: 1.6rem;
  text-decoration: none;
  color: #050505;
  border: 1px solid #F0EF26;
  background-color: #F0EF26;
  border-radius: 15px;
  cursor: pointer;
  display: block;
  width: -moz-max-content;
  width: max-content;
}
.adminShop article div section figure {
  width: 90%;
  margin: 0 auto;
}
.adminShop article div section figure h3 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
}
.adminShop article div section figure p {
  text-align: center;
  color: #fff;
  font-style: italic;
  font-size: 1.4rem;
}
.adminShop article div section figure figcaption p {
  font-size: 1.5rem;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 2rem;
}
.adminShop article div section figure figcaption .action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.adminShop article div section figure figcaption .action a, .adminShop article div section figure figcaption .action button {
  margin: 0;
  background-color: #007bff;
  border: none;
  color: white;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  text-decoration: none;
}
.adminShop article div section figure figcaption .action a:hover, .adminShop article div section figure figcaption .action a:focus, .adminShop article div section figure figcaption .action button:hover, .adminShop article div section figure figcaption .action button:focus {
  background-color: #0056b3;
  outline: none;
}
.adminShop article div section figure figcaption .action button {
  border: none;
}
.adminShop article div section figure figcaption .action a {
  background-color: #28a745;
}
.adminShop article div section figure figcaption .action a:hover {
  background-color: #1e7e34;
}
.adminShop article div section figure figcaption .action form .toggle {
  background-color: #28a745;
}
.adminShop article div section figure figcaption .action form .toggle:hover {
  background-color: #1e7e34;
}
.adminShop article div section figure figcaption .action form .hidden-toggle {
  background-color: #E91B39;
}
.adminShop article div section figure figcaption .action form .hidden-toggle:hover {
  background-color: #a71d2a;
}
.adminShop article div section figure figcaption .action form .delete {
  background-color: #E91B39;
}
.adminShop article div section figure figcaption .action form .delete:hover {
  background-color: #a71d2a;
}

@media only screen and (min-width: 768px) {
  .adminShop {
    padding: 2rem 3rem;
  }
  .adminShop div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  .adminShop div section {
    width: 45%;
  }
  .adminShop div section figure img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 4/3;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .adminShop div section figure figcaption {
    flex: 2;
  }
  .adminShop div section figure figcaption .action {
    justify-content: space-around;
  }
}
@media only screen and (min-width: 768px) {
  .adminShop article {
    max-width: 1350px;
    margin: 0 auto;
  }
  .adminShop article div section {
    width: 32%;
  }
}
.galery {
  padding: 2rem;
  /* === MODALE === */
  /* Animation ouverture */
}
.galery article {
  max-width: 1350px;
  margin: 0 auto;
}
.galery article h2 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
}
.galery .grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}
.galery .grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
  height: 194px;
}
.galery .grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
.galery .grid-item img {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 12px;
}
.galery .grid-item img:hover {
  transform: scale(1.05);
}
.galery .grid-item .caption {
  position: absolute;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: white;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.galery .grid-item .caption:hover {
  opacity: 1;
}
.galery .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
  /* === Flèches de navigation (corrigées et responsive) === */
  /* === Flèches globales pour la galerie === */
}
.galery .modal .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.galery .modal .close:hover {
  color: #bbb;
}
.galery .modal .modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  animation: zoomIn 0.3s ease;
  transition: opacity 0.4s ease;
  opacity: 1;
}
.galery .modal .caption {
  margin: auto;
  text-align: center;
  color: #f1f1f1;
  padding: 1rem;
  font-size: 1.2rem;
}
@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@media (min-width: 768px) {
  .galery .grid-gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
@media (min-width: 1024px) {
  .galery .grid-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

.mentions article {
  color: #fff;
  font-size: 1.7rem;
}
.mentions article h2 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
}
.mentions article section {
  padding: 2em;
}
.mentions article section h3 {
  text-align: center;
}
.mentions article section p {
  text-align: justify;
}

@media only screen and (min-width: 1024px) {
  .mentions article {
    max-width: 1350px;
    margin: 0 auto;
  }
}
.acces img {
  height: 70%;
  width: 100%;
}

@media only screen and (min-width: 768px) {
  .acces img {
    width: 100%;
  }
}
.galeryAdmin .grid-item {
  position: relative;
  display: inline-block;
}
.galeryAdmin .grid-item .delete-form {
  position: absolute;
  top: 5px;
  right: -120px;
  display: none;
}
.galeryAdmin .grid-item .delete-btn {
  background: red;
  color: white;
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
  padding: 0.3rem 0.6rem;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.galeryAdmin .grid-item .delete-btn:hover {
  opacity: 1;
}
.galeryAdmin .grid-item:hover .delete-form {
  display: block;
}
.galeryAdmin h2 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
}
.galeryAdmin article a {
  margin: 1em auto;
  font-size: 1.5em;
  cursor: pointer;
  font-style: italic;
  background-color: #F0EF26;
  color: #050505;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin: 1rem auto;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
}
.galeryAdmin section {
  margin: 0 auto;
  width: 90%;
}
.galeryAdmin section form {
  display: flex;
  flex-direction: column;
  width: 90%;
  gap: 0.5rem;
  padding: 1rem;
  margin: 0 auto;
  font-size: 1.5rem;
  color: #fff;
}
.galeryAdmin section textarea, .galeryAdmin section input {
  padding: 1rem;
  border: none;
  margin-bottom: 1rem;
  border-radius: 15px;
  padding-bottom: 2rem;
}
.galeryAdmin section button {
  width: -moz-max-content;
  width: max-content;
  margin: 1em auto;
  font-size: 1.5em;
  cursor: pointer;
  font-style: italic;
}

.galeryAdmin {
  padding: 2rem;
  /* background-color: #f9f9f9; */
}
.galeryAdmin article {
  max-width: 1350px;
  margin: 0 auto;
}
.galeryAdmin article h2 {
  margin: 0;
  padding: 1em;
  text-align: center;
  font-size: 2em;
  color: #fff;
}
.galeryAdmin .grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}
.galeryAdmin .grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.galeryAdmin .grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
.galeryAdmin .grid-item img {
  width: 100%;
  height: 195px;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 12px;
}
.galeryAdmin .grid-item img:hover {
  transform: scale(1.05);
}
.galeryAdmin .grid-item .caption {
  position: absolute;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: white;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.galeryAdmin .grid-item .caption:hover {
  opacity: 1;
}
.galeryAdmin .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}
.galeryAdmin .modal .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.galeryAdmin .modal .close:hover {
  color: #bbb;
}
.galeryAdmin .modal .modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  animation: zoomIn 0.3s ease;
}
.galeryAdmin .modal .caption {
  margin: auto;
  text-align: center;
  color: #f1f1f1;
  padding: 1rem;
  font-size: 1.2rem;
}
@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@media (min-width: 768px) {
  .galeryAdmin .grid-gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
@media (min-width: 1024px) {
  .galeryAdmin .grid-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media only screen and (min-width: 768px) {
  .galeryAdmin section form {
    width: 70%;
    margin: 0 auto;
  }
}
@media only screen and (min-width: 1024px) {
  .galeryAdmin section form {
    width: 50%;
    margin: 0 auto;
  }
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow/Barlow-Regular.woff2") format("woff2");
}
body {
  height: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  cursor: url("../img/cursor.png") 0 0, auto;
}

html {
  font-size: 62.5%;
  height: 100%;
  font-family: Barlow;
}

.hide {
  display: none;
}

.show {
  display: block;
}

img {
  max-width: 100%;
  max-height: auto;
}

main {
  background: linear-gradient(to bottom, #050505 0%, #1E1E1E 35%, #1E1E1E 65%, #050505 100%);
  flex: 1;
  /* border: 1px solid white; */
}

.error {
  background-color: #E91B39;
  border-radius: 15px;
  padding: 1em;
}

.confirm-message {
  background-color: green;
  padding: 1em;
  text-align: center;
  font-size: 1.5em;
}

.search-bar {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}
.search-bar input[type=text] {
  padding: 0.8rem 1.2rem;
  width: 200px;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 30px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.search-bar input[type=text]:focus {
  border-color: #007BFF;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2);
}
.search-bar .search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.search-bar .search-wrapper i {
  position: absolute;
  left: 15px;
  font-size: 1rem;
  color: #aaa;
}
.search-bar .search-wrapper input[type=text] {
  padding-left: 2.5rem;
}

/* Icône rouge quand le message est lu */
i.eye-read {
  color: red;
}

/* Icône verte par défaut */
.fas.fa-eye {
  color: green;
}

/* === Flèches de navigation du modal === */
.arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  z-index: 3000;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  padding: 16px;
  opacity: 0.9;
  display: none;
  transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  touch-action: manipulation; /* 👈 permet les clics tactiles */
}
.arrow:hover {
  color: #bbb;
  transform: translateY(-50%) scale(1.1);
}
.arrow.left {
  left: 10px;
}
.arrow.right {
  right: 10px;
}
@media (max-width: 768px) {
  .arrow {
    font-size: 2.5rem;
    padding: 10px;
  }
}

/* Empêche le scroll de fond pendant le modal */
body.modal-open {
  overflow: hidden;
  touch-action: none;
}/*# sourceMappingURL=style.css.map */