/* Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
html {
  scroll-behavior: smooth;
}





  body {
    font-family: "Oswald", sans-serif;
   
    /* Pattern from https://www.heropatterns.com/ */
    
    
    

    color: #1e272e;
    color: rgb(0, 0, 0);
    font-size: 16px;
  }
  

  .parent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 0px;
    }
    
    .div1 { grid-area: 1 / 1 / 2 / 2; }
    .div2 { grid-area: 1 / 2 / 2 / 3; }


  div#header{
    width: 100%;
    height: 40px;
    background-color: rgb(77, 104, 122);
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    list-style:none 
    
    
  }
  
  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: 200px;
  }

  /* Navbar Left */
.nav-main ul {
    display: flex;
  }

  

  .nav-main ul li {
    padding: 40px;
  }

  .nav-main ul li a:hover {
    border-bottom: 2px solid rgb(0, 0, 0);
  }

  .nav-main ul li a {
    padding: 15px;
  }

  

  /* Responsive Button */
.menu-btn {
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 30px;
  z-index: 2;
  display: none;
}

  hr {
    margin: 10px 0;
  }
  

  .showcase {
    width: 100%;
    height: 550px;
    background: url("./img/principal.jpeg") 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: #fff;
  }

  .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 {
    cursor: pointer;
    display: inline-block;
    border: 0;
    font-weight: bold;
    padding: 10px 20px;
    background: #262626;
    color: #fff;
    font-size: 15px;
    border: 1px solid #fff;
    margin: 10px 0;
  }

  .btn:hover {
    opacity: .7;
  }

  .showcase h2,
.showcase p {
  margin-bottom: 10px;
}

/* News Cards */
.news-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
  }

  .news-cards img {
    width: 100%;
    height: 180px;
  }

  .news-cards h3 {
    font-size: 20px;
    margin: 10px 0;
  }

  .news-cards a {
    padding: 10px 0;
    color: #000000;
    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/meca3.jfif");
  margin-bottom: 40px;
}

.cards-banner-one .content {
  width: 40%;
  padding: 90px 0 0 30px;
  color: #fff;
}

.cards-banner-one p,
.cards-banner-two p {
  margin: 10px 0 20px 0;
}
/* CARDS BANNER TWO*/
.cards-banner-two {
  width: 100%;
  height: 350px;
  background: url("./img/meca.jfif") no-repeat center center/cover;
  margin-bottom: 40px;
  color: #fff;
}

.cards-banner-one .content {
  width: 50%;
  padding: 100px 0 0 30px;
  color: #fff;
}

/* Follow */
.social {
  margin: 50px;
}
.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;
}

/* Links */
.footer-links {
  background: #2f3640;
  color: #000000;
  font-size: 12px;
  padding: 35px 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
}

.footer-container ul {
  margin: 0 auto;
}
.footer-links li {
  line-height: 2.8;
}

.footer {
  background: #2f3640;
  color: #616161;
  font-size: 12px;
  padding: 20px 0;
  text-align: center;
  font-size: 1rem;
  padding-bottom: 20px;
}

/* Mobil */
@media (max-width: 700px) {
  .links a {
    color: #000000;
  }
  
  
  
  .menu-btn{
    color: #000000;
  }
  
a{
  color: rgb(255, 255, 255);
}
  .menu-btn {
    
    display: block;
  }
  
  .nav-main ul.nav-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: #212325;
    height: 100%;
    padding: 30px;
    opacity: .9;
    transform: translateX(-400px);
    transition: transform 0.5s ease-in-out;
    
  }
  div#header{
    display: none;

    
  }
  @media (max-width: 500px) {
    
    .news-cards {
      grid-template-columns: 1fr;
    
    }
  }
  .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-right: 40px;
  }
  .cards-banner-one .content,
  .cards-banner-two .content {
    width: 80%;
  
  }

  .footer-links .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cards-banner-one .content,
  .cards-banner-two .content {
    width: 100%;
    padding: 60px 20px;
  }
  .footer-links .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-links .footer-container ul {
    text-align: center;
  }

  .container-form{
    width: 100%;
    max-width: 250px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 50px;
    margin-top: 90px;
}
.container-form h2{
    margin-bottom: 15px;
    font-size: 50px
}
.container-form p{
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 30px;
}
.container-form a{
    font-size: 17px;
    display: inline-block;
    text-decoration: none;
    width: 100%;
    margin-bottom: 15px;
    color: rgb(0, 0, 0);
    font-weight: 700;
}
.container-form a i{
    color: rgb(0, 0, 0);
    margin-right: 10px;
}
.container-form form .campo, textarea{
    width: 100%;
    padding: 15px 10px;
    font-size: 16px;
    border: 1px solid #dbdbdb;
    margin-bottom: 20px;
    border-radius: 3px;
    outline: 0px;
}
.container-form form textarea{
    max-width: 530px;
    min-width: 530px;
    min-height: 140px;
    max-height: 150px;
}
.container-form .btn-enviar{
    padding: 15px;
    font-size: 16px;
    border: none;
    outline: 0px;
    background: rgb(0, 0, 0);
    color: white;
    border-radius: 3px;
    cursor: pointer;
    transition: all 300ms ease;
}
.container-form .btn-enviar:hover{
    background: #3f4757;
}



