
* {
  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/wp11338754.webp");

  background-size: cover;
  background-position: center;
  

  min-height: 100vh;
}


main {
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
}

footer {
  text-align: center;
  padding: 1rem;
  position: relative;
  bottom: 800px;
}

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;
}


nav ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;

  display: flex;
  justify-content: center;
  gap: 2rem;
}


.nav-button {
  position: relative;
  display: inline-block;

  padding: 1.2rem 2.8rem;
  padding-right: 3.6rem;
  border-radius: 14px;

  background-color: #444;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;

  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.4);
  transition: background-color 0.2s ease, transform 0.1s ease;
}


.nav-button.exercises {
  background-color: #555;
}

.nav-button.projects {
  background-color: #7b2e2e;
}

.nav-button.sites {
  background-color: #6f7f2e;
}


.nav-button:hover {
  background-color: #666;
}

.nav-button:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}


.nav-icon {
  position: relative;
  bottom: 64px;
  right: 65px;
  margin-top: 40;

  width: 77px;
  height: auto;

  transform: rotate(15deg);
}

.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;
}


@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }
}
