:root {
  --color-primary: #ffcd34;
  --color-secundary: #000;
  --color-white: #fff;
  --color-hover: #d4d4d4f0;

  --font-title: 45px;
  --font-title-content: 55px;
  --text-center: center;

  --b-radius: 6px;
  --p-3: 3em 6em;
}

body {
  font-family: sans-serif;
  background-color: var(--color-primary) !important;
}

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.4);
}

body::-webkit-scrollbar-thumb {
  background: rgb(22, 22, 22);
  border-radius: 10px;
}

.active-item {
  color: red;
  background-color: red;
}

.navbar-brand {
  padding: 8px 15px !important;
}

.txt-center {
  text-align: center;
}

.content-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

@media screen and (max-width: 500px) {
  .content-flex {
    flex-direction: column;
    padding: 30px 0 30px;
  }
  .index-about-us {
    padding-top: 0;
    padding-bottom: 0;
  }
  .order-flex > div:first-child {
    order: 1;
  }
}

.mtb-20 {
  margin: 20px 0;
}
.mtb-50 {
  margin: 50px 0;
}

.mt-20-70 {
  margin: 20px 70px;
}

.p-0 {
  padding: 0;
}

.pt-50 {
  padding-top: 50px;
}

.pb-50 {
  padding-bottom: 50px;
}

.p-5m {
  padding: 5em;
}
.w-100 {
  width: 100%;
}

/* ---NAVBAR --------------------------- */

#navigation ul.dropdown-menu li {
  background: var(--color-secundary);
  color: #000;
  border: none;
  padding: 10px;
  margin: 1px 0;
  /*border-bottom: 2px solid #FFC107 ;*/
}

li.open > ul.dropdown-menu {
  background-color: red;
}

#navigation ul.dropdown-menu {
  background-color: #000000;
  border-bottom: 4px solid #ffc107;
}

@media screen and (max-width: 500px) {
  #navigation ul.dropdown-menu {
    border-bottom: none;
  }
  #navigation ul.dropdown-menu li {
    padding: 0;
    padding-left: 5px;
  }
}

.dropdown.current:hover > .dropdown-menu {
  display: block;
}
.dark-grey-2 {
  background-color: var(--color-primary);
}

.dark-grey-1 {
  background-color: #111111;
}

/* TITULOS DE CONTENEDORES */
.title_content {
  font-size: var(--font-title-content);
  text-transform: uppercase;
  color: var(--color-secundary);
  padding-top: 1em;
}

/* ----- TITULO DE SECCIONES --------------- */

[class^='title_section'] {
  font-size: var(--font-title);
  font-weight: 500;
  display: table;
  color: var(--color-secundary);
}
[class^='title_section']:after {
  content: '';
  display: block;
  height: 3px;
  background: var(--color-secundary);
  transform: scale(0, 1);
  transform-origin: left;
  transition: transform 2s;
}

.title_section_services {
  color: var(--color-white);
  font-weight: 600;
  margin: auto;
  padding: 25px 0;
  text-align: var(--text-center);
}
.title_section_services:after {
  background: var(--color-secundary);
  transform-origin: center;
}

[class^='title_section']:hover:after {
  transform: scale(1, 1);
}

.title_proyect {
  font-size: 50px;
  margin: auto;
  padding: 1em 0;
}

.title_section_proyectos {
  color: var(--color-white);
  font-weight: 600;
  margin: auto;
  text-align: var(--text-center);
  padding: 25px 0 20px;
}

.title_section_proyectos > span {
  color: var(--color-primary);
}

.title_section_proyectos:after {
  background-color: var(--color-primary);
  transform-origin: center;
}

.what-we-offer .block h1 {
  color: var(--color-primary);
}

/* ---DESCRIPCION DE SECCIONES ------- */
.description {
  color: var(--color-secundary);
  font-size: 16px;
}

@media screen and (max-width: 500px) {
  .description {
    padding: 10px 0 28px;
  }
}

/*  ----- SECCION NOSOTROS ------------------------------------------------------------- */
.section_comiluz {
  display: grid;
  grid-template-columns: 1fr 600px;
  padding: 12em 4em;
  grid-gap: 1em;
  background-attachment: fixed;
  background-image: url('../images/parallax/2.jpg');
  background-repeat: repeat-y;
  background-position: 50% 0;
  background-size: cover;
}

/* @media screen and (max-width: 600px){
    .section_comiluz{
        padding: 3em;
    }
} */

.section_comiluz > div:first-child > h1 {
  color: #f9b701;
  font-size: 38px;
}
.section_comiluz > div:first-child > p {
  color: var(--color-white);
  font-size: 16px;
}
.section_comiluz > div:last-child > img {
  width: 100%;
}

@media screen and (max-width: 900px) {
  .section_comiluz {
    grid-template-columns: 1fr;
    padding: 3em;
  }
  .section_comiluz > div:first-child > h1 {
    font-size: 28px;
  }
  .section_comiluz > div:first-child > p {
    font-size: 14px;
  }
}
/* --============ SECCIÓN SERVICIOS ========================================----- */
.section_servicios {
  background-color: var(--color-primary);
  display: grid;
  grid-template-columns: 200px 1fr 1fr 200px;
  grid-gap: 1.5em;
  padding: 2em 7em 5em;
}

.section_services_title {
  grid-column: 1 / 5;
}
.service__construccion {
  grid-column: 2 / 3;
}

@media screen and (max-width: 900px) {
  .section_servicios {
    grid-template-columns: 1fr;
    padding: 4em 2em 8em;
  }
  .section_services_title {
    grid-column: 1 / 2;
  }

  .title_section_clients {
    padding: 25px 0 35px;
  }
  .service__construccion {
    grid-column: 1;
  }
}

@media screen and (max-width: 500px) {
  .section_servicios {
    grid-template-columns: 1fr;
    /* padding: 0em 2em 8em; */
  }
  .section_services_title {
    grid-column: 1 / 2;
  }
}

.service {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  border-radius: 2px;
  position: relative;
  background-color: var(--color-white);
  overflow: hidden;
  height: 245px;
}

.service > img {
  filter: brightness(0.5);
  border-radius: 2px;
}

.service:hover > .title_service {
  transition: 0.3s;
  bottom: 0;
}
.service:hover > img {
  filter: none;
  transition: ease 0.6s;
  transform: scale(1.3);
}
.service > .title_service > h1 {
  font-size: 20px;
  margin: 0;
  color: white;
  font-weight: 600;
}

.service > .title_service,
.service > .icon {
  padding: 12px;
  text-align: var(--text-center);
}

.service > .title_service {
  padding: 2em;
  text-align: left;
}

.service > .title_service > a {
  color: #fbc31b;
  font-size: 16px;
  font-weight: 500;
}

.service:hover > .icon {
  transition: 0.8s ease-in;
}

.service > .icon {
  border-radius: 4px;
}

.title_service {
  position: absolute;
}

/* _____________________________________ */

/* -- INICIO DE SECCION --------------------------- */
.seccion_clientes,
.seccion__proyectos {
  background-color: var(--color-primary);
}

.title_section_clients {
  font-weight: 600;
  display: table;
  margin: auto;
  font-size: var(--font-title);
  padding: 25px 0;
  color: var(--color-white);
  text-transform: uppercase;
  padding: 25px 0 50px;
}

.title_section_clients::after {
  content: '';
  display: block;
  height: 3px;
  background: var(--color-primary);
  transform: scale(0, 1);
  transform-origin: center;
  transition: transform 2s;
}

.title_section_services > span,
.title_section_clients > span {
  color: var(--color-secundary);
}

.title_section_clients:after {
  background: var(--color-secundary);
}

.title_section_clients:hover::after {
  transform: scale(1, 1);
}

/* _____________________________________________________________________ */

/*-------------------- NAV FOOTER */

.nav-footer > li,
.nav-footer > li > a {
  list-style-type: none;
  color: var(--color-white);
  font-size: 13px;
}

.nav-footer > li.title {
  color: #f9b701;
}

.nav-footer > li > a:hover {
  color: var(--color-hover);
  text-decoration: none;
  cursor: pointer;
}

/* --- REDES SOCIALES--- */
.redes-sociales-icons {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 10px;
}

.redes-sociales-icons > div {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 450px) {
  .redes-sociales-icons > div {
    justify-content: center;
  }
}

.redes-sociales-icons > div > img {
  width: 25px;
}

.redes-sociales-icons > div > p,
.redes-sociales-icons > div > p > a {
  color: var(--color-white);
  margin: 0;
  font-size: 13px;
}

.btn_brochure {
  padding: 1em 2em;
  background-color: var(--color-primary);
  text-decoration: none !important;
  color: var(--color-secundary) !important;
}

/* ___________________________________________________________________ */

/*  PAGINA QUIENES SOMOS */

.title_section_somos {
  font-size: 52px;
}

.subtitulo {
  font-size: 38px;
}
/* ___________________________________________________________________ */

/* NUESTRA EMRPESA */
.picture {
  position: relative;
  overflow: hidden;
}

.img_nuestra_empresa {
  overflow: hidden;
  border-radius: 2px;
}
.picture:hover img {
  transform: scale(1.2);
  transition: 0.4s;
}

/* __________________________________________________________________ */
/* PÁGINA PROYECTOS */

/* ___________________________________________________________________ */
/*  PÁGINA GALERIA */
.content-gallery {
  background-color: var(--color-primary);
}

.content_gallery_image {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2em;
  padding: 2em 6em;
}

.content_gallery_image > .gallery_image {
  height: 340px;
  overflow: hidden;
  border: 2px solid;
}

.gallery_image > img {
  width: 100%;
}

/* PAGINA CONTACTO */

/* -- CONTENEDOR ------------------- */
.container-contact {
  width: 100%;
  /* height: 100vh; */
  display: grid;
  justify-content: center;
  background-color: #ffcd34;
  padding: 5em 0;
}

@media screen and (max-width: 500px) {
  .container-contact {
    padding: 2em 0;
  }
}

/* --- TITLE FORM ------------------------------------*/
.title_form,
.title_send {
  display: flex;
  text-align: center;
  justify-content: center;
}
.title_form {
  flex-direction: column;
  padding-bottom: 1.5em;
}

/* --- TITLE ENVIADO ------------------------------------- */
.title_send {
  align-items: center;
}

.title_form > h2 {
  font-weight: 600;
  font-size: 3.5rem;
  margin: 18px;
  text-transform: uppercase;
}

@media screen and (max-width: 500px) {
  .title_form > h2 {
    font-size: 2.4rem;
  }
  .title_form h3 {
    padding: 0 2rem;
  }
}

.title_form h3 {
  font-size: 2.2rem;
}

/* - FORMULARIO ----------------------------------------- */
.container-formulario {
  /* width: 800px; */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  grid-gap: 2em;
  padding: 0 4em;
  margin: auto;
}

.container-formulario > div:first-child {
  display: flex;
  flex-direction: column;
}

.container-formulario > div:first-child > input,
.container-formulario > div.textarea > select,
textarea,
input {
  padding: 16px 8px;
  margin: 6px 0;
  outline: none;
  border: 1px solid;
  border-radius: 4px;
}

.container-formulario > div.textarea > select > option {
  border: 1px solid;
}

.container-formulario > div.textarea > textarea {
  font-family: Arial, Helvetica, sans-serif;
  resize: none;
}

.content-send {
  grid-column: 1 / 3;
  padding: 0 32rem;
}

@media screen and (max-width: 450px) {
  .content-send {
    text-align: center;
    grid-column: 1;
    padding: 0;
  }
}

.send {
  background-color: black;
  border: none;
  cursor: pointer;
  color: white;
  padding: 1em 4em;
  width: 100%;
}

.info__cliente {
  margin-top: 3rem;
  margin-bottom: 6rem;
}

@media screen and (max-width: 500px) {
  .info__cliente {
    margin-top: 0;
    padding: 0 2rem;
  }
}

.info__cliente p {
  font-size: 2.5rem;
}
/* ---MEDIA QUERIES CONTAINER -------------------------------- */

@media screen and (max-width: 982px) {
  .container-formulario {
    width: auto;
    margin: 0 2em;
  }
}

@media screen and (max-width: 740px) {
  .container-formulario {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .title_form > h1 {
    font-size: 40px;
  }
}

/* PROYECTOS  */

.title_project {
  padding: 1.5em;
  background-color: #2b2b2b;
  text-align: center;
}

.title_project {
  color: #f9b701;
  text-transform: uppercase;
  font-size: 1.5em;
}

.description_project {
  background: white;
  padding: 2em;
  border-bottom: 6px solid #2b2b2b;
  margin-bottom: 50px;
  text-align: center;
}

.description_project > h4 {
  margin: 0;
  margin-bottom: 6px;
  font-weight: 600;
}

.description_project > div {
  text-align: center;
}

/* PROYECTOS POR PÀGINA */
.section_title_project {
  padding: var(--p-3);
}

@media screen and (max-width: 450px) {
  .section_title_project {
    padding: 2em;
  }
}

.block.title_project_one > h1 {
  font-weight: bolder;
  font-size: 5rem;
}
.block.title_project_one > h2 {
  font-size: 3rem;
  margin: 0;
}
.title_project_one p {
  font-size: 2rem;
}

.information_project {
  background-color: #ffd769;
  padding: var(--p-3);
}
.information_project p {
  font-size: 1.6rem;
  line-height: 2.5rem;
}
.information_project h3 {
  font-weight: 600;
  font-size: 4rem;
  text-transform: uppercase;
}

.information_project ul > li {
  font-size: 2rem;
  line-height: 3rem;
}
@media screen and (max-width: 450px) {
  .information_project {
    padding: 0 3em;
  }
}

.information_description {
  border-bottom: 1px solid;
}

.information_description.sin_bord {
  border: none;
}

.information_description > h1 {
  font-size: 2.3rem;
  font-weight: 600;
}

footer {
  padding-bottom: 25px;
}

@media screen and (max-width: 450px) {
  footer {
    padding-top: 20px;
    padding-bottom: 0;
    text-align: center;
  }
}
