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

body {
  font-family: 'Hind Guntur', sans-serif;
  /* Pattern from https://www.heropatterns.com/ */
  color: #1e272e;
  color: #fff;
  font-size: 16px;
}

a {
  color: #000000;
  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 #000;
}

.nav-main ul.nav-menu {
  flex: 1;
  margin-left: 20px;
}

hr {
  margin: 10px 0;
}

/* Responsive Button */
.menu-btn {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 30px;
  z-index: 2;
  display: none;
  color: #000;
}

/* SHOWCASE */

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

.btn:hover {
  opacity: 0.9;
}

.showcase {
  width: 100%;
  height: 700px;
  background: url("./img/portada.png") no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-end;
  padding-bottom: 50px;
  margin-bottom: 20px;
  color: #000;
}

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

.showcase h2{
  font-size: 60px;
}

.showcase p {
  font-size: 40px;
  font-weight: bold;
}

.showcase .btn {
  margin-top: 20px;
}
/* encabezado */
.encabezado {
  width: 100%;
  background: #1d1c1c;
}
.encabezado h2{
  font-size: 40px;
}
/* historia */
.historia {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: justify;
  justify-content: flex-end;
  padding-bottom: 50px;
  margin-bottom: 20px;
  color: #000;
  background-color: #c4c4c4;
}
.historia h2{
  font-size: 40px;
}
.historia h3{
  font-size: 30px;
}
.historia img{
  padding-bottom: 20px;
  padding-top: 20px;
}

.historia p1,
.historia p2{
  font-size: 18px;
  font-weight: bold;
}
/* privar */
.privar {
  display: flex;
  flex-direction: column;
  padding-bottom: 50px;
  margin-bottom: 20px;
  color: #000;
  background-color: #c4c4c4;
  text-align: justify;
}
.privar h3{
  font-size: 30px;
  text-align: center;
}
.privar p1,
.privar p2{
  font-size: 20px;
  font-weight: bold;
}
.privar ul{
  padding-top: 10px;
  padding-bottom: 10px;
}
/* contactar */
.contactar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: justify;
  justify-content: flex-end;
  padding-bottom: 50px;
  margin-bottom: 20px;
  color: #000;
  background-color: #c4c4c4;
}
.contactar h2{
  font-size: 40px;
}
.contactar h3{
  font-size: 30px;
}
.contactar iframe{
  display: flex;
  padding-bottom: 20px;
  padding-top: 20px;
}
.contactar p1,
.contactar p2{
  font-size: 22px;
  font-weight: bold;
}
/* PRODUCTOS */
.producir {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: justify;
  justify-content: flex-end;
  padding-bottom: 50px;
  margin-bottom: 20px;
  color: #000;
  background-color: #c4c4c4;
}
.producir h2{
  font-size: 40px;
}
.producir h3{
  font-size: 30px;
}
.producir p1{
  font-size: 22px;
  font-weight: bold;
}
/* BOTONES DE PRODUCTOS */
.btn-RC {
  height: 250px;
  width: 100%;
  cursor: pointer;
  display: flex;
  border: 0;
  font-weight: bold;
  padding: 10px 20px;
  background: #262626;
  color: #000;
  font-size: 30px;
  border: 3px solid #000;
  background: url("/img/rcboton.PNG") no-repeat center center/cover;
  align-items: center;
  text-align: center;
}

.btn-RC:hover {
  opacity: 0.7;
}

.btn-EC {
  height: 250px;
  width: 100%;
  cursor: pointer;
  display: flex;
  border: 0;
  font-weight: bold;
  padding: 10px 20px;
  background: #262626;
  color: #000;
  font-size: 30px;
  border: 3px solid #000;
  background: url("/img/ecboton.PNG") no-repeat center center/cover;
  align-items: center;
  text-align: center;
}

.btn-EC:hover {
  opacity: 0.7;
}

.btn-D {
  height: 250px;
  width: 100%;
  cursor: pointer;
  display: flex;
  border: 0;
  font-weight: bold;
  padding: 10px 20px;
  background: #262626;
  color: #000;
  font-size: 30px;
  border: 3px solid #000;
  background: url("/img/dboton.PNG") no-repeat center center/cover;
  align-items: center;
  text-align: center;
}

.btn-D:hover {
  opacity: 0.7;
}

/* productos resistencias */
.productoTitle {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: justify;
  justify-content: flex-end;
  padding-bottom: 50px;
  color: #000;
  background-color: #c4c4c4;
}

.productoTitle h3{
  font-size: 40px;
}
.news-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  background-color: #c4c4c4;
  margin-bottom: 0px;
}

.news-cards img {
  width: 100%;
  height: 320px;
}

.news-cards h3 {
  color: #000;
  font-size: 20px;
  margin: 10px 0;
}

/* Follow */
.social {
  width: 100%;
  background: #1d1c1c;
}
.social p {
  text-align: center;
  font-size: 30px;
  margin-bottom: 20px;
}
.links {
  display: flex;
  align-items: center;
  justify-content: center;
}

.links a {
  margin: 0 30px;
}

.links a i {
  font-size: 3rem;
  color: #fff;
}
/* Fotter */
.footer {
  color: #000;
  font-size: 2px;
  padding: 20px 0;
  text-align: center;
  font-size: 1rem;
  padding-bottom: 20px;
}

/* Mobil */
@media (max-width: 700px) {
  .menu-btn {
    display: block;
  }

  .menu-btn:hover {
    opacity: 0.5;
  }

  .nav-main ul.nav-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: #c4c4c4;
    width: 50%;
    height: 100%;
    border-right: #000 1px solid;
    border-bottom: #000 1px solid;
    opacity: 0.9;
    padding: 30px;
    transform: translateX(-500px);
    transition: transform 0.5s ease-in-out;
  }

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

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

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

  .nav-main ul.nav-menu li{
    font-size: 25px;
  }

  .news-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase h2{
    font-size: 40px;
  }
  
  .showcase p {
    font-size: 30px;
  }

  .encabezado h2{
    font-size: 30px;
  }

  .btn-D {
    background: url("/img/dboton2.png") no-repeat center center/cover;
  }
  
  .productoTitle h3{
    font-size: 28px;
  }
  .links a i {
    font-size: 2rem;
  }
  .social p {
    font-size: 20px;
  }

  .footer h3{
    font-size: 8px;
  }
}

@media (max-width: 500px) {
  
  .showcase {
    height: 500px;
  }
  .showcase h2{
    font-size: 30px;
  }
  
  .showcase p {
    font-size: 20px;
  }

  .encabezado h2{
    font-size: 20px;
  }

  .historia h3,
  .contactar h3,
  .producir h3,
  .privar h3{
    font-size: 20px;
  }

  .historia p,
  .historia p1,
  .historia p2{
    font-size: 15px;
  }

  .privar p,
  .privar p1,
  .privar p2{
    font-size: 15px;
  }

  .contactar ul li{
    font-size: 13px;
  }

  .contactar iframe{
    width: 80%;
    height: 300px;
  }

  .btn-RC {
    background: url("/img/rcboton2.png") no-repeat center center/cover;
  }
  .btn-EC {
    background: url("/img/ecboton2.png") no-repeat center center/cover;
  }
  .btn-D {
    background: url("/img/dboton3.png") no-repeat center center/cover;
  }
  
  .productoTitle h3{
    font-size: 23px;
  }
  
}
