:root {
  --jobCardWidth: 1200px;
}

.body-myCv {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
  margin: 0;
  padding-bottom: 70px;
  z-index: 9998;
}

.cards-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-color: #ffffff;
  margin: var(--headerHeight);
  padding-bottom: 100px;
   width: 85%;
}

.h1-myCv {
  margin-bottom: 10px;
  width: 100%;
}
.h1-myCv::before {
  /* */
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--goldColor);
  margin-bottom: 0px;
  margin-right: 10px;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
     width: 85%;
}
.header-container1 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
   width: 85%;
}
.cv-button {
  background-color: var(--goldColor);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  float: right;
  border: 2px solid var(--goldColor);
  font-size: 17px;
}
.cv-button:hover {
  background-color: #ffffff;
  color: #000000;
  cursor: pointer;
}
.card-job {
  background-color: var(--mainColor);
  width: 85%;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 2.1);
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  min-height: 110px;
}
.card-job a {
  padding-left: 32px;
  text-decoration: none;
}
.card-job span {
  padding: 10px;
}
.card-job span::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 2px;
  background-color: var(--goldColor);
  margin-bottom: 4px;
  margin-right: 10px;
}
.card-job span:first-child {
  margin-top: 25px;
}
.card-job span:last-child {
  margin-bottom: 25px;
}
.card-job span[hide-before] {
  font-size: 30px;
}
.card-job span[hide-before]::before {
  visibility: hidden;
  position: absolute;
}

/* Mobile */
@media (max-width: 768px) {
  html,
  body {
    font-size: 14px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
  }
  .body-myCv {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 20px 10px;
    box-sizing: border-box;
    background-color: #f5f5f5;
  }
  .cards-container {
    width: 100%;
    padding: 20px 10px;
    box-sizing: border-box;
    background-color: #f0ecec;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .h1-myCv {
    font-size: 24px;
    text-align: center;
    width: 100%;
  }
  .header-container,
  .header-container1 {
    width: 90%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .cv-button {
    width: 100%;
    text-align: center;
    margin: 13px 0;
  }
  .card-job {
    width: 90%;
    padding: 15px 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .card-job span {
    display: block;
    width: 100%;
    text-align: left;
  }
  .card-job span::before {
  width: 10px;
}
  .card-job a {
    display: block;
    padding-left: 0;
    word-break: break-word;
  }
  .card-job span[hide-before] {
    font-size: 20px !important;
  }
  .card-job a[hide-before] {
    font-size: 20px !important;
  }
}
