#root {
  font-family: Arial, Helvetica, sans-serif;
}

html,
body {
  padding: 0;
  margin: 0;
}

nav,
.content-container,
footer {
  padding-left: calc((100% - 1200px) / 2);
  padding-right: calc((100% - 1200px) / 2);
}

nav {
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 5px solid #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: space-between;

  .nav-links {
    list-style-type: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    width: 30%;

    a {
      text-decoration: none;
      color: #cc0000;
      font-size: 18px;
      font-weight: 700;
    }
  }

  .nav-name {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
  }

  .nav-socials {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 30%;

    a {
      padding: 14px;
    }

    img {
      height: 20px;
      width: 20px;
    }
  }
}

.content-container {
  min-height: calc(100vh - (96.5px + 50px));
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  background-color: #212121;

  .footer-copyright {
    font-size: 12px;
    color: white;
    margin: 0;

    a {
      color: #cc0000;
    }
  }

  .footer-socials {
    display: none;

    a {
      padding: 14px;
    }

    img {
      height: 16px;
      width: 16px;
    }
  }
}

/* md and lg devices or tablets */
@media (min-width: 768px) and (max-width: 1023px),
  (min-width: 1024px) and (max-width: 1279px) {
  nav,
  .content-container,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* xs and sm devices or phones */
@media (max-width: 479px), (min-width: 480px) and (max-width: 767px) {
  nav,
  .content-container,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  nav {
    .nav-links,
    .nav-socials {
      display: none;
    }

    .nav-name {
      width: 100%;
    }
  }

  .content-container {
    min-height: calc(100vh - (73px + 100px));
  }

  footer {
    text-align: center;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    height: 100px;

    .footer-socials {
      display: flex;
    }
  }
}
