@import url(https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Montserrat:wght@400;800&family=Parisienne&family=Roboto&family=Teko:wght@300&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Rubik+Dirt&display=swap);

:root {
    box-sizing: border-box;
    scroll-behavior: smooth;
    --ff-parisienne: "Parisienne", cursive;
    --ff-montserrat: "Montserrat", sans-serif;
    --ff-lora: "Lora", serif;
    --ff-roboto: "Roboto", sans-serif;
    --ff-rubik-dirt: "Rubik Dirt", cursive;
    --fs-paragraphs: calc(0.8rem + 0.35vw);
    --fs-links-btns: clamp(14px, 1vh, 18px)
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit
}

html {
    scroll-padding-top: 100px
}

img {
    max-width: 100%;
    display: block;
    border-radius: 5%
}

a {
    text-decoration: none
}

ul {
    list-style: none
}

span {
    color: #7c7c7c;
    padding: 0 40px
}

body,
html {
    overflow-x: hidden;
    font-family: var(--ff-montserrat);
    box-sizing: border-box;
    font-size: 16px
}

.container {
    width: 98%;
    max-width: 91rem;
    margin: 0 auto;
    margin-bottom: 15%
}

.ctn {
    font-family: var(--ff-montserrat);
    font-size: var(--fs-links-btns);
    font-weight: 700;
    padding: 13px 50px;
    background: #fc036b;
    border-radius: 30px;
    color: whitesmoke
}

.ctn1 {
    font-family: var(--ff-montserrat);
    font-size: var(--fs-links-btns);
    padding: 13px 50px;
    background: #1E3A8A;
    border-radius: 30px;
    color: whitesmoke;
    text-transform: uppercase;
    font-weight: 600
}

*/ .centrar {
    display: flex;
    justify-content: center;
    align-items: center
}

::-webkit-scrollbar {
    width: 10px
}

::-webkit-scrollbar-thumb {
    background: #989898;
    border-radius: 10px
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    background: rgb(0 0 0 / .8);
    backdrop-filter: saturate(180%) blur(10px);
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    z-index: 10;
    color: whitesmoke
}

.logo {
    font-family: var(--ff-rubik-dirt);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: .2rem;
    padding: 0 1.2rem;
    font-weight: 300;
    color: #fefcfc
}

span.logo--text {
    padding: 0 !important;
    max-width: 150px;
    display: block
}

.logo--img {
    height: auto !important;
    border: none !important
}

a.logo--link {
    display: flex;
    flex-direction: row;
    gap: 20px
}

.nav-links {
    display: flex;
    align-items: center
}

.nav-links li {
    font-family: var(--ff-montserrat);
    margin: 0 15px
}

.nav-links li a {
    color: #fff;
    cursor: pointer
}

.cir_border {
    padding: 6px 20px;
    font-weight: 500;
    border: 2px hidden whitesmoke;
    border-radius: 20px;
    margin: 0 -10px;
    text-transform: uppercase;
    font-size: 14px
}

.espacio {
    margin-bottom: 5%
}

header {
    width: 100vw;
    height: auto;
    background-position: bottom;
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    align-items: end;
    justify-content: center
}


.video-cabecera {
    width: 100%;
    height: 80%;
    object-fit: cover;
    padding-top: 0%;
}

.hero {
    position: relative;
}

.hero-content {
    font-family: var(--ff-montserrat);
    letter-spacing: .5rem;
    text-transform: uppercase;
    text-align: center;
    padding: 4rem;
    margin-bottom: 15px;
    width: 100%;
    position: absolute;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: rgb(0 0 0 / .6);
}

.hero-content h2 {
    font-size: clamp(18px, 5vw, 6rem)
}


.line {
    width: 200px;
    height: 4px;
    background: #fc036b;
    margin: 20px auto;
    border-radius: 5px
}

.header-content h1 {
    font-size: 7vmin;
    margin-top: 50px;
    margin-bottom: 30px
}

.menu-btn {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 30px;
    cursor: pointer;
    display: none
}

.image-gallery {
    display: grid;
    gap: 1.8rem 1rem;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    padding-top: 2%;
    padding-bottom: 0%;
    margin: 0 auto
}

.somos {
    padding-bottom: 0;
    margin-bottom: 0
}

.somos .row {
    gap: 4rem;
    margin-bottom: 0%
}

.texto-somos {
    gap: 4rem;
    margin-bottom: 0%
}

.texto-grupo .parrafo {
    color: #7c7c7c;
    padding: 0;
    line-height: 1.5;
    max-width: 85ch;
    font-family: var(--ff-lora);
    font-size: calc(0.4rem + 1vw)
}

.content-col {
    position: relative
}

.content-col h1 {
    font-size: calc(2.2rem + 1vw);
    font-family: var(--ff-montserrat);
    max-width: 55.5ch
}

.content-col p {
    padding: 0;
    margin: 15px 0;
    width: 150%;
    text-align: left;
    max-width: 40ch;
    font-size: 1.5rem
}

.content-col .ctn {
    position: absolute;
    left: 0;
    bottom: -14%
}

section {
    width: 70%;
    margin: 50px auto;
    margin-bottom: 10%
}

.title {
    text-align: center;
    font-family: var(--ff-montserrat);
    font-size: 4vmin;
    text-transform: uppercase
}

.row {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center
}

.card {
    height: 400px;
    width: 400px
}

.card1 {
    width: 300px;
    height: auto;
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 2500px;
    margin: 0 0;
    transition: transform 0.5s ease
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .8;
    filter: brightness(.5) blur(2px);
    border-radius: 20px
}

.wrapper {
    transition: all 0.5s;
    position: absolute;
    width: 100%;
    z-index: -1;
    border-radius: 20px;
    overflow: hidden;
    border-radius: 20px
}

.card1:hover .wrapper {
    transform: perspective(900px) rotateX(30deg) translateZ(0);
    box-shadow: 2px 35px 32px -8px rgb(0 0 0 / .75);
    filter: brightness(1.4) contrast(1.4);
    transition: all 0.5s ease;
    border-radius: 20px
}

.wrapper::before,
.wrapper::after {
    content: "";
    opacity: 0;
    width: 100%;
    height: 80px;
    transition: all 0.5s;
    position: absolute;
    left: 0
}

.wrapper::before {
    top: 0;
    height: 100%;
    background-image: linear-gradient(to top, transparent 46%, rgb(12 13 19 / .5) 68%, #0c0d13 97%)
}

.wrapper::after {
    bottom: 0;
    opacity: 1;
    background-image: linear-gradient(to bottom, transparent 46%, rgb(12 13 19 / .5) 68%, #0c0d13 97%)
}

.card1:hover .wrapper::before,
.wrapper::after {
    opacity: 1
}

.card1:hover .wrapper::after {
    height: 120px
}

.card1:hover {
    transform: perspective(900px) rotateX(0deg) translateZ(0)
}

.character {
    width: 100%;
    transition: all 0.5s;
    z-index: -1
}

.card1:hover .character {
    opacity: 1;
    transform: translate3d(0%, -5%, 100px)
}

.texto-tarjeta {
    padding-top: 0%;
    text-align: center
}

.row .col {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px
}

.row .col img {
    width: 100%
}

.proyecto .row {
    margin-top: 50px
}

.col>h4 {
    font-size: calc(1rem + 0.5vw);
    margin: 20px auto;
    font-family: var(--ff-lora)
}

.col p {
    color: #7c7c7c;
    padding: 0 40px;
    font-size: var(--fs-paragraphs);
    font-family: var(--ff-roboto)
}

.col>p {
    color: #7c7c7c;
    padding: 0;
    line-height: 1.5;
    text-align: center;
    max-width: 35ch
}

.proyecto .ctn {
    margin-top: 10px
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / .7);
    justify-content: center;
    align-items: center;
    z-index: 2;
    overflow-y: auto;
    z-index: 99
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    width: auto;
    max-width: 90%;
    text-align: left;
    position: relative;
    border-radius: 20px;
    margin-top: 40px;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
    overflow-x: hidden
}

.close-btn {
    position: absolute;
    top: 10px;
    right: -20px;
    font-size: 30px;
    font-weight: 700;
    color: red;
    cursor: pointer
}

.popup-content h2 {
    font-size: 2rem;
    color: #000;
    padding: 0 40px 10px 20px
}

.popup-content p {
    font-size: 1.5rem;
    color: #474747;
    text-align: left;
    padding-bottom: 20px;
    margin: 3%
}

.close-btn:hover {
    color: red
}

.video-container {
    width: 500px;
    height: auto;
    border-radius: 10px;
    display: flex;
    overflow: hidden;
    border-radius: 10px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    margin: 40px auto
}

.video-popup {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit
}

.sostenibilidad {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
    padding: 1% 1%
}

.sostenibilidad::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/zona_salida_pruebas_piston.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .5;
    z-index: -1
}

.sostenibilidad-content {
    font-family: var(--ff-lora);
    color: whitesmoke;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-left: 8rem;
    position: relative;
    z-index: 1;
    padding: 2rem 17px;
    margin: auto
}

.sostenibilidad-content::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    display: block;
    background: rgb(0 0 0 / .5);
    backdrop-filter: blur(2.5px);
    border-radius: .5rem;
    margin-bottom: 5px;
    margin: auto
}

.sostenibilidad-content h1 {
    font-size: calc(2.2rem + 1vw);
    letter-spacing: .3rem;
    margin: auto;
    text-transform: uppercase;
    font-weight: 900
}

.sostenibilidad-content .line {
    margin-bottom: 50px
}

.sostenibilidad-content_img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 100px
}

.sostenibilidad_img {
    width: 90%;
    height: auto;
    object-fit: cover;
    border-radius: 10px
}

.sostenibilidad-content p {
    color: #ddd;
    max-width: 65ch;
    line-height: 1.5;
    text-align: left;
    padding: 0 35px;
    font-size: 1.5rem
}

.sostenibilidad-content .ctn {
    margin: 17px auto;
    padding: 12px 27px
}



 .sliderFotos {
    width: 50%;
    margin: 100px auto;
    margin-bottom: 10%
}

.carousel {
    position: relative;
    width: 100%;
    height: 50%;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out
}

.carousel-slide {
    min-width: 100%;
    overflow: hidden;
    border-radius: 20px
}

.carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: 20px
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(0 0 0 / .5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 50px;
    border-radius: 50%;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-100%);
    background-color: rgb(0 0 0 / .5);
    color: #fff;
    border: none;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 50px;
    border-radius: 50%;
    z-index: 10
}

.prev {
    left: 10px
}

.next {
    right: 10px
}

.nav-button:hover {
    background-color: rgb(0 0 0 / .8)
}
    



















    

.contributors {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 0em;
    padding: 2em 2em;
    flex-wrap: wrap;
    width: 100%;
    min-height: 30vh;
    background-color: #000;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 0;
    padding-top: 0
}

.equipoEspacio {
    padding-top: 0
}

.ecard {
    background-color: #fff;
    padding: .2em .5em;
    color: #222;
    height: 12em;
    width: 10em;
    border-radius: 5px;
    margin: 1.5em .5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.ecard:hover {
    background-color: #fb036b;
    border-bottom: 5px solid #fff;
    color: #fff;
    transform: translateY(-7.5px);
    transition: background-color 0.5s ease, transform 1s ease, border-bottom 0.5s ease 0.2s
}

.ecard .fotocirculo {
    border-radius: 50%
}

.text {
    margin: 1em 0em 0em 0em;
    text-align: center;
    font-size: .9em
}

.text h1 {
    font-weight:600;
    font-size: 20px;
    font-family: "Teko", sans-serif;
}

.logolink {
    margin: .6em 0em 0em 0em;
    width: 25%
}

.logolink img {
    border-radius: 100%;
    background-color: #fff
}

.logolink .github-logo {
    width: 100%
}

.footer {
    width: 100%;
    min-height: 100px;
    padding: 20px 80px;
    margin: 0;
    background: #222;
    text-align: center
}

.container-footer {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(3, 1fr)
}

.logo_2_img {
    margin-right: auto;
    max-width: 130px
}

.logo_2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0
}

.footer p {
    color: whitesmoke;
    margin: 20px auto;
    padding: 20px auto
}

.footer span {
    display: block;
    color: whitesmoke;
    padding: 20px 0
}

.social {
    width: 360px;
    margin: 30px auto
}

.social li {
    list-style: none
}

.social a {
    margin-right: 10px;
    font-size: 18px;
    background-color: #fff0;
    border-radius: 50%;
    padding: 5px 8px;
    border: 1px solid rgb(255 255 255 / .1)
}

.social a:hover {
    background-color: #fc036b
}

.social i {
    display: inline;
    text-align: center;
    color: whitesmoke
}

.img-hover {
    transition: transform 0.3s ease
}

.img-hover:hover {
    transform: scale(1.2)
}

.cir_border:hover {
    color: #fc036b
}

.active {
    border: 2px solid whitesmoke;
    border-radius: 20px;
    color: #fc036b;
    cursor: pointer
}

.ctn:hover {
    background: whitesmoke;
    color: #fc036b;
    box-shadow: 2px 2px 5px #00000056;
    cursor: pointer
}

.nav-links .ctn:hover a {
    color: #fc036b
}

body {
    background-color: #000;
    color: #fff
}

body.dark {
    background-color: #f3f3f3;
    color: #000
}

.checkbox {
    opacity: 0;
    position: absolute
}

.label {
    width: 48px;
    height: 22px;
    background-color: #111;
    display: flex;
    border-radius: 50px;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    position: relative;
    transform: scale(1.5)
}

.ball {
    width: 20px;
    height: 18px;
    background-color: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    border-radius: 50%;
    transition: transform 0.2s linear
}

.checkbox:checked+.label .ball {
    transform: translateX(24px)
}

.fa-moon-o {
    color: #fff
}

.fa-sun-o {
    color: #ff0
}

.color {
    color: #fff
}

#upbtn {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 50;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 8px;
    font-size: 30px;
    border-radius: 50%
}

#upbtn:hover {
    background-color: #fc036b
}