html {
  --color-grey-000: rgb(247, 242, 242);
  --color-grey-200: rgb(228, 228, 228);
  --color-grey-400: rgb(172, 172, 172);
  --color-grey-600: rgb(121, 121, 121);
  --color-grey-800: rgb(51, 51, 51);
  --color-grey-1000: rgb(20, 20, 20);

  --background-gradient: linear-gradient(
    180deg,
    var(--color-grey-200),
    var(--color-grey-400)
  );

  font-family: "Roboto", sans-serif;
}

body {
  margin: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background-color: var(--color-grey-200);
}

header a {
  color: var(--color-grey-1000);
  text-decoration: none;
}

header nav a {
  font-size: 1.2rem;
}

header ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

header li {
  margin-right: 1.5rem;
  transition: text-shadow 0.3s ease-out;
}

header li:hover {
  text-shadow: 1px 1px 3px var(--color-grey-600);
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2.5rem;
  height: 2rem;
}

.menu-btn span {
  width: 100%;
  height: 4px;
  background-color: var(--color-grey-1000);
}

#side-drawer {
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--color-grey-400);
  height: 100%;
  width: 100%;
  display: none;
}

#side-drawer:target {
  display: block;
}

#side-drawer header {
  background-color: var(--color-grey-200);
}

#side-drawer ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 4rem;
  align-items: center;
  margin: 0;
}

#side-drawer li {
  font-size: 1.5rem;
  margin: 1rem;
}

#side-drawer nav a {
  text-decoration: none;
  color: white;
}

footer {
  background: linear-gradient(
    270deg,
    var(--color-grey-600),
    var(--color-grey-800)
  );
  padding: 2.5rem;
  color: aliceblue;
  font-size: 0.8rem;
  text-align: center;
}

#hero {
  height: 40rem;
  background-color: var(--color-grey-000);
}

#hero-content {
  width: 100%;
  height: 25%;
  position: relative;
  top: 40%;
}

#hero-content img {
  display: block;
  height: 100%;
  margin: auto;
  filter: drop-shadow(2px 2px 10px rgb(0, 0, 0));
}

h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
  text-align: center;
}

h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5rem;
  margin: 2rem;
  text-shadow: 2px 2px 3px var(--color-grey-600);
}

h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
}

h4 {
  font-size: 1rem;
}

#bio {
  background: var(--background-gradient);
  padding: 6rem 0 11rem 0;
}

.bio-wrapper {
  width: 70%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 3fr;
}

.photo-bio img {
  width: 18rem;
  display: block;
  margin: auto;
  box-shadow: 5px 5px 10px var(--color-grey-1000);
}

.text-bio {
  margin: 0 0 0 1.5rem;
  padding: 0 0 0 1.5rem;
}

#bio p {
  text-align: justify;
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
}

#bio p:last-of-type {
  margin: 0;
}

#photos {
  background: var(--background-gradient);
  padding: 6rem 0 11rem 0;
  margin: 0;
}

.desc-morfo {
  width: 70%;
  line-height: 1.5;
  text-align: justify;
  margin: 5rem auto;
}

#photos ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 70%;
  margin: auto;
  padding: 0;
  list-style: none;
}

#photos li {
  background-color: var(--color-grey-200);
}

#photos img {
  height: 15rem;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

#photos img:hover {
  transform: scale(1.2);
}

#expos ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  justify-content: space-between;
  width: 60%;
  margin: auto;
  padding: 0;
  list-style: none;
}

#expos img {
  height: 10rem;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

.photo-desc {
  text-align: center;
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-grey-800);
}

#contact {
  background: var(--background-gradient);
  padding: 6rem 0 11rem 0;
}

#contact p {
  text-align: center;
}

@media (max-width: 48rem) {
  #main-header nav {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .bio-wrapper {
    width: 80%;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 5rem;
  }

  .text-bio {
    margin: 0;
    padding: 0;
  }

  #photos ul {
    grid-template-columns: 1fr;
    width: 80%;
  }
}
