/* ╭────────────────────────────────────────────────────────────────────────────────╮
   │                              Inhaltsverzeichnis                                │
   ╰────────────────────────────────────────────────────────────────────────────────╯ 

  Tips für CSS: https: //chatgpt.com/share/674c909e-34a8-8008-8726-a0eccc709faa

  Allgemeine Elemente
  Startseite
    Importance Hub
  Text
  Mobile Optimierung

*/

@import url("variables.css");

/* ╭────────────────────────────────────────────────────────────────────────────────╮
   │                                   Allgemein                                    │
   ╰────────────────────────────────────────────────────────────────────────────────╯ */

.page {
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
}

.start-container /* Mit Platz für die Navbar */ {
  height: calc(100vh - 70px);
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}
  
/* ╭────────────────────────────────────────────────────────────────────────────────╮
   │                                  Startseite                                    │
   ╰────────────────────────────────────────────────────────────────────────────────╯ */

.welcome-box {
  display: flex;
  justify-content: left;
  align-items: top;
  margin-right: 20%;
  height: 60%;
  min-height: 300px;
  width: 50%;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  outline: solid white 1px;
}
.welcome-box > div {
  padding: 20px;
  padding-left: 20px;
}

/* ╭────────────────────────────────────────────────────────────────────────────────╮
   │                                  Portfolio                                     │
   ╰────────────────────────────────────────────────────────────────────────────────╯ */

.portfolio {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 50px;
}

.portfolio li {
  display: flex;
  aspect-ratio: 3 / 5;
  min-width: 20%;
  max-width: 25%;
}

.portfolio a {
  width: 100%;
}

.portfolio-item {
  display: flex;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: flex-end;
  box-shadow: 0 0 0 2px rgb(202, 202, 202);
  border-radius: 10px;
  transition: transform 0.15s ease, box-shadow 0.3s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.portfolio-item:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 3px var(--accent-color);
}

.portfolio-title {
  text-align: center;
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 35px;
  text-transform: uppercase;
  word-wrap: break-word;
  letter-spacing: 1px;
  color: var(--text-color-light);
  margin-top: 0;
  margin-bottom: 0;
}

/* ╭────────────────────────────────────────────────────────────────────────────────╮
   │                                     Text                                       │
   ╰────────────────────────────────────────────────────────────────────────────────╯ */

h1 {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 60px;
  letter-spacing: -1px;
  color: var(--text-color-light);
  margin-top: 0;
}

p {
  font-family: var(--text-font);
  color: var(--text-color-light);
}

a {
  text-decoration: none;
}

/* ╭────────────────────────────────────────────────────────────────────────────────╮
   │                              Mobile-Optimierung                                │
   ╰────────────────────────────────────────────────────────────────────────────────╯ */

/* Für Geräte mit Screen Ration unter 1/1, vor allem Handys */
@media only screen and (max-aspect-ratio: 1/1) {
  .welcome-box {
    width: 95%;
    margin: auto;
    align-items: stretch;
  }

  h1 {
    word-wrap: break-word
  }
}