/* @import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css'); */

.top {
    background-color: rgb(28, 28, 28);
    color: rgb(237, 237, 237);
    
}

.top-container {
    display: inline-flex;
}

.top-container h3 {
    padding-left: 2rem;
    padding-right: 2rem;
}

/*Beginning NavBar*/

.nav {
    background-color: rgb(49, 49, 49);
    position: sticky; 
    
    top: 0; 
    z-index: 999; 

}

/* .sticky {
    position: fixed;
    top: 0;
    width: 100%;
  } */

.menu-icon {
    display: none;
    color: white;    
    cursor: pointer;
}

.nav-bar-row {
    display: inline-flex;
    width: 100%;
}

.nav-bar, .nav-contact {
    font-family: Arial;
    font-weight: bold;
    display: inline-flex;
}

/* CSS animation */
/* https://www.youtube.com/watch?v=UmzFk68Bwdk */

.nav-bar a, .nav-contact a {
    color: rgb(176, 176, 176);
    font-size: 17px;
    text-decoration: none;
    text-align: center;
    width: 150px;
    cursor: pointer;
    padding-top: 13px;
    padding-bottom: 13px;
    display: inline-block;
}

.nav-bar a.active::after, .nav-contact a.active::after {
    content: "";
    position: absolute;
    bottom: -1px; /* Adjusts the vertical position of the triangle */
    z-index: 100;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 6px 6px 6px; /* Taille du triangle */
    border-style: solid;
}

.nav-bar a.active, .nav-contact a.active {
    background-color: rgb(34, 34, 34);
    /* border-bottom: solid 2px rgb(185, 66, 30);  */
    /* border-bottom:  solid 2px rgb(30, 76, 185); */
    color: rgb(231, 231, 231);
  }
  
.nav-bar a:hover, .nav-contact a:hover, .information a:hover, #monselect:hover {
    background-color: rgb(34, 34, 34);
    color: rgb(231, 231, 231);
    transition: 0.3s;
}

.nav-contact {
    font-family: Arial;
    font-weight: bold;
    display: inline-flex;
    justify-content: right;
    width: 100%;
}

/*End Navar*/

.bottom {
    background-color: rgb(31, 31, 31);
}

.bottom-bar-row {
    display: inline-flex;
    width: 100%;
}

.information {
    display: inline-flex;
    font-family: Arial;
    transition: 0.3s;
}

.information a {
    color: rgb(176, 176, 176);
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    width: 150px;
    cursor: pointer;
    padding-top: 15px;
    padding-bottom: 15px;
    display: inline-block;
}

.lang {
    display: inline-flex;
    justify-content: right;
    width: 100%;
}

#language {
    
    background-color: rgba(0, 0, 0, 0.0);
    color: rgb(176, 176, 176);
    text-align: center;
    font-size: 16px;
    border-color: rgb(0, 0, 0, 0);
    font-family: Arial;
    padding-right: 20px;
    padding-left: 20px;
    
  }

  #language .fr {
    background-image: url(https://www.countryflags.io/fr/flat/32.png);
  }

  #language .en {
    background-image: url(https://www.countryflags.io/en/flat/32.png);
  }

  option {
    padding-left: 25px; /* to make room for the flag icons */
}

#language option {
    background-color: white;
    color: black;
}

@media screen and (max-width: 700px) { 
  .nav-bar {    
        display: none; 
        position: absolute;

        transition: opacity 0.3s ease, height 0.3s ease; /* Smooth transition for visibility and height */
    }

    .nav-bar.responsive {
      display: flex;
      flex-direction: column;
      margin-top: 5rem;
      z-index: 1;
      /* position: relative; For z-index to work */
    }

    .nav-bar a {
      display: block;
      background-color: rgb(49, 49, 49);
    }

    .menu-icon {
        display: flex;
        width: 100px;
        align-items: center;
        justify-content: center;
    }

    .menu-icon i {
        font-size: 3rem;
        color:rgb(176, 176, 176);
    }

    .top-container h3 {
        padding-left: 0vw;
        padding-right: 5vw;
    }
}

