:root {
  font-family: "Lato", sans-serif;
  font-size: 10px;
}

::selection {
  background-color: #22d3ee;
}

body {
  background-color: #e0e0e0;
  margin: 0;
  padding: 0;
}

/* Navigation */

nav {
  display: flex;
  justify-content: center;
  background-color: #e0e0e0;
  position: fixed;
  top: 0;
  width: 100%;
  height: 7.5rem;
  box-shadow: 0 0 2.5rem 1rem #d0d0d0;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  list-style-type: none;
  width: 80%;
  margin: 0;
  padding: 0;
}

nav ul li a {
  display: flex;
  flex-direction: row;
  font-size: 2.6rem;
  text-decoration: none;
  color: #353535;
  padding: 1rem 2rem;
}

nav ul li:hover {
  background-color: #d0d0d0;
  border-radius: 1rem;
}

nav ul li a img {
  width: 3rem;
  margin-right: 1rem;
}

.active {
  background-color: #d0d0d0;
  border-radius: 1rem;
}

/* Main Content */

div#content-container {
  width: 60%;
  margin: 15rem auto;
}

div#content-container h1,
div#content-container p,
div#content-container h2,
div#content-container ul {
  margin: 8rem 0;
  padding: 0;
}

div#content-container ol,
div#content-container li {
  list-style-position: inside;
  margin: 0;
  padding: 0;
}

div#content-container h1 {
  font-size: 5.9rem;
  font-weight: 400;
}

div#content-container img {
  width: 100%;
  border-radius: 1rem;
}

div#content-container p,
div#content-container li {
  font-size: 3.2rem;
}

div#content-container ul {
  list-style-type: square;
}

div#content-container h2 {
  font-size: 4.6rem;
  font-weight: 400;
}

/* Shop / Item List */

#shop-container {
  width: 80%;
  margin: 15rem auto;
}

#disk-title-section {
  border-bottom: 0.5rem solid #d0d0d0;
  margin-bottom: 2.5rem;
}

#disk-title-section h2 {
  font-size: 5.2rem;
  font-weight: 400;
  margin: 0 0 0.5rem 2rem;
  padding: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  row-gap: 2rem;
  column-gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  width: 29.6rem;
  height: 41.4rem;
  border-radius: 1rem;
}

.product-name,
.product-description {
  width: 95%;
}

.product-img {
  height: 40%;
}

.product-name {
  display: flex;
  align-items: center;
  font-size: 2.3rem;
  height: 9rem;
  margin: 0;
  padding: 0;
}

.product-description {
  list-style-type: none;
  margin: auto 0 1.75rem 0;
  padding: 0;
  line-height: 2.5rem;
  font-size: 1.4rem;
}

.test {
  background-color: black !important;
  width: 29.6rem;
  height: 44.4rem;
}

/* Footer */

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #d0d0d0;
  width: 100%;
  height: 30rem;
}

#footer-container {
  display: flex;
  width: 40%;
  height: 70%;
}

.box-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  text-align: center;
}

.box-container:nth-child(1) {
  border-right: 0.1rem solid #959595;
}

.box-container:nth-child(2) {
  border-left: 0.1rem solid #959595;
}

.title-author {
  color: #959595;
  font-size: 4.1rem;
  margin: 1rem 0 0 0;
  padding: 0;
}

.author {
  color: #000000;
  font-size: 5.2rem;
  margin: 0;
  padding: 0;
}

.title-socials {
  color: #959595;
  font-size: 3.3rem;
  margin: 0;
  padding: 0;
}

#socials-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.socials {
  margin: 0.75rem 0;
}

.socials a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.socials img {
  width: 3.5rem;
  margin: 0 1rem;
}

.github,
.linkedin,
.twitter {
  font-size: 2.9rem;
  margin: 0;
  padding: 0;
}

.github {
  color: #5c6bc0;
}

.linkedin {
  color: #0077b5;
}

.twitter {
  color: #03a9f4;
}

/* ==================== */
/* Desktop - 1600px */
@media only screen and (max-width: 1600px) {
  :root {
    font-size: 8.3px;
  }
}

/* Laptop - 1280px */
@media only screen and (max-width: 1280px) {
  :root {
    font-size: 6.7px;
  }
}

/* Tablet - 900px */
@media only screen and (max-width: 900px) {
  :root {
    font-size: 10px;
  }

  nav {
    position: fixed;
    height: 10rem;
    bottom: 0;
    top: auto;
  }

  nav ul {
    width: 100%;
  }

  nav ul li:hover {
    background-color: transparent !important;
    border-radius: 0;
  }

  nav ul li a {
    flex-direction: column;
    align-items: center;
    font-size: 1.6rem;
    padding: 0.25rem;
  }

  nav ul li a img {
    margin-right: 0;
    width: 5rem;
  }

  .active {
    background-color: transparent;
  }

  div#content-container {
    width: 90%;
    margin: 5rem auto;
  }

  div#content-container h1,
  div#content-container p,
  div#content-container h2,
  div#content-container ul {
    margin: 5rem 0;
  }

  div#content-container h1 {
    font-size: 4.6rem;
    margin-top: 0;
  }

  div#content-container p,
  div#content-container li {
    font-size: 2.6rem;
  }

  div#content-container h2 {
    font-size: 3.7rem;
  }

  #shop-container {
    width: 90%;
    margin: 5rem auto;
  }

  .card-container {
    justify-content: center;
  }

  footer {
    margin-bottom: 10rem;
    height: 20rem;
  }

  #footer-container {
    width: 70%;
  }

  .title-author {
    font-size: 3.3rem;
  }

  .author {
    font-size: 4.1rem;
  }

  #socials-container {
    flex-direction: row;
  }

  .socials img {
    width: 4rem;
  }

  .title-socials {
    font-size: 2.9rem;
  }

  .github,
  .linkedin,
  .twitter {
    display: none;
  }
}

/* Phone - 500px */
@media only screen and (max-width: 500px) {
  :root {
    font-size: 10px;
  }

  nav {
    height: 7.5rem;
  }

  nav ul li a {
    font-size: 1.3rem;
  }

  nav ul li a img {
    width: 3rem;
  }

  div#content-container h1,
  div#content-container p,
  div#content-container h2,
  div#content-container ul {
    margin: 5rem 0;
  }

  div#content-container h1 {
    font-size: 3.7rem;
    margin-top: 0;
  }

  div#content-container p,
  div#content-container li {
    font-size: 2rem;
  }

  div#content-container h2 {
    font-size: 2.9rem;
  }

  footer {
    margin-bottom: 7.5rem;
    height: 12rem;
  }

  #footer-container {
    width: 75%;
  }

  .title-author {
    font-size: 2.3rem;
  }

  .author {
    font-size: 2.9rem;
  }

  .socials img {
    width: 3rem;
    margin: 0 0.5rem;
  }

  .title-socials {
    font-size: 2rem;
  }
}
