:root {
  --color-gradientGreen: #4cca81;
  --color-gradientBlue: #3498db;
  --color-gradientBlueDark: #046fb8;
  --color-mainGreen: #aad64b;
  --color-greenDark: #78e701;
  --color-mainBlue: #12141f;
  --color-secondBlue: #0f2649;
  --color-white: #d6dcea;
  --imgEfect-size: 15rem;
  --imgEfect-easing: all 0.5s cubic-bezier(0.55, 0, 0.1, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100%;
  overflow-x: hidden;
}

a {
  cursor: pointer;
}

img {
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg,
      var(--color-mainBlue) 30%,
      var(--color-gradientBlue) 60%,
      var(--color-gradientGreen) 90%);
  position: relative;
  overflow: hidden;
}

.container::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: -1;
}

section {
  margin: 0 auto;
  padding: 0 1rem;
  max-width: 66rem;
}

.bar {
  position: fixed;
  width: 100%;
  z-index: 1000;
  height: 6.5rem;
  background: var(--color-mainBlue);
  color: var(--color-white);
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  align-items: end;
  transition: all 0.5s ease;
}

.bar.absolute {
  position: absolute;
  top: 0;
}

.section-header {
  width: 100%;
}

.data {
  list-style-type: none;
  margin: 0.5rem auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-height: 36.5px;
  overflow-x: auto;
}

#localDate {
  min-width: 11rem;
  margin-right: .5rem;
  white-space: nowrap;
}

#localWeather {
  margin-left: .5rem;
  border: .2px solid var(--color-mainBlue);
  white-space: nowrap;
  cursor: pointer;
  padding: .2rem;
}

#localWeather:hover {
 border-radius: .5rem;
 border: .2px solid var(--color-mainGreen);
 box-shadow: 0 0 10px var(--color-mainGreen);
}

#localWeatherImg {
 margin-left: .2rem;
}

.weatherActive {
  background-color: var(--color-white);
  color: var(--color-mainBlue);
  border-radius: 0.5rem;
  font-weight: bold;
}

.currency {
  margin-left: .5rem;
  position: relative;
  display: flex;
  align-items: center;
  min-width: 10rem;
  justify-content: space-between;
}

.flag {
  cursor: pointer;
  border: .5px solid var(--color-mainBlue);

}
.flag:hover{
  box-shadow: 0 0 5px var(--color-mainGreen);
  border: .5px solid var(--color-mainGreen);

}

.menu-currencyTo {
  display: none;
  margin-top: .5rem;
  position: absolute;
  padding: 0 .5rem .5rem .5rem;
  z-index: 1;
  min-width: 10rem;
  background-color: var(--color-mainBlue);
  border: .5px solid var(--color-mainGreen);
  box-shadow: 0 0 5px var(--color-mainGreen);
  border-radius: 15px;
  justify-content: space-between;
  flex-direction: column;
}

.menu-currencyTo div {
  display: flex;
  margin-top: .5rem;
  align-items: center;
  min-width: 10rem;
  justify-content: space-between;
}

.menu-currencyTo img {
  aspect-ratio: 27/20;
}

.weather {
  min-width: 7rem;
  display: flex;
  align-items: center;
}

.data img,
.data span {
  box-sizing: content-box;
}

.weather img {
  aspect-ratio: 1/1;
}

.localCurrency {
  min-width: 2.2rem;
}

.currency img {
  aspect-ratio: 27/20;
}

#localtime {
  min-width: 5rem;
  margin-left: .8rem;
}

.data::-webkit-scrollbar,
.creditos-div::-webkit-scrollbar,
.tecnologias::-webkit-scrollbar {
  width: 20%;
  height: 3px;
}

.data::-webkit-scrollbar-track,
.creditos-div::-webkit-scrollbar-track,
.tecnologias::-webkit-scrollbar-track {
  background-color: transparent;
}

.data::-webkit-scrollbar-thumb,
.creditos-div::-webkit-scrollbar-thumb,
.tecnologias::-webkit-scrollbar-thumb {
  background-color: var(--color-gradientBlue);
  width: 10px;
  height: 10px;
  border-radius: 10px;
}

.nevSectionSer {
  margin: 0 auto;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 40px;
  overflow: hidden;
  overflow-x: auto;
}

.menuSer {
  display: none;
  background-color: var(--color-mainBlue);
  position: relative;
  margin: 0 auto;
  height: 40px;
}

.ulSectionSer {
  list-style-type: none;
  margin: 0 auto;
  display: flex;
  margin-block-start: 0px;
  margin-block-end: 0px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 0px;
  flex-wrap: wrap;
  height: 40px;
}

li {
  margin: auto;
  border-radius: 0.5rem;
  padding: 0.5rem;
}

.aEfect {
  text-decoration: none;
  border-radius: 0.5rem;
  padding: 0.5rem;
  color: inherit;
}

.aEfect:hover {
  transition: 0.5s;
  transform: scale(1.1);
  box-shadow: 0 0 5px var(--color-mainGreen);
  text-shadow: 0 0 5px var(--color-mainGreen);
}

.shadow {
  color: var(--color-mainGreen);
  box-shadow: 0 0 5px var(--color-mainGreen);
  text-shadow: 0 0 5px var(--color-mainGreen);
  transition: 0.5s;
  transform: scale(1.1);
}

.glassEfect {
  color: var(--color-mainBlue);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0));
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  outline: 1px solid rgba(255, 255, 255, 0.18);
  transition: all ease 3s;
}

.menu-button {
  font-size: 1rem;
  font-weight: bold;
  background-color: var(--color-mainBlue);
  color: var(--color-white);
  border: transparent;
  cursor: pointer;
  border-radius: 0.5rem;
  padding: 0.5rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  z-index: 1;
  min-width: 200px;
  background-color: var(--color-mainBlue);
  border: 2px solid var(--color-mainGreen);
  border-radius: 0px 15px 15px 15px;
}

.dropdown-content a {
  color: var(--color-white);
  padding: 8px 10px;
  text-decoration: none;
  display: block;
  transition: 0.1s;
}

.dropdown-content a:hover {
  color: var(--color-mainGreen);
  box-shadow: 0 0 5px var(--color-mainGreen);
  text-shadow: 0 0 5px var(--color-mainGreen);
}

.dropdown-content #top:hover {
  border-radius: 0px 13px 0px 0px;
}

.dropdown-content #bottom:hover {
  border-radius: 0px 0px 13px 13px;
}

.menu-button:hover {
  color: var(--color-mainGreen);
  box-shadow: 0 0 5px var(--color-mainGreen);
  text-shadow: 0 0 5px var(--color-mainGreen);
  transition: 0.5s;
  border-radius: 1rem 1rem 0px 0px;
}

.progress-bar {
  display: flex;
  position: fixed;
  width: 100%;
  height: 0.4rem;
  margin-top: 0.2rem;
  align-items: end;
}

.progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg,
      var(--color-gradientBlue) 0%,
      var(--color-gradientGreen) 40%,
      var(--color-mainGreen) 70%);
  border-radius: 0 5px 5px 0;
}

.progress-underscore {
  width: 1.5rem;
  height: 60%;
  display: inline-block;
  position: relative;
  border-radius: 2px;
  margin-left: 2px;
  animation: parpadeo 1s infinite alternate;
  box-shadow: 0 0 10px var(--color-white);
}

@keyframes parpadeo {
  0% {
    background-color: var(--color-white);
    opacity: 1;
  }

  25% {
    background-color: var(--color-mainGreen);
    opacity: 0.75;
  }

  50% {
    background-color: var(--color-gradientBlue);
    opacity: 0.5;
  }

  75% {
    background-color: var(--color-gradientGreen);
    opacity: 0.25;
  }

  100% {
    background-color: var(--color-white);
    opacity: 0;
  }
}

.main {
  color: var(--color-secondBlue);
}

.seccion-main-acercaDe {
  margin-top: 1rem;
}

section p {
  font-size: 1.3rem;
  width: 100%;
  text-align: left;
}

.acerca-efect {
  max-width: calc(var(--imgEfect-size) * 1.6);
}

.acerca-efect-img {
  position: relative;
  aspect-ratio: 1/1;
  width: var(--imgEfect-size);
  height: var(--imgEfect-size);
  background-color: var(--color-mainGreen);
  border-radius: 50%;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.acerca-efect-img::before {
  content: "¡Hola!";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(./AcercaFlecha.png);
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: var(--color-secondBlue);
  font-size: calc(var(--imgEfect-size) / 4);
  font-weight: bolder;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0));
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.acerca-efect-img.active::before {
  content: "¡Hola!";
  position: absolute;
  margin-top: 50%;
  margin-left: 70%;
  width: 50%;
  height: 50%;
  background-color: var(--color-mainGreen);
  z-index: 1;
  background-image: none;
  opacity: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: var(--color-secondBlue);
  font-size: calc(var(--imgEfect-size) / 8);
  font-weight: bolder;
}

.linkContacto {
  color: var(--color-secondBlue);
}

.bi {
  width: 2rem;
  height: 2rem;
  margin: 1rem 1rem 1rem 0;
}

.bi:hover {
  transition: 0.3s;
  transform: scale(1.2);
  box-shadow: 0 0 10px var(--color-mainGreen);
  filter: drop-shadow(0 0 5px var(--color-greenDark));
}

.bi:active {
  transform: scale(1.1);
  color: var(--color-mainGreen);
}

.acerca-name {
  display: inline-block;
}

.acerca-underscore {
  width: 1rem;
  height: 0.3rem;
  display: inline-block;
  position: relative;
  border-radius: 2px;
  margin-left: 2px;
  animation: parpadeo 1s infinite alternate;
}

.seccion-main-servicios {
  display: flex;
  flex-direction: column;
}

.dialog-description::-webkit-scrollbar,
.dialog-title::-webkit-scrollbar,
dialog::-webkit-scrollbar {
  width: 3px;
}

.dialog-description::-webkit-scrollbar-track,
.dialog-title::-webkit-scrollbar-track,
dialog::-webkit-scrollbar-track {
  background-color: transparent;
}

.dialog-description::-webkit-scrollbar-thumb,
.dialog-title::-webkit-scrollbar-thumb,
dialog::-webkit-scrollbar-thumb {
  background-color: var(--color-gradientBlue);
  border-radius: 10px;
}

.glassEffectDialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0));
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  outline: 1px solid rgba(255, 255, 255, 0.18);
  transition: all ease 3s;
  z-index: 1000;
}

.dialog {
  position: fixed;
  max-width: 66rem;
  background-color: var(--color-secondBlue);
  color: var(--color-white);
  border: none;
  border-radius: 1rem;
}

.dialog-title {
  max-height: 2rem;
  overflow-x: hidden;
}

.dialog-description {
  /*max-height: 14rem;*/
  margin: 0;
  overflow-x: hidden;
  font-size: 1.1rem;
}

.dialog-Technologies {
  display: flex;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.5rem 0;
  justify-content: space-around;
  color: var(--color-mainGreen);
}

.goSite {
  width: 2rem;
  text-decoration: none;
  border-radius: 0.5rem;
  outline: none;
}

/*card fotos*/
.conteiner-photos {
  width: 100%;
  height: auto;
  margin: auto;
}

.cards-photos {
  color: var(--color-mainBlue);
  border-radius: 1rem 1rem 0 0;
  transition: 0.3s;
  display: flex;
  align-items: flex-end;
  background-color: var(--color-mainGreen);
}

/** stylos para el slide**/
.container-slides-photos {
  max-height: 800px;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
}

.cards-slides-photos {
  width: 400%;
  height: 100%;
  padding: 0;
  margin: 0;
  display: flex;
}

.cards-section-photos {
  width: calc(100% / 4);
  height: 100%;
  padding: 0;
  margin: 0;
}

.cards-img-photos {
  width: 100%;
  height: auto;
  object-fit: cover;
  padding: 0;
  margin: 0;
}

/**Termina la section carrusel**/
.details-photos {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--color-secondBlue);
  border-radius: 0 0 1rem 1rem;
  color: var(--color-white);
}

.details-buttons-photos {
  display: flex;
  width: 100%;
  margin: 0.5rem 0;
  justify-content: space-around;
}

.details-buttons-photos button {
  background-color: var(--color-secondBlue);
  border: none;
  margin: 0;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  width: 2rem;
  border-radius: 0.5rem;
}

.details-buttons-photos img {
  width: 100%;
}

.details-buttons-photos button:hover,
.goSite-photos:hover {
  transform: scale(1.2);
}

.details-buttonLeft-photos {
  visibility: hidden;
}

.last {
  color: var(--color-white);
}

.seccion-main-tecnologia {
  color: var(--color-white);
}

.creditos-div,
.tecnologias {
  margin: 0.5rem auto;
  padding: 0;
  align-items: end;
  justify-content: space-between;
  width: 100%;
  max-height: 10rem;
  overflow: hidden;
  overflow-x: auto;
  display: flex;
  flex-wrap: nowrap;
}

.tecnologias img {
  width: 5rem;
  min-width: 5rem;
  padding: 1rem;
  box-sizing: content-box;
  display: flex;
}

.contacto {
  color: var(--color-white);
}

.email {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  text-decoration: none;
  cursor: pointer;
}

.email img:hover{
  transition: 0.3s;
  transform: scale(1.1);
  box-shadow: 0 0 10px var(--color-mainGreen);
  filter: drop-shadow(0 0 3px var(--color-greenDark));

}

.contacto form {
  min-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 1rem;
  padding: 1rem;
}

.contacto input {
  min-width: 404px;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border-radius: 0.25rem;
  outline: none;
  border: none;
}

.contacto textarea {
  min-width: 404px;
  height: 6rem;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border-radius: 0.25rem;
  outline: none;
  border: none;
  resize: none;
  overflow-y: auto;
}

.submit {
  width: 30%;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border-radius: 0.25rem;
  outline: none;
  border: none;
  cursor: pointer;
}

.submit:hover {
  background-color: var(--color-mainGreen);
}

#creditos {
  color: var(--color-white);
  margin-top: 6rem;
}

.aCreditos {
  width: 4rem;
  min-width: 4rem;
  height: auto;
  margin: 1rem;
  padding: 2px;
  border-radius: 0.2rem;
  background-color: var(--color-white);
  display: inline-block;
  box-sizing: content-box;
}

.aCreditos img {
  width: 100%;
  height: auto;
  display: flex;
  box-sizing: content-box;
}

.none {
  display: none;
}

@media screen and (max-width: 700px) {
  .seccion-main-servicios {
    align-items: center;
  }

  .bar {
    font-size: 1rem;
  }

  .creditos-div,
  .tecnologias {
    margin: 0.5rem auto;
    max-height: 7rem;
  }

  .aCreditos,
  .tecnologias img {
    width: 3rem;
    min-width: 3rem;
  }

  .email {
    width: 3rem;
  }

  .email img {
    width: 100%;
  }

  .dialog {
    height: 90%;
  }

  #localDate {
    min-width: 11rem;
  }

  .weather {
    min-width: 6rem;
    display: flex;
    align-items: center;
  }
}

@media screen and (max-width: 560px) {
  .data {
    margin: 0.5rem 1rem 0.5rem 0rem;
    justify-content: flex-start;
  }
}

@media screen and (max-width: 500px) {
  .contacto form {
    min-width: 320px;
    padding: 1rem 0;
  }

  .contacto input {
    min-width: 304px;
  }

  .contacto textarea {
    min-width: 304px;
  }

  .submit {
    width: 50%;
  }
}