/*================ ABOUT ME - SECTION ================*/

.about-me-section {
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  background-color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.about-me-overlay-text {
  font-size: 4vw;
  color: var(--background-color);
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
}

.about-me-container {
  background-color: transparent;
  width: 1200px;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  z-index: 10;
}

.about-me-left-section {
  flex: 0.8;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  box-shadow: -5px 5px 8px rgba(0, 0, 0, 0.4);
}

.about-me-upper-left-section {
  width: calc(100% - 2rem);
  height: 90%;
  background-color: var(--primary-color);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1rem;
}

.about-me-lower-left-section {
  background-color: white;
  width: 100%;
  height: 10%;
  min-height: 3rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.about-me-picture {
  height: 300px;
  border: 1px solid rgba(30, 30, 30, 0.7);
  border-radius: 30px 30px 150px 150px;
  object-fit: contain;
}

.about-me-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-me-first-name,
.about-me-last-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.about-me-spacing-line {
  width: 30%;
  border: 1px solid black;
}

.about-me-job-description {
  font-size: 1.5rem;
  font-weight: 500;
}

.about-me-linkedin-image {
  height: 25px;
}

.about-me-github-image {
  height: 20px;
}

.about-me-right-section {
  background-color: transparent;
  flex: 1.2;
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 1rem;
  padding: 2rem 1rem 1rem 2rem;
}

.about-me-greeting {
  font-size: 5rem;
  font-weight: 700;
}

.about-me-who-what {
  font-size: 2rem;
  font-weight: 500;
}

.about-me-buttons {
  display: flex;
  justify-content: left;
  align-items: center;
}

.about-me-cv-button,
.about-me-project-button {
  font-weight: 500;
  background-color: var(--primary-color);
  color: white;
  padding: 6px 24px;
  border: 1px solid var(--primary-color);
  border-radius: 20px;
  cursor: pointer;
  margin: 0 0.25em;
  transition: background-color 0.15s, color 0.15s, opacity 0.15s;
}

.about-me-cv-button a,
.about-me-project-button a {
  color: white;
}

.about-me-cv-button:hover,
.about-me-project-button:hover {
  background-color: var(--secondary-color);
  border: 1px solid var(--primary-color);
}

.about-me-cv-button:hover a,
.about-me-project-button:hover a {
  color: var(--primary-color);
}

.about-me-cv-button:active,
.about-me-project-button:active {
  opacity: 0.7;
}

.about-me-text {
  font-size: 1.5rem;
  overflow-y: auto;
}

@media (max-width: 480px) {
  .about-me-greeting {
    font-size: 2.5rem;
  }

  .about-me-who-what {
    font-size: 1.25rem;
  }

  .about-me-text {
    font-size: 1rem;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .about-me-greeting {
    font-size: 3rem;
  }

  .about-me-who-what {
    font-size: 1.5rem;
  }

  .about-me-text {
    font-size: 1.35rem;
  }
}

@media (max-width: 1024px) {
  .about-me-section {
    min-height: none;
  }

  .about-me-overlay-text {
    display: none;
  }

  .about-me-container {
    height: 100%;
    width: 100%;
    max-width: none;
    max-height: none;
    flex-direction: column;
  }

  .about-me-left-section,
  .about-me-right-section {
    flex: 1;
  }

  .about-me-right-section {
    background-color: white;
    box-shadow: -5px 5px 8px rgba(0, 0, 0, 0.4);
  }

  .about-me-name {
    flex-direction: row;
  }

  .about-me-first-name,
  .about-me-last-name {
    margin: 0 3px;
  }

  .about-me-text {
    margin-bottom: 2rem;
  }
}

@media (min-width: 1280px) {
  .about-me-greeting {
    font-size: 4rem;
  }

  .about-me-who-what {
    font-size: 1.75rem;
  }

  .about-me-text {
    font-size: 1.4rem;
  }
}

@media (min-width: 1921px) {
  .about-me-container {
    width: 70%;
    height: 70%;
  }

  .about-me-upper-left-section {
    gap: 30px;
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .about-me-lower-left-section {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .about-me-picture {
    height: 350px;
    border-radius: 35px 35px 175px 175px;
  }

  .about-me-first-name,
  .about-me-last-name,
  .about-me-job-description {
    font-size: 1.5vw;
  }

  .about-me-linkedin-image {
    height: 30px;
  }

  .about-me-github-image {
    height: 25px;
  }

  .about-me-right-section {
    gap: 3rem;
  }

  .about-me-greeting {
    font-size: 4vw;
  }

  .about-me-who-what {
    font-size: 2vw;
  }

  .about-me-cv-button,
  .about-me-project-button {
    font-size: 1vw;
    padding: 0.4em 1.6em;
    border-radius: 2em;
  }

  .about-me-text {
    font-size: 1.175vw;
  }
}

@media (min-width: 2560px) {
  .about-me-section {
    min-height: calc(100vh - var(--header-height) * 1.5);
  }

  .about-me-upper-left-section {
    gap: 35px;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .about-me-lower-left-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .about-me-picture {
    height: 400px;
    border-radius: 40px 40px 200px 200px;
  }

  .about-me-linkedin-image {
    height: 35px;
  }

  .about-me-github-image {
    height: 30px;
  }
}

@media (min-width: 2880px) {
  .about-me-upper-left-section {
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .about-me-lower-left-section {
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .about-me-picture {
    height: 450px;
    border-radius: 45px 45px 225px 225px;
  }

  .about-me-linkedin-image {
    height: 40px;
  }

  .about-me-github-image {
    height: 35px;
  }
}

@media (min-width: 3840px) {
  .about-me-section {
    min-height: calc(100vh - var(--header-height) * 2);
  }

  .about-me-upper-left-section {
    gap: 50px;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .about-me-lower-left-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .about-me-picture {
    height: 600px;
    border-radius: 60px 60px 300px 300px;
  }

  .about-me-linkedin-image {
    height: 55px;
  }

  .about-me-github-image {
    height: 50px;
  }
}
