* {
    box-sizing: border-box;
}

:root {
    --main: #8ab8f1;
    --main50: #8ab8f1b4;
    --ntwo: #5a6170;
    --nthree: #9DA6B8;
    --nfour: #f1f8fb;
    --nfive: #fff;
    --grad1: #8ab8f1;
    --grad2: #ffb200;
    --nocolor: transparent;
}

body {
    background-color: var(--nocolor);
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
}

header {
  min-height: 10vh;
  transition: ease-out .3s;
}

.scrolled {
    background-color: var(--main50);
    backdrop-filter: blur(4px);
    transition: ease-in .3s;
}

footer {
    min-height: 5vh;
    background-color: var(--main);
    color: var(--nfive);
}

footer a { 
    color: var(--nfive);
}


section:not(.cta-section, .portada-container), main {
    margin-top: 4em;
    margin-bottom: 4em;
    padding-top: 3em;
    padding-bottom: 3em;
}

h1, h2, h3, h4, h5 {
    /*font-family: 'Poppins', sans-serif;*/
    font-family: 'Varela Round', sans-serif;
}

h2 {
    color: var(--main);
    font-weight: 700;
    font-size: 2.35rem;
}

h3 {
    color: var(--ntwo);
    font-weight: 600;
}

h4, h5 {
    color: var(--ntwo);
}

.colored-back {
    background-color: var(--nfour);
}

.nav-link.active {
    font-weight: 700;
}

.portada-container {
    min-height: 50vh;
    max-height: 550px;
}


@media screen and (max-width: 720px) {
    .nav-link {
      padding: .75em 0;
  }

  nav .btn-cta {
    margin: .75em 0;
  }
}

#portada-text {
    font-size: 2rem;
    background-color: rgba(255, 255, 255, 0.55);
}

#portada-text p {
    font-size: 1.2rem;
}

.list-group {
    border-right: 1px solid var(--bs-border-color);
}

#cta-section-container {
    max-width: 950px;
}

.max-750 {
    max-width: 750px;
}

.cta-container {
    width: fit-content;
}

.btn-cta {
    background-color: var(--main);
    border: solid 2px var(--nfive)!important;
    color: var(--nfive);
}

.btn-cta:hover {
    background-color: var(--nfive)!important;
    border: solid 2px var(--main)!important;
    color: var(--main)!important;
}

.cta-section h2 {
    color: var(--nfive)!important;
}

.cta-section {
    min-height: 25vh;
    background: rgb(108,99,255);
    background: linear-gradient(90deg, var(--grad2) 0%, var(--grad1) 70%);
    /*
    max-height: 235px;
    background: rgb(70,58,255);
    background: linear-gradient(90deg, rgba(70,58,255,1) 0%, rgba(108,99,255,1) 49%, rgba(248,164,216,1) 100%);
    background: linear-gradient(90deg, rgba(70,58,255,1) 0%, rgba(248,164,216,1) 100%);
    */
    color: var(--nfive)!important;
    padding: 3rem 0;
}

.card {
    background-color: transparent;
    border: none;
}

.card-img {
    margin: 1em auto;
}

.gallery img:hover{
    opacity: .75;
    transition: ease .5s;
}

.gallery-colored {
    background-color: var(--grad1);
}

.gallery-colored2 {
    background-color: var(--grad2);
}

.colored {
    color: var(--grad2);
}

.w-fit {
    width: fit-content;
}

.author-rights {
    position: absolute;
    width: 100%;
    background-color: var(--grad1);
    color: black;
    text-align: center;
    font-size: .75rem;
    font-weight: 700;
    padding-bottom: .5em;
}

/*  /////////////// 

GALERIA 

///////////////   */
.gallery-img {
  
  transition: ease-in-out .3s;
}

.gallery-img:hover {
  opacity: .7;
  transition: ease-in-out .3s;
}

.galeria {
  width: 100%;
  overflow: hidden;
}
.galeria.vis .container h1, .galeria.vis .container h2 {
  opacity: 1;
  transform: none;
}
.galeria.vis .container .h2 {
  transition-delay: 0.2s;
}
.galeria.vis .container .contenedorImgs .imagen {
  opacity: 1;
  transform: none;
}
.galeria.vis .container .contenedorImgs .imagen:nth-child(1) {
  transition-delay: 0.1s;
}
.galeria.vis .container .contenedorImgs .imagen:nth-child(2) {
  transition-delay: 0.2s;
}
.galeria.vis .container .contenedorImgs .imagen:nth-child(3) {
  transition-delay: 0.3s;
}
.galeria.vis .container .contenedorImgs .imagen:nth-child(4) {
  transition-delay: 0.4s;
}
.galeria.vis .container .contenedorImgs .imagen:nth-child(5) {
  transition-delay: 0.5s;
}
.galeria.vis .container .contenedorImgs .imagen:nth-child(6) {
  transition-delay: 0.6s;
}
.galeria.vis .container .contenedorImgs .imagen:nth-child(7) {
  transition-delay: 0.7s;
}
.galeria.vis .container .contenedorImgs .imagen:nth-child(8) {
  transition-delay: 0.8s;
}
.galeria.vis .container .contenedorImgs .imagen:nth-child(9) {
  transition-delay: 0.9s;
}
.galeria.vis .container .contenedorImgs .imagen:nth-child(10) {
  transition-delay: 1s;
}
.galeria.scale .container {
  opacity: 0;
  transform: scale(1.2);
}
.galeria .container {
  width: 90%;
  min-height: 100vh;
  margin: 0 auto;
  padding: 50px 0;
  transition: ease all 0.5s;
}
.galeria .container h1, .galeria .container h2 {
  opacity: 0;
  color: #fff;
  font-weight: 500;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: translateY(-30px);
  transition: ease all 0.5s;
}
.galeria .container h1 {
  font-size: 60px;
}
.galeria .container .contenedorImgs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  align-content: center;
  width: 100%;
  margin-top: 30px;
}
.galeria .container .contenedorImgs .imagen {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: calc((100% / 3) - 20px);
  height: 250px;
  margin: 10px;
  opacity: 0;
  transform: translateX(-50px);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: ease all 0.5s;
}
.galeria .container .contenedorImgs .imagen:hover:before {
  opacity: 1;
}
.galeria .container .contenedorImgs .imagen:hover .nombre {
  transform: none;
}
.galeria .container .contenedorImgs .imagen:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: linear-gradient(transparent, #fff);
  transition: ease all 0.5s;
}
.galeria .container .contenedorImgs .imagen .nombre {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 90%;
  color: #fff;
  font-size: 30px;
  text-align: center;
  transform: translateY(100%);
  text-shadow: -2px -2px 5px #1c1c1c;
  transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) all 0.5s;
}

.fullPreview {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(28, 28, 28, 0.9);
  z-index: 10000;
}
.fullPreview.anim .wrapper .titulo {
  opacity: 0;
  transform: translateX(-100px);
  transition-delay: 0s;
}
.fullPreview.anim .wrapper img {
  opacity: 0;
  transform: translateX(100px);
}
.fullPreview.anim .wrapper .desc {
  opacity: 0;
  transform: translateY(100px);
  transition-delay: 0s;
}
.fullPreview .cerrarModal {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  z-index: 1055;
  transition: ease all 0.3s;
}
.fullPreview .cerrarModal:hover {
  transform: rotate(90deg);
}
.fullPreview .cerrarModal:before, .fullPreview .cerrarModal:after {
  content: "";
  position: absolute;
  width: 50%;
  height: 2px;
  background-color: #1c1c1c;
}
.fullPreview .cerrarModal:before {
  transform: rotate(45deg);
}
.fullPreview .cerrarModal:after {
  transform: rotate(-45deg);
}
.fullPreview .wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  width: 90%;
  height: 90%;
  position: relative;
}
.fullPreview .wrapper .blur {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: blur(40px);
  transition: ease all 0.5s;
  opacity: .3;
}
.fullPreview .wrapper .titulo {
  position: absolute;
  top: 0;
  left: 0;
  color: transparent;
  font-size: 100px;
  -webkit-text-stroke: 1px #fff;
  z-index: 1050;
  transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) all 0.5s 0.3s;
}
.fullPreview .wrapper img {
  max-width: 90%;
  max-height: 80%;
  position: relative;
  transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) all 0.5s;
}
.fullPreview .wrapper .desc {
  width: 100%;
  max-width: 600px;
  padding: 10px 0;
  color: #fff;
  text-align: center;
  position: relative;
  transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) all 0.5s 0.5s;
}
.fullPreview .controles {
  position: absolute;
  bottom: 30px;
  right: 30px;
}
.fullPreview .controles .control {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  width: 50px;
  height: 30px;
  position: relative;
  cursor: pointer;
  transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) all 0.5s;
}
.fullPreview .controles .control:hover {
  width: 70px;
}
.fullPreview .controles .control.av {
  margin-left: auto;
}
.fullPreview .controles .control.ret {
  margin: 10px 30px 0 0;
  transform: rotate(180deg);
}
.fullPreview .controles .control:before, .fullPreview .controles .control:after {
  content: "";
  position: absolute;
}
.fullPreview .controles .control:before {
  left: 0;
  width: 80%;
  height: 2px;
  background-color: #fff;
}
.fullPreview .controles .control:after {
  right: 0;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-bottom: 0;
  border-left: 0;
  transform: rotate(45deg);
}