@import url("https://fonts.googleapis.com/css2?family=Zen+Dots&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: black;
  color: white;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

h1,
h2,
.aboutName,
.navigation li {
  font-family: "Zen Dots", sans-serif, sans-serif;
}

h1 {
  font-size: 24px;
  padding-top: 18px;
  padding-bottom: 12px;
}

img {
  max-width: 900px;
}

a {
  color: white;
}

.soundcloudWrapper {
  background-color: #000;
  padding: 16px;
  border-radius: 12px;
  max-width: 100%;
}

/* .soundcloudWrapper {
  background: linear-gradient(180deg, #0a0a0a, #000);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
} */

/* .soundcloudEmbed {
  width: 100%;
  height: 166px;
  border: none;
  display: block;
  border-radius: 8px;
} */

/*Debug*/
/* * {
  outline: 1px solid rgba(255, 255, 255, 0.15);
} */

/* .mainContent img {
  max-width: 20px;
} */
/*Debug*/

/*Main Outline*/
body {
  display: grid;
  grid-template-areas:
    "navigation"
    "mainContainer"
    "footer";
}

.navigation,
.mainContainer,
.footer {
  max-width: 1920px;
  padding: 12px;
}

.navigation {
  grid-area: navigation;
}

.mainContainer {
  grid-area: mainContainer;
  display: grid;
  justify-items: center;
  grid-template-areas:
    "header"
    "mainContent";

  gap: 12px;
}
.aboutHeader {
  grid-area: header;
  justify-content: center;
}
.mainContent {
  grid-area: mainContent;
}
.footer {
  grid-area: footer;
  justify-self: center;
}

/*Icons*/
.icon {
  fill: white;
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: transform 150ms ease, color 150ms ease, opacity 150ms ease;
}
.icon:hover {
  transform: translateY(-1px);
  fill: red;
}

/*Navigation*/
.navigation {
  position: fixed;
  z-index: 99;
  background-color: black;
  border-radius: 12px;
  font-size: 20px;
}

.menuIcon {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}
.navList {
  display: flex;
  gap: 24px;
  list-style-type: none;
  flex-wrap: wrap;
}

/*MainContent*/
.mainContainer {
  margin-top: 32px;
}
.aboutHeader {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.aboutPictureContainer {
  position: relative;
  max-width: 640px;
}

.aboutPicture {
  display: block; /* verhindert kleine baseline-gaps */
  width: 100%;
  height: auto;
}

.aboutName {
  position: absolute;
  right: 16px;
  bottom: 8px;
  text-align: right;

  font-size: 48px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
}

.aboutTextContainer {
  display: flex;
  flex-direction: column;
  gap: 16px;

  max-width: 640px;
  padding: 12px 24px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 2px 10px rgba(0, 0, 0, 0.25);
}

.aboutIcons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.projectsContainer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 600px));
  gap: 24px;
  /* justify-items: center; */
}
.project {
  border: 1px solid red;
}
.mainImgContainer {
  max-width: 400px;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.mainImgContainer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/*Footer*/
.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer h1 {
  text-align: center;
}

.footerIcons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 480px) {
  .menuIcon {
    display: block;
  }

  .navList {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: black;
    flex-direction: column;
    /* gap: 16px; */
    padding: 16px;
    display: none;
  }

  .navList.open {
    display: flex;
  }

  .aboutName {
    width: 150px;
    font-size: 36px;
  }
  .aboutTextContainer h1 {
    text-align: center;
  }
  .aboutIcons {
    justify-content: center;
  }
  .projectsContainer {
    grid-template-columns: 1fr;
  }
}
