/* CSS DOCUMENT */
@charset "UTF-8";

/*configuraciones generales*/

@font-face {
    font-family: "Mori Extralight";
    src: url(fonts/PPMori-Extralight.otf) format(opentype);
    font-weight: light;
    font-style: normal;
}

@font-face {
    font-family: "Mori Regular";
    src: url(fonts/PPMori-Regular.otf) format(opentype);
    font-weight: regular;
    font-style: normal;
}

@font-face {
    font-family: "Mori Regular Italic";
    src: url(fonts/PPMori-RegularItalic.otf) format(opentype);
    font-weight: regular;
    font-style: italic;
}

@font-face {
    font-family: "Mori Semibold";
    src: url(fonts/PPMori-SemiBold.otf) format(opentype);
    font-weight: semibold;
    font-style: normal;
}

@font-face {
    font-family: "Mango";
    src: url(fonts/Mango\ Grotesque-VF.ttf) format(truetype);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Mango Extralight";
    src: url(fonts/MangoGrotesque-ExtraLight.ttf) format(truetype);
    font-weight: normal;
    font-style: normal;
}

/*APLICACIONES*/

* {
    margin: 0;
}

main {
    font-family: 'Mori Regular', "IBM Plex Sans", sans-serif;
    flex: 1;
}

body {
    cursor: url("img/cursor-favicon/cursor.png"), auto;
    min-height: 100vh;
    background-color: #000;
    display: flex;
    flex-direction: column;
}

/*HEADER*/

header {
    background-color: #F87A63;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.encabezado a {
    font-family: 'Mango', "Climate Crisis", sans-serif;
    font-size: 2rem;
    color: rgb(0, 0, 0);
    text-decoration: none;
    padding: 5px 0px 0px;
}

.encabezado {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

a:hover {
    color: #FEE69C;
    transition: .3s;
    cursor: url("img/cursor-favicon/cursor2.png"), pointer;
}

.logo {
    position: relative;
    width: 50px;
    height: 50px;
}

.logo img {
    position: absolute;
    inset: 0;
    width: 100%;
    transition: .3s;
}

.logo-hover {
    opacity: 0;
}

.logo:hover .logo-hover {
    opacity: 1;
}

.logo:hover .logo-base {
    opacity: 0;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 100px;
    align-items: center;
}

/*FOOTER*/

footer {
    padding: 20px 50px;
    gap: 30px;
    background-color: #FEE69C;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

footer img {
    width: 3vw;
    min-width: 34px;
}

.logos {
    display: flex;
    gap: 30px;
}

/*TIPOGRAFÍA*/

h1 {
    font-family: 'Mango Extralight', "IBM Plex Sans", sans-serif;
    color: #000000;
    font-size: clamp(17rem, 30vw, 40rem);
    font-weight: 100;
    text-transform: uppercase;
}

h2 {
    font-family: 'Mori Semibold', "IBM Plex Sans", sans-serif;
    color: #FEE69C;
    font-size: 3.3rem;
    text-align: center;
    text-transform: uppercase;
}

h3 {
    font-family: 'Mango', "Climate Crisis", sans-serif;
    color: #F87A63;
    font-size: 3.5rem;
    line-height: 3rem;
}

h4 {
    font-family: 'Mori EXtralight', "IBM PLex Sans", sans-serif;
    color: #000000;
    font-size: 1.7rem;
}

h5 {
    font-family: 'Mango', "IBM PLex Sans", sans-serif;
    color: #000000;
    margin: 30px 20px 0px;
    font-size: 2.2rem;
    justify-content: flex-end;
}

p,
li {
    list-style: none;
    font-size: 1rem;
    line-height: 1.6rem;
    text-wrap: balance;
    font-family: 'Mori Regular', "IBM Plex Sans", sans-serif;
}

.cards h4 {
    font-family: 'Mango', "Climate Crisis", sans-serif;
    font-size: 3.7rem;
    color: #D32E05;
}

.cards p {
    text-wrap: auto;
    font-size: 0.9rem;
}

.diseño p {
    color: #FEE69C;
}

span {
    font-weight: bold;
    font-size: 1.17rem;
    display: block;
}

.formacion h3,
.experiencia h3 {
    color: #FEE69C;
    padding: 30px;
    text-transform: uppercase;
}

.formacion a,
.experiencia a,
.contacto a {
    font-family: 'Mango', "Climate Crisis", sans-serif;
    font-size: 2.3rem;
    color: #FEE69C;
    text-decoration: none;
    padding-left: 30px;
}

.formacion h4,
.experiencia h4 {
    padding: 10px 0px;
}

.formacionboton h3,
.experienciaboton h3 {
    text-transform: uppercase;
    background-color: #FEE69C;
    padding: 35px 60px;
    margin: 40px 0px;
}

.formacionboton:hover h3,
.experienciaboton:hover h3 {
    background-color: #F87A63;
    color: #FEE69C;
    transition: .3s;
}

.contactoboton {
    background-color: #F87A63;
    display: flex;
    height: 251px;
    align-items: center;
    justify-content: center;
    margin: 60px;
    transition: .3s;
}

.contactoboton a {
    text-decoration: none;
}

.contactoboton h3 {
    color: #000000;
    transition: .3s;
}

.contactoboton:hover {
    background-color: #D32E05;
}

.contactoboton:hover h3 {
    color: #FEE69C;
}

#proyectos h3 {
    text-align: center;
    padding: 80px 0px 60px 0px;
    text-transform: uppercase;
}

.contacto h3,
.contacto p {
    color: #FEE69C;
    padding: 10px;
}

.hero h1 {
    position: absolute;
    top: calc(50% + 25px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

/*DESARROLLO*/

.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 55px);
    margin-top: 55px;
    overflow: hidden;
}

.fondo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flechas {
    position: absolute;
    bottom: 70px;
    left: 50%;
    z-index: 4;
    font-size: 2rem;
    text-decoration: none;
    color: #000000;
    animation: bajar 1.5s infinite;
}

@keyframes bajar {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.3;
    }

    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.3;
    }
}

.marcapersonal {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
    padding: 60px;
}

.estrella {
    font-size: 8rem;
    color: #FEE69C;
    animation: girar 5s linear infinite;
}

@keyframes girar {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

blockquote {
    font-size: 1.8rem;
    color: #FEE69C;
    text-align: center;
}

.diseño {
    display: flex;
    flex-direction: column;
    background: #D32E05;
    padding: 60px 60px 60px 70px;
    align-items: center;
    line-height: 4rem;
    width: 100%;
    max-width: 900px;
}

.diseñocontenedor {
    display: flex;
    justify-content: center;
    margin: 10px 0px 60px;
}

.descripcion {
    text-align: center;
    color: #F87A63;
    padding: 50px;
    margin: auto;
}

.formacionboton,
.experienciaboton {
    text-decoration: none;
}

.resumen {
    text-align: center;
    padding: 80px;
    margin: 80px
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 50px 5px;
}

#proyectos {
    display: flex;
    flex-direction: column;
    background-color: #FEE69C;
    padding: 30px;
}

.shot,
.maraton,
.cespedes,
.yoru,
.urge,
.museo,
.microplasticos,
.todoesoquesobra,
.zzzeta {
    position: relative;
    width: 38vw;
    max-width: 544px;
    min-width: 260px;
}

.base,
.hover {
    width: 100%;
}

.hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: .3s;
}

.shot:hover .hover,
.maraton:hover .hover,
.cespedes:hover .hover,
.yoru:hover .hover,
.urge:hover .hover,
.museo:hover .hover,
.microplasticos:hover .hover,
.todoesoquesobra:hover .hover,
.zzzeta:hover .hover {
    opacity: 1;
}

.imaginacion {
    padding: 80px;
    display: flex;
    justify-content: center;
    margin: 80px;
}

.animaciones {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 40px;
}

.animaciones video {
    width: 30%;
    max-width: 360px;
}

/* CARROUSEL */

.my-slider {
    max-width: 500vw;
    margin: auto;
    display: none;
}

.my-slider video {
    width: 100%;
    display: block;
}

.tns-controls {
    display: none;
}

/* FORMACION/EXPERIENCIA */

.formacion,
.experiencia {
    display: flex;
    flex-direction: column;
    background: #D32E05;
    padding: 100px 50px 50px 50px;
    min-height: calc(100vh + 150px);
    justify-content: space-evenly;
}

.item-acontenedor,
.item-bcontenedor,
.item-ccontenedor,
.item-dcontenedor,
.item-1contenedor,
.item-2contenedor {
    background-color: #FEE69C;
    margin: 30px;
    padding: 40px;
}

.item-a,
.item-b,
.item-c,
.item-d {
    display: flex;
    justify-content: space-between;
}

.item-1,
.item-2 {
    display: flex;
    justify-content: space-between;
}

.titulo {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* FORMULARIO */

.contacto {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 150px);
    padding: 100px 50px 50px 50px;
    justify-content: center;
}

.contactocontenedor {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

#form {
    width: 100%;
    height: auto;
}

form input {
    background-color: #F87A63;
    width: 85vw;
    min-height: 0.4vh;
    max-width: 60vw;
    padding: 20px;
    border: none;
    font-family: 'Mori Regular', "IBM Plex Sans", sans-serif;
    font-size: 0.9rem;
    color: #FEE69C;
}

form input::placeholder {
    color: #FEE69C;
    font-family: 'Mori Regular Italic', "IBM Plex Sans", sans-serif;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#mensaje {
    height: 10vh;
}

.enviar {
    font-family: 'Mango', "IBM Plex Sans", sans-serif;
    font-size: 2.2rem;
    color: #000000;
    background-color: #FEE69C;
    width: auto;
    border: none;
    padding: 15px 25px;
    align-self: flex-start;
    height: auto;
}

/*MEDIA QUERIES*/
/*me guié por los momentos donde las cosas dejaban de funcionar y los fui ajustando a partir de ahi, a ver si puede ser mas responsive aún*/

@media screen and (max-width:760px) {

    nav {
        gap: 30px;
    }

    .encabezado a {
        font-size: 1.8rem;
    }

    .logo {
        width: 35px;
        height: 35px;
    }

    .marcapersonal {
        flex-direction: column;
    }

    .marcapersonal img {
        width: 50px;
        height: 50px;
    }

    .descripcion {
        display: flex;
        flex-direction: column;
        text-align: center;
        color: #F87A63;
        max-width: 1000px;
    }

    .diseñocontenedor {
        margin: 10px 50px 60px;
    }

    .diseño {
        padding: 40px;
    }

    .resumen {
        padding: 60px 00px;
        margin: 30px;
    }

    .imaginacion {
        padding: 0px;
    }

    .base,
    .hover {
        width: 100%;
        width: 60vw;
    }

    .hero h1 {
        text-align: start;
        padding: 26px;
        line-height: 15rem;
        font-size: 19.5rem;
    }

    h2 {
        font-size: 1.7rem;
        line-height: 2.4rem;
        padding: 40px 0px;
    }

    h3 {
        font-size: 2.5rem;
    }

    .cards h4 {
        font-size: 2.3rem;
    }

    .shot,
    .maraton,
    .cespedes,
    .yoru,
    .urge,
    .museo,
    .microplasticos,
    .todoesoquesobra,
    .zzzeta {
        width: 97%;
        max-width: 544px;
        min-width: 260px;
    }

    .base,
    .hover {
        width: 100%;
    }

    h5 {
        margin: 5px 0px;
    }

    .contactoboton {
        padding: 40px;
        text-align: center;
    }

    .formacion a,
    .experiencia a,
    .contacto a {
        font-family: 'Mango', "Climate Crisis", sans-serif;
        font-size: 2rem;
        color:#F87A63;
    }

    .item-acontenedor,
    .item-bcontenedor,
    .item-ccontenedor,
    .item-dcontenedor,
    .item-1contenedor,
    .item-2contenedor {
        padding: 20px 0px;
        margin: 0px;
        background:#D32E05;
    }

    .formacion h3,
    .experiencia h3 {
        padding: 0px;
    }

    .experiencia p,
    .formacion p,
    .experiencia li,
    .formacion h4,
    .experiencia h4,
    .formacion h5,
    .experiencia h5,
    .formacion h4,
    .experiencia h4 {
        color:#FEE69C;
    }

    .item-1,
    .item-2,
    .item-a,
    .item-b,
    .item-c,
    .item-d {
        flex-direction: column;
    }

    blockquote {
        font-size: 1.5rem;
    }

    .animaciones {
        display: none;
    }

    .animaciones {
        display: none;
    }

    .my-slider {
        display: block;
        width: 90vw;
        margin: 40px auto;
    }

    .my-slider video {
        width: 100%;
    }

    .tns-controls {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .tns-controls button {
        all: unset;
        width: 55px;
        height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.7rem;
        color: #FEE69C;
        background-color: #D32E05;
    }
}

@media screen and (max-width:450px) {
    nav {
        gap: 20px;
    }

    .encabezado a {
        font-size: 1.5rem;
    }

    .logo {
        width: 35px;
        height: 35px;
    }

    .hero h1{
    font-size: 18rem;
    line-height: 14rem;
    }

}

@media screen and (max-width:380px) {

    nav {
        gap: 14px;
    }

    .encabezado a {
        font-size: 1.1rem;
    }

    .hero h1{
    font-size: 16rem;
    line-height: 13rem;
    }
}