@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;600;700&display=swap");

:root {
  /* --gradient: linear-gradient(90deg, #585858, #767676); */
  --gradient: linear-gradient(90deg, #006d6b, #006d6b);
  /* --gradient: linear-gradient(90deg, #585858, #979696); */
  --black: #000;
  --white: #fff;
  --dark-blue: #eee;
  --green: green;
  --light-blue: #809bd8;
}

/*adm*/
.accordion-body p {
  color: #666666 !important;
}

.dark-theme {
  --black: red;
  --white: orange;
}

.c-light-blue {
  background: #e1e1e1 !important;
}

.resultats_concours span a {
  color: #666;
  text-decoration: underline;
}

.accordion-body-1,
.accordion-body-4,
.accordion-body-6 {
  padding-top: 2rem !important;
}

* {
  font-family: "Oswald", sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  border: none;
  outline: none;
  text-decoration: none;
  text-transform: initial;
  list-style: none;
}

*::selection {
  color: var(--black);
  background: var(--dark-blue);
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  overflow-x: hidden;
}

html::-webkit-scrollbar {
  width: 1.5rem;
}

html::-webkit-scrollbar-track {
  background: #333;
}

html::-webkit-scrollbar-thumb {
  background: var(--dark-blue);
  /* border-radius: 100px; */
}

body {
  /* background:#fff; adm*/
  background: #fff;
}

.paraghraph-1,
.paraghraph-2 {
  padding-left: 2rem;
}

.paraghraph-1 h4,
.paraghraph-2 h4 {
  font-size: 2.7rem;
  padding: 1rem 0 0 0;
  position: relative;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.p-none {
  padding: none;
}

section {
  /*min-height: 100vh;*/
  padding: 1rem 7%;
  padding-top: 8rem;
}

section#home {
  min-height: 100vh !important;
}

a .btn {
  text-decoration: none;
}

.btn {
  padding: 0.5rem 3rem;
  font-size: 1.6rem;
  color: var(--white);
  background: transparent;
  border-radius: 5rem;
  margin-top: 6rem;
  cursor: pointer;
  position: relative;
}

.btn:hover {
  border: inherit;
  color: var(--white);
  text-decoration: underline;
}

header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 11111;
  padding: 0.5rem 5%;
  background-color: transparent;
  transition: all 0.2s ease-in-out;
}

.header_changes {
  background: var(--gradient);
  box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.3);
}

#menu-bar {
  font-size: 3rem;
  color: var(--white);
  display: none;
}

header .main-logo img {
  width: 18rem;
}

header .menu-top-bar-container .top-bar {
  display: flex;
  justify-content: center;
  align-items: center;
}

header .top-bar li {
  margin: 0 1rem;
  position: relative;
}

header .top-bar li a {
  /*font-size: 1.8rem;*/
  font-size: 1.6rem;
  color: var(--white);
}

header .top-bar li::after {
  content: "";
  height: 3px;
  width: 0;
  background: var(--white);
  position: absolute;
  left: 0;
  bottom: -10px;
  transition: 0.5s;
}

header .top-bar li:hover::after {
  width: 100%;
}

.switch-mode {
  background-color: var(--white);
  clip-path: circle(50% at 50% 50%);
}
.switch-mode img {
  width: 3rem;
  cursor: pointer;
  padding: 0.6rem;
}

.home {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 150, 136, 0.6)),
    url("../images/centre-background.JPG");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  text-align: center;
}

.home h1 {
  font-size: 6rem;
  color: #666;
}

.home p {
  font-size: 1.9rem;
  color: #999;
  padding: 1rem 0;
  width: 70rem;
}

.home .shape {
  position: absolute;
  bottom: -0.2rem;
  left: 0;
  height: 15rem;
  width: 100%;
  background: url("../images/shape.png");
  block-size: 100rem 15rem;
  filter: drop-shadow(0 -0.1rem 0.1rem rgba(0, 0, 0, 0.2));
  animation: animate 10s linear infinite;
  opacity: 0.1;
}

.logo-svg {
  width: 100%;
}

/* section centre */

.centre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.centre .centre-image {
  flex: 0 0 40%;
  position: relative;
}

.centre .centre-image img {
  width: 100%;
}

.formations .centre-image img {
  width: 100% !important;
}

.centre .centre-image::before {
  content: "";
  border: 0.1rem solid rgb(122, 121, 121);
  position: absolute;
  top: 3%;
  left: 0;
  width: 86%;
  height: 90%;
  z-index: -99999999;
}

.centre .content {
  flex: 1 1 40rem;
}

.centre .content h3 {
  font-size: 3.5rem;
  /* color: #666; adm*/
  color: #5e5c5c;
}

.centre .content p {
  font-size: 1.56rem;
  color: #666;
  /* color: #fff; */
  line-height: 1.4em;
  font-weight: 300;
  /* padding: 1rem 0; */
}

.pre-wrap {
  white-space: pre-line;
  text-align: justify;
}

/* fotmations */

.formations,
.resultat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

.formations .centre-image {
  flex: 0 0 35%;
  position: relative;
}

.formations .centre-image img {
  width: 100%;
}

.formations .content {
  flex: 0 0 50%; /* 45% */
}

.formations .centre-image::before {
  content: "";
  border: 0.1rem solid rgb(122, 121, 121);
  position: absolute;
  top: 3.5%;
  right: 9rem;
  width: 86%;
  height: 90%;
  z-index: -99999999;
}

.formations .content h3 {
  font-size: 3.5rem;
  /* color: #666; adm */
  color: #5e5c5c;
}

.formations .content p {
  font-size: 1.56rem;
  color: #666;
  /* color: #fff; */
  font-weight: 300;
  /*padding: 1rem 0;*/
}

.accordion-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column;
  background-color: #f0f0f0;
}

.accordion-container .accordion,
.accordion-container .accordion-1,
.accordion-container .accordion-3,
.accordion-container .accordion-4,
.accordion-container .accordion-5,
.accordion-container .accordion-6,
.accordion-container .accordion-7,
.accordion-container .accordion-8,
.accordion-container .accordion-00,
.accordion-container .acc-01 {
  width: 100%;
  margin: 0 auto;
}

.accordion-container .accordion .accordion-header,
.accordion-container .accordion .accordion-header-0,
.accordion-container .accordion-1 .accordion-header-1,
.accordion-container .accordion-3 .accordion-header-3,
.accordion-container .accordion-4 .accordion-header-4,
.accordion-container .accordion-5 .accordion-header-5,
.accordion-container .accordion-6 .accordion-header-6,
.accordion-container .accordion-7 .accordion-header-7,
.accordion-container .accordion-8 .accordion-header-8,
.accordion-container .accordion-00 .accordion-header-0,
.accordion-container .acc-01 .acc-header-01 {
  width: 100%;
  /*background: var(--gradient);*/
  background: var(--dark-blue);
  color: #7d7d7d;
  margin: 0.5rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  cursor: pointer;
}

.accordion-container .accordion .accordion-header .icon,
.accordion-container .accordion .accordion-header-0 .icon,
.accordion-container .accordion-1 .accordion-header-1 .icon-1,
.accordion-container .accordion-3 .accordion-header-3 .icon-3,
.accordion-container .accordion-4 .accordion-header-4 .icon-4,
.accordion-container .accordion-5 .accordion-header-5 .icon-5,
.accordion-container .accordion-6 .accordion-header-6 .icon-6,
.accordion-container .accordion-7 .accordion-header-7 .icon-7,
.accordion-container .accordion-8 .accordion-header-8 .icon-8,
.accordion-container .accordion-00 .accordion-header-0 .icon-9,
.accordion-container .acc-01 .acc-header-01 .icc-01 {
  font-size: 3rem;
  height: 6rem;
  width: 5rem;
  line-height: 6rem;
  /*background: var(--dark-blue);*/
  background: transparent;
  clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
  text-align: center;
}

.accordion-container .accordion .accordion-header h3,
.accordion-container .accordion .accordion-header-0 h3,
.accordion-container .accordion-1 .accordion-header-1 h3,
.accordion-container .accordion-3 .accordion-header-3 h3,
.accordion-container .accordion-4 .accordion-header-4 h3,
.accordion-container .accordion-5 .accordion-header-5 h3,
.accordion-container .accordion-6 .accordion-header-6 h3,
.accordion-container .accordion-7 .accordion-header-7 h3,
.accordion-container .accordion-8 .accordion-header-8 h3,
.accordion-container .accordion-00 .accordion-header-0 h3,
.accordion-container .acc-01 .acc-header-01 h3 {
  font-size: 1.6rem;
  color: #7d7d7d;
  padding-left: 0.5rem;
}

.accordion-container .accordion .accordion-body,
.accordion-container .accordion-1 .accordion-body-1,
.accordion-container .accordion .accordion-body-0,
.accordion-container .accordion-3 .accordion-body-3,
.accordion-container .accordion-4 .accordion-body-4,
.accordion-container .accordion-5 .accordion-body-5,
.accordion-container .accordion-6 .accordion-body-6,
.accordion-container .accordion-7 .accordion-body-7,
.accordion-container .accordion-8 .accordion-body-8,
.accordion-container .accordion-00 .accordion-body-0 {
  padding: 0.5rem 1.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  background: var(--white);
  color: #666;
  display: none;
  padding-bottom: 2rem;
}

.accordion-container .acc-01 .acc-body-01 {
  padding: 0.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  background: var(--white);
  color: #666;
  display: none;
  padding-bottom: 2rem;
}

/* new modif - sub accordion section result */
.accordion-container .accordion-3 .accordion-header-3 h3,
.accordion-container .accordion-5 .accordion-header-5 h3,
.accordion-container .accordion-7 .accordion-header-7 h3,
.accordion-container .accordion-0 .accordion-header-0 h3 {
  font-size: 1.3rem !important;
}

.accordion-header-3,
.accordion-header-5,
.accordion-header-7,
.accordion-header-0 .acc-header-01 {
  padding: 0.1rem 0 !important;
  background: #f4f6fb !important;
  height: 40px;
}

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

/* performance */

.performance .centre-image::before {
  content: "";
  border: 0.1rem solid rgb(122, 121, 121);
  position: absolute;
  top: 3%;
  left: 0;
  width: 86%;
  height: 90%;
  z-index: -99999999;
}

/* section resultat */

.resultat .content p {
  font-size: 1.5rem;
  color: #666;
  /* color: #fff; */
  padding: 1rem 0;
}

.resultat .content h3 {
  font-size: 3.5rem;
  /* color: #666; adm */
  color: #5e5c5c;
}

.resultats_concours {
  font-size: 1.3rem;
  color: #666;
  line-height: 2;
  padding: 1rem 0 1rem 0.5rem;
}

/* table style */

table {
  border-collapse: collapse;
  box-shadow: 0 5px 10px #e1e5ee;
  background-color: white;
  text-align: left;
  overflow: hidden;
  width: 100%;
  font-size: 1.1rem;
  text-align: center;
}
table thead {
  box-shadow: 0 5px 10px #e1e5ee;
}
table tbody tr td:nth-child(1) {
  text-align: left;
}
table th {
  padding: 1rem 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-weight: 900;
}
table td {
  padding: 1rem 2rem;
}
table a {
  text-decoration: none;
  color: #666;
}
table tr:nth-child(even) {
  background-color: #f4f6fb;
}

/* admission */
.admission__mp {
  text-align: center;
}
.admission__mp img {
  width: 82%;
}
.admission {
  margin-bottom: 8rem;
}

/* footer */

footer {
  width: 100%;
  z-index: 11111;
  padding: 3rem 7%;
  background: var(--gradient);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: var(--white);
}

.footer-content::after {
  content: "";
  width: 100%;
  height: 3px;
  border-bottom: 3px solid var(--white);
  margin-top: 4rem;
}

.row {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.5;
  font-size: 1.5rem;
  line-height: 2;
}

.fa-university {
  font-size: 5rem;
}

.bottom-content {
  padding: 2rem 0;
}

.row-1 {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.footer-logo img {
  filter: brightness(0) invert(1);
  width: 20rem;
}

.adresse {
  font-size: 1.5rem;
  color: var(--white);
  text-align: center;
}

/* keyframes */

@keyframes animate {
  0%,
  100% {
    background-position-x: 0rem;
  }
  50% {
    background-position-x: 100rem;
  }
}

.formations .centre,
.resultat {
  gap: 2em;
}

/* media queries */

@media (min-width: 992px) {
  .logo-svg {
    width: 50rem;
  }
  .centre .centre-image img {
    /*width: 40%;*/
    width: 80%;
  }
  .formations .centre,
  .resultat {
    gap: 2em;
  }
}

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  .centre-image img {
    width: 100%;
  }

  .formations .centre,
  .resultat {
    gap: 2em;
  }

  .centre .centre-image img,
  .formations .centre-image img,
  .resultat .centre-image img,
  .classement .centre-image img {
    width: 44rem !important;
    padding: 0 1rem;
  }

  table th {
    padding: 1rem 0rem;
  }

  header .menu-top-bar-container {
    display: block;
  }

  header #menu-bar {
    display: block;
  }

  header .menu-top-bar-container .top-bar {
    position: absolute;
    top: 100%;
    left: 0;
    background: #444;
    width: 100%;
    display: none;
  }

  header .top-bar {
    flex-flow: column;
    padding: 2rem 0;
  }

  header .main-logo {
    margin: auto;
  }

  header .menu-top-bar-container .top-bar li {
    margin: 1.5rem 0;
    text-align: center;
    width: 100%;
  }

  header .top-bar li a.active,
  header .top-bar li a:hover {
    color: #f39c12;
  }

  .fa-times {
    transition: all 0.2s linear;
    transform: rotate(180deg) !important;
  }

  header .menu-top-bar-container .active {
    display: block;
  }

  .home p {
    width: auto;
  }

  .formations .centre-image {
    flex: 1 1 40rem;
    position: relative;
  }

  .formations .content {
    flex: 1 1 40rem;
  }

  .centre-image::before {
    display: none;
  }

  .content .titre {
    font-size: 2.5rem !important;
    padding-top: 2rem !important;
  }

  .footer-content {
    justify-content: center;
    gap: 2em;
  }
}
