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

html {
  --softOrange: hsl(35, 77%, 62%);
  --softRed: hsl(5, 85%, 63%);
  --offWhite: hsl(36, 100%, 99%);
  --grayishBlue: hsl(233, 8%, 79%);
  --darkGrayishBlue: hsl(236, 13%, 42%);
  --veryDarkBlue: hsl(240, 100%, 5%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
}

main {
  background-color: var(--offWhite);
  place-content: center;
}

.wrapper {
  width: 100%;
  margin: 20px auto;
  background-color: var(--white);
  padding: 0 10px;
}

nav {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
} 

nav ul {
  position: fixed;
  background: white;
  display: none;
  flex-direction: column;
  right: 0;
  height: 100vh;
  width: 100%;
  max-width: 250px;
  top: 0;
  justify-content: center;
  gap: 20px;
  padding-left: 20px;
}

.show {
  display: flex;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: var(--darkGrayishBlue);
  text-align: left;
}

nav ul li a:hover{
  color: var(--softOrange);
}
#close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.second {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.secondDiv img {
  object-fit: contain;
  width: 100%;
}

.desktopImg {
  display: none;
}

.titleDiv {
  font-weight: 700;
  font-size: 35px;
  color: var(--veryDarkBlue);
}

.titleDetails {
  font-size: 15px;
  color: var(--darkGrayishBlue);
}

.buttonDiv {
  padding: 8px;
  background-color: var(--softRed);
  color: white;
  outline: white;
  margin-top: 10px;
  font-size: 8px;
  width: 20%;
  border: none;
}

.buttonDiv:hover{
  background-color: var(--veryDarkBlue);
}

.parent {
  padding: 15px;
  border: 1px solid black;
  background-color: var(--veryDarkBlue);
  color: white;
}

.parent h2 {
  color: var(--softOrange);
  margin-bottom: 20px;
}

.category h3 {
  font-size: 14px;
  margin-bottom: 10px;
  margin-top: 20px;
}

.category h3:hover{
color: var(--softOrange);
}

.category p {
  font-size: 10px;
  margin-bottom: 25px;
  color: var(--grayishBlue);
}

.bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 20px;
  gap: 20px;
}

.desc {
  display: flex;
  /* align-items: center; */
  justify-content: space-between;
  gap: 10px;
}

.desc img {
  width: 100%;
  object-fit: cover;
  /* margin-bottom: 15px; */
  aspect-ratio: 0.95;
}

.retroWriteUp {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

.retroWriteUp h3 {
  color: var(--grayishBlue);
}

.retroWriteUp h4:hover{
  color: var(--softRed);
}

.retroWriteUp p {
  color: var(--grayishBlue);
  font-size: 15px;
}

@media screen and (min-width: 768px) {
  .bottom {
    flex-direction: row;
    .desc img {
      width: 100%;
      aspect-ratio: 1;
    }
  }
}

@media screen and (min-width: 1024px) {
  .wrapper {
    width: 80%;
  }

  nav ul {
    display: flex;
    position: static;
    flex-direction: row;
    height: auto;
    max-width: auto;
    padding-left: 0;
    justify-content: flex-end;
    gap: 0;
  }

  nav ul li {
    list-style-type: none;
  }

  nav ul li a {
    color: var(--darkGrayishBlue);
    display: block;
    padding: 0 10px;
    font-size: 11px;
    text-decoration: none;
  }

  .icon {
    display: none;
  }

  .second {
    flex-direction: row;
  }

  .desktopImg {
    display: block;
  }

  .mobileImg {
    display: none;
  }

  #title {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0;
  }

  .titleDiv {
    margin-right: 45px;
  }

  .titleDetails {
    margin-right: 20px;
    margin-bottom: 25px;
  }

  .parent {
    width: 50%;
    height: auto;
  }

  .textContainer{
  }

}
