/*-----------------
 hero background image 
 -------------------*/
.bgimage {
  height: 100vh;
  background: url('images/heroImage1.jpeg');
  background-size: cover;
  position: relative;
}

/*---------------------
 text css above hero image 
 ------------------------*/
.hero_title {
  font-size: 4.5rem;
}

.hero_desc {
  font-size: 2rem;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

/*---------------------
 about section image 
 ---------------------*/
.ImageAboutPage {
  width: 100%;
}

/*------------
 Skills
--------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  padding: 10px 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  color: #222222;
}

.skills .progress-container2 .skill {
  padding: 10px 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  color: #222222;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}
.skills .progress-container2 .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: #f3f3f3;
  border-radius: 4px;
}

.skills .progress-bar {
  width: 1px;
  height: 13px;
  background-color: #229635;
  border-radius: 4px;
}



/*------------------------
 skills progress animation
-------------------------*/
/*
.progress-bar {
  width: 0;

}

.progress-bar.active {
  
  animation: progress 1.5s ease-in-out forwards;
}
/*
.progress-bar-2.active {

  animation: progress 1.5s ease-in-out forwards;
}
*/
/*
@keyframes progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
/*
@keyframes 2 {
  from {
    width: 0;
  }
  to {
    width: 60%;
  }
}
*/
/*----------------
 competenze section 
 ------------------*/
.competenzeText.card {
  height: 280px;
  cursor: pointer;
}

.competenzeIcon {
  font-size: 36px;
  text-align: center;
  width: 100%;
}

.card-title {
  text-align: center;
}

.competenzeText:hover {
  border: 1px solid green;
}

.card:hover .competenzeIcon {
  color: green;
}

.card-text {
  text-align: center;
}

/*------------- 
 navbar brand fonts 
---------------*/
.navbar-brand {
  font-family: 'rajdhani', sans-serif !important;
  font-weight: 500;
}

.navbar-nav a {
  font-family: 'rajdhani', sans-serif !important;
}

h1 {
  font-family: 'rajdhani', sans-serif !important;
}

/*---------------------
 navbar dark on scroll 
 -----------------------*/
.navbarScroll.navbarDark {
  background-color: black;
}

/*---------------
 navbar text color 
 ----------------*/
.navbar-brand {
  color: white;
}

.navbar-nav li a {
  color: white;
}

.navbar-brand:hover {
  color: rgb(201, 201, 201);
}

.navbar-nav li a:hover {
  color: rgb(201, 201, 201);
}

/*----------------
 footer icon style 
 ----------------*/
.social-icons {
  font-size: 36px;
  cursor: pointer;
}

.fab {
  color: black;
}

.fa-facebook:hover {
  color: rgb(24, 57, 245);
}

.fa-instagram:hover {
  color: indianred;
}

.fa-linkedin:hover {
  color: rgb(52, 89, 202);
}

/* ------------
 footer style 
---------------*/
#footer {
  background-color: #808080;
  text-align: center;
}

/*-----------------
 add space to section 
 ------------------*/
#about,
#skills,
#competenze,
#esperienza,
#portfolio,
#contatti {
  margin-top: 4rem;
  padding-top: 4rem;
}

#contatti {
  padding-bottom: 4rem;
}

/*---------------------
 size title contatti 
 ---------------------*/
.contact-title {
  font-size: large;
}


/*----------------------------
 section sumary
----------------------------*/
.resume-title {
  font-size: 26px;
  font-weight: 400;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #222222;
}

.resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid green;
  position: relative;
}

.resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #1d6830;
  margin-bottom: 10px;
}

.resume-item h5 {
  font-size: 16px;
  background: #e0e0e0;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
  color: #4f5756;
}

.resume-item ul {
  padding-left: 20px;
}

.resume-item ul li {
  padding-bottom: 10px;
}

.resume-item:last-child {
  padding-bottom: 0;
}

.resume-item::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #fff;
  border: 2px solid green;
}

.emptypoint {
  list-style-type: circle;
}

/*--------------
 contact icon 
 --------------*/
.phone i,
.mail i,
.address i {
  font-size: 22px;
  color: green;
  float: left;
  width: 44px;
  height: 44px;
  background: #effbf7;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.phone,
.mail,
.address {
  display: flex;
}

.mail:hover i,
.address:hover i,
.phone:hover i {
  background: green;
  color: #fff;
}
  

/*-----------------
language bar segment
-----------------*/
.progress-container2 {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.progress-bar2 {
  width: 100%;
  height: 13px;
  background-color: #e0e0e0;
  border-radius: 4px;
  display: flex;
  overflow: hidden;
  
}

.segment {
  height: 100%;
  border-radius: 4px;
  flex: 1;
  animation: progressAnimation 0.5s ease-out; 
}

/* Adjust styles for different segments */
#segment1 {
  background-color: #229635; 
  margin-right: 2px;
  animation-delay: 0.2s;
  
}
#segment2 {
  background-color: #229635;
  margin-right: 2px;
  animation-delay: 0.3s; 
}
#segment3 {
  background-color: #229635; 
  margin-right: 2px;
  animation-delay: 0.5s; 
}
#segment4 {
  background-color: #229635;
  animation-delay: 0.7s;  
}
#segment5 {
  background-color: rgba(0, 128, 0, 0); 
}
#segment6 {
  background-color: rgba(0, 128, 0, 0); 
}

@keyframes progressAnimation {
  from {
    opacity: 0;;
  }
  to {
    opacity: 1;;
  }
}
