/*
    Theme Name: Devintech Theme
    Theme URI: 
    Author: Devintech S.A. de C.V.
    Description: Plantilla creada por Devintech. Todos los derechos reservados &copy;
    Version: 0.0.2
    Tags: responsive, demo theme wordpress
*/
@import url("libraries/DevintechFramework/css/colors.css");
@import url("libraries/DevintechFramework/css/fonts.css");
@import url("libraries/DevintechFramework/css/components.css");
@import url("libraries/DevintechFramework/css/utils.css");

/* RESETING CSS */
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth !important;
  overflow-x: hidden !important;
}

/* SECCIONES DEL SITIO */
section {
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  padding-top: 30px;
}

.tlMovil-pagination {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

#skills {
  height: 780px;
}

#hero-slider {
  padding-top: 15% !important;
  padding-bottom: 10% !important;
}

#hero-slider,
#tech,
#contact {
  height: fit-content !important;
}

#contact {
  padding: 85px 0px;
}

#services {
  height: fit-content;
  padding: 5% 0%;
}

#tech-list {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

#skills-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  overflow-x: hidden;
  width: calc(100%);
  z-index: 11;
}

.title-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  vertical-align: center;
  align-items: center;
  margin: 15px 0px;
}

.title-section h3 {
  margin: 0px 10px;
  letter-spacing: 0.15em;
  text-align: center;
}

/* HEADER */
header .menu {
  background-color: #f5f5f5;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  padding: 0.5% 6.5% 0.5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

header .menu-items {
  width: 100%;
  display: flex;
  list-style: none;
  justify-content: space-evenly;
  align-items: center;
}

header .menu-items li {
  padding: 1%;
  padding-top: 2%;
}

header .btn-item {
  font-family: "Poppins";
  min-width: 230px;
}

header .btn-menu {
  font-size: 15px;
  cursor: pointer;
  display: none;
}

header .open-btn {
  border: none;
  background: none;
  margin-left: -10px !important;
}

.menu-items > li > a,
.open-btn,
.dropdown-content > li > a,
.dropdown-item,
.header-box a,
.sideList > li a,
.li-social,
.side-subitem > li > a:hover {
  color: var(--primary-color) !important;
}

.menu-items > li > a:hover {
  border-bottom: 2px solid var(--primary-color);
}

.side-subitem > li > a {
  color: var(--secondary-color);
}

.dropdown {
  min-width: fit-content;
}

.lg-item {
  min-width: 184px !important;
}

.dropdown-content,
.dropdown-menu {
  list-style: none;
  display: none;
  position: absolute;
  background: #f5f5f5 !important;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 0px 0px 10px 10px !important;
  border: none !important;
  min-width: 160px;
  padding: 12px 16px;
  margin-top: 4px;
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-item:hover {
  background: none !important;
  color: var(--secondary-color) !important;
}

.nav-link:focus,
.nav-link:hover {
  color: none !important;
}

.sideList li a {
  font-size: var(--font-size-6);
}

.li-social * {
  margin-right: 5px;
}

#sideNavbar {
  background: var(--white-color);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.3s;
  position: absolute;
  /* width: 75%; */
  height: 100%;
  right: 0;
}

#sideNavbar.active {
  margin-right: 0px;
}

#sideNavbar > .header-box {
  display: flex;
  justify-content: end;
  padding: 5% 10% 5%;
}

.sideList {
  list-style: none;
  padding: 0px 10% 0px;
}

.sideList > li {
  margin-top: 10%;
}

.sideList > li > a {
  text-decoration: none;
  margin-right: 2%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sideList > li > a svg:not(:root).svg-inline--fa {
  font-size: 18px;
}

.sideList > .li-social {
  width: fit-content;
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
}

.sideList > .li-social > svg {
  margin: 0px 15px;
}

.sideList > .li-social > svg:first-child {
  margin-left: 0px;
}

.sideList > .li-social > svg:last-child {
  margin-right: 0px;
}

.serv-menu,
.devint-menu,
.rec-menu {
  padding: 0;
  display: none;
  list-style: none;
}

.serv-menu.show,
.devint-menu.show,
.rec-menu.show {
  display: block;
}

.serv-menu li,
.devint-menu li,
.rec-menu li {
  padding: 10% 0 0;
}

.proyButton {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  width: -webkit-fill-available;
  visibility: hidden;
}

@media screen and (max-width: 1070px) {
  header .menu-items {
    display: none !important;
  }

  header .btn-menu {
    display: inline-flex;
  }

  #sideNavbar {
    display: block !important;
    margin-right: -75%;
    width: 50%;
    min-height: 100vh;
    position: fixed;
    z-index: 1;
  }

  #desktopSection {
    display: none !important;
  }
}

@media screen and (max-width: 530px) {
  #proyectButton {
    display: none;
  }
  .proyButton {
    visibility: visible;
  }
  #sideNavbar {
    width: 75%;
  }
}

/* SLIDER INICIAL */
#hero-slider {
  display: flex;
  align-items: center;
  position: relative;
}

.hero_animation {
  position: absolute;
}
#nodosSuperiores {
  left: 0;
  top: 0;
}

#nodosInferiores {
  right: 0;
  bottom: 0;
}

#ondaSuperior1,
#ondaSuperior2,
#ondaSuperior3 {
  top: 0;
  left: 0;
  width: calc(100%);
}

#ondaInferior1,
#ondaInferior2,
#ondaInferior3 {
  bottom: 0;
  left: 0;
  width: calc(100%);
}

#nodosSuperiores,
#nodosInferiores {
  transition: 1s ease all;
}

#ondaSuperior1,
#ondaInferior1 {
  transition: 5s ease all;
}

#ondaSuperior2,
#ondaInferior2 {
  transition: 5s ease all;
}

#ondaSuperior3,
#ondaInferior3 {
  transition: 5s ease all;
}

#hero-slider #nodosSuperiores {
  animation: nodes-animation-1 7s infinite;
}

#hero-slider #ondaSuperior1 {
  animation: waving-1 7s infinite;
}

#hero-slider #ondaSuperior2 {
  animation: waving-2 6.5s infinite;
}

#hero-slider #ondaSuperior3 {
  animation: waving-3 6s infinite;
}

@keyframes nodes-animation-1 {
  0%,
  100% {
    transform: translate(0px, 0px) scale(1, 1) rotate(0deg);
  }
  50% {
    transform: translate(-25px, -25px) scale(1.3, 1.3) rotate(5deg);
  }
}

@keyframes waving-1 {
  0%,
  100% {
    transform: translate(0, 0px);
  }
  50% {
    transform: translate(0, 100px);
  }
}

@keyframes waving-2 {
  0%,
  100% {
    transform: translate(0, 0px);
  }
  50% {
    transform: translate(0, 70px);
  }
}

@keyframes waving-3 {
  0%,
  100% {
    transform: translate(0, 0px);
  }
  50% {
    transform: translate(0, 50px);
  }
}

/* INFERIORES */
#hero-slider #nodosInferiores {
  animation: nodes-animation-2 5s infinite;
}

@keyframes nodes-animation-2 {
  0%,
  100% {
    transform: translate(0px, 0px) scale(1, 1) rotate(0deg);
  }
  50% {
    transform: translate(25px, 25px) scale(1.3, 1.3) rotate(-5deg);
  }
}

#hero-slider #ondaInferior1 {
  animation: waving-4 7s infinite;
}

#hero-slider #ondaInferior2 {
  animation: waving-5 6.5s infinite;
}

#hero-slider #ondaInferior3 {
  animation: waving-6 6s infinite;
}

@keyframes waving-4 {
  0%,
  100% {
    transform: translate(0, 0px);
  }
  50% {
    transform: translate(0, -50px);
  }
}

@keyframes waving-5 {
  0%,
  100% {
    transform: translate(0, 0px);
  }
  50% {
    transform: translate(0, -70px);
  }
}

@keyframes waving-6 {
  0%,
  100% {
    transform: translate(0, 0px);
  }
  50% {
    transform: translate(0, -100px);
  }
}

#cta-nav {
  max-width: calc(100%) !important;
  min-width: 0px !important;
  padding: 9px 20px !important;
  margin: 6px !important;
}

#hero-slider > .social-list {
  position: absolute;
  left: 6%;
  top: 35%;
  display: flex;
  flex-direction: column;
}

#hero-slider > .social-list > svg {
  margin: 20px;
  fill: currentColor;
  color: var(--white-color);
}

#hero-slider > .container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.heroSwiper {
  width: 100%;
}

.hero-pagination {
  display: flex;
  justify-content: center;
  margin: 2% 0px 2%;
}

.swp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.swp-item > .title-section {
  margin: 0 !important;
}

.swp-item > .title-section h1 {
  text-align: center;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.swp-item > .title-section img {
  margin-right: 15px;
}

.swp-item > .title-section > .txt-efect > span {
  text-shadow: -0.2em 0 #328fb7, 0.2em 0 #328fb791;
  font-family: "Poppins-Bold";
}

.swp-item > p {
  font-size: var(--font-size-5);
  text-align: center;
  min-width: 270px;
  max-width: 790px;
}

.hero-pagination span {
  background-color: white !important;
  height: 15px;
  width: 15px;
}

@media screen and (max-width: 1000px) {
  .heroSlide {
    margin-top: 1% !important;
  }
  .swp-item > .title-section h1 {
    font-size: 45px !important;
  }
  .swp-item > .title-section img {
    margin-right: 10px;
  }
}

@media screen and (max-width: 540px) {
  .heroSlide {
    margin-top: 15% !important;
  }
  .swp-item > .title-section h1 {
    font-size: 25px !important;
  }
  .swp-item > .title-section img {
    margin-right: 5px;
  }
  .swp-item > p {
    font-size: 16px !important;
  }
}

/* NUESTROS SERVICIOS */
.devin-card {
  position: relative;
}
.arrow-indicator {
  position: absolute;
  bottom: 5%;
  left: 49%;
  right: 49%;
}

.arrow-rotate {
  transform: rotate(180deg);
}

/* SKILLS */
.skSlide {
  display: flex;
  justify-content: center;
}

.btn-skills {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 5%;
  left: 0;
  right: 0;
}

.skills-pagination {
  display: flex;
  justify-content: center;
  padding-top: 15px;
}

.skills-pagination span {
  background-color: #3e36f7 !important;
  height: 15px;
  width: 15px;
}

@media screen and (max-width: 479px) {
  .skill {
    margin-top: 1.5% !important;
    margin: 20px !important;
  }
}

/* ====================== TIMELINE  DEKTOP ====================== */
.tlSlide {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.tl-card {
  min-width: 360px;
  max-width: 500px;
  height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slide-Second {
  justify-content: flex-start;
}

.card-head,
.card-descrip {
  color: var(--white-color);
}

.card-head {
  position: relative;
  width: 155%;
  height: 220px;
}

.head-img {
  position: relative;
  /* width: 70%; */
  margin-right: 10px;
}

#card-2015:hover #image-2015 {
  background-image: url("../devintech/libraries/DevintechFramework/images/04Timeline/2015_active.png");
  background-repeat: no-repeat;
}

#image-2015 {
  background-image: url("../devintech/libraries/DevintechFramework/images/04Timeline/2015_inactive.png");
  background-repeat: no-repeat;
  background-position: bottom right;
  transition: 0.8s ease all;
}

#card-2019:hover #image-2019 {
  background-image: url("../devintech/libraries/DevintechFramework/images/04Timeline/2019_active.png");
  background-repeat: no-repeat;
}

#image-2019 {
  background-image: url("../devintech/libraries/DevintechFramework/images/04Timeline/2019_inactive.png");
  background-repeat: no-repeat;
  background-position: bottom right;
  transition: 0.8s ease all;
}

#card-2020:hover #image-2020 {
  background-image: url("../devintech/libraries/DevintechFramework/images/04Timeline/2020_active.png");
  background-repeat: no-repeat;
}

#image-2020 {
  background-image: url("../devintech/libraries/DevintechFramework/images/04Timeline/2020_inactive.png");
  background-repeat: no-repeat;
  background-position: bottom right;
  transition: 0.8s ease all;
}

#card-2022:hover #image-2022 {
  background-image: url("../devintech/libraries/DevintechFramework/images/04Timeline/2022_active.png");
  background-repeat: no-repeat;
}

#image-2022 {
  background-image: url("../devintech/libraries/DevintechFramework/images/04Timeline/2022_inactive.png");
  background-repeat: no-repeat;
  background-position: bottom right;
  transition: 0.8s ease all;
}

.head-text {
  display: flex;
  flex-direction: column;
  justify-content: end;
  width: 200px !important;
}

.h-title,
.h-descrip {
  font-size: var(--font-size-3) !important;
  font-weight: 700 !important;
}

.h-title {
  letter-spacing: 0.5rem;
  /* padding-bottom: 15px; */
  opacity: 0;
  animation: descripInanimate 0.5s ease backwards;
}

.h-title.active {
  opacity: 1;
  animation: descripAnimate 0.5s ease backwards;
}

.h-descrip {
  letter-spacing: 0.15rem;
  transition: 0.8s ease;
  /* transition: transform 0.8s; */
}

.h-descrip.active {
  font-size: 48px !important;
  /* transform: scale(1.25);
	transform-origin: left; */
}

.head-divider {
  position: absolute;
  bottom: 25%;
}

.head-divider > img {
  width: 90%;
}

.card-descrip p {
  width: 100%;
  padding: 15px;
  text-align: justify;
  opacity: 0;
  animation: descripInanimate 0.5s ease backwards;
}

.card-descrip.active p {
  opacity: 1;
  animation: descripAnimate 0.5s ease backwards;
}

#swiper-indicators > .swiper-pagination-bullet {
  height: 15px;
  width: 15px;
  border: 1px solid white;
}

#swiper-indicators > .swiper-pagination-bullet-active {
  height: 15px;
  width: 15px;
  background-color: white;
  border: none;
}

.tlMovil-pagination {
  display: flex;
  justify-content: center;
  padding-bottom: 10%;
}

.tlMovil-pagination > .swiper-pagination-bullet {
  height: 15px;
  width: 15px;
  border: 1px solid white;
}

.tlMovil-pagination > .swiper-pagination-bullet-active {
  height: 15px;
  width: 15px;
  background-color: white;
  border: none;
}

@keyframes descripAnimate {
  0% {
    transform: translate(70px, 70px);
    opacity: 0;
  }
  100% {
    transform: translate(0);
    opacity: 1;
  }
}

@keyframes descripInanimate {
  0% {
    transform: translate(0, 0px);
    opacity: 1;
  }
  100% {
    transform: translate(45px, 45px);
    opacity: 0;
  }
}

/* ====================== TIMELINE MOVIL ====================== */
.movil-card,
.movil-descrip {
  color: white;
}

.movil-image {
  display: flex;
  justify-content: flex-end;
}

.movil-image2020 {
  justify-content: center;
}

.movil-image2020 > img {
  width: 45%;
}

.movil-title2020 {
  display: flex;
  justify-content: center;
}

.mv-year20 {
  letter-spacing: 0.01em;
  font-weight: 700;
  font-size: 45px !important;
}

.mvtitle-container {
  width: 50%;
}

.movil-image img {
  width: 40%;
}

.movil-title {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.mv-title {
  font-size: 25px !important;
  font-weight: 700;
  letter-spacing: 0.27em;
}

.mv-year {
  font-size: 50px !important;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.movil-descrip {
  display: flex;
  justify-content: center;
  padding-top: 5%;
}

.movil-descrip > p {
  text-align: justify;
  width: 50%;
}

.tl-movil {
  margin-top: 50px;
}

@media screen and (max-width: 760px) {
  .movil-descrip > p {
    width: 80%;
  }
}

/* MEDIA QUERIES FOR DEVICES */
/* Móvil S - 320px */
@media screen and (min-width: 0px) and (max-width: 320px) {
  #imageY2015 {
    width: 110px !important;
  }

  #imageY2019 {
    width: 116px !important;
  }

  #imageY2020 {
    width: 260px;
  }

  #image2022 {
    width: 133px;
  }
}

/* Móvil M - 375px */
@media screen and (min-width: 320.1px) and (max-width: 375px) {
  #imageY2015 {
    width: 110px !important;
  }
  #imageY2019 {
    width: 150px !important;
  }
  #imageY2020 {
    width: 290px;
  }
  #image2022 {
    width: 143px;
  }
}

/* Móvil L - 425px */
@media screen and (min-width: 375.1px) and (max-width: 425px) {
  #imageY2015 {
    width: 150px !important;
  }
  #imageY2019 {
    width: 165px !important;
  }
  #imageY2020 {
    width: 330px;
  }
  #imageY2019-container {
    margin-left: 30px;
    justify-content: center !important;
  }
  #image2022 {
    width: 163px;
  }
}

/* Tablet - 768px */
@media screen and (min-width: 425.1px) and (max-width: 768px) {
}

/* Laptop - 1024px */
@media screen and (min-width: 768.1px) and (max-width: 1024px) {
  #contact_left_art {
    display: none !important;
  }

  #contact_right_art {
    display: none !important;
  }
}

/* PC Monitor - 1440px */
@media screen and (min-width: 1024.1px) and (max-width: 1240px) {
  #contact_right_art {
    right: -405px !important;
  }

  #contact_left_art {
    left: -430px !important;
  }
}

/* PC Monitor - 1440px */
@media screen and (min-width: 1240.1px) and (max-width: 1440px) {
  #contact_right_art {
    right: -340px !important;
  }

  #contact_left_art {
    left: -340px !important;
  }
}

/* 4K - 1920px */
@media screen and (min-width: 1440.1px) and (max-width: 1919px) {
  #contact_right_art {
    right: -160px !important;
  }

  #contact_left_art {
    left: -220px !important;
  }
}

/* Ultra Wide monitors*/
@media screen and (min-width: 1920px) {
}

/* MOBILE */
@media screen and (max-width: 769px) {
  #skills {
    height: 680px !important;
  }

  #hero-slider {
    padding-top: 25%;
  }

  .title-section h3 {
    font-size: x-large !important;
    letter-spacing: 3px !important;
  }

  h2 {
    font-size: var(--font-size-3) !important;
    letter-spacing: -3px;
  }

  h3 {
    font-size: var(--font-size-4) !important;
  }

  h4 {
    font-size: var(--font-size-6) !important;
  }

  #imageY2019-container {
    margin-left: 17px;
    justify-content: center !important;
  }

  #Y2020-title.movil-title2020 {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
  }

  #Y2020-title.movil-title2020 > .mvtitle-container {
    width: auto !important;
  }

  .mv-title {
    font-size: 14px !important;
  }

  .mv-year,
  .mv-year20 {
    font-size: 30px !important;
  }

  #titleY2019 {
    margin-left: -71px;
    margin-top: 41px;
  }
}

h2 {
  font-size: var(--font-size-3) !important;
  letter-spacing: -3px;
}

/* FOOTER MEDIA QUERY */
@media screen and (max-width: 990.9px) {
  .enlace .footer-links {
    text-align: left !important;
  }

  .enlaces .language-selector {
    display: block;
    margin-left: -12px;
  }
}

/* TIMELINE MEDIA QUERY */
@media screen and (max-width: 1380px) {
  .slide-Second {
    justify-content: center;
  }
}

/* MODAL */
#contact {
  position: relative;
}
#contact-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  vertical-align: middle;
  align-items: center;
  width: calc(100%);
  text-align: center;
}

#contact_right_art {
  position: absolute;
  right: 0;
}

#contact_left_art {
  position: absolute;
  left: 0;
}

.formColumn {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.forms-padding {
  padding: 0rem 4rem !important;
}

.modal-title {
  margin-bottom: 10px !important;
}

.title-art {
  height: fit-content;
  width: fit-content;
  margin: 0px 8px 3px 8px;
}

/* ESTILOS PERSONALIZADOS BOOTSTRAP */

.modal label {
  color: var(--gray-color);
}
.modal-header,
.modal-footer {
  border: none !important;
}

.modal-dialog {
  max-width: fit-content !important;
  width: 70%;
}

.modal-body {
  padding: 0px !important;
  margin-bottom: 15px;
}

.devin-modal-footer {
  margin: 15px 5px;
}

/* TIMELINE SLIDER */
.tl-content {
  margin-left: 30%;
}
.swiper-wrapper {
  justify-content: flex-start !important;
}

/* FOOTER */
footer .devin-link:hover {
  color: unset !important;
}
