@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.column {
  box-sizing: border-box;
  padding: 10px;
}

.container {
  display: flex;
  flex-wrap: wrap;
}

body {
  font-family: "roboto", sans-serif;
  background-color: #1a1a1a;
  background-image: url("images/biomechanical-texture-small.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  color: #d0d0d0;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

.universal-title {
  font-family: "Orbitron", sans-serif;
  font-size: 3em;
  color: #f8c230;
  text-align: center;
  margin-bottom: 20px;
  background-image: url("images/biomechanical-texture-small.jpg");
  background-size: cover;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.9);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

ul {
  list-style-type: none;
}

header {
  background-image: url("images/biomechanical-texture-large.jpg");
  background-size: cover;
  background-position: center;
  padding: 20px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.9);
  z-index: 1000;
}

.header-container {
  width: 80%;
  display: flex;
  justify-content: space-between;
}

nav ul {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  padding: 15px;
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  border-radius: 5px;
}

nav a:hover {
  background-color: #2a2a2a;
  color: #ddd;
}

#home {
  background-image: url("images/biomechanical-texture-small.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f8c230;
}

.intro {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  width: 70%;
  margin: 0 auto;
}

.tagline {
  font-weight: 400;
  font-size: 1.5em;
  margin: 15px 0;
  line-height: 1.4;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.cta-button {
  padding: 10px 20px;
  background-color: rgba(248, 194, 48, 0.2);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #f8c230;
  border-radius: 7px;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    transform 0.3s;
}

.cta-button:hover {
  background-color: rgba(248, 194, 48, 0.3);
  border-color: #f8c230;
  transform: scale(1.05);
}

#artwork {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 50px 0;
  background-color: #1a1a1a;
}

.artwork-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.cube-container {
  width: 220px;
  height: 220px;
  position: relative;
  perspective: 1500px;
  margin: 100px auto;
  z-index: 10;
  cursor: pointer;
}

.cube {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transform: rotateX(0deg) rotateY(0deg);
  animation: rotateCube 20s infinite linear;
}

.cube > div {
  width: 200px;
  height: 200px;
  position: absolute;
  background: rgba(0, 0, 0, 0.9);
  border: 2px solid #383837;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.front {
  transform: rotateY(0deg) translateZ(100px);
}
.back {
  transform: rotateY(180deg) translateZ(100px);
}
.left {
  transform: rotateY(-90deg) translateZ(100px);
}
.right {
  transform: rotateY(90deg) translateZ(100px);
}
.top {
  transform: rotateX(90deg) translateZ(100px);
}
.bottom {
  transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotateCube {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

.artwork {
  flex-basis: calc(33.33% - 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #000;
  padding: 15px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.artwork img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 5px;
}

.artwork h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.artwork p {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 0 10px;
  text-align: center;
  color: #ccc;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.artwork:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
}

@media screen and (max-width: 768px) {
  .artwork {
    flex-basis: 100%;
  }
}

#about {
  max-width: 1000px;
  margin: 60px auto;
  padding: 50px;
  background-color: #222;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  text-align: center;
}

@media (max-width: 1024px) {
  .about-row {
    flex-direction: column;
  }

  .about-img {
    margin-bottom: 25px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 15px;
  }

  .about-row {
    padding: 15px;
  }

  .about-img {
    height: 220px;
  }
}

#giger-face-link {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: none;
  line-height: 0;
}

#giger-face {
  width: 260px;
  margin: 20px auto;
  border-radius: 50%;
  border: 5px solid #f8c230;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9);
}

.about-section {
  max-width: 820px;
  margin: 15px auto;
  padding: 25px;
  background-color: #393737;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.about-row {
  display: flex;
  align-items: center;
  margin: 15px 0;
  padding: 25px;
  background-color: #352f2f;
  position: relative;
  border-radius: 5px;
}

.about-row:nth-child(odd) {
  background-color: #2e2b2b;
}

.about-img {
  margin-right: 25px;
  width: 220px;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.4s;
}

.about-img:hover {
  transform: scale(1.08);
}

.about-img::after {
  content: attr(alt);
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 200px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  text-align: center;
  padding: 5px;
  border-radius: 0 0 5px 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-img:hover::after {
  opacity: 1;
}

h2,
h3 {
  font-weight: 700;
  text-align: center;
  color: #f8c230;
}

h2 {
  font-size: 2em;
  margin-bottom: 1.8rem;
  border-bottom: 3px solid #f8c230;
  padding-bottom: 12px;
}

h3 {
  font-size: 1.6em;
  margin-bottom: 1.2rem;
}

p {
  max-width: 820px;
  margin: 0 auto 25px auto;
  color: #ccc;
}

#about > section {
  text-align: left;
  padding: 20px 30px;
  margin-bottom: 30px;
  border-radius: 5px;
  border: 1px solid #555;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.facts-about-giger {
  background: linear-gradient(135deg, #1b1b1b 0%, #2a2a2a 100%);
  background-size: cover;
  border-radius: 10px;
  padding: 40px;
  box-shadow:
    0px 10px 20px rgba(0, 0, 0, 0.6),
    inset 0px 0px 15px rgba(0, 0, 0, 0.5);
}
.facts-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

@media (min-width: 600px) and (max-width: 767px) {
  .facts-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .facts-container {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .facts-container {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.facts-column {
  list-style-type: none;
  padding-left: 0;
}

.facts-about-giger h2 {
  font-size: 2.2em;
  color: #f8c230;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 3px solid #f8c230;
  padding-bottom: 25px;
  border-bottom: none;
}

.facts-about-giger ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.facts-about-giger li {
  padding: 15px;
  background: rgba(40, 40, 40, 0.9);
  border-radius: 7px;
  border-left: 3px solid #f8c230;
  transition:
    background 0.3s,
    border 0.3s;
}

.facts-about-giger li:hover {
  background: rgba(50, 50, 50, 1);
  border-left: 3px solid #fff;
}

.facts-about-giger a {
  color: #f8c230;
  text-decoration: none;
  transition: color 0.3s;
}

.facts-about-giger a:hover {
  color: #fff;
}

#giger-media {
  background-color: #1e1e1e;
  padding: 50px 0;
  text-align: center;
}

#giger-media h2 {
  font-size: 3em;
  margin-bottom: 50px;
  color: #f8c230;
}

.media-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 50px;
  max-width: 1200px; /* restricts the maximum width for better presentation */
  margin: 0 auto; /* centers the flex container */
}

.media-item {
  width: 300px; /* width of each media item */
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.media-item img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.media-item span {
  font-size: 1.5em;
  color: #aaa;
}

.media-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}
