@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');

body{
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.1rem;
    color: #1c2331;
    background-color:  #eceff3;
}

#updateNotice {

  padding: 20px;
  background: #fff;
  border: 2px solid red;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(255,0,0,0.3);
}

h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #1c2331;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
  }


.vertical-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 15.5rem;
  }


.vertical-menu .content-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

.content-center .profile-image {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-image: url(./images/profil.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 0.125rem solid #355877;
    box-shadow: 0 0 0 5px  #eceff3;
    transition: all 0.5s ease-in-out;
}

.content-center .profile-image:hover {
    transform: scale(1.1);
  }

.content-center .name h4{
    margin-bottom: 1rem !important;
    margin-top: 0.7rem !important;
    font-weight: bold;
}

.content-center{
    width: 15.5rem; 
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: #f1f4f7;
    overflow-y: auto;
    transition: all 0.3s ease-in-out;
}

.content-center::-webkit-scrollbar {
    width: 0.5rem;
}

.content-center::-webkit-scrollbar-thumb {
    background-color: #cfd8dc;
    border-radius: 0.25rem;
}
.content-center:hover {
    width: 16.5rem; /*!important*/
}

.content-center:hover::-webkit-scrollbar {
    width: 0.5rem;
}

.content-center:hover::-webkit-scrollbar-thumb {
    background-color: #78909c;
}

.content-center .nav-link{
    color: #1d1d1d;
}


.content-center .nav-link i {
    margin-right: 0.3125rem; 
    color: var(--text-color);
    font-size: 1.2rem;
}


.content-center .nav-link img {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.625rem; 
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.content-center a {
    margin: auto; /*!important*/
    font-weight: 600;
    border-bottom: 0.0625rem solid #cfd8dc;
    transition: all 0.3s ease-in-out;
}

.content-center a:hover, .nav-item .active{
    background-color: #cfd8dc;
    color: #4d89be;
    border-radius: 0.25rem;
    padding: 0.625rem 1.25rem;
    font-size: 1.1rem;
}

.nav-item .active{
  color : #5692c7;
}

.btn-secondary {
    background-color: #4d89be;
    color: #fff;
    border: none;
    border-radius: 2rem;
    padding: 0.7rem 1rem;
    letter-spacing: 0.1rem;
    transition: all 0.3s ease-in-out;
}

.btn-secondary:hover {
    background-color: #2c4467;
}

.btn-secondary:focus {
    outline: none;
}

.navbar{
    display: none;
}

@media screen and (max-height: 499px){
    .content-center .nav-link{
        font-size: 0.8rem !important;
    }
    .content-center .nav-link i{
        font-size: 0.8rem !important;
    }
    .content-center .nav-link img{
        width: 0.8rem !important;
        height: 0.8rem !important;
        margin-right: 0.3rem !important;
    }
    .content-center .name h4{
        font-size: 0.8rem !important;
        margin-top: 0% !important;
        margin-bottom: 5% !important;
    }
    .content-center .btn-secondary{
        font-size: 0.5rem !important;
    }
    .content-center .profile-image{
        display: none !important;
    }

}

@media screen and (max-width: 770px){
    .menu-btn{
    display: block;
    position: fixed;
    top: 0;
    right: 0; 
    z-index: 999;
    background-color: #4d89be;
    color: #fff;
    border: none;
    font-size: 1.2rem;
    padding: 0.5rem 0.7rem;
    }


    .vertical-menu{
    display: none;
    }

    .vertical-menu.show{
    display: block;

    }

    .btn-secondary{
      font-size: 0.9rem;
    }

    .content-center{
    z-index: 100;
    font-size: 1rem !important;
    }
    .content-center .name h4{
    font-size: 0.8rem !important;
    }
    .content-center:hover{
    width: 100%;
    }
}


/*********  MAIN  *********/

@media screen and (min-width : 770px){
    #main, .footer{
      margin-left: 16.55rem;
    }
}

#main{
  overflow-x: hidden;
}

/*********  HOME *********/

#home {
    background-image: url("./images/image-home.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 90vh;
    width: 100%;
}


#home .text-container {
  font-family: 'Times New Roman', Times, serif;
  font-size: 0.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  text-align: center;
  color: #000000;
  padding: 15px;
}
@media screen and (min-width: 770px){
    #home {
        margin-left: -16px !important;
    }
    .home .text-container{
      font-size: 1.1rem;
      padding: 50px;
    }
}

.welcome-text {
  font-size: 4vh;
  color: #000000;
  font-weight: bold;
  margin-bottom: auto;
  margin-top: 65px;
  box-shadow: 0 0 0 10px rgba(44, 44, 44, 0.2);
  animation: slide-up 3s ease;
}

.typing-text {
  font-size: 3.5vh;
  color: #000000;;
  font-weight: bold;
  margin-top: auto;
  margin-left : 15px; 
  box-shadow: 0 5px 0 5px rgba(44, 44, 44, 0.2);
  margin-bottom: 80px;
}

@keyframes slide-up {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0%);
  }
}

@media screen and (min-width: 770px){
  .welcome-text{
    margin-left: 15px; /**/
  }
  .typing-text{
    margin-left: 15px; /**/
  }
}
  

/*********  ABOUT *********/

.section-title{
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 25px;
    border-bottom: #78909c 2px solid;
    padding-bottom: 1px;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.about-item {
  display: flex;
  align-items: center;
  margin: 17px;
  width: 300px;
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.about-item:hover {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  transition: 0.5s;
  transform: translateY(-10px);
}

.about-icon {
  font-size: 36px;
  margin-right: 20px;
}
.one-about-icon{
    font-size: 36px;
    margin-right: 50px;
    color: #4d89be;
}
.about-text {
  justify-content: center;
  font-size: 17px;
  font-weight: bold;

}


#about ul {
  list-style: none;
  margin: 10px 0;
}

#about li {
  margin: 10px 0;
}

@media screen and (max-width: 1000px) {
  .about-item {
    margin: 10px;
  }
}

/*********  SKILLS *********/
/* Skills section */
.skills-container {
  display: flex;
  flex-wrap: wrap;
}

/* Skills category */
.skills-category {
  width: calc(33.33% - 20px);
  margin-bottom: 40px;
  /* padding: 20px; */
  /* margin-top: 20px; */
  margin-left: 5px;
  margin-right: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 5px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  text-align: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.skills-category:hover{
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  transition: 0.5s;
  transform: translateY(-10px);
}

ul.skills{
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-category-title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin : 10px;
  margin-bottom: 10px;
  border-bottom: #0066cc 2px solid;
  margin-bottom: 15px;
}


.skills-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}


.skills-icon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.skills-icon img {
  width: 100%;
  height: auto;
}

.skills-text {
  display: flex;
  flex-direction: column;
}

.skills-text-name {
  font-weight: bold;
  margin-bottom: 5px;
}


.skills-text-level {
  height: 10px;
  background-color: #ccc;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 5px;
}

.skills-text-level:before {
  content: "";
  display: block;
  height: 100%;
  background-color: #0099ff;
  border-radius: 5px;
  width: 0;
  transition: width 0.5s ease-in-out;
}

.skills-text-level[data-level="80%"]::before {
  width: 80%;
}

.skills-text-level[data-level="75%"]::before {
  width: 75%;
}


.skills-text-level[data-level="70%"]::before {
  width: 65%;
}

.skills-text-level[data-level="55%"]::before {
  width: 55%;
}

.skills-text-level[data-level="50%"]::before {
  width: 50%;
}

@media screen and (max-width: 770px) {
 .skills-container {
    flex-direction: column;
  }
  .skills-category {
    min-width: 81%;
    /* margin-right: 50px;
    margin-left: 50px; */
    margin : auto ; 
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
  }
  .marge-skills{
    margin-left: -80px;
  }
}

/*********  TRAINING *********/

.training-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.training-item {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 250px;
  min-width: 20px;
  transition: transform 0.3s ease-in-out;
}

.training-item:hover {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  transition: 0.5s;
  transform: translateY(-10px);
}

.training-school {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.training-degree {
  font-size: 1 rem;
  color : #073b6e;
  border:rgba(0, 0, 0, 0.1) 1px solid;
  padding: 5px;
  text-align: center;
  margin-bottom: 20px;

}

.training-date {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 20px;
}

.training-mention {
  font-size: 16px;
  margin-bottom: 20px;
}

.training-programlink {
  margin-top: auto;
  font-size: 16px;
  font-weight: bold;
}

.training-programlink a {
  display: inline-block;
  padding: 8px 20px;
  background-color: #3b7cb4;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease-in-out;
}

.training-programlink a:hover {
  background-color: #1a237e;
}

@media screen and (max-width: 770px) {
  .training-item {
    min-width: 81% !important;
  }
}
  
/*********  PROJECTS *********/

#projects {
  display: flex;
  flex-direction: column;
  text-align: center;
  font-family: 'Times New Roman', Times, serif;
}


.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.project-item {
  min-width: 350px;
  height: auto;
  background-color: #fdf9f944;
  border: 1px solid #dddddd;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-left : 50px;
  margin-right : 50px;
  padding: 20px;
}

.project-item:hover {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  transition: 0.5s;
  transform: translateY(-10px);  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  transition: 0.5s;
  transform: translateY(-10px);
}

.project-image img {
  width: 300px;
  height: 200px;
  margin-bottom: 5px;;
}

.project-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 10px ;
  overflow: hidden;
}

  .project-date {
    margin-bottom: 3vh;
    font-size: 1rem;
    color: #999999;
  }

.project-description {
  margin: 0;
  font-size: 1.1rem;
  overflow-y: auto;
  height: 250px;
  text-align: justify;
  padding: 15px;
}

.project-link {
  margin: 15px;
  text-align: center;
  font-weight: bold;
}

.project-link a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3b7cb4;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease-in-out;
}

.project-link a:hover {
  background-color: #004080;
}

@media screen and (max-width: 770px) {
  .project-description{
    padding: 5px !important;
  }

}


/*********  EXPERIENCES *********/

#experiences {
  padding: 50px 0;
}

.notepad {
  margin-bottom: 25px;
  padding: 20px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.notepad:hover{
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  transition: 0.5s;
  transform: translateY(-10px);
}

.experience {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.experience img {
  width: 100px;
  margin-right: 20px;
}

.experience-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.experience-content p {
  margin-bottom: 5px;
  font-size: 1rem;
}

.experience-content p:nth-of-type(3) {
  text-align: justify;
}

.experience-content h3 + p {
  font-weight: 700;
}
.experience-content h3 + p +p{
  font-style: italic;
}




/*********  FOOTER *********/
.footer {
  padding: 10px 0;
  text-align: center;
  color: #ffffff;
  border-radius: 5px;
}

@media screen and (min-width: 768px) {
  .footer{
    margin-right: 5px;
  }
}
  
/********* Last adjustment *********/

@media screen and (max-width: 600px) {
  #home {
      background-image: url("./images/phone-home-image.jpg") ;
  }
  .welcome-text{
      font-size: 1.1rem !important;
      color : #fff !important;
      margin-top: 45px !important;
  }
  .typing-text{
      font-size: 0.9rem !important;
      color : #fff !important;
      margin-bottom: 35px !important;
  }
  .project-description{
    text-align: center !important;
  }
  .experience-content p:nth-of-type(3) {
    text-align: start !important;
  }

}

