@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Forum&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Forum&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Oswald:wght@200..700&display=swap');

:root{
  --rojo: #c20000;
  --paper: #fff;
  --font-h2: 2.4rem;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}


html,
body {
  height: 100%;
  font-family: "Inter", sans-serif;
}


/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.125rem;
    background: transparent;
    color: var(--paper);
    transition: background .4s ease, color .4s ease, box-shadow .3s ease;
    z-index: 100;
}

.header.scrolled {
    background: var(--paper);
    color: #111;
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, .1);
    /* 2px 10px */
}

.brand {
    font-weight: 700;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    max-width: 3rem;
    cursor: pointer;
}

/* ========== NAV ========== */
.main-nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: 80%;
    max-width: 18.75rem;
    background: #121214;
    color: #fff;
    translate: -100% 0;
    transition: translate .25s;
    z-index: 60;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-right: 0.0625rem solid #1f1f1f;
}

.main-nav.open {
    translate: 0 0;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
    font-family: "Inter", sans-serif;
}

.main-nav a:hover {
    background: #1b1b1f;
}

.topnav {
    display: none;
    margin-left: auto;
    gap: 1.375rem;
}

.topnav a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0.375rem;
    border-radius: 0.5rem;
    opacity: .9;
    transition: opacity .2s, background .3s;
}

.topnav a:hover {
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
}

/* Hamburguesa */
.hamburger {
    width: 2.375rem;
    height: 2.375rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 90;
}

.hamburger .bar {
    width: 1.5rem;
    height: 0.125rem;
    background: var(--rojo);
    border-radius: 0.125rem;
    transition: transform .28s ease, opacity .2s ease;
}

.hamburger .bar:not(:last-child) {
    margin-bottom: 0.3125rem;
}

.hamburger.is-active .bar:nth-child(1) {
    transform: rotate(45deg) translate(0.25rem, 0.25rem);
}

.hamburger.is-active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(0.25rem, -0.25rem);
}

/* Scrim */
.scrim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(0.1875rem);
    opacity: 0;
    pointer-events: none;
    transition: .25s;
    z-index: 55;
}

.scrim.show {
    opacity: 1;
    pointer-events: auto;
}



/* ========== HERO ========== */
.hero {
    position: relative;
    width: 100%;
    height: 12.5rem;
    background: #000;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}




/* ========== FOOTER ========== */
.site-footer {
    background: #0d0d0e;
    padding: 2rem 1rem 3rem;
    border-top: 0.0625rem solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .75);
    text-align: center;
}

.site-footer::before {
    display: block;
    height: 0.1875rem;
    width: 5rem;
    background: var(--rojo);
    margin: 0 auto 1rem;
    border-radius: 99rem;
}

.footer-inner {
    max-width: 68.75rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--paper);
    letter-spacing: 0.03125rem;
}

.footer-tagline {
    margin: 0;
    color: var(--rojo);
    font-weight: 600;
    font-size: 1rem;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0;
    display: flex;
    gap: 1.4rem;
}

.social-links a {
    color: #fff;
    font-size: 1.3rem;
    transition: color .2s ease, transform .2s ease;
}

.social-links a:hover {
    color: var(--rojo);
    transform: scale(1.1);
}

.footer-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, .6);
    line-height: 1.5;
    max-width: 31.25rem;
}

.footer-contact {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  line-height: 1.5;
}

.contact-link {
  color: var(--rojo);
  text-decoration: underline;
  font-weight: 500;
}


.footer-cta:focus-visible {
    outline: 0.1875rem solid #fff;
    outline-offset: 0.1875rem;
}





/* HOME */

strong{
    color: var(--rojo);
}

.mainhome{
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    padding: 3rem;
    align-items: center;
}

.divkimera{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: start;
}

.divkimera h2{
    font-size: 5.5rem;
}

.divkimera .h2home:last-of-type{
    margin-top: -1rem;
}

.h2home{
    font-family: "Oswald", sans-serif;
    font-size: 4.8rem;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: var(--rojo);
    text-transform: uppercase;
}

.textokimera{
    font-size: 1.5rem;
    margin: 0;
    max-width: 100%;
}

.homeblacksquare{
    background-color: #000;
    padding: 1rem;
    margin-top: 2rem;
    max-width: 100%;
}

.homeblacksquare p{
    font-size: 1.2rem;
}

.divhomesobre{
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.phomeuno{
    max-width: 62.1%;
    margin: 0.5rem;
    margin-top: 0.1rem;
    color: var(--paper);
}

.phomedos{
    max-width: 51%;
    margin: 0.5rem;
    margin-top: 0.1rem;
    color: var(--paper);
}

.mainhome img{
    box-sizing: border-box;
    max-width: 100%;
    margin: 0.1rem;
}

.homeblacksquare h2:last-of-type{
    margin-top: -1.5rem
}


/*SOBRE MI*/

.mainsobre{
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    padding: 2rem;
    align-items: center;
}

.topsobre{
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    border-bottom: solid 0.2rem var(--rojo);
}

.topsobre h2{
    font-family: "Oswald", sans-serif;
    font-size: 4.9rem;
    color: var(--rojo);
    margin: 0;
    margin-bottom: 1rem;
    margin-top: -1rem;
}

.topsobre h2:last-of-type{
    margin-left: 1rem;
}

.topsobre p{
    font-size: 1.43rem;
    margin-top: -1rem;
}

/* sobremi con foto */

.sobrepre{
    display: flex;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 1rem;
}

.sobrepre p{
    font-size: 1.1rem;
    margin-top: -0.25rem;
    font-family: "Inter", sans-serif;
}

.sobrepre img{
    max-width: 50%;
    height: 100%;
    margin-left: 0.2rem;
}

/* bloque negro */
 
.sobrenegro{
    display: flex;
    max-width: 100%;
    box-sizing: border-box;
    background-color: #000;
    flex-wrap: wrap;
    padding: 0.5rem;
    margin-top: 1rem;
}

.sobrenegro h2{
    color: var(--rojo);
    font-size: 3.6rem;
    max-width: 60%;
    margin-top: -0.5rem;;
}
 
.sobrenegro p{
    color: var(--paper);
    max-width: 100%;
    margin-top: -3rem;
    font-size: 1.07rem;
    margin-bottom: 0;
}

/* lista */

.listasobre{
    margin-left: -8.7rem;
    font-size: 1.2rem;
}

.listasobre p{
    margin-left: -1rem;
    margin-bottom: -1rem;
}

.listasobre ul{
    margin-left: -3rem;
}

.textosobre{
    font-size: 1.2rem;
}


/* PORTFOLIO */

.mainport{
    padding: 1rem;
    /* display: flex; */
}


/* top */
.topport{
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    max-width: 100%;
}

.topport h2{
    font-size: 4rem;
    font-family: "Oswald", sans-serif;
    color: var(--rojo);
    text-transform: uppercase;
}

.topport p{
    font-size: 1.5rem;
    margin-top: -3rem;
}

/* contenido */

.contenidoport{
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
    margin: 1rem 0;
}

.contenidoport:nth-of-type(even){
    background-color: #000;
    color: var(--paper);   
    border-radius: 1rem;
}

.contenidoport:nth-of-type(odd){
    border: solid 0.1rem black;
    border-radius: 1rem;
}

.contenidoport h3{
    font-size: 3.2rem;
    font-family: "Oswald", sans-serif;
    color: var(--rojo);
    text-transform: uppercase;
    margin-top: 0.1rem;
    }

.contenidoport a{
    text-decoration: none;
}

.contenidoport img{
    max-width: 100%;
    border: solid 0.1rem black;
    border-radius: 1rem;
}


.contenidoport p{
    font-size: 1.2rem;
    margin-top: -2.5rem;
}

/* ========== CONTACTO ========== */

.maincontacto{
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
}

.contacto{
  max-width: 32rem;
  width: 100%;
}

.contacto-title{
  font-family: "Oswald", sans-serif;
  font-size: 3rem;
  color: var(--rojo);
  text-transform: uppercase;
  margin: 0 0 1rem 0;
}

.contacto-text{
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #111;
}

.contacto-form{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* inputs */

.contacto-form input,
.contacto-form textarea{
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(0,0,0,.25);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  background: #fff;
}

.contacto-form input:focus,
.contacto-form textarea:focus{
  outline: none;
  border-color: var(--rojo);
}

/* botón */

.btn-contacto{
  margin-top: 1rem;
  align-self: flex-start;
  background: var(--rojo);
  color: var(--paper);
  border: none;
  padding: 0.7rem 1.6rem;
  border-radius: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}

.btn-contacto:hover{
  background: #a00000;
  transform: translateY(-2px);
}

/* accesibilidad */

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}


/* ========== MENSAJE DE GRATITUD ========== */

.mensaje-gracias{
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 0.2rem solid var(--rojo);
}

.mensaje-gracias h3{
  font-family: "Oswald", sans-serif;
  font-size: 3rem;
  color: var(--rojo);
  text-transform: uppercase;
  margin: 0;
}

.mensaje-gracias p{
  font-size: 1.2rem;
  margin-top: 0.5rem;
  color: #111;
}













@media (min-width: 990px) {

    /* Desktop nav */
    .header {
        gap: 1.5rem;
        padding: 0.75rem 1.5rem;
    }

    .hamburger {
        display: none;
    }

    .scrim {
        display: none !important;
    }

    .main-nav {
        position: static;
        inset: auto;
        width: auto;
        max-width: none;
        background: transparent;
        color: inherit;
        translate: none;
        box-shadow: none;
        border-right: 0;
        padding: 0;
        flex-direction: row;
        align-items: center;
        gap: 1.375rem;
        height: auto;
    }

    .main-nav a {
        color: inherit;
        background: transparent;
        font-weight: 600;
        padding: 0.5rem 0.375rem;
        border-radius: 0.5rem;
        font-size: 1rem;
        opacity: .9;
        transition: opacity .2s, background .3s;
    }

    .main-nav a:hover {
        background: rgba(0, 0, 0, .08);
        opacity: 1;
    }

    .topnav {
        display: flex;
    }

    .app {
        max-width: none;
        margin: 0;
    }

    .hero {
        height: 43.75rem;
    }


/* HOME */
    .mainhome{
    display: flex;
    box-sizing: border-box;
    padding: 3rem;
    flex-wrap: wrap;
    max-width: 100%;
    flex-direction: row;
    }

    .divkimera{
        display: flex;
        flex-wrap: wrap;
        max-width: 100%;
        box-sizing: border-box;
    }

    .h2home{
        max-width: 70%;
        font-size: 9rem;
    }

    .mainhome .h2home:last-of-type{
      margin-top: -3rem;
    }

    .textokimera{
        max-width: 42.5%;
        margin: 2rem;
        font-size: 2.5rem;
        margin-left: 6rem;
    }

    .divkimera h2{
        font-size: 9rem;
    }


    /* SOBRE MI */
   
    .topsobre{
        display: flex;
        flex-wrap: wrap;
        max-width: 100%;
        box-sizing: border-box;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .topsobre h2{
        font-size: 9rem;
        max-width: 50%;
    }

    .topsobre p{
        max-width: 40%;
        margin-top: 2.5rem;
        margin-left: 1rem;
        font-size: 2rem;
    }


    /* Contenido */
     .divsobre{
        display: flex;
        max-width: 100%;
        box-sizing: border-box;
    } 

    /* sobre mi foto */

    .sobrepre{
        display: flex;
        /* flex-wrap: wrap; */
        flex-direction: row;
        max-width: 100%;
    }

    .sobrepre p{
        max-width: 45%;
        font-size: 2rem;
        margin-top: 2rem;
    }

    .sobrepre img{
        max-width: 50%;
        margin-right: 2rem;
    }

    /* estudio negro */

    .sobrenegro{
        display: flex;
        /* flex-wrap: wrap; */
        justify-content: center;
        max-height: 40%;
        max-width: 55%;
        padding: 2rem;
        margin-left: -1rem;
    }

    .sobrenegro h2{
        font-size: 6.5rem;
    }

    .sobrenegro p{
        font-size: 1.5rem;
    }

    /* textos */
    .textosobre{
        max-width: 40%;
        font-size: 2rem;
        margin-top: 5rem;
    }

    .listasobre{
        max-width: 50%;
        margin-left: -65rem;
        font-size: 2rem;
    }

    .textosobre a{
        color: var(--rojo);
    }


/* FOOTER */

    .footer-cta {
        max-width: 30%
    }


    /* Contenido */

    .homeblacksquare{
        display: flex;
        flex-wrap: wrap;
        box-sizing: border-box;
        justify-items: end;
    }

    .homeblacksquare h2{
        max-width: 30%;
        font-size: 10rem;
    }

    .homeblacksquare p{
        font-size: 2.32rem;
        max-width: 23%;
    }

    .homeblacksquare img{
        max-width: 30%;
        margin-top: -11rem;
        margin-left: 2rem;
    }

    /* PORTFOLIO */

    .mainport{
        margin: 2rem;
    }

    .topport{
        display: flex;
        flex-wrap: wrap;
    }

    .topport h2{
        font-size: 10rem;
        margin: 0 7rem;
    }

    .topport p{
        font-size: 3rem;
        margin: 0 7rem;
        margin-bottom: 3rem;
    }

    /* contenido */

    .contenidoport{
        display: flex;
        flex-wrap: wrap;
        box-sizing: border-box;
        max-width: 100%;
    }

    .divinfoport{
        display: flex;
        flex-wrap: wrap;
        max-width: 50%;
        margin: 2rem;
        margin-left: 10rem;
        margin-top: 5rem;
    }

    .contenidoport h3{
        font-size: 6rem;
    }

    .contenidoport img{
        max-width: 30%;
    }

    .contenidoport p{
        font-size: 2rem;
        max-width: 70%;
        margin-top: -6rem;
    } 


  .contacto-title{
    font-size: 6rem;
  }

  .contacto-text{
    font-size: 1.4rem;
    max-width: 80%;
  }

  .contacto{
    margin-left: -10rem; /* mismo gesto visual que usás en otras secciones */
  }


  .mensaje-gracias h3{
    font-size: 4.5rem;
  }

  .mensaje-gracias p{
    font-size: 1.5rem;
  }

}