/* Alle gemeinsame Regeln sind in common.css umgezogen */

/* Begrüssung Abschnitt */

.greeting-section {
  margin: 1.8vw 0 1.8vw;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.greeting-left-section {
  display: flex;
  flex-direction: column;
  gap: 7vw;
  max-width: 650px;
}

.greeting-main-text {
  font-size: 3.125rem;
}

.greeting-text {
  font-size: 1.625rem;
}

.greeting-button {
  max-width: 230px;
  flex-shrink: 0;
}

.greeting-photo {
  display: flex;
  width: 35%;
  height: auto;
  align-self: flex-start;
  margin-top: 6vw;
}

.greeting-mobile-photo {
  display: none;
}

/* Projekte Abschnitt */

.project-section-title {
  margin-left: 1.8vw;
}

/* Avion */

.project-avion-section {
  display: flex;
  justify-content: space-evenly;
  margin: 1.8vw 0px 1.8vw;
  gap: 23.6vw;
  top: 0;
  background-color: #fff;
}

.project-avion-title {
  margin-top: 1.8vw;
}

.project-avion-text {
  max-width: 700px;
  max-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-avion-photo {
  width: 35%;
  height: auto;
  align-self: flex-start;
}

.project-avion-mobile-photo {
  display: none;
}

.project-avion-paragraph {
  font-size: 1.625rem;
}

.project-avion-redirects {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

/* Brex */

.project-brex-section {
  display: flex;
  justify-content: space-evenly;
  margin: 1.8vw 0px 1.8vw;
  gap: 23.6vw;
}

.project-brex-title {
  margin-top: 1.8vw;
}

.project-brex-text {
  max-width: 700px;
  max-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-brex-photo {
  width: 35%;
  height: auto;
  align-self: flex-start;
}

.project-brex-mobile-photo {
  display: none;
}

.project-brex-paragraph {
  font-size: 1.625rem;
}

.project-brex-redirects {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

/* CodeWars */

.project-codewars-section {
  display: flex;
  justify-content: space-evenly;
  margin: 1.8vw 0px 1.8vw;
  gap: 23.6vw;
}

.project-codewars-title {
  margin-top: 1.8vw;
}

.project-codewars-text {
  max-width: 700px;
  max-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-codewars-photo {
  width: 35%;
  height: auto;
  align-self: flex-start;
}

.project-codewars-mobile-photo {
  display: none;
}

.project-codewars-paragraph {
  font-size: 1.625rem;
}

.project-codewars-redirects {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

/* NexCC */

.project-nexcc-section {
  display: flex;
  justify-content: space-evenly;
  margin: 1.8vw 0px 1.8vw;
  gap: 23.6vw;
}

.project-nexcc-title {
  margin-top: 1.8vw;
}

.project-nexcc-text {
  max-width: 700px;
  max-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-nexcc-photo {
  width: 35%;
  height: auto;
  align-self: flex-start;
}

.project-nexcc-mobile-photo {
  display: none;
}

.project-nexcc-paragraph {
  font-size: 1.625rem;
}

.project-nexcc-redirects {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

/* Background Abschnitt */

.background-title {
  margin-left: 1.8vw;
}

.background-section {
  margin: 1.8vw 0 1.8vw;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.background-left-section {
  display: flex;
  flex-direction: column;
  gap: 3.4vw;
}

.background-paragraph {
  max-width: 700px;
  font-size: 1.625rem;
}

.background-link-with-arrow {
  display: flex;
}

.background-link {
  max-width: 165px;
}

/* Informationen Abschnitt */

.info-section div {
  display: flex;
  gap: 3.125rem;
}

.info-section p {
  font-size: 1.625rem;
}

/* Skills Abschnitt */

.skills-section {
  margin: 1.8vw 0 1.8vw;
}

.skills-marquee {
  display: flex;
  overflow: clip;
}

.skills-list {
  flex-shrink: 0;
  padding: 0;
  display: flex;
  animation: skills-move-text 15s linear infinite;
}

@keyframes skills-move-text {
  to {
    transform: translate3d(-100%, 0, 0);
  }
}

.skills-list li {
  font-size: 24px;
  white-space: nowrap;
  margin-right: 6vw;
}

/* Responsivität für grosse bis mittlere Bildschirme (Monitore, sehr grosse Laptops etc.) */

@media (max-width: 2000px) {
  .greeting-main-text {
    font-size: 2.5rem;
  }

  .greeting-text {
    font-size: 1.25rem;
    max-width: 550px;
  }

  .project-avion-section {
    gap: 0px;
    justify-content: space-around;
  }

  .project-avion-paragraph {
    font-size: 1.25rem;
    max-width: 440px;
  }

  .project-avion-photo {
    width: 40%;
  }

  .project-brex-section {
    gap: 0px;
    justify-content: space-around;
  }

  .project-brex-paragraph {
    font-size: 1.25rem;
    max-width: 440px;
  }

  .project-brex-photo {
    width: 40%;
  }

  .project-codewars-section {
    gap: 0px;
    justify-content: space-around;
  }

  .project-codewars-paragraph {
    font-size: 1.25rem;
    max-width: 440px;
  }

  .project-codewars-photo {
    width: 40%;
  }

  .project-nexcc-section {
    gap: 0px;
    justify-content: space-around;
  }

  .project-nexcc-paragraph {
    font-size: 1.25rem;
    max-width: 440px;
  }

  .project-nexcc-photo {
    width: 40%;
  }

  .background-paragraph {
    font-size: 1.125rem;
  }

  .info-section p {
    font-size: 1.25rem;
  }

  .skills-list li {
    font-size: 1.125rem;
  }
}

/* Responsivität für mittlere Bildschirme (Laptops, grosse Tablets etc.) */

@media (max-width: 1200px) {
  .greeting-left-section {
    gap: 8vw;
  }

  .greeting-main-text {
    font-size: 32px;
    max-width: 500px;
  }

  .greeting-text {
    font-size: 1rem;
    max-width: 550px;
  }

  .project-avion-section {
    gap: 0px;
    justify-content: space-around;
  }

  .project-avion-paragraph {
    font-size: 1rem;
    max-width: 440px;
  }

  .project-avion-photo {
    width: 40%;
    padding-top: 25px;
  }

  .project-brex-section {
    gap: 0px;
    justify-content: space-around;
  }

  .project-brex-paragraph {
    font-size: 1rem;
    max-width: 440px;
  }

  .project-brex-photo {
    width: 40%;
    padding-top: 25px;
  }

  .project-codewars-section {
    gap: 0px;
    justify-content: space-around;
  }

  .project-codewars-paragraph {
    font-size: 1rem;
    max-width: 440px;
  }

  .project-codewars-photo {
    width: 40%;
    padding-top: 25px;
  }

  .project-nexcc-section {
    gap: 0px;
    justify-content: space-around;
  }

  .project-nexcc-paragraph {
    font-size: 1rem;
    max-width: 440px;
  }

  .project-nexcc-photo {
    width: 40%;
    padding-top: 25px;
  }

  .background-paragraph {
    font-size: 0.875rem;
    max-width: 500px;
  }

  .info-section p {
    font-size: 1rem;
    margin: 8px 0px;
  }

  .skills-list li {
    font-size: 0.75rem;
  }
}

/* Responsivität für mittlere Bildschirme (kleine Laptops, Tablets etc.), Columnansicht der Webseite beginnt hier */

@media screen and (max-width: 1000px) {
  /* Begrüssung Abschnitt */

  .greeting-section {
    flex-direction: column;
  }

  .greeting-section div {
    align-items: center;
  }

  .greeting-left-section {
    gap: 7vw;
    max-width: fit-content;
  }

  .greeting-main-text {
    font-size: 32px;
    max-width: 550px;
    text-align: justify;
  }

  .greeting-text {
    font-size: 1rem;
    max-width: 90%;
    text-align: justify;
  }

  .greeting-button {
    max-width: 150px;
  }

  .greeting-photo {
    display: none;
  }

  .greeting-mobile-photo {
    display: flex;
    width: 90%;
    height: auto;
  }

  /* Avion */

  .project-avion-section {
    gap: 0px;
    justify-content: space-around;
  }

  .project-avion-text {
    align-items: center;
    gap: 2vw;
    max-width: 939px;
    max-height: fit-content;
  }

  .project-avion-photo {
    display: none;
    width: 40%;
    padding-top: 25px;
  }

  .project-avion-mobile-photo {
    display: flex;
    width: 80%;
  }

  .project-avion-paragraph {
    font-size: 0.875rem;
    max-width: 75%;
    text-align: justify;
  }

  .project-avion-redirects {
    flex-direction: row;
    align-items: center;
    gap: 6vw;
  }

  /* Brex */

  .project-brex-section {
    gap: 0px;
    justify-content: space-around;
  }

  .project-brex-text {
    align-items: center;
    gap: 2vw;
    max-width: 939px;
    max-height: fit-content;
  }

  .project-brex-photo {
    display: none;
    width: 40%;
    padding-top: 25px;
  }

  .project-brex-mobile-photo {
    display: flex;
    width: 80%;
  }

  .project-brex-paragraph {
    font-size: 0.875rem;
    max-width: 75%;
    text-align: justify;
  }

  .project-brex-redirects {
    gap: 6vw;
  }

  /* CodeWars */

  .project-codewars-section {
    gap: 0px;
    justify-content: space-around;
  }

  .project-codewars-text {
    align-items: center;
    gap: 2vw;
    max-width: 939px;
    max-height: fit-content;
  }

  .project-codewars-photo {
    display: none;
    width: 40%;
    padding-top: 25px;
  }

  .project-codewars-mobile-photo {
    display: flex;
    width: 80%;
  }

  .project-codewars-paragraph {
    font-size: 0.875rem;
    max-width: 75%;
    text-align: justify;
  }

  .project-codewars-redirects {
    gap: 6vw;
  }

  /* NexCC */

  .project-nexcc-section {
    gap: 0px;
    justify-content: space-around;
  }

  .project-nexcc-text {
    align-items: center;
    gap: 2vw;
    max-width: 939px;
    max-height: fit-content;
  }

  .project-nexcc-photo {
    display: none;
    width: 40%;
    padding-top: 25px;
  }

  .project-nexcc-mobile-photo {
    display: flex;
    width: 80%;
  }

  .project-nexcc-paragraph {
    font-size: 0.875rem;
    max-width: 75%;
    text-align: justify;
  }

  .project-nexcc-redirects {
    gap: 6vw;
  }

  /* Background Abschnitt */

  .background-section {
    flex-direction: column;
    gap: 7vw;
  }

  .background-left-section {
    align-items: center;
    gap: 4vw;
  }

  .background-paragraph {
    font-size: 0.875rem;
    max-width: 500px;
  }

  .background-arrow {
    width: 10%;
    height: auto;
  }

  /* Informationen Abschnitt */

  .info-section div {
    justify-content: space-between;
    margin-left: 10vw;
    margin-right: 10vw;
  }

  .info-section p {
    font-size: 0.875rem;
    margin: 8px 0px;
  }

  /* Skills Abschnitt */

  .skills-section {
    margin-bottom: 20px;
  }

  .skills-list li {
    font-size: 0.75rem;
  }
}

/* Responsivität für ganz kleine Bildschirme (Handy, kleine Tablets etc.) */

@media screen and (max-width: 560px) {
  /* Begrüssung Abschnitt */

  .greeting-main-text {
    font-size: 6vw;
    /* max-width: 400px; */
    padding: 0px 20px;
  }

  .greeting-text {
    font-size: 3.5vw;
  }

  /* Projekte Abschnitt */

  .project-section-title {
    font-size: 6vw;
    margin-left: 20px;
  }

  /* Avion */

  .project-avion-title {
    font-size: 5.5vw;
    margin-top: 20px;
  }

  .project-avion-paragraph {
    font-size: 3.2vw;
  }

  /* Brex */

  .project-brex-title {
    font-size: 5.5vw;
    margin-top: 20px;
  }

  .project-brex-paragraph {
    font-size: 3.2vw;
  }

  /* Codewars */

  .project-codewars-title {
    font-size: 5.5vw;
    margin-top: 20px;
  }

  .project-codewars-paragraph {
    font-size: 3.2vw;
  }

  /* NexCC */

  .project-nexcc-title {
    font-size: 5.5vw;
    margin-top: 20px;
  }

  .project-nexcc-paragraph {
    font-size: 3.2vw;
  }

  .project-nexcc-redirects {
    margin-bottom: 4vw;
  }

  /* Background und Info Abschnitte */

  /* Background Abschnitt */

  .background-section {
    margin: 5vw auto;
  }

  .background-title {
    font-size: 6vw;
    margin: 0 auto 4.5vw auto;
    max-width: 90vw;
    text-align: center;
  }

  .background-paragraph {
    margin-top: 0%;
    font-size: 3.2vw;
    max-width: 90%;
    text-align: justify;
  }

  /* Info Abschnitt */

  .info-section div {
    margin-left: 5vw;
    margin-right: 5vw;
  }

  .info-section p {
    font-size: 3.35vw;
  }

  /* Skills Abschnitt */

  .skills-list li {
    font-size: 3vw;
  }
}
