/* reseteo */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  font-smooth: antialiased;
  text-rendering: optimizeLegibility;
  cursor: var(--cruz);
  background: none;
}

/* definir variables*/

:root {
  --color-principal: #ffffff;
  --color-secundario: #1c1c1dea;
  --fondo-principal: #000000;
  --cruz: crosshair;
}

/* importar estilos*/

@font-face {
  font-family: "Neutra Display";
  src: url("recursos/Neutra/NeutraDisplay-Thin.otf"); /* Para Explorer e compatibles */
  /* src: url("recursos/Fago/Fago ttf/FagoCo-Medium.ttf") format("truetype"); Android e Mac */
}
@import "compass";

/* estilos */

html,
body {
  height: 94vh;
  overflow: hidden;
  /* cursor: url("recursos/colibri\ 2.png"), pointer; */
  background: var(--fondo-principal) !important;

}

body {
  display: block;
  font-family: "Neutra Display", "sans-serif";
  text-align: center;
  align-self: center;
  /* pointer-events: none; */
  max-height: 94vh;
  width: 100%;
}
a {
  color: var(--color-secundario);
  text-decoration: none;
}

a:hover {
  color: var(--color-secundario);
}

b,
strong {
  font-weight: 700;
}

p {
  display: block;
  color: #ffffff;
}

.carousel,
.carousel-inner,
.carousel-inner .item {
  height: 91vh;
  background: var(--fondo-principal);
  text-align: center !important;
  /* pointer-events: auto; */
}
.carousel-inner .item a {
  display: block;
}
.carousel-control {
  cursor: var(--cruz) !important;
}

#clickable {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 34vh;
  width: 100%;
  pointer-events: fill;
  border-radius: 1%;
  background: rgb(218,218,218);
background: -moz-linear-gradient(0deg, rgba(218,218,218,0.908000700280112) 5%, rgba(147,147,147,0.5326505602240896) 71%, rgba(0,0,0,0) 100%);
background: -webkit-linear-gradient(0deg, rgba(218,218,218,0.908000700280112) 5%, rgba(147,147,147,0.5326505602240896) 71%, rgba(0,0,0,0) 100%);
background: linear-gradient(0deg, rgba(218,218,218,0.908000700280112) 5%, rgba(147,147,147,0.5326505602240896) 71%, rgba(0,0,0,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#dadada",endColorstr="#000000",GradientType=1);
opacity: 0;
}
#clickable:hover {
  opacity: 0.2;
  transition: ease-out;
}

#foot {
  display: inline-block;
  margin-top: -2.5%;
  min-width: 100%;
  min-height: max-content;
}

nav {
  margin: auto 8.5% 1.45% auto;
  max-width: fit-content;
  max-height: fit-content;
  pointer-events: fill;
}

.dapedra {
  display: inline-block;
  opacity: 0.9;
  margin:-29% auto -26% -75%;
  min-width: 9%;
  height: auto;
  max-width: 13%;
}

.principal {
  max-height: 94vh;
  width: 100%;
  margin: auto;
  display: inline-block;
  padding: 1%;
  color: var(--color-principal);
  background: var(--fondo-principal);
}

.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
  max-height: 89vh;
  margin-top: 0.01px;
}
.carrousel-fade .carousel-inner .active {
  opacity: 1;
}

.carrousel-fade .carousel-inner .active.left,
.carrousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}
.carrousel-fade .carousel-inner .next.left,
.carrousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.glyphicon {
  color: #ffffff36;
  opacity: 0.76 !important;
  padding-top: 41vh !important;
  font-size: 2.3rem !important;
  font-weight: 10 !important;
  text-shadow: 0.8px 0.6px 5px #181717f1 !important;
}
.glyphicon:hover {
  color: #ffffff;
}
@media all and (transform-3d), (-webkit-transform-3d) {
  .carousel-fade .carousel-inner > .item.next,
  .carousel-fade .carousel-inner > .item.active.right {
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  .carousel-fade .carousel-inner > .item.prev,
  .carousel-fade .carousel-inner > .item.active.left {
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  .carousel-fade .carousel-inner > .item.next.left,
  .carousel-fade .carousel-inner > .item.prev.right,
  .carousel-fade .carousel-inner > .item.active {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.carousel-caption {
  margin-bottom: 2.2vh;
}

.carrousel-fade .carrousel-control {
  z-index: 2;
  min-width: fit-content;
}
.item:nth-child(1) {
  background: url("recursos/dapedra-trenzada-003.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.item:nth-child(2) {
  background: url("recursos/dapedra-fosil-005.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.item:nth-child(3) {
  background: url("recursos/dapedra-crater-001.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.item:nth-child(4) {
  background: url("recursos/dapedra-fragua-003.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.item:nth-child(5) {
  background: url("recursos/dapedra-cenpes-009.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

footer {
  display: inline-block;
  width: 100%;
  bottom: 0vh;
  opacity: 0.2;
  text-align: center;
  vertical-align: middle;
  color: var(--color-principal);
  margin: -28% 0 0.1% 0;
  line-height: 2rem;
  font-size: 1.3rem;
}
/* footer div {
  position: relative;
  bottom: 5vh;
  left: 50vw;
  min-height: 24px;
 } */

/* menú */
/* estilo do botón principal */

.c-circle-nav__toggle,
.c-circle-nav__toggle span {
  transition: background 0.3s;
  -webkit-transition: background 0.3s;
  cursor: var(--cruz);
}

.c-circle-nav {
  position: fixed;
  bottom: 2vh;
  right: 2vw;
  z-index: 1000;
  width: 3vw;
  height: 5vh;
  border-radius: 24px;
}

@media (min-width: 480px) and (min-height: 480px) {
  .c-circle-nav {
    width: 6vw;
    height: 10vh;
    border-radius: 48px;
  }
}

.c-circle-nav__items {
  display: block;
  list-style: none;
  position: absolute;
  z-index: 90;
  margin: 1%;
  padding: 0;
}

.c-circle-nav__item {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  opacity: 0;
  -webkit-transition-property: -webkit-transform, opacity;
  transition-property: transform, opacity;
  -webkit-transition-duration: 0.3s, 0.3s;
  transition-duration: 0.3s, 0.3s;
  -webkit-transition-timing-function: cubic-bezier(0.35, -0.59, 0.47, 0.97);
  transition-timing-function: cubic-bezier(0.35, -0.59, 0.47, 0.97);
}

.c-circle-nav__item:nth-child(1) {
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
}

.c-circle-nav__item:nth-child(2) {
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

.c-circle-nav__item:nth-child(3) {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

.c-circle-nav__item:nth-child(4) {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}

.c-circle-nav__item:nth-child(5) {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.c-circle-nav.is-active .c-circle-nav__item {
  -webkit-transition-timing-function: cubic-bezier(0.35, 0.03, 0.47, 1.59);
  transition-timing-function: cubic-bezier(0.35, 0.03, 0.47, 1.59);
  opacity: 1;
}

.c-circle-nav.is-active .c-circle-nav__item:nth-child(1) {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  -webkit-transform: translate(-144px, 0);
  -ms-transform: translate(-144px, 0);
  transform: translate(-144px, 0);
}

@media (min-width: 480px) and (min-height: 480px) {
  .c-circle-nav__item {
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }
  .c-circle-nav.is-active .c-circle-nav__item:nth-child(1) {
    -webkit-transform: translate(-288px, 0);
    -ms-transform: translate(-288px, 0);
    transform: translate(-288px, 0);
  }
}

.c-circle-nav.is-active .c-circle-nav__item:nth-child(2) {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
  -webkit-transform: translate(-134px, -56px);
  -ms-transform: translate(-134px, -56px);
  transform: translate(-134px, -56px);
}

@media (min-width: 480px) and (min-height: 480px) {
  .c-circle-nav.is-active .c-circle-nav__item:nth-child(2) {
    -webkit-transform: translate(-267px, -111px);
    -ms-transform: translate(-267px, -111px);
    transform: translate(-267px, -111px);
  }
}

.c-circle-nav.is-active .c-circle-nav__item:nth-child(3) {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
  -webkit-transform: translate(-102px, -102px);
  -ms-transform: translate(-102px, -102px);
  transform: translate(-102px, -102px);
}

@media (min-width: 480px) and (min-height: 480px) {
  .c-circle-nav.is-active .c-circle-nav__item:nth-child(3) {
    -webkit-transform: translate(-204px, -204px);
    -ms-transform: translate(-204px, -204px);
    transform: translate(-204px, -204px);
  }
}

.c-circle-nav.is-active .c-circle-nav__item:nth-child(4) {
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
  -webkit-transform: translate(-56px, -134px);
  -ms-transform: translate(-56px, -134px);
  transform: translate(-56px, -134px);
}

@media (min-width: 480px) and (min-height: 480px) {
  .c-circle-nav.is-active .c-circle-nav__item:nth-child(4) {
    -webkit-transform: translate(-111px, -267px);
    -ms-transform: translate(-111px, -267px);
    transform: translate(-111px, -267px);
  }
}

.c-circle-nav.is-active .c-circle-nav__item:nth-child(5) {
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
  -webkit-transform: translate(0, -144px);
  -ms-transform: translate(0, -144px);
  transform: translate(0, -144px);
}

.c-circle-nav__link {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 34px;
}

@media (min-width: 480px) and (min-height: 480px) {
  .c-circle-nav.is-active .c-circle-nav__item:nth-child(5) {
    -webkit-transform: translate(0, -288px);
    -ms-transform: translate(0, -288px);
    transform: translate(0, -288px);
  }
  .c-circle-nav__link {
    border-radius: 48px;
  }
}

.c-circle-nav__link img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* círculos das seleccións */
.c-circle-nav__link:hover {
  background: radial-gradient(
    circle,
    rgba(185, 182, 182, 0.26) 0%,
    rgba(49, 47, 47, 0.212) 100%
  );
  border: 1px solid #ffffff6c;
}
#surface1:hover {
  box-shadow: inset 0 0 0 1.8px;
}

.c-circle-nav__toggle {
  display: block;
  position: absolute;
  z-index: 100;
  margin: 0;
  padding: 0;
  width: 44px;
  height: 44px;
  border: 2.35px solid rgba(255, 255, 255, 0.85);
  background: rgb(0, 0, 0);
  background: -moz-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(0, 0, 0, 0.34) 8%,
    rgba(0, 0, 0, 1) 100%
  );
  background: -webkit-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(0, 0, 0, 0.34) 8%,
    rgba(0, 0, 0, 1) 100%
  );
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(0, 0, 0, 0.34) 8%,
    rgba(0, 0, 0, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
  font: inherit;
  font-size: 0;
  text-indent: -9999px;
  border-radius: 24px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
}
/* botón de menú en escritorio */
@media (min-width: 480px) and (min-height: 480px) {
  .c-circle-nav__toggle {
    width: 74px;
    height: 74px;
    border-radius: 49px;
    top: 12px;
  }
}

.c-circle-nav__toggle.is-active,
.c-circle-nav__toggle:focus,
.c-circle-nav__toggle:hover {
  outline: 0;
  color: #ffffffea;
  border-width: 3.2px;
  background: #000000ea;
  transition: background 0.2s;
  -webkit-transition: background 0.2s;
}

.c-circle-nav__toggle span,
.c-circle-nav__toggle span::after,
.c-circle-nav__toggle span::before {
  display: block;
  position: absolute;
  height: 1.8px;
  background-color: #ffffff6c;
  border-radius: 0.3px;
  border: none;
}
/* ************************************* */

.c-circle-nav__toggle span {
  top: 19px;
  left: 10px;
  right: 10px;
}

@media (min-width: 480px) and (min-height: 480px) {
  .c-circle-nav__toggle span,
  .c-circle-nav__toggle span::after,
  .c-circle-nav__toggle span::before {
    height: 3px;
    /* border-radius: 2.5px; */
  }
  .c-circle-nav__toggle span {
    top: 34px;
    left: 20px;
    right: 20px;
  }
}

.c-circle-nav__toggle span::after,
.c-circle-nav__toggle span::before {
  left: 0;
  width: 100%;
  content: "";
  -webkit-transition-duration: 0.3s, 0.3s;
  transition-duration: 0.3s, 0.3s;
  -webkit-transition-delay: 0.3s, 0s;
  transition-delay: 0.3s, 0s;
}

.c-circle-nav__toggle span::before {
  top: -7px;
  -webkit-transition-property: top, -webkit-transform;
  transition-property: top, transform;
}

.c-circle-nav__toggle span::after {
  bottom: -7px;
  -webkit-transition-property: bottom, -webkit-transform;
  transition-property: bottom, transform;
}


.c-circle-nav__toggle.is-active span {
  background: 0 0;
}

.c-circle-nav__toggle.is-active span::before {
  top: 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition-delay: 0s, 0.3s;
  transition-delay: 0s, 0.3s;
}

.c-circle-nav__toggle.is-active span::after {
  bottom: 0;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition-delay: 0s, 0.3s;
  transition-delay: 0s, 0.3s;
}

/* o fondo */
.c-mask {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  width: 100%;
  height: 100%;
  background-color: #1c1c1dea;
  -webkit-transition: opacity 0.3s, visibility 0.3s;
  transition: opacity 0.3s, visibility 0.3s;
}

.c-mask.is-active {
  opacity: 0.8;
  visibility: visible;
}


/* movil */

@media (min-width: 320px) and (max-width: 490px) {
  html {
    background-color: #000000;
    display: block;

  }
  body {
    max-width: 100% !important;
  }
  .principal {
    height: 20%;
    margin: 5% auto 0.01% auto;
    padding: 1%;
    align-self: center;
  }
  #clickable {
    opacity: 0.14;
  }

#foot {
  margin: -25% 0 0.5% 0;
}

  .dapedra {
    margin: -8% auto 8.3% -56%;
    min-width: 28vw;
    height: auto !important;
  }

  .glyphicon {
    opacity: 0.698 !important;
    font-size: 1.6rem !important;
  }

  .carousel-inner {
    top: 4.4vh;
    margin: auto 0 8vh 0;
    max-height: 79vh;
  }
  .item:nth-child(1) {
    background: url("recursos/cell/dapedra_movil_crater.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }
  .item:nth-child(2) {
    background: url("recursos/cell/dapedra_movil_fosil.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }
  .item:nth-child(3) {
    background: url("recursos/cell/dapedra_movil_trenzada.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }
  .item:nth-child(4) {
    background: url("recursos/cell/dapedra_movil_fragua.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }
  .item:nth-child(5) {
    background: url("recursos/cell/dapedra_movil_cenpes.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }
  nav {
    margin: 1vh 1vw;
    padding: 9vh 20vw;
  }
  .c-circle-nav a {
    max-width: 40pt;
    max-height: 40pt;
  }
  .c-circle-nav a svg {
    max-width: 40pt;
    max-height: 40pt;
  }
}
footer {
  font-size: 1rem;
  margin: 2%;
}

@media (min-width: 480px) and (min-height: 480px) {
  .c-circle-nav__toggle span::before {
    top: -15px;
  }
  .c-circle-nav__toggle span::after {
    bottom: -16px;
  }
}

/* móvil horizontal */
@media only screen and (min-width: 320px) and (max-width: 620px) and (orientation: landscape) {

body{
  height: 90vh !important;
  margin: 0 0 4rem 0;
}
.carousel{
  max-height: 76vh;
  margin-bottom: 0;
}
.c-circle-nav {
  margin: auto 8% 8% auto;
}

#foot{
  position: absolute;
  bottom: 8%;
  left: 8%;
  height: 12%;
  margin: auto;
}
footer{
  position: absolute;
  bottom: 0.01vh;
  max-height: 3rem;
  margin: 0;
}
}
/* Tablet horizontal */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  body{
    margin-bottom: auto;
  }
}

/* overrides */
.mfp-close {
  cursor: crosshair !important;
}
.mfp-arrow {
  cursor: inherit !important;
}