/* navbar */

.right.hide-on-med-and-down{
  padding-inline-start: 0px!important;
  font-family: 'Raleway';
}

.nav-wrapper {
  background-color: #c99188 !important;
}

#key_1{
  font-size: 35px!important;
  color: white;
}

#key_2{
  font-size: 35px!important;
  color: #ad3030;
}

#title{ 
   margin-top:15px;
   margin-left: 10px;
   font-family: 'Raleway'!important;
   font-size: 25px!important;
}


/* Menu tel */
.sidenav{
  background-color: #c99188 ;
}

.icon_darkmode, .icon_lightmode{
  color: white!important;
}

#key_side_1{
  font-size: 25px!important;
  margin-top: 13px;
  color: white;
}

#key_side_2{
  font-size: 25px!important;
  margin-top: 13px;
  color: #ad3030;
}

.text-s{
  font-family: 'Raleway';
}

#sidenav-img{
  max-height: 6cm;
}

.sidenav-overlay{
  background-color: #99625900!important;
}

/* Parallax */

#parallax{
    background-color: white;
}

.parallax{
    margin-top: 10%;
}

#top-img{
  width: 40%;
  object-fit: cover;
}

#bottom-img{
  object-fit: cover;
  width : 40%;
}

#Bas {
  object-fit: cover;
}

#Bas-project{
  object-fit: cover;
  bottom: -400px;
}

#Haut {
  object-fit : cover;
  width: 10%!important;
}

/* Section accueil */

.center{
  font-family: 'Raleway';
}

b{
  font-size: larger;
}

.card img {
  border-radius: 20px!important;
  border-bottom-left-radius: 0px!important;
  border-bottom-right-radius: 0px!important;
}

.card{
  border-radius: 20px!important ;
  box-shadow: 10px 10px 10px #c99188a0;
}

.card-content{
  font-family: 'Rajdhani';
}

.text_card{
  font-family: 'Raleway';
  text-align: left;
  margin-top: 0;
}

.text-p{
  text-align: justify;
}

#Button{
  background-color : #c99188;
  margin-top:50px;
  margin-left: 90px;
}

.carousel-wrapper {
  max-width: 70%;
  margin: 0 auto;
}

.img-carousel{
  filter: brightness(0.7);
  transition: filter 0.3s ease;
  object-fit: cover;
  height: 500px;
  width: 100%;
  display: block;
}

.carousel-item-wrapper {
  position: relative;
}

.carousel-item {
  position: relative;
  cursor: pointer;
  display: block;
  height: 500px;
}

.carousel-caption {
  font-family: 'Raleway';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  width: 90%;
  z-index: 10;
}

.carousel-caption h3 {
  font-size: 28px;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  margin: 0;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-overlay-controls {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 15;
  pointer-events: none;
}

.carousel-item:hover .carousel-overlay-controls {
  opacity: 1;
  pointer-events: auto;
}

.carousel-control {
  background-color: transparent;
  color: white;
  padding: 12px 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 28px;
  cursor: pointer;
  border: none;
  outline: none;
}

.carousel-control:hover {
  transform: scale(1.15);
}

.carousel-control:focus {
  outline: none;
  background-color: transparent;
}

.carousel-control:active {
  background-color: transparent;
}

/* Page Skills */

#skills-section{
  margin : 0px;
}

#title-skills{
  font-family: 'Raleway'!important;
  text-align: center;
  font-size: 260%;
  margin-top: 4rem!important;
}

.icon{
  font-size: 50px!important;
  color :#996259;
  display : flex;
  justify-content: center;
}

.skill{
  font-size: 28px;
  text-align: center;
}

#soft-skills .card {
  min-height: 200px; 
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#hard-skills .card {
  min-height: 260px; 
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#hard-skills .card-content {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#soft-skills .row,
#hard-skills .row {
  display: flex;
  flex-wrap: wrap;
}

#soft-skills .col,
#hard-skills .col {
  margin-bottom: 10px; 
}

.text{
  font-size: 18px;
  text-align: center;
}

.CV{
  display: flex;
  justify-content: center;
}

#cv-fr {
  background-color: #c99188;
  color : white;
  font-family: 'Raleway';
  text-align: center!important;
  margin-top: 20px;
  margin-right: 25px!important;
}

#cv-eng {
  background-color: #c99188;
  color : white;
  font-family: 'Raleway';
  text-align: center!important;
  margin-top: 20px;
  margin-right: 30px!important;
}

/* Section expériences */

#ex{
  max-width: fit-content;
}

.lieu{
  font-family: 'Raleway';
  font-size: 25px;
  color:#c99188;
}

#ex-title{
  font-family: 'Raleway';
}

.date{
  font-family: 'Raleway';
  font-size: 90%;
  margin-top: 10px;
  margin-bottom : 10px;
}

.texte{
  font-family: 'Raleway';
  margin-top: 0%;
}

/* Page projets */
#tabs-2{
  background-color: #cfcac7;
  color: #0c0425!important;
  font-family : 'Rajdhani'!important;
  font-size: 20px!important;
  display: flex !important;
}

.tabs.scrollable-tabs {
  display: flex;
  flex-wrap: nowrap; /* Empêche le défilement automatique à la ligne suivante */
  overflow-x: auto;  /* Active le défilement horizontal */
  max-height: 150px; /* Ajustez la hauteur maximale selon vos besoins */
}

.tabs.scrollable-tabs li {
  flex: 0 0 auto; /* Empêche le redimensionnement des onglets */
}

.Image_1{
  max-height: 6cm!important;
  border-radius: 10%;
  max-width: 8cm;
}

.Image_2{
  max-height: 5cm!important;
  border-radius: 10%;
  max-width: 8cm;
  margin-top: 15px;
}

.Image_3{
  max-height: 5cm!important;
  border-radius: 10%;
  max-width: 8cm;
}

.header{
  font-family: 'Raleway';
  font-size: 180%;
  padding-left: 20px;
}

.description_1{
  font-family: 'Raleway';
  font-size: 120%;
  text-align: justify;
}

.description_2{
  font-family: 'Raleway';
  font-size: 120%;
  text-align: justify;
}

.description_3{
  font-family: 'Raleway';
  font-size: 120%;
  text-align: justify;
}


/* Modal connexion */

#modal1{
  background-color: rgb(12, 4, 37);
}

#tabs-1{
  background-color: rgb(12, 4, 37);
}

.input[type=submit]:hover {
  background-color: #a4756e;
}

.input[type=submit] {
  background-color: #c99188;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Modal Contact */

#modal2{
  background-color: rgb(92, 88, 101);
  color: #c99188;
}

#button2{
  background-color: #c99188;
}

#icon-chat{
  background-color:#c99188;
  width: 70px!important;
  height: 70px!important;
}

#chat{
  line-height: 70px!important;
  font-size: 220%!important;
}

[type="checkbox"] + span:not(.lever):before,
[type="checkbox"]:not(.filled-in) + span:not(.lever):after {
  border: 2px solid #0c0425!important;
}

/* Contact-me */
/* Sélectionner le conteneur et ajuster les styles */
.contact-me {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Raleway'!important;
}

.contact-content {
  max-width: 700px;
  width: 100%;
  padding: 20px;
  border-radius: 15px;
}

h2 {
  text-align: center;
}

/* Appliquer les transformations pour les labels actifs */
.input-field > label:not(.label-icon).active {
  -webkit-transform: translateY(-14px) scale(0.8);
  transform: translateY(-14px) scale(0.8);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

/* Applique les transformations sur tous les inputs valides ou au focus */
.input-field input:focus + label,
.input-field textarea:focus + label,
.input-field input:not(:focus):valid + label,
.input-field textarea:not(:focus):valid + label {
  -webkit-transform: translateY(-14px) scale(0.8);
  transform: translateY(-14px) scale(0.8);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

/* Ajout de marges entre les options de raison de contact */
.contact-reason-options {
  display: flex;
  gap: 20px;
}

.contact-reason-options p {
  margin-top: 0; /* Retirer tout margin-top pour le <p> */
}

/* footer */
.page-footer{
  background-color: rgb(76 72 84 / 35%)!important;
}

#mentions{
  color: rgba(255, 255, 255, 0.8);
}

/* Dark mode */

body{
  background-color: rgb(207, 202, 199)!important;
  color: black!important;
  font-family: 'Ralaway'!important;
}

.dark-mode{
background-color: rgb(12, 4, 37)!important;
color: white!important;
font-family: 'Ralaway'!important;
}
  
#icon_lightmode{
  display: none;
}

.dark-content{
  color :rgb(12, 4, 37);
}

/* Dark Modal - 1 */
.dark-modal1{
  background-color: #c99188!important;
}

.dark-tabs1{
  background-color: #c99188!important;
}

.dark-input[type=submit]:hover {
  background-color: rgb(58, 28, 147);
}

.dark-input[type=submit] {
  background-color: rgb(12, 4, 37);
  color : #c99188;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}


/* Gestion des images sur téléphone */



@media only screen and (max-width : 390px){
  #modal1{
    width : 95%!important;
  }
  #modal2{
    width : 95%!important;
  }
}

@media only screen and (max-width : 500px){
  #modal1{
    width : 80%!important;
  }
  #modal2{
    width : 80%!important;
  }
}

@media only screen and (min-width : 1300px){
  #modal1{
    width: 20%!important;
  }
  #modal2{
    width : 60%!important;
  }
}

@media only screen and (max-width :420px){
  #title{
    font-size: 18px!important;
  }
}

@media only screen and (min-width : 601px) and (max-width: 660px){
  .Image_2{
    margin-left: -40px;
  }
}

@media only screen and (min-width : 660px) and (max-width: 740px){
  .Image_2{
    margin-left: -40px;
  }
}

@media only screen and (min-width : 800px) and (max-width: 992px){
  .Image_2{
    margin-left: 15%;
  }
}

@media only screen and (min-width : 993px) and (max-width: 1300px){
  .Image_2{
    margin-left: -30%;
  }
}

/*timeline experience */
ul.timeline {
  list-style-type: none;
  position: relative;
}
ul.timeline:before {
  content: ' ';
  background: #d4d9df;
  display: inline-block;
  position: absolute;
  left: -35px;
  width: 2px;
  height: 100%;
  z-index: 400;
  margin-top: 10px;
}
ul.timeline > li {
  margin: 20px 0;
  padding-left: 20px;
}
ul.timeline > li:before {
  content: ' ';
  background: white;
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  border: 3px solid #c99188;
  left: -43px;
  width: 20px;
  height: 20px;
  z-index: 400;
  margin-top: 10px;
}

/* Barre de défilement des onglets projets*/
::-webkit-scrollbar {
  height: 2px;
  width : 5px;
}

::-webkit-scrollbar-thumb:horizontal {
  background-color: #0c0425;
  border-radius: 6px;
}

::-webkit-scrollbar-track:horizontal {
  background-color: #cfcac7;
}

.dark-mode ::-webkit-scrollbar-thumb:horizontal {
  background-color: #cfcac7;
}

.dark-mode ::-webkit-scrollbar-track:horizontal{
  background-color: #0c0425;
}

/* Panel admin */

#dropdown{
  color :rgb(12, 4, 37)!important;
}

.dropdown-content li > a, .dropdown-content li > span {
  font-size: 16px;
  color: #0c0425!important;
  display: block;
  line-height: 22px;
  padding: 14px 16px;
}
