/*================ CV - SECTION ================*/

.cv-section {
  width: 100%;
  background-color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.cv-overlay-text {
  font-size: 4vw;
  color: var(--background-color);
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
}

.cv-container {
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.cv-main-heading-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 7.15rem 0;
}

.cv-main-heading-box {
  background-color: var(--primary-color);
  width: 20px;
  height: 20px;
  margin-right: 1rem;
}

.cv-main-heading {
  font-size: 2.5rem;
  font-weight: 700;
}

.cv-button-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.85rem;
}

.cv-sub-heading-row {
  width: 100%;
  display: flex;
  justify-content: left;
  align-items: center;
  margin: 2.85rem 0;
}

.cv-sub-heading {
  font-size: 1.7rem;
  font-weight: 700;
}

.cv-download-button {
  font-size: 1rem;
  font-weight: 500;
  background-color: var(--primary-color);
  color: white;
  padding: 8px 16px;
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, opacity 0.15s;
}

.cv-download {
  text-decoration: none;
}

.cv-download-button:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.cv-download-button:active {
  opacity: 0.7;
}

.cv-content-box {
  background-color: white;
  width: calc(100% - 7.2rem);
  padding: 5rem 3.6rem;
  display: flex;
  align-items: left;
  box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.4);
  margin: 1.5rem 0;
}

.cv-box-left-section {
  flex: 0.8;
  display: flex;
  flex-direction: column;
}

.cv-box-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cv-box-timespan {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.cv-box-position {
  font-size: 1rem;
  font-weight: 500;
}

.cv-box-chips {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

.cv-chip {
  font-size: 1rem;
  background-color: var(--primary-color);
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 20px;
  display: inline-block;
}

.cv-spacing-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cv-spacing-line-horizontal {
  width: 70%;
  border: 1px solid var(--primary-color);
  margin: 2rem 0;
}

.cv-spacing-line-vertical {
  height: 70%;
  border: 1px solid var(--primary-color);
  margin: 0 2rem;
}

.cv-box-right-section {
  flex: 1.2;
  overflow-y: auto;
}

.cv-link-other-activities,
.cv-link-projects {
  background-color: transparent;
  color: var(--secondary-color);
  border: none;
  cursor: pointer;
}

.cv-link-other-activities a,
.cv-link-projects a {
  color: var(--secondary-color);
}

.cv-link-other-activities:hover,
.cv-link-projects:hover {
  color: var(--primary-color);
}

.cv-link-other-activities:active,
.cv-link-projects:active {
  opacity: 0.7;
}

.cv-final-grade {
  font-weight: 500;
}

.cv-additional-container {
  background-color: white;
  width: calc(100% - 7.2rem);
  padding: 5rem 3.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  gap: 2rem;
  box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.4);
  margin: 4.3rem 0;
}

.cv-additional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.cv-additional-heading {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 2.15rem;
}

.cv-additional-box {
  background-color: var(--primary-color);
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-right: 2px;
}

.cv-additional-text {
  font-size: 1rem;
  display: inline;
}

@media (max-width: 1024px) {
  .cv-overlay-text {
    display: none;
  }

  .cv-container {
    width: 90%;
  }

  .cv-button-row {
    justify-content: space-around;
  }

  .cv-sub-heading-row {
    justify-content: center;
  }

  .cv-content-box {
    width: calc(100% - 100px);
    max-width: none;
    flex-direction: column;
  }

  .cv-box-info {
    align-items: center;
  }

  .cv-spacing-line-vertical {
    width: 70%;
    margin: 2rem 0;
  }

  .cv-additional-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1280px) {
  .cv-main-heading {
    font-size: 3rem;
  }

  .cv-sub-heading {
    font-size: 2.5rem;
  }

  .cv-box-timespan {
    font-size: 1.75rem;
  }

  .cv-box-position {
    font-size: 1.5rem;
  }

  .cv-box-company,
  .cv-box-location {
    font-size: 1.2rem;
  }

  .cv-box-text,
  .cv-link-other-activities a,
  .cv-link-projects a {
    font-size: 1.2rem;
  }

  .cv-additional-text {
    font-size: 1.2rem;
  }
}

@media (min-width: 1921px) {
  .cv-main-heading-box {
    width: 25px;
    height: 25px;
  }

  .cv-main-heading {
    font-size: 3vw;
  }

  .cv-download-button {
    font-size: 0.8vw;
  }

  .cv-sub-heading {
    font-size: 2vw;
  }

  .cv-box-timespan {
    font-size: 1.5vw;
  }

  .cv-box-position {
    font-size: 1.2vw;
  }

  .cv-box-company,
  .cv-box-location {
    font-size: 1vw;
  }

  .cv-chip {
    font-size: 1vw;
    padding: 9px 18px;
    border-radius: 30px;
  }

  .cv-box-text,
  .cv-link-other-activities a,
  .cv-link-projects a {
    font-size: 1vw;
  }

  .cv-additional-container {
    width: calc(100% - 14.4rem);
    padding: 10rem 7.2rem;
    margin: 8.5rem;
  }

  .cv-additional-heading {
    font-size: 2vw;
  }

  .cv-additional-box {
    width: 15px;
    height: 15px;
    margin-right: 4px;
  }

  .cv-additional-text {
    font-size: 1vw;
  }
}

@media (min-width: 2560px) {
  .cv-content-box {
    width: calc(100% - 10.8rem);
    padding: 7.5rem 5.4rem;
    margin: 2rem 0;
  }

  .cv-main-heading-box {
    width: 30px;
    height: 30px;
  }

  .cv-download-button {
    padding: 12px 24px;
    border-radius: 24px;
  }

  .cv-box-info {
    gap: 1.2rem;
  }

  .cv-box-chips {
    gap: 0.6rem;
    padding: 9px 18px;
    border-radius: 30px;
  }

  .cv-spacing-line-horizontal {
    margin: 3rem 0;
  }

  .cv-spacing-line-vertical {
    margin: 0 3rem;
  }

  .cv-additional-container {
    width: calc(100% - 10.8rem);
    gap: 3rem;
    padding: 7.5rem 5.4rem;
    margin: 2rem 0;
  }

  .cv-additional-heading {
    margin-bottom: 3.225rem;
  }

  .cv-additional-grid {
    gap: 2rem;
  }

  .cv-additional-box {
    width: 15px;
    height: 15px;
  }
}

@media (min-width: 2880px) {
  .cv-main-heading-box {
    width: 35px;
    height: 35px;
  }
}

@media (min-width: 3840px) {
  .cv-content-box {
    width: calc(100% - 14.4rem);
    padding: 10rem 7.2rem;
    margin: 3rem 0;
  }

  .cv-main-heading-box {
    width: 40px;
    height: 40px;
  }

  .cv-download-button {
    padding: 16px 32px;
    border-radius: 32px;
  }

  .cv-box-info {
    gap: 1.6rem;
  }

  .cv-box-chips {
    gap: 0.8rem;
  }

  .cv-spacing-line-horizontal {
    margin: 4rem 0;
  }

  .cv-spacing-line-vertical {
    margin: 0 4rem;
  }

  .cv-chip {
    font-size: 1vw;
    padding: 12px 24px;
    border-radius: 40px;
  }

  .cv-additional-container {
    width: calc(100% - 14.4rem);
    gap: 4rem;
    padding: 10rem 7.2rem;
    margin: 3rem 0;
  }

  .cv-additional-heading {
    margin-bottom: 4.3rem;
  }

  .cv-additional-grid {
    gap: 3rem;
  }

  .cv-additional-box {
    width: 20px;
    height: 20px;
  }
}
