* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Oswald', sans-serif;
  background-color: #000000;
  /* Pattern from https://www.heropatterns.com/ */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='105' viewBox='0 0 80 105'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='death-star' fill='%23540606' fill-opacity='0.3'%3E%3Cpath d='M20 10a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V10zm15 35a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zM20 75a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V75zm30-65a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V10zm0 65a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V75zM35 10a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10zM5 45a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zm0-35a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10zm60 35a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zm0-35a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: #1e272e;
  color: #fff;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: white;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  margin: auto;
}

/*?NAVEGATION STYLES */

.nav-main {
  display: flex;
  font-size: 17px;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 20px 0;
}

.nav-brand {
  width: 50px;
}

/**NAV LEFT */

.nav-main ul {
  display: flex;
}

.nav-main ul li {
  padding: 10px;
}

.nav-main ul li a {
  padding: 2px;
}

.nav-main ul li a:hover {
  border-bottom: 2px solid white;
}

.nav-main ul.nav-menu {
  /* background-color: wheat; */
  flex: 1; /* flex-grow: 1; */
  margin-left: 20px;
}

.menu-btn {
  position: absolute;
  cursor: pointer;
  top: 15px;
  right: 30px;
  z-index: 2;
  font-size: 1.5rem;
  display: none;
}
/**SHOWCASE  */
hr {
  margin: 10px 0;
}
.showcase {
  width: 100%;
  height: 90vh;
  background: url('../img/showcase2.jpg') no-repeat center center/cover;
  /* background-size: cover; */
  padding: 50px;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.btn {
  cursor: pointer;
  display: inline-block;
  /* height: 80px; */
  border: 1px solid white;
  font-weight: bold;
  padding: 10px 20px;
  background: #262626;
  color: white;
  font-size: 15px;
  margin: 10px 0;
}

.btn:hover {
  opacity: 0.7;
}

.showcase h2,
.showcase p {
  margin-bottom: 10px;
}

/** NEWS CARDS */

.news-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: 10px 0;
}

.news-cards img {
  width: 100%;
  height: 180px;
}
.news-cards h3 {
  font-size: 20px;
  margin: 10px 0;
  color: #f2f2f2;
}

.news-cards a {
  padding: 10px 0;
  text-transform: uppercase;
  display: inline-block;
  font-weight: bold;
}

.news-cards a:hover {
  text-decoration: underline;
}

/** CARDS BANNER ONE */

.cards-banner-one {
  width: 100%;
  height: 350px;
  background: url('../img/tech-red.jpg') no-repeat center center/cover;
  margin-bottom: 40px;
}

.cards-banner-one .content {
  width: 40%;
  height: 100%;
  /* background-color: thistle; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0px 0 0 30px;
  color: white;
}

.cards-banner-one p,
.cards-banner-one h2 {
  margin: 10px 0 20px 0;
}

/** CARDS BANNER TWO */
.cards-banner-two {
  width: 100%;
  height: 350px;
  background: url('../img/image-five.jpg') no-repeat center center/cover;
  margin-bottom: 40px;
}

.cards-banner-two .content {
  width: 40%;
  height: 100%;
  /* background-color: thistle; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0px 0 0 30px;
  color: white;
}

.cards-banner-two p,
.cards-banner-two h2 {
  margin: 10px 0 20px 0;
}

/** SOCIAL */

.social {
  margin: 50px;
}

.social p {
  text-align: center;
  font-size: 30px;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-links a {
  font-size: 3rem;
  margin: 0 10px;
}

/** FOOTER LINKS */

.footer-links {
  background: #2f3640;
  color: #616161;
  font-size: 12px;
  padding: 35px 0;
}

.footer-container {
  width: 90%;
  margin: auto;
  padding: 20px 0;
  /* display: flex;
  justify-content: space-between; */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: flex-start;
}
.footer-container ul {
  margin: 0 auto;
}

.footer-container ul li {
  line-height: 2.8;
}

.footer {
  background: #2f3640;
  color: #616161;
  font-size: 12px;
  padding: 20px 0;
  text-align: center;
  padding-bottom: 20px;
}

@media (max-width: 750px) {
  body {
    background-color: red;
  }
  .menu-btn {
    display: block;
  }
  .nav-main ul.nav-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #2f3640;
    height: 100%;
    transform: translateX(-400px);
    padding: 30px;
    opacity: 0.8;
    transition: transform 0.5s ease-in;
  }

  .nav-main ul.nav-menu.show {
    transform: translateX(-20px);
  }

  .nav-main ul.nav-menu li {
    padding: 20px;
    /* border-bottom: #ccc solid 1px; */
    font-size: 14px;
  }

  .nav-main ul.nav-menu-right {
    margin-right: 40px;
  }

  .news-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-banner-one .content,
  .cards-banner-two .content {
    width: 80%;
  }
}

@media (max-width: 500px) {
  body {
    background-color: blue;
  }
  .news-cards img {
    height: 250px;
  }
  /* .nav-main ul.nav-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #2f3640;
    height: 100%;
    transform: translateX(-400px);
    padding: 30px;
    opacity: 0.8;
    transition: transform 0.5s ease-in;
  } */

  /* .nav-main ul.nav-menu.show {
    transform: translateX(-20px);
  }

  .nav-main ul.nav-menu li {
    padding: 20px;
    border-bottom: #ccc solid 1px;
    font-size: 14px;
  }

  .nav-main ul.nav-menu-right {
    margin-right: 40px;
  } */

  .news-cards {
    grid-template-columns: 1fr;
  }
  .cards-banner-one .content,
  .cards-banner-two .content {
    width: 100%;
  }
}
