@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

:root {
  --primary-color: #192a44;
  --second-color: #ffffff;
  --orange-color: #ec7d30;
  --text-colorOne: #07223e;
  --text-colortwo: #f8f8f8;
}
html {
  font-size: 10px;
}
body {
  font-family: "Open Sans", sans-serif;
  font-size: 1.5rem;
}

/* === componentes === */

/* .layout {
  position: relative;
  min-width: 1290px;
} */

/* titulos */

.seccion__title {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  justify-content: space-around;
  /* margin-top: 5rem; */
  margin-bottom: 3rem;
}
.seccion__line {
  display: flex;
  width: 30%;
  height: 5px;
  background-color: var(--orange-color);
}
.seccion__title-h3 {
  font-size: 3.5rem;
  color: var(--text-colorOne);
}

.seccion__title-h4 {
  font-size: 2.8rem;
  color: var(--text-colorOne);
}

/* === nav === */

.nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 1000;
}

.nav__header {
  display: flex;
  justify-content: space-between;
  width: 80%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 4.8rem;
  letter-spacing: 5px;
  color: var(--primary-color);
}

.nav__logo-img {
  background-color: var(--primary-color);
  width: 7rem;
  height: 100%;
}

.nav__logo-img-img {
  width: 150%;
}

.nav__header-info {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.header__card {
  display: flex;
  align-items: center;
  margin-right: 1rem;
  padding-left: 4rem;
}

.linia__borde {
  width: 2px;
  height: 4.5rem;
  background-color: rgb(25, 42, 68, 0.5);
}

.icon_header {
  font-size: 3.5rem;
  margin-right: 0.9rem;
  font-weight: 100;
}

.header__boton {
  display: flex;
  align-items: center;
  margin-right: 3rem;
  cursor: pointer;
}

.header__boton-box {
  display: flex;
  align-items: center;
  text-align: center;
  line-height: 1;
  width: 20rem;
  background-color: var(--orange-color);
  padding: 0.5rem;
  font-size: 1.5rem;
  color: var(--second-color);
  letter-spacing: 1.5px;
}

.header__boton-img {
  width: 4rem;
  margin-right: 1rem;
}

.nav__toogle-icon {
  display: none;
}

.nav__menu {
  display: flex;
  width: 80%;
  justify-content: center;
  background-color: var(--primary-color);
}

.cerrar__menu {
  display: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 10rem;
}

.nav__links-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15rem;
  padding: 1.5rem;
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: var(--second-color);
  font-weight: bold;
  transition: all 300ms ease;
}

.nav__links-item:hover {
  font-size: 2rem;
  text-shadow: #ec7d30 0px 0px 10px;
}

/* .ligth-orange{
    background-color: var(--orange-color);
    font-size: 2rem;
} */

/* === header === */
.container__header {
  width: 100%;
  height: 100vh;
  flex-direction: column;
}
.header {
  position: absolute;
  top: 12rem;
  width: 100%;
  height: 100vh;
  background-image: url("../img/portada.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  z-index: -1;
}

.header__container {
  display: flex;
  justify-content: end;
  width: 80%;
  padding: 4rem;
  margin-top: 4rem;
}

.header__title-h1 {
  width: 50%;
  text-align: center;
  color: var(--second-color);
  font-size: 5rem;
}

.header__cv {
  display: flex;
  justify-content: flex-end;
  position: absolute;
  right: 25%;
  bottom: 45%;
  width: 50%;
  margin-top: 3rem;
}

.download {
  display: flex;
  text-decoration: none;
  margin-left: 2rem;
  cursor: pointer;
}

.header__cv-img {
  width: 9rem;
  height: auto;
  color: var(--second-color);
}

.icon_download {
  font-size: 48px;
  color: var(--second-color);
}

.icon_download:hover {
  color: var(--orange-color);
}

/* === Slide === */
@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-40%);
  }
}

.carrucel {
  width: 100%;
  height: 15rem;
  background-color: var(--second-color);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  box-shadow: 0px 3px 26px -12px rgba(0, 0, 0, 0, 0.75);
}

.carrucel:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 10%;
  height: 100%;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 1)
  );
  content: "";
  z-index: 1;
}

.carrucel:after {
  position: absolute;
  top: 0;
  right: 0;
  width: 90%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 1)
  );
  content: "";
  z-index: 1;
}

.carrucel__item--slide {
  display: flex;
  width: 150%;
  /* justify-content: center; */
  align-items: center;
  white-space: nowrap;
  animation: slide 10s linear infinite;
}

.carrucel__item {
  width: 15rem;
  margin-right: 7.5rem;
  /* margin-left: 25rem;
    margin-right: 10rem; */
}

.carrucel__item-s {
  width: 20rem;
}

/* === Servicios === */

.servicios {
  display: flex;
  flex-direction: column;
  background-image: url("../img/servicios_fondo.png");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 60%;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}

.servicios__servicio {
  display: flex;
  width: 80%;
  justify-content: space-between;
  align-items: center;
}

.servicio__card {
  display: flex;
  flex-direction: column;
  padding: 3rem;
}

.servicio__card-img {
  border: 5px solid var(--primary-color);
  border-radius: 2rem;
  margin-bottom: 5rem;
  cursor: pointer;
  transition: all 300ms ease;
}

.servicio__card-img:hover {
  transform: scale(1.1);
  border: 5px solid var(--orange-color);
}

.servicio__card-h3 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.servicio__card-line {
  width: 5rem;
  height: 5px;
  background-color: var(--orange-color);
  margin-bottom: 2rem;
}

.servicio__card-text {
  font-size: 1.5rem;
  color: var(--text-colorOne);
  line-height: 3rem;
}

.servicio__card-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15rem;
  padding: 1rem;
  background-color: var(--orange-color);
  color: var(--second-color);
  font-size: 1.5rem;
  letter-spacing: 1.5px;
  margin-top: 5rem;
  cursor: pointer;
  transition: all 300ms ease;
}

.servicio__card-button:hover {
  background-color: var(--primary-color);
}

/* === Nosotros === */
.nosotros {
  display: flex;
  background-image: url("../img/servicios_fondo.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 80%;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 140vh;
  /* background-color: bisque; */
}

.nosotros__objetive {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  margin-bottom: 3rem;
}

.banda1 {
  width: 10%;
  height: 70%;
  background-color: var(--primary-color);
}

.objetive__imagen-img {
  width: 17%;
  padding: 2.5rem;
  box-shadow: 10px 10px 8px #888888;
}

.objetive__banda {
  display: flex;
  align-items: center;
  justify-content: left;
  width: 72%;
  height: 70%;
  background-color: var(--primary-color);
}

.objetive__banda-p {
  width: 70%;
  font-size: 2rem;
  color: white;
  letter-spacing: 2px;
  line-height: 3rem;
  padding: 2rem;
  margin-left: 5rem;
}

.nosotros__description {
  display: flex;
  justify-content: center;
  flex-direction: row;
  width: 100%;
}

.nosotros__description-parrafos {
  position: relative;
  width: 40%;
  height: 50%;
  padding-top: 15rem;
}

.nosotros__description-parrafos p {
  font-size: 2rem;
  color: var(--text-colorOne);
  line-height: 3rem;
  margin-bottom: 3rem;
  letter-spacing: 3px;
  font-weight: 700;
}

.nosotros__imagen2 {
  width: 40%;
}

.shadow__description {
  width: 40rem;
  height: 70rem;
  background-color: #efefef;
  margin-left: 20rem;
}

.nosotros__description-img {
  position: relative;
  top: -50%;
  right: -25%;
  width: 80%;
}

/* === Galeria === */

.galeria {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 120vh;
  /* background-color: #a3cbf6; */
  margin-top: 5rem;
}

.galeria__container {
  width: 91%;
  display: grid;
  margin: 0 auto;
  grid-template-columns: 20% 80%;
  grid-template-rows: 15rem 80vh;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "container__descript container__descript"
    "container__proyect container__gal";
}

.container__descript {
  grid-area: container__descript;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
}

.container__descript-h3 {
  width: 50%;
  text-align: center;
  font-size: 2rem;
  color: var(--second-color);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.container__proyect {
  grid-area: container__proyect;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
}
.container__proyect-items {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container__proyect-items li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.btn-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1.5rem;
  color: var(--second-color);
  font-size: 2.5rem;
  letter-spacing: 2px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: all 300ms ease;
}

.active {
  background-color: var(--orange-color);
  transform: scale(1.1);
  transition: all 300ms ease;
}

.container__gal {
  grid-area: container__gal;
  /* background-color: green; */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  overflow-y: auto;
}

.container__gal::-webkit-scrollbar {
  width: 20px;
}

.container__gal::-webkit-scrollbar-thumb {
  background-color: var(--orange-color);
  border-radius: 10px;
}

.container__gal::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

.galeria .box-img {
  width: calc(120px * 3 - 20px);
  height: 200px;
  margin: 10px;
  border-radius: 2px;
  box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.galeria .box-img img {
  width: 100%;
  vertical-align: top;
  cursor: pointer;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  transition: all 0.5s ease;
}

.galeria .box-img img:hover {
  transform: scale(1.3);
}

/* modal */

.modal {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.close-modal {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  font-size: 5rem;
  color: #ffffff;
  cursor: pointer;
  border: none;
  background: none;
}

.modal img {
  width: 70%;
  object-fit: cover;
}

/* === Contacto === */

.contacto {
  display: flex;
  background-image: url(../img/servicios_fondo.png);
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 90%;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 140vh;
  background-color: var(--second-color);
}

.contacto__complete {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.contacto__formulario {
  flex: 1;
  width: 100%;
  padding: 5rem;
  border-radius: 10px;
  box-sizing: border-box;
  margin-right: 2rem;
}

.form {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.formulario__input {
  font-family: inherit;
  font-size: 2.5rem;
  width: 100%;
  height: 60px;
  border-radius: 5px;
  border-style: solid;
  border-width: 1px;
  border-color: #bdbdbd;
  margin-top: 10px;
  margin-bottom: 20px;
  padding: 10px;
}

.formulario__input::placeholder {
  text-align: center;
}

.formulario__input:focus {
  outline: 0;
  border: 1px solid var(--orange-color);
}

.formulario__cta {
  width: 100%;
  display: block;
  max-width: 400px;
  font-family: inherit;
  font-size: 4rem;
  background-color: var(--primary-color);
  color: #f8f8f8;
  border: none;
  font-weight: 500;
  padding: 2rem;
  margin-top: 20px;
  border-radius: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.formulario textarea:focus {
  outline: 0;
  border: 1px solid #ed7e2f;
  background-color: #ed7e2f;
}

.formulario__cta:hover {
  background-color: var(--orange-color);
}

.formulario__container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-auto-columns: 100%;
}

.formulario__input--mensaje {
  width: 100%;
  height: 400px;
  resize: vertical;
  text-align: center;
  align-content: center;
  border-radius: 5px;
  border-style: solid;
  border-width: 1px;
  border-color: #cfc3c3;
  margin-top: 10px;
  padding-left: 10px;
  margin-bottom: 20px;
  padding-top: 15px;
}

.formulario__comunication-p {
  font-size: 3rem;
  color: var(--text-colorOne);
  line-height: 3rem;
  margin: 3rem;
  letter-spacing: 3px;
  font-weight: 700;
}

.contacto__comunication {
  flex: 1;
  max-width: 50%;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem;
}

.comunication__items {
  display: flex;
  flex-direction: column;
  align-items: left;
}

.telefono,
.correo,
.direccion {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.icon_contact {
  font-size: 8rem;
  color: var(--orange-color);
  margin-top: 6rem;
  margin-left: 6rem;
}
.comunicacion__items-content {
  display: flex;
  flex-direction: column;
}
.comunicacion__items-h3 {
  display: flex;
  color: var(--text-colorOne);
  align-content: space-around;
  font-size: 2.5rem;
  font-weight: bold;
  margin-top: 6rem;
}

.comunicacion__items-h4 {
  display: flex;
  color: var(--text-colorOne);
  justify-content: center;
  word-spacing: 2px;
  font-size: 2rem;
  font-weight: normal;
  word-break: normal;
}

/* === Footer === */

.footer {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  width: 100%;
  height: 110vh;
  background-color: var(--primary-color);
  padding-top: 5rem;
  padding-left: 3rem;
}

.footer__title {
  font-size: 7rem;
  color: var(--second-color);
  margin-bottom: 5rem;
  width: 60%;
  text-align: center;
}

.footer__redes {
  display: flex;
  gap: 7rem;
}

.footer__redes-img {
  width: 20rem;
  height: auto;
  cursor: pointer;
}

.footer__menu {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 5rem;
  margin-top: 4rem;
}

.footer__menu-texto {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 30%;
}

.footer__menu-logo {
  width: 100%;
  margin-bottom: 5rem;
}

.footer__menu-p {
  font-size: 2rem;
  color: rgba(106, 107, 121, 0.788);
  margin-bottom: 1rem;
}

.footer__menu-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer__menu-item {
  font-size: 2.5rem;
  color: var(--second-color);
  cursor: pointer;
  transition: all 300ms ease;
  letter-spacing: 5px;
  font-weight: bold;
  color: rgba(106, 107, 121, 0.788);
}

.footer__menu-item:hover {
  color: var(--orange-color);
}

.footer__menu-contacto {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.menu__contacto-footer {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 2.5rem;
  color: rgba(106, 107, 121, 0.788);
  cursor: pointer;
}

.menu__contacto-footer:hover {
  color: var(--orange-color);
}

.footer__line {
  width: 80%;
  height: 3px;
  background-color: rgba(255, 166, 0, 0.644);
  margin-top: 5rem;
}

.footer__final {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 90%;
}

.footer__final-p {
  font-size: 2rem;
  color: rgba(106, 107, 121, 0.788);
  margin-top: 2rem;
  padding-bottom: 1rem;
}
