@import url("https://fonts.googleapis.com/css2?family=Poppins: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");
/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  border: none;
  outline: none;
  font-family: poppins sans-serif;
  font-weight: 500;
  line-height: 1.6rem;
}
html {
  background-image: url("images/space.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

body {
  /* background: #0c0c0c; */
  color: #fff;
}

main {
  margin: 20px;
}

/* *************************** ************************************************* */
/* *********************** Mobile tablette **************************************/
/* *************************** *************************************************/

@media screen and (max-width: 768px) {
  /* *********************** Menu Burger ******************************************/
  /* *****************************************************************************/
  .menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0px;
    left: 0px;
    right: 0px;
    margin-bottom: 5rem;
    padding: 10px 0;
    border-bottom: 2px solid #fff;
    background: #0c0c0c;
  }
  .logo {
    display: flex;
    align-items: center;
  }

  .logo img {
    width: 5rem;
    border-radius: 50%;
    margin: 10px;
  }
  .title {
    font-size: 24px;
    font-weight: bold;
    margin-right: 5px;
  }
  .firstname {
    font-size: 24px;
    font-weight: bold;
    color: #117da0;
  }
  .menu-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 4rem;
    left: 0;
    background: #117da0;
    width: 100%;
    text-align: center;
  }
  .menu-links.active {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 4rem;
    width: 100%;
    height: 20vh;
    background: #117da0;
  }
  .menu-toggle {
    display: block;
    margin: 0 5px 8rem;
    font-size: 35px;
    color: #fff;
  }
  .menu a:hover,
  .menu a:focus {    
    color: white;
    border-radius: 5px;
  }
   .menu a{    
    color: white;
  }
  .menu a.active {
    background-color: #117da0;
    color: white;
    border-radius: 5px;
    border-bottom: 1px solid white;
    width: 10rem;
  }

  /* ***********************Présentation ***************************************** */
  /* *************************** **************************************************/
  .presentation {
    border-bottom: 1px solid #fff;
  }
  .title_page{
    text-align: center;
        margin: 2rem auto 4rem;
        font-size: 25px;
        color: #117da0;
  }
  /************************* introduction *****************************************/

  .image-right {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 23px;
  }
  .image-right img {
    border-radius: 50%;
    width: 12rem;
    object-fit: cover;
    margin-bottom: 30px;
  }
  .card_intro {
    text-align: justify;
    /* width: 90%; */
    margin-bottom: 30px;
  }
  .card_intro h1 {
    font-size: 30px;
    color: #117da0;
    text-align: center;
    margin-bottom: 15px;
  }

  /************************* éxperience *****************************************/
  .experience {
    margin-bottom: 5rem;
  }
  .experience h2 {
    font-size: 25px;
    color: #117da0;
    text-align: center;
    margin: 2rem auto;
    line-height: 1.2;
  }
  .experience p {
    font-size: 16px;
    text-align: center;
    line-height: 1.6;
  }
  .experience .expert img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    margin: 1rem auto;
  }
  .expert h3 {
    font-size: 25px;
    color: #117da0;
    text-align: center;
    margin: 2rem auto;
    line-height: 1.2;
  }
  .experience .expert_pro img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    margin: 1rem auto;
  }
  .experience .expert_pro h3 {
    font-size: 25px;
    color: #117da0;
    text-align: center;
    margin: 2rem auto;
    line-height: 1.2;
  }
  /* *********************** Cours ***************************************** */
  /* *************************** ****************************************** */

  /* *********************** Intro Cours ********************************* */
  .cours {
    width: 100%;
    margin-bottom: 2rem;
    border-bottom: 1px solid #fff;
  }
  .cours h1 {
    font-size: 30px;
    color: #117da0;
    text-align: center;
    margin-bottom: 1rem;
  }
  .cours p {
    font-size: 16px;
    text-align: center;
    line-height: 1.6;
  }
  .intro_cours {
    width: 100%;
    border-bottom: 1px solid #fff;
    margin-bottom: 2rem;
  }
  .intro_cours img,
  .bloc_methodologie img,
  .photo_left img,
  .photo_right img,
  .organisation img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    margin: 30px auto;
  }
  /* *********************** Type Cours ********************************* */
  .type_cours {
    width: 100%;
    margin-bottom: 2rem;
    border-bottom: 1px solid #fff;
  }

  .type_cours h2 {
    font-size: 24px;
    color: #117da0;
    text-align: center;
    margin-bottom: 1rem;
  }
  .bloc_niveau h4 {
    font-size: 20px;
    color: #117da0;
    text-align: center;
    margin-bottom: 1rem;
  }
  /* *********************** Méthodologie ********************************* */
  .bloc_methodologie {
    width: 100%;
    margin-bottom: 2rem;
    border-bottom: 1px solid #fff;
  }
  .methodologie h2 {
    font-size: 30px;
    color: #117da0;
    text-align: center;
    margin-bottom: 1rem;
  }
  /* *********************** Organisation Cours ********************************* */
  .organisation {
    width: 100%;
    margin-bottom: 2rem;
  }
  .organisation h2{
     font-size: 24px;
    color: #117da0;
    text-align: center;
    margin-bottom: 1rem;
  }

  /* *********************** CONTACT ***************************************** */
  /* *************************** ************************************************* */

  /* Glass card */
  .card {
    backdrop-filter: blur(12px);
    border: 4px solid #117da0;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    margin-bottom: 2rem;
  }

  /* Titles */
  .card h1 {
    font-size: 35px;
    color: #117da0;
    text-align: center;
    margin: 2rem auto;
  }
  .card p.subtitle {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 16px;
  }

  .card i {
    color: #117da0;
    font-size: 30px;
  }
  .contact-item strong {
    font-size: 85%;
    color: #fff;
  }
  /* Contact items */
  .contact-item,
  .social-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid #117da0;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
  }
  .contact-item:hover,
  .social-link:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  /* Form */
  form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  input,
  textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid #117da0;
  }
  input:focus,
  textarea:focus {
    outline: none;
    border-color: #818cf8;
    box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.4);
  }
  .card button {
    align-self: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    background: #117da0;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 70%;
    margin-top: 20px;
  }
  button:hover {
    background-color: #04b1e9;
    color: #0c0c0c;
  }

  /* *********************** FOOTER ***************************************** */
  /* *************************** ************************************************* */
  footer {
    width: 90%;
    text-align: center;
    margin-top: 2rem;
    margin-left: 20px;
  }
  .copy {
    font-size: 15px;
    text-align: center;
    margin-bottom: 20px;
  }
}

/* @media (min-width: 900px) {
  .container {
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #fff;
  }
} */


/* *************************** ************************************************* */
/* *********************** desktop **********************************************/
/* *************************** *************************************************/

@media screen and (min-width: 920px) {
  /* *********************** Navigation ***************************************** */
  /* *************************** ************************************************* */

  .menu-toggle {
    display: none;
  }
  .menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 6px solid #0e9bbd;
  }

  .logo {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo img {
    width: 10rem;
    border-radius: 50%;
    margin: 10px;
  }
  .title {
    font-size: 30px;
    font-weight: bold;
    margin-left: 5px;
  }
  .firstname {
    font-size: 30px;
    font-weight: bold;
    color: #117da0;
    margin-left: 5px;
  }

  .menu-links {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-right: 50px;
    margin-inline: 10px;
  }

  .menu-links a {
    padding: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    margin-inline: 50px;
    text-align: center;
    border-radius: 5px;
    border: none;
  }
  .menu-links .active {
    color: #117da0;
    border-bottom: 1px solid white;
  }
  .menu-links a:hover {
    color: #117da0;
    border-bottom: 1px solid white;
  }

  /* *********************** Présentation ***************************************** */
  /* *************************** ************************************************* */
  .title_page {
    text-align: center;    
    margin: 2rem auto 4rem;
    font-size: 40px; 
    color: #117da0;    
  }
  .image-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-bottom: 1px solid #fff;
  }
  .image-right img {
    border-radius: 50%;
    width: 15rem;
    object-fit: cover;
  }
  .intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;
    margin-bottom: 5rem;
  }
  .card_intro {
    width: 30rem;
    text-align: justify;
  }
  .card_intro h1 {
    font-size: 35px;
    color: #117da0;
    text-align: center;
    margin-bottom: 15px;
  }
  .card_intro p {
    font-size: 16px;
    color: #fff;
  }
  .experience {
    text-align: center;
  }
  .experience h2 {
    font-size: 30px;
    color: #117da0;
    text-align: center;
    margin: 3rem auto;
  }
  .experience h3 {
    font-size: 30px;
    color: #117da0;
    text-align: center;
    margin: 3rem auto;
  }
  .experience p {
    font-size: 17px;
    text-align: justify;
    line-height: 1.6;
  }
  .experience .expert img {
    width: 70%;
    height: 30rem;
    object-fit: cover;
    border-radius: 5px;
    /* object-position: 0 30px; */
  }
  .experience .expert_pro img {
    width: 70%;
    height: 30rem;
    object-fit: cover;
    border-radius: 5px;
    /* object-position: 0 -50px; */
    margin-top: 2rem;
  }

  /* *********************** CONTACT ***************************************** */
  /* *************************** ************************************************* */

  .contact {
    border-bottom: 1px solid #fff;
  }
  .bloc_mail {
    align-items: center;
    justify-content: center;
    margin: 2rem auto 4rem;
    width: 100%;
    border-left: 2px solid #00b050;
    border-right: 2px solid #00b050;
    border-bottom: 2px solid #00b050;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 30px;
    height: 8rem;
    box-shadow: 5px 5px 0px #bfe2cf;
  }
  .bloc_mail .fa-envelope {
    font-size: 22px;
    color: #117da0;
    margin-right: 15px;
  }
  .bloc_mail span {
    font-size: 20px;
    color: #fff;
  }
  .contact .mail {
    font-size: 20px;
    color: #117da0;
  }
  .social-media_contact {
    width: 100%;
    display: inline-table;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 4rem;
    border-left: 2px solid #00b050;
    border-right: 2px solid #00b050;
    border-bottom: 2px solid #00b050;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 5rem;
    height: 8rem;
    box-shadow: 5px 5px 0px #bfe2cf;
  }
  .social-media h2 {
    font-size: 20px;

    margin-bottom: 1rem;
  }

  /* *********************** Cours ***************************************** */
  /* *************************** ****************************************** */

  /* *********************** Intro Cours ********************************* */
  .cours h1 {
    font-size: 30px;
    color: #117da0;
    text-align: center;
    margin-bottom: 3rem;
  }
  .intro_cours {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 5rem;
    border-bottom: 1px solid #fff;
  }
  .intro_cours p {
    font-size: 20px;
    text-align: center;
  }
  .intro_cours img {
    width: 20rem;
    object-fit: cover;
    border-radius: 5px;
  }

  .type_cours h2 {
    font-size: 25px;
    color: #117da0;
    text-align: center;
    margin: 3rem auto;
  }
  /* ***********************Type Cours ***************************************** */

  .bloc_type_cours {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 5rem;
    border-bottom: 1px solid #fff;
  }
  .bloc_type_cours img {
    width: 20rem;
    height: 45rem;
    object-fit: cover;
  }
  .bloc_type_cours p {
    font-size: 16px;
    text-align: center;
  }
  .bloc_niveau h4 {
    font-size: 24px;
    color: #117da0;
    text-align: center;
  }

  .bloc_methodologie {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 5rem;
    border-bottom: 1px solid #fff;
  }
  .bloc_methodologie img {
    width: 30rem;
    height: 30rem;
    object-fit: cover;
  }

  .methodologie h2,
  .organisation h2 {
    font-size: 25px;
    color: #117da0;
    text-align: center;
    margin: 3rem auto;
  }
  .methodologie p {
    font-size: 20px;
    text-align: center;
  }
  .organisation {
    margin-bottom: 5rem;
  }
  .bloc_organisation {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .organisation img {
    float: right;
    width: 30rem;
    height: 38rem;
    object-fit: cover;
    margin-left: 20px;
  }
  .organisation p {
    font-size: 18px;
    text-align: center;
    line-height: 1.6;
  }
  .organisation ul li {
    font-size: 20px;
    text-align: center;
    line-height: 1.6;
  }

  /* *********************** Contact ***************************************** */
  /* ************************************************************************ */

/* Layout */

  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1rem;
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid #fff;
  }

  /* Glass card */

  .card {
    backdrop-filter: blur(12px);
    border: 4px solid #117da0;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    height: 40rem;
  }

  /* Titles */

  .card h1 {
    font-size: 35px;
    color: #117da0;
    text-align: center;
    margin: 2rem auto;
  }
  .card p.subtitle {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 16px;
  }

  .card i {
    color: #117da0;
    font-size: 30px;
  }

  /* Contact items */

  .contact-item,
  .social-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid #117da0;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
  }
  .contact-item:hover,
  .social-link:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  /* Form */

  form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  input,
  textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid #117da0;
  }
  input:focus,
  textarea:focus {
    outline: none;
    border-color: #818cf8;
    box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.4);
  }
  .card button {
    align-self: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    background: #117da0;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 70%;
    margin-top: 20px;
  }
  button:hover {
    background-color: #04b1e9;
    color: #0c0c0c;
  }

  /* *********************** footer ***************************************** */
  /* *************************** ************************************************* */

  footer {
    margin: 2rem 2rem;
    text-align: center;
  }
  
  .copy {
    font-size: 18px;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  
}
