/* Global */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root{
  --grisCNA: #575656;
  --colorCNA: #F9B233;
  --grisCNA2: #2b2b2b;
}


body {
  font-family: "Roboto", sans-serif;
  background-color: #ffffff;
  color: var(--grisCNA2);
  font-size: 16px;
}

a {
  color: var(--grisCNA);
  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;
  margin: 20px;
}

.nav-brand {
  background-size: cover;
  background-origin: border-box;
  height: 100px;
  width: 200px;
  object-fit: cover;
}

/* Navbar Left */
.nav-main ul {
  display: flex;
}

.nav-main ul li a {
  padding: 15px;
}



.nav-main ul li a:hover {
  background-color: var(--grisCNA);
  color: #ffffff;
}

.nav-main ul.nav-menu {
  margin-right: 1px;
}

#nav-wsp{
  width: 50px;
  background-size: cover;
  background-origin: border-box;
  object-fit: cover;
  align-items: center center;
}
#wsp{
  background-color: #ffffff;
}


/* Responsive Button */
.menu-btn {
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 30px;
  z-index: 2;
  display: none;
  margin-top: 30px;
}

/* SHOWCASE */

.btn {
  cursor: pointer;
  display: inline-block;
  border: 0;
  font-weight: bold;
  padding: 10px 20px;
  background: var(--grisCNA);
  color: #fff;
  font-size: 1em;
  
}

.btn:hover {
  opacity: 0.9;
}
.submit{
  cursor: pointer;
  display: inline-block;
  border: 0;
  font-weight: bold;
  padding: 10px 20px;
  background: var(--grisCNA);
  color: #fff;
  font-size: 15px;
}
.showcase .card{
  text-align: center;
  /* margin: 1em;*/
}
.showcase .ie{
  text-align: left;
}
.showcase ul{
  list-style:disc ;
  margin-left: 50px;
}
.showcase {
  width: 100%;
  /* height: 550px; */
  /* background: url("./img/showcase.jpg") no-repeat center center/cover; */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-end;
  color:var(--grisCNA);
  padding: 2em;
  /*margin-bottom: 20px;*/
  border-top-color: #575656;
  border-style: solid none none none;
  border-width: 0.1em 0 0 0;
}

.showcase h2{
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.showcase p {
  margin-bottom: 0.5em;
}

.showcase .btn {
  margin-top: 2em;
  margin: 1.5em;
}
.showcase img{
  width: 90%;
  /* height: 400px; */
}

/* Respuesta a formularios de cotizaciones */
.respuesta {
  display: flex;
  background-color: var(--colorCNA);
  width: 100%;
  box-shadow: 0px 1px 10px var(--grisCNA);
  padding: 2em;
  justify-content: space-around;
  margin-bottom: 3em;
}

/* Formulario */
.formulario{
  margin: 0 auto;
  margin-bottom: 3em;
  width: 100%;
  box-shadow: 0px 1px 10px var(--grisCNA);
}
.section-form{
  display: flex;
  background-color: var(--colorCNA);
}
.form{
  margin: 0 auto;
}
.sec{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--grisCNA);
  padding: 50px auto;
  margin: 20px auto;
}
.sec:not(:last-of-type):before{
  position: absolute;
  top: 1;
  content: "";
  width: 70%;
  height: 1px;
  background: #575656;
  opacity: .5;
}
.form{
  width: 80%;
  margin: 4em auto;
  /*padding: 30px auto;*/
  background-color: var(--colorCNA);
  border-radius: 4px;
  text-align: left;
  font-weight: bold;
  color: var(--grisCNA);
}
.form h3{
  margin-bottom: 1em;
  font-weight: bolder;
  font-size: 1.75em;
  color: var(--grisCNA2);
}
.form h4{
  font-weight: bolder;
  font-size: 1.3em;
}
.form input{
  border:1px solid var(--grisCNA) ;
  border-radius: 4px;
  height: 30px;
  
}
.form select{
  border:1px solid var(--grisCNA) ;
  border-radius: 4px;
  height: 35px;
  width: 280px;
  background-color: #fff;
}

input,select::placeholder{
  width: 280px;
  height: 30px; 
  padding: 10px ;

}
.form-invalid{
  outline: 2px solid red !important;
}

.box1 {
  grid-column-start: 1;
  grid-row-start: 1;
  grid-row-end: 3;
  margin: 20px 0;
}
.boxend{
  grid-column-start:1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
}
.box{
    margin: 20px 0;
}
.boxh{

  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 1;
}
.box4{
  grid-column-start:1;
  grid-column-end: 4;
  grid-row-start: 3;
  grid-row-end: 5;

}
.box2,
.box3{
  margin: 10px 0;
}

.controlstn{
  width: 280px;
  height: 30px; 
}
.controlstp{
  width:80px;
  height: 30px;
}

.textarea{
  align-items: center;
  width: 300px;
  height: 80px;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

input[type=number] { -moz-appearance:textfield; }
.grid{
  display: grid;
  margin: 10px 0;
}
.right{
  float: right;
}
.contactt{
  width: 100%;
  height: 250px;
  border-radius: 10px;
  padding: 10px;
  font-family: sans-serif;
}
/* News Cards */
.news-cards {
  display: grid;
  background-color: var(--colorCNA);
  grid-template-columns: repeat(3, 1fr);
  box-shadow: 0px 1px 10px var(--grisCNA);
  /*gap: 25px;*/
  padding: 0 1em 1em 1em;
}

.news-cards-titulo {
  display: grid;
  background-color: var(--colorCNA);
  grid-template-columns: repeat(1, 1fr);
  /*gap: 25px;*/
  padding: 2em 2em 1em 2em;
}

.news-cards .cls{
  padding: 2em;
  margin: 1em;
  background-color: #ffffff;
  color: var(--grisCNA);
}
.news-cards .cls h3{
  text-align: center;
}

.news-cards img {
  width: 100%;
  /*height: 180px;*/
  align-items: center;
  margin: 0;
}
.news-cards h2 {
  font-size: 1.75em;
  font-weight: bolder;
  line-height: 1.5em;
  margin: 1em;
}

.news-cards h3 {
  font-size: 20px;
  margin: 10px 0;

}
.news-cards div{
  margin-top: 10px;
}
.news-cards a {
  padding: 10px 0;
  color: #f2f2f2;
  text-transform: uppercase;
  display: inline-block;
  font-weight: bold;
}

/* CARDS BANNER ONE */
.cards-banner-one {
  width: 100%;
  height: 100%;
  margin-bottom: 20px;
}
.cards-banner-one .contact {
  padding: 40px;
  color: var(--grisCNA);
  width: 100%;
  display: flex;
  text-align: center;
  vertical-align: middle;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.cards-banner-one .contact a {
  float: right;
  vertical-align: middle;
}
.cards-banner-one .contact h3 {
  float: left;
  font-size: 25px;
}

.cards-banner-one p,
.cards-banner-two p {
  margin: 10px 0 20px 0;
}
.cards-banner-one .content {
  width: 40%;
  padding: 10px 0 0 30px;
  color: var(--grisCNA);

}

/* CARDS BANNER TWO*/
.cards-banner-two {
  width: 100%;
  height: 100%;
}

.cards-banner-two .content {
  width: 50%;
  padding: 100px 0 0 30px;
}

/* Follow */
.wc{
  color: #ffffff;
}
.social p {
  text-align: center;
  font-size: 30px;
  margin-bottom: 20px;
}
.links {
  display: flex;
  align-items: center;
  justify-content: center;
  /*margin-top: 1em;*/
}

.links a {
  margin: 1em;
}

.links a i {
  font-size: 3rem;
}

/* Links */

#wc{
  color: #ffffff;
}


.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  text-align: center;
  color: #ffffff;
  font-size: 16px;
  background-color: var(--grisCNA);
  padding-top: 2.5em;
}

.footer-container a{
  color: #ffffff;
}
.footer-texto{
  line-height: 2;
}
.footer-container ul {
  text-align: left;
  text-decoration: none;
  margin-left: 100px;
}

.footer-container li {
  line-height: 2;
}

.footer {
  background: var(--grisCNA);
  color: #ffffff;
  font-size: 12px;
  padding: 20px 0;
  text-align: center;
  font-size: 1rem;
}
@media (max-width: 1050px) {
  .contactt{
    width: 300px;
    height: 150px;
  }
  .sec{
    grid-template-columns: 1fr;
    display: grid;
    text-align: center;
  }
  .box{
    display: grid;
  }
  .controlstn{
    margin: 0 auto;
  }
  .box4{
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 4;
   
  }
}

/* Mobil */
@media (max-width: 700px) {

  a{
    color: #ffffff;
  }
  a:hover{
    font-weight: bolder;
  }
  .menu-btn {
    display: block;
  }
  .showcase {
    text-align: center;
    grid-template-columns: 1fr;
  }
  .showcase img{
    width: 400px;
    height: 200px;
  }
  .menu-btn:hover {
    opacity: 0.5;
  }

  .nav-main ul.nav-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background:var(--grisCNA);
    width: 60%;
    height: 100%;
    border-right: #ccc 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: #ccc 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;
  }

  .news-cards {
    display: block;
    grid-template-columns: repeat(1, 1fr);
  }

  .cards-banner-one .content,
  .cards-banner-two .content {
    width: 80%;
  }

  .footer-container {
    margin-top: 0;
    grid-template-columns: repeat(1, 1fr);
  }

  .footer-container section{
    padding-top: 2.5em;
  }

  .footer-container ul{
    text-align: center;
    margin-left: 0;
  }
  
  .section-form,
  .sec{
    grid-template-columns: 1fr;
    text-align: left;
  }
  .btn-grid{
    display: grid;
    text-align: center;
  }
  .form h3,
  .form h4{
    text-align: center;
  }
  .contactt{
    width: 300px;
    height: 150px;
  }
  .box4{
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 4;
   
  }
  .box{
    display: grid;
  }
  .controlstn{
    margin: 0;
  }
}

@media (max-width: 500px) {
  .nav-main{
    margin: 40px auto;
  }
  .showcase {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .showcase img{
    width: 300px;
    height: 180px;
  }
  .news-cards {
    grid-template-columns: 1fr;
    display: block;
  }
  .cards-banner-one .contact{
    display:grid;
    margin-bottom: 20px;
  }
  .cards-banner-one .content,
  .cards-banner-two .content {
    width: 100%;
    padding: 60px 10px;
  }
  .footer-links .footer-container {
    margin: 0 auto;
    grid-template-columns: 1fr;
  }

  .footer-links .footer-container ul {
    text-align: center;
    margin: 0 auto;
  }

  .section-form,
  .sec{
    grid-template-columns: 1fr;
  }
  .form textarea{
    margin: 0;
    padding: 0;
    width: 280px;
  }
  .box1{
    margin: 20px auto;
  }
  .boxend{
    text-align: center;
    display: grid;
  }


  .box2,
  .box3{
    display: grid;
  }

  .box4,.box{
    display: grid;
  }
  .btn-grid{
    text-align: center;
    display: grid;
  }
  .form h3,
  .form h4{
    text-align: center;
  }
  .boxh{

   display: grid;
  }
}
