* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}
body {
  color: white;
  background-color: #000000;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='40' viewBox='0 0 24 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40c5.523 0 10-4.477 10-10V0C4.477 0 0 4.477 0 10v30zm22 0c-5.523 0-10-4.477-10-10V0c5.523 0 10 4.477 10 10v30z' fill='%23a3a1a7' fill-opacity='0.09' fill-rule='evenodd'/%3E%3C/svg%3E");
  font-size: 16px;
  font-family: "Oswald", sans-serif;
}
a {
  color: white;
  text-decoration: none;
}
ul {
  list-style: none;
}
.container {
  width: 90%;
  margin: auto;
}
/* Navigation */
.nav-main {
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 20px 0;
}

.nav-brand {
  width: 50px;
}

/* Navbar 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 #fff;
}

.nav-main ul.nav-menu {
  flex: 1;
  margin-left: 20px;
}

.nav-main ul.nav-menu-right {
  margin: 10px;
}

.menu-btn {
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 30px;
  z-index: 2;
  display: none;
}

/*Showfirts*/
hr {
  margin: 10px 0;
}
.show {
  width: 100%;
  height: 850px;
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url("../imagenes/principal.jpg");
  background-position: center center;
  background-size: cover;
  padding-bottom: 50px;
  margin-bottom: 25px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.btn {
  cursor: pointer;
  display: inline-block;
  border: 0;
  font-weight: bold;
  pad: 10px 20px;
  background: #262626;
  color: #fff;
  font-size: 15px;
  border: 1px solid #fff;
  margin: 10px 0px;
}
.btn:hover {
  color: grey;
  opacity: 0.7;
}
.show h2 {
  margin-bottom: 20px;
  font-size: 30px;
}
.show p {
  margin-bottom: 10px;
  font-size: 15px;
}
/* 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-cardsh3 {
  font-size: 20px;
  margin: 10px 0;
}
.news-cards a {
  padding: 10px 0;
  color: #f2f2f2;
  text-transform: uppercase;
  display: inline-block;
  font-weight: bold;
}
.news-cards a:hover {
  color: grey;
  text-decoration: underline;
}
/*Banner Cards*/
.card-banner-one {
  width: 100%;
  height: 400px;
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url("../imagenes/banner1.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 40px;
}
.card-banner-one .content {
  width: 40%;
  padding: 90px 0 0 30px;
  color: #fff;
  font-size: 30px;
}
.card-banner-one p,
.card-banner-one h2 {
  margin: 10px 0 20px 0;
}
/*Cards Banner 2*/
.card-banner-two {
  width: 100%;
  height: 400px;
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url("../imagenes/banner2.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 40px;
}
.card-banner-two .content {
  width: 50%;
  padding: 100px 0 0 30px;
  text-align: justify;
  font-size: 30px;
}
/* Social Media*/
.social {
  margin: 50px;
}
.social p {
  text-align: center;
  font-size: 30px;
  margin-bottom: 50px;
}

.links {
  display: flex;
  align-items: center;
  justify-content: center;
}

.links a {
  margin: 0 30px;
}
.links a i {
  font-size: 3rem;
}

/*footer*/
.footer-links {
  background-color: #2f3640;
  color: #616161;
  font-size: 12px;
  padding: 35px 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
}
.footer-container ul {
  margin: 0 auto;
  font-size: 15px;
}
.footer-container ul li {
  line-height: 2;
}

.copy {
  background-color: #2f3640;
  color: #616161;
  font-size: 12px;
  text-align: right;
  padding: 0 20px;
  padding-bottom: 20px;
}

@media (max-width: 700px) {
  .menu-btn {
    display: block;
  }
  .search {
    display: block;
    margin-right: 50px;
  }
  .nav-main ul.nav-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: #2f3640;
    width: 50%;
    height: 100%;
    border-right: #ccc 1px solid;
    opacity: 0.9;
    padding: 30px;
    transform: translateX(-400px);
    transition: transform .5s ease-in-out;
  }
  .nav-main ul.nav-menu.show {
    transform: translateX(-20px);
  }
  .nav-main ul.nav-menu li {
    padding: 20px;
    font-size: 14px;
  }
  .nav-main ul.nav-menu-right {
    margin: 50px;
  }

  .news-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-banner-one .content.card-banner-one {
    width: 80%;
  }
  .card-banner-one .content.card-banner-two {
    width: 80%;
  }
  .footer-links .footer-container {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 50px;
  }
}

@media (max-width: 500px) {
  .news-cards {
    grid-template-columns: 1fr;
  }
  .news-cards img {
    height: 270px;
  }
  .card-banner-one .content,
  .card-banner-two .content {
    width: 100%;
    padding: 60px 20px;
  }
  .footer-links .footer-container {
    grid-template-columns: 1fr;
    display: inline-block;
  }
}
