* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #eee;

  
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url(../img/Decoration/wp11338754.webp);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  

  min-height: 100vh;
}


main {
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
}

footer {
  text-align: center;
  padding: 1rem;
  position: relative;
  bottom: 750px;
}

body {
  font-family: "Cinzel", serif;
  color: #598AE5;
}

header h1 {
  margin-bottom: 0.5rem;
}

header p {
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.85;
}

.main-nav {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 6rem;
  justify-content: center;
  margin: 3rem 0;
}

.nav-item {
  display: grid;
  grid-auto-flow: auto 1fr;
  align-items: center;
  gap: 0.70rem;
  text-decoration: none;
  color: white;
}

.nav-item {
  display: grid;
  grid-template-columns: auto 9fr;
  align-items: center;
  text-align: none;
  color: white;
}

.nav-item span {
  padding: 1.2rem 2.8rem;
  border-radius: 14px;
  font-size: 1.1rem;
  box-shadow: rgba(0, 0, 0, 0.4);
}

.nav-item.exercises span {
  background: #bfb7ad;
}

.nav-item.projects span {
  background: #d45b4a;
}

.nav-item.sites span {
  background: #8fa93b;
}

.nav-item.sites .nav-icon {
  right: -175px;
}


.nav-button:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}


.nav-icon {
  right: -195px;
  top: 50%;
  transform: translateY(-50%) rotate(15deg);
  width: 72px;
  height: 72px;
  position: relative;
  object-fit: contain;
}

.nav-button:hover .nav-icon {
  transform: rotate(25deg) scale(1.05);
}


main p {
  margin-top: 2rem;
  font-style: italic;
  opacity: 0.8;
}


footer {
  margin-top: 4rem;
  font-size: 0.9rem;
  opacity: 0.6;
}

.examples a {
  color: #7fa6ff;
  text-decoration: none;
  font-weight: bold;
  margin: 0 0.5rem;
  transition: 0.2 ease;
}

.examples a:hover {
  color: #ffffff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}
