/*Custom Properties*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --ff-primary: "Instrument Sans", serif;
    --ff-secondary: ;

    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semi-bold: 600;
    --fw-bold: 700;

    --fs-900: 5rem;
    --fs-800: 4.5rem;
    --fs-700: 4rem;
    --fs-600: 3.5rem;
    --fs-500: 3rem;
    --fs-400: 2.5rem;
    --fs-300: 1.75rem;
    --fs-250: 1.25rem;
    --fs-200: 1rem;

    --clr-text-primary: #000000;
    --clr-text-secondary: #ffffff;
    --clr-text-dark: #555555;
    --clr-text-light: #A4A4A4;
    --clr-text-link: #5b4bd1;

    --clr-white: #ffffff;

    --fs-h1: 3rem;
    --fs-h2: 1.5rem;
    --fs-body: 1.5rem;
    --fs-nav: 1.2rem;

    --gap: 5rem;
}

@media (min-width: 20rem){
}

@media (min-width: 800px){

}

@media (min-width: 35em) {

}

@media (min-width: 45em) {
}

/* utility classes */

.fs-900 { font-size: var(--fs-900); }
.fs-800 { font-size: var(--fs-800); }
.fs-700 { font-size: var(--fs-700); }
.fs-600 { font-size: var(--fs-600); }
.fs-500 { font-size: var(--fs-500); }
.fs-400 { font-size: var(--fs-400); }
.fs-300 { font-size: var(--fs-300); }
.fs-200 { font-size: var(--fs-200); }

.fs-900,
.fs-800,
.fs-700,
.fs-600 {
    line-height: 1.1;
}


/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce) {  
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }

/* make form elements easier to work with */
input,
button,
textarea,
select {
    font: inherit;
}
  

/*General Styles*/

body {
    background-image: url(/imgs/Misc/backgrounds/end\ page\ sky.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: 6.25rem;

    font-family: var(--ff-primary);
    font-weight: var(--fw-semi-bold);
    font-size: var(--fs-body);
    line-height: 1.6;
    max-height: 2196px;
    margin: 0;
    overflow-x: hidden;

    display: grid;
    grid-template-rows: min-content 1fr;
}

@media (min-width: 20rem) and (max-width: 50rem){
    body {
        background-image: url(/imgs/Misc/backgrounds/extended\ sky.png);
        background-repeat: no-repeat;
        background-size: auto;
    }
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3 {
    line-height: 1.1;
    margin: 0;
}

h1 { font-size:var(--fs-h1) }
h2 { font-size: var(--fs-h2);}
h3 { font-size: var(--fs-body);}

@media (prefers-reduced-motion: reduce) {  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}



.flex {
    display: flex;
    gap: var(--gap, 1rem);
}

.grid {
    display: grid;
    gap: var(--gap, 1rem);
}

.container {
    padding-inline: 2em;
    margin-inline: auto;
    max-width: 80rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; /* added line */
  border: 0;
}

/*nav*/

.navbar {
    display: flex;
    background-color: #ffffff;
}

.logo-seccion {
    display: flex;
    margin: auto;
    align-items: center;
    height: 100px;
}

.navbar-logo {
    width: 7.5rem;
    margin-inline: 0 2rem;
}

.navbar-heading > img{
    width: 664px;
    margin: auto;
}

.mobile-nav-toggle {
    display: none;
}

.nav {
    height: 70px;
    background-color: hsla(0,0%,100%, 0.75);
    display: grid;
}

.nav-borders {
    border-top: 10px solid;
    border-bottom: 10px solid;
    border-left: none;
    border-right: none;
    border-image: repeating-linear-gradient(to right, 
        #fca311 0%, #fca311 42px, 
        #2a9d8f 42px, #2a9d8f 84px, 
        #e63946 84px, #e63946 128px);
    border-image-slice: 1;
}

.primary-navigation {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    align-items: center;
}

.primary-navigation a {
    text-decoration: none;
    font-weight: var(--fw-bold);
    font-size: var(--fs-nav);
    color: #A4A4A4;
}

li > a.active {
    color: #555555;
}

.primary-navigation a:hover {
    color: var(--clr-text-link);
}

/*MOBILE LAYOUT*/

@media (max-width: 70rem) {

    header {
        height: 110px;
    }

    .navbar-heading {
        display: none;
    }

    .nav {
        background: none;
    }

    .nav-borders{
        border-bottom: none;
        height: 1px;
    }

    .primary-navigation {
        list-style: none;
        margin: 0;
        height: 100%;
        border: none;
        padding: min(20rem, 10vh) 6rem;
        padding-top: 7rem;
        display:flex;
        align-items: center;
        flex-direction: column;
        background: hsla(0, 0%, 100%, 1);
        position: fixed;
        inset: 0 0 0 10%;
        z-index: 2000;
        transform: translateX(100%);
        transition: transform 100ms ease-in-out;

    }

    .primary-navigation[data-visible="true"] {
        transform: translateX(0);
    }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        z-index: 3000;
        left: 50rem;
        top: 1rem;
        background: transparent;
        background-image: url(/imgs/Misc/buttons/icon-hamburger.svg);
        background-repeat: no-repeat;
        background-position: center;
        width: 5rem;
        aspect-ratio: 1;
        border: 0;
    }

    .mobile-nav-toggle[aria-expanded="true"] {
        background-image: url(/imgs/Misc/buttons/icon-close.svg);
    }

    .mobile-nav-toggle:focus-visible {
        outline: 5px solid rgb(150, 151, 255);
        outline-offset: 5px;
    }


    .primary-navigation a {
        text-decoration: none;
        font-weight: var(--fw-bold);
        font-size: 3rem;
        color: #555555;
    }

    li > a.active {
        color: #000000;
    }

    @supports (backdrop-filter: blur(1rem)) {
        .primary-navigation {
            background: hsla(0, 0%, 100%, 0.7);
            backdrop-filter: blur(1rem);     
        }
        
    }
}



/*MAYAS PROFILE*/

.heading-container {
    display: flex;
    justify-content: center;
    background-color: white;
    width: 30rem;
    margin: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 0.5rem 0;
    box-shadow: 8px 8px .8px hsla(0, 0%, 30%, 0.25);
}

.mayas-profile {
    width: 67rem;
    height: 32rem;
    border-radius: 42px;
    background-color: hsla(0, 0%, 100%, 0.8);
    margin: auto;
    padding: 1rem;
    display: grid;
    grid-template-columns: 25rem 45rem;
    box-shadow: 4px 4px .8px hsla(0, 0%, 30%, 0.25);
}

.mayas-picture > img {
    grid-column: 1;
    margin: auto;
    margin-top: 2rem;
    width: 17.875rem;
    border-radius: 24px;
}

.mayas-bio {
    width: 37rem;
    margin-top: 3.625rem;
}

.profile-title {
    font-size: 2rem;
}

.mayas-title {
    text-align: left;
}

.profile-exem {
    font-size: 1.25rem;
    font-weight: var(--fw-regular);
    line-height: 122.9%;
    letter-spacing: 0.05rem;
}

.mayas-exem {
    margin-top: 1.438rem;
}

.maya-article-link {
    font-weight: var(--fw-semi-bold);
    color: var(--clr-text-link);
}

.maya-article-link:hover {
    color: #8588a7;
}

/* .easter-egg-mayas-profile {
    position: absolute;
    width: 118.064px;
    height: 88.439px;
    margin: auto;
    margin-right: -10rem;
} */

.easter-egg-mayas-profile {
    position: absolute;
    display:inline-block;
    width: 40rem;
}

.easter-egg-mayas-profile > img{
    width: 118.064px;
    margin: auto;
    margin-right: -3rem;
    margin-top: -2rem;
    transform: rotate(-8.456deg);
}

@media (min-width: 20rem) and (max-width: 50rem) {
    .heading-container {
        font-size: var(--fs-900);
    }
    
    .mayas-profile {
        width: 55rem;
        height: 30rem;
        grid-template-columns: 17.5rem 30rem;
        column-gap: 2rem;
    }

    .mayas-picture > img {
        width: 15rem;
        margin-top: 3rem;
        margin-left: 2rem;
    }

    .mayas-bio {
        margin-top: 1.5rem;
        width: 30rem;
    }

    .easter-egg-mayas-profile {
        width: 35rem;
    }

    .easter-egg-mayas-profile > img {
        width: 5rem;
        margin-right: -1rem;
        margin-top: -2rem;
    }

    .profile-title {
        font-size: 2rem;
    }
}

/*ILL' SECTION*/

.ill-section {
    display: grid;
    width: 68rem;
    margin: auto;
    grid-template-columns: 47rem 17rem;
    align-items: center;
    justify-content: center;
    margin-top: 5.875rem;
    column-gap: 2.5rem;
}

.esilas-profile {
    grid-column: 1;
    background-color: hsla(0, 0%, 100%, 0.8);
    padding: 3rem;
    width: 46.563rem;
    height: 23.688rem;
    display: grid;
    grid-template-columns: 27rem 11.688rem;
    column-gap: 2rem;
    border-radius: 42px;
    box-shadow: 4px 4px .8px hsla(0, 0%, 30%, 0.25);
}

.esilas-picture>img {
    width: 11.688rem;
    border-radius: 24px;
    margin-top: .75rem;
    justify-content: center;
    align-items: center;
}

.esilas-bio {
    width: 26.813rem;
}

.esilas-title {
    text-align: right;
}

.esilas-exem {
    width: 429px;
    height: 200px;
   
    text-align: right;
    font-weight: 400;
    line-height: 1.537rem;
    letter-spacing: 0.8px;

}

.ill-image > img {
    border-radius: 3.625rem;
    box-shadow: 4px 4px .8px hsla(0, 0%, 30%, 0.25);
}

@media (min-width: 20rem) and (max-width: 50rem) {
    .heading-container {
        font-size: var(--fs-900);
    }

    .ill-section {
        width: 50rem;
        grid-template-columns: 50rem;
        column-gap: 3rem;
        align-items: center;
        justify-content: center;
    }
    
    .esilas-profile {
        width: 50rem;
        height: 28.5rem;
        grid-template-columns: 25rem 15rem ;
        justify-content: center;
    }

    .esilas-picture {
        align-items: center;
        justify-content: center;
    }

    .esilas-picture > img {
        width: 15rem;
        margin-left: 1rem;
    }

    .esilas-bio {
        margin-top: 1rem;
        width: 25rem;
        margin-right: 2rem;
    }

    .esilas-exem {
        width: 26rem;
        font-size: 1.3rem;
        margin-right: 2rem;
    }

    .ill-image > img {
        width: 25rem;
        margin: auto;
        margin-top: 5rem;
        display: none;
    }
}

/* GRAPH ILL SECTION*/
@media (min-width: 51rem) {
    .graph-ill-section {
        display: grid;
        width: 68rem;
        margin: auto;
        grid-template-columns: 17rem 47rem;
        align-items: center;
        justify-content: center;
        margin-top: 5.875rem;
        column-gap: 2.5rem;
    }
}

.graph-ill-section {
    margin: auto;
    align-items: center;
    justify-content: center;
    margin-top: 5.875rem;
}

.graph-ill-image {
    grid-column: 1;
}

.yashinis-profile {
    grid-column: 2;
    background-color: hsla(0, 0%, 100%, 0.8);
    padding: 3rem;
    width: 48rem;
    height: 23.688rem;
    display: grid;
    grid-template-columns: 13.688rem 27rem;
    column-gap: 2rem;
    border-radius: 42px;
    box-shadow: 4px 4px .8px hsla(0, 0%, 30%, 0.25);
    align-items: center;
}

.graph-ill-image > img {
    border-radius: 3.625rem;
    box-shadow: 4px 4px .8px hsla(0, 0%, 30%, 0.25);
}

.yashinis-picture {
    grid-column: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.yashinis-picture > img {
    border-radius: 1.5rem;
    width: 13.688rem;
}

@media (min-width: 20rem) and (max-width: 50rem) {
    .heading-container {
        font-size: var(--fs-900);
    }

    .graph-ill-image > img {
        display: none;
    }

    .graph-ill-section {
        width: 49rem;
        grid-template-columns: 50rem;
        column-gap: -1rem;
        align-items: center;
        justify-content: center;
    }
    
    .yashinis-profile {
        width: 50rem;
        height: 26rem;
        grid-template-columns: 15rem 25rem;
        justify-content: center;
        column-gap: 3.3rem;
    }

    .yashinis-picture {
        align-items: center;
    }

    .yashinis-picture > img {
        width: 15rem;
        margin-left: 1rem;
        margin-top: 2rem;
    }

    .yashinis-bio {
        width: 25rem;
        margin-right: 2rem;
    }

    .yashinis-title {
        font-size: 1.7rem;
    }

    .yashinis-exem {
        width: 26rem;
        font-size: 1.3rem;
        margin-right: 2rem;
    }
}

/*WEBDEV SECTION */

.webdev-section {
    display: grid;
    width: 68rem;
    margin: auto;
    grid-template-columns: 47rem 17rem;
    align-items: center;
    justify-content: center;
    margin-top: 5.875rem;
    column-gap: 2.5rem;
}

.ishraqs-profile {
    grid-column: 1;
    background-color: hsla(0, 0%, 100%, 0.8);
    padding: 3rem;
    width: 46.563rem;
    height: 23.688rem;
    display: grid;
    grid-template-columns: 27rem 11.688rem;
    column-gap: 2rem;
    border-radius: 42px;
    box-shadow: 4px 4px .8px hsla(0, 0%, 30%, 0.25);
}

.ishraqs-picture > img {
    width: 11.688rem;
    border-radius: 24px;
    margin-top: .75rem;
    justify-content: center;
    align-items: center;
}

.ishraqs-bio {
    width: 26.813rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ishraqs-title {
    text-align: right;
    font-size: 29px;
}

.ishraqs-exem {
    width: 429px;
    height: 200px;
   
    text-align: right;
    font-weight: 400;
    line-height: 1.537rem;
    letter-spacing: 0.8px;

}

.webdev-image > img {
    border-radius: 3.625rem;
    box-shadow: 4px 4px .8px hsla(0, 0%, 30%, 0.25);
}

@media (min-width: 20rem) and (max-width: 50rem) {
    .heading-container {
        font-size: var(--fs-900);
    }

    .webdev-section {
        width: 50rem;
        grid-template-columns: 50rem;
        column-gap: 3rem;
        align-items: center;
        justify-content: center;
    }
    
    .ishraqs-profile {
        width: 50rem;
        height: 27rem;
        grid-template-columns: 25rem 15rem ;
        justify-content: center;
        align-items: top;
    }

    .ishraqs-picture {
        align-items: center;
    }

    .ishraqs-picture > img {
        width: 15rem;
        margin-left: 1rem;
    }

    .ishraqs-bio {
        width: 25rem;
        margin-right: 2rem;
    }

    .ishraqs-title {
        font-size: 1.7rem;
    }

    .ishraqs-exem {
        width: 26rem;
        font-size: 1.3rem;
        margin-right: 2rem;
        margin-bottom: 2rem;
    }

    .webdev-image > img {
        width: 25rem;
        margin: auto;
        margin-top: 5rem;
        display: none;
    }
}


/* FOOTER SECTION*/

.footer-container {
    background-color: hsla(0, 0%, 0%, 0.34);
    color: white;
    display: flex;
    flex-direction: column;
    margin-top: 7rem;
    height: 12rem;
    min-height: 38vh;
    width: 100vw;
    width: 100%;
    bottom: 0;
    box-shadow: 0px 0px 10px 40px  hsla(0, 0%, 0%, 0.34);
}

.footer-wrap {
    width: 60rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-social-icons{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.copyright-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.copyright-text {
    font-size: 20px;
    bottom: 0;
}

.easter-egg-footer {
    z-index: 1000;
    position: absolute;
    width: 60rem;
}

.easter-egg-footer > img {
    width: 118.064px;
    height: 88.439px;
    margin: auto;
    margin-left: 12rem;
    margin-top: -5rem;
    transform: rotate(8.456deg);
}