:root {
    --text:  hsl(340, 70%, 55%);
    --light: hsl(320, 30%, 95%);
    /* 
    --text: rgb(73, 20, 98); 
    --light: rgb(255, 187, 241); 
    --light: rgb(255, 239, 252);
    --light_pink: rgb(255, 193, 193);
    */
}

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

html {
    font-family: "Ronzino"; 
    font-size: 16px;
    color: var(--text);
    letter-spacing: 0.05rem;
    scroll-behavior: smooth;
}

body {
    height: 100vh;
    margin: 0px;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: var(--light);
    font-size: 1.25rem;
    line-height: 1.5rem;
}

main {
    flex: 1;
}

section {
    padding: 2rem 1rem 6rem 1rem;

}

footer {
    display: grid;
    position: relative;
    height: fit-content;
    width: 100%;
    padding: 3rem;

}


footer h1,
footer h2,
footer h3,
footer p,
footer a {
/*
    font-size: 1rem;
    line-height: 1.5rem;
    */
    margin: 0;
    padding: 0;
    background-color: inherit;

}



/* * * * * * * * * * Typography * * * * * * * * * */


h1, h2, h3 {
    font-size: 1.25rem;
    line-height: 1.5rem;
    font-weight: 500;
/*
    padding: 0.25rem 0.5rem;
    width: fit-content;
    border-radius: 0.25rem;
    */
}

h2 {
    width: 100%;
}
.large {
    font-size: 2rem;
    line-height: 2.5rem;
}
/*
.xlarge {
    font-size: 3.75rem;
    line-height: 3.75rem;
}
*/
.xlarge {
    font-size: 5rem;
    line-height: 5rem;
}


.xxlarge {
    font-size: 7.5rem;
    line-height: 7.5rem;
}
.has_background {
    padding: 0.25rem 0.75rem;
    width: fit-content;
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
}

.pink {
    background-color: lightpink;
}

.white {
    background-color: white;
}


p {
    font-size: 1.875rem;
    line-height: 2.5rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 2.5rem;
    /*
    color: rgb(237, 82, 118);
    font-size: 1.25rem;
    line-height: 1.5rem;
    */
    hyphens: auto;
    hyphenate-limit-chars: auto 5;
}

footer p {
    font-size: 1.25rem;
    line-height: 1.5rem;
    font-weight: 400;
}

.capitalize {
    text-transform: capitalize;
}



a {
    color: currentColor;
    text-decoration: none;
}

#about p a,
p a {
    text-decoration: underline;
}

#about p a:hover,
p a:hover {
    text-decoration: none;
}



strong, b {
    font-family: "Ronzino"; 
    font-weight: bold;
}
/* * * * * * * * * * * Layout * * * * * * * * * * */


.hero {
    width: 100%;
}

#hero {
    padding: 0;
}

.hero_home {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.hero-systrar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}

.animated-logo {
    
    position: absolute; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%; 
    height: 100%;

    padding:15vh;
}


.logo-hero-container {
    display: flex;
    position: absolute;
    align-content: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.logo-hero {
    align-self: center;
    translate: 0px -2rem;

}
/*
.hero_home_inner {
    margin: 0 auto;
    width: 90%;
    height: 90%;
}

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

.logo {
    position: absolute;
    z-index: 999;
    max-height: 60vh;
    align-self: center;

}

.logo-container {
    height: 100%;
    width: 100%;
    display: flex;
}

.logo_systrar {
    height: 100%;
}

.logo-footer {
    max-width: 12rem;
    object-fit: contain;
}

.img_wrapper {
    position: relative;
}

img {
    width: 100%;
}

.is_absolute {
    position: absolute;
    align-self: center;
}

.is_fixed {
    position: fixed;
    inset: 0;
    z-index: -1;
}

.is_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem; 
/*    line-height: 0; */
}

ul li,
figure li {
    list-style: none;
}

.col_3 {
    grid-template-columns: repeat(3, 1fr);
}

.col_6 {
    grid-template-columns: repeat(6, 1fr);
}
.col_12 {
    grid-template-columns: repeat(12, 1fr);
}


.span_1_3 {
    grid-column-start: 1;
    grid-column-end: 3;
}
.span_1_4 {
    grid-column-start: 1;
    grid-column-end: 4;
}


.span_2_3 {
    grid-column-start: 2;
    grid-column-end: 3;

}
.span_2_4 {
    grid-column-start: 2;
    grid-column-end: 4;
}

.span_2_5 {
    grid-column-start: 2;
    grid-column-end: 5;
}

.span_2_6 {
    grid-column-start: 2;
    grid-column-end: 6;
}

.span_2_10 {
    grid-column-start: 2;
    grid-column-end: 10;
}


/* * * * * * * * * * Nav Menu * * * * * * * * * */

.anchor-nav {
    position: fixed;
    padding: 1.5rem 0.5rem;
    top: 0;
/*    left: 0; */
    z-index: 1100;

    display: flex;
    align-self: center;
}


header {
    position: fixed;
    padding: 1rem;
    top: 0;
    left: 0;
    height: fit-content;
    z-index: 1000;
    width: 100%;
    background-color:khaki;
    
}
.navigation {
    /*
    position: fixed;
    top: 0;
    height: fit-content;
    */
    width: 100%;
    overflow: scroll;
    padding: 2rem;

    display: flex;
    flex-direction: column;
    align-items: center;

    line-height: 3rem;
    font-size: xx-large;
    z-index: 1001;

}

.navigation-link {
    position: fixed;
    top: 1rem;
    left: 3rem;
    height: fit-content;
    width: fit-content;
    z-index: 900;
    background-color: var(--light);

    padding: 0.5rem 1rem;
    border: 0.15rem solid var(--text);
    border-radius: 5rem;
    text-decoration: none;

}




.center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-center {
    display: flex;
    justify-content: center;
}
nav,
nav li a  {
    /*
    text-align: center; 
    */
    list-style: none;
    line-height: 1.5rem;
}

nav li {
    list-style: none;
    margin-top: 0.5rem;
}


#open-nav {
    margin-top: 1rem;
}
.navigation-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light);
    z-index: 5000;
    opacity: 0;
    transition: opacity 300ms;
    pointer-events: none;
}

.navigation-bg.active {
    opacity: 1;
    pointer-events: auto;
}

.nav_main {
    display: block;

}

.sub {
    display: flex;
    align-self: center;
    top: 1.65rem;
    position: absolute;
}

.sub li {
    margin-bottom: 0.5rem;
    display: flex;
}

.submenu {
    display: flex;
  align-items: center;
  flex-direction: column;
}
.nav-branch {
    gap: 1rem;
    display: flex;
    z-index: 4999;
}
.nav-grandchildren {
    grid-column-start: 2;
    grid-column-end: 4;
    display: flex;
/*
    justify-content: space-between;
*/
    gap: 1rem;
}

.nav-responsive {
    display: flex;
    flex-direction: column;
    align-content: center;

    width: 100%;
}


.nav_main ul {
    width: 100%;
    display: flex;
    
/*    
    flex-direction: column; */
}
/*
nav ul li {
    margin: 1rem 0.5rem;
}
    */
/*
nav ul li a {
    border: 0.2rem solid aliceblue;
    padding: 0.5rem 1rem;
    border-radius: 5rem;
    text-decoration: none;
    color: aliceblue;
    background-color: lightpink;
    margin-top: 0.5rem;
    width: fit-content;
}
*/

.filter-btn, 
.is_button {
    padding: 0.5rem 1.5rem;
    color: white;

    border-radius: 5rem;
    text-decoration: none;
    background-color: var(--text);
/*    margin-top: 0.5rem; */
    width: fit-content;
    cursor: pointer;
}

.filter-btn.active,
.is_button.active {
    background-color: white;
    color: var(--text);
}

.is_button_home {
    position: absolute;
    padding: 0.5rem 1rem;
    border-radius: 5rem;
    text-decoration: none;
    border: lightpink 0.1rem solid;
    margin-top: 1.5rem; 
    margin-left: 0.5rem;
    width: fit-content;
    cursor: pointer;
}

.is_last {
    width: 100%;
    justify-content: center;
}

.is_center {
    align-self: center;
/*    translate: 0 -2rem; */
    padding: 1rem 1.5rem;
}

.inline {
    display: inline;
}
/* * * * * * * * * * Spacing * * * * * * * * * */

/*
.m_6 {
    margin: 6rem;
}
*/

.mb_1 {
    margin-bottom: 1.5rem;
}

.mb_2 {
    margin-bottom: 2rem;
}

.mb_3 {
    margin-bottom: 3rem;
}

.mb_4 {
    margin-bottom: 4rem;
}

.mb_6 {
    margin-bottom: 10rem;
}


.mt_1 {
    margin-top: 1rem;
}

.mt_2 {
    margin-top: 2rem;
}

.mt_3 {
    margin-top: 3rem;
}

.mt_4 {
    margin-top: 4rem;
}

.mt_5 {
    margin-top: 5rem;
}


.mt_10 {
    margin-top: 12rem;
}

.ml_1 {
    margin-left: 1rem;
}
.pt_2 {
    padding-top: 2rem;
}

.pb_2 {
    padding-bottom: 2rem;
}

.px_2 {
    padding: 0 2rem;
}

.is_round img {
    border-radius: 2rem;
}

.is_flex {
    display: flex;
}
/*
.full_height {
    min-height: 90vh;
}
*/
.flex_col {
    flex-direction: column;
}

.flex_row {
    flex-direction: row;
}

.space_between {
    justify-content: space-between;
}


.col_gap_3 {
    column-gap: 4rem;
}


.max_1140 {
    max-width: 1140px;
    align-self: center;
}



.projects-grid img {
    border-radius: 1rem;
    line-height: 0;
}


.rike {
    font-family: 'Rike Mono Neue';
    font-weight: 800;
    text-align: center;
    width: 100%;
    padding: 7.5rem 3rem;
    grid-column: 1 / 3;
}


.back {
    position: fixed;
    top: 1.15rem;
    right: 3.15rem;
    z-index: 5002;
    background-color: var(--text);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}


.button_menu {
    position: fixed;
    top: 1.15rem;
    right: 3.15rem;
    z-index: 5002;
    background-color: var(--text);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}


/* * * * * * * * * * Hover Figure Project Grid * * * * * * * * * */



.hover-figure {
  position: relative;
  display: inline-block;
}

.hover-figure figcaption {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 100%;

  opacity: 0;
  transition: opacity 0.3s ease;
}

.hover-figure:hover figcaption,
.hover-figure:active figcaption {
  opacity: 1;
}













.sub.mobile-only {
  display: none;
}

.sub.mobile-only.active {
  display: block;
}

.subnav-toggle {
    /*
    width: 100%;
    padding: 1rem;
    background: black;
    color: white;
    */

    top: 1.15rem;
    top: inherit;
    align-self: center;
    right: inherit;

    border: none;
    font-size: 1.25rem;
    text-align: left;
    cursor: pointer;
}

.button_sub {
    top: 1rem;
    position: absolute;
    align-self: center;
}

.desktop-only .nav-branch li {
    margin-top: 0;
}


@media (max-width: 1320px) {

    .min-1320 {
        display: none;
    }
}





@media (min-width: 601px) {

    .mobile-only {
        display: none;
    }
}

@media (max-width: 600px) {

    .desktop-only {
        display: none;
    }
/*
    .hero img {
        display: none;
    }
*/
    .logo {
        max-height: 50vh;
    }

    .back {
        top: inherit;
        bottom: 1rem;
        align-self: center;
        right: inherit;
        padding: 0.5rem 1.25rem;

    }



    .navigation {
        font-size: 1.5rem;
        width: 90%;
        padding: 2rem 0 5rem 0;
    }

    .navigation-link {
        border: none;
        width: 100%;
        text-align: center;
        left: 0;
        position: absolute;
    }

    nav {
        line-height: 2.5rem;
    }

 

    nav .is_grid,
    nav .is_grid ul {
        align-items: center;
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
        grid-gap: 0;
    }






    .is_grid {
        display: flex;
        flex-direction: column;
    }

    .col_12 {
        grid-template-columns: repeat(2, 1fr);

    }

    .span_1_4, 
    .span_2_6 {
        grid-column-start: 1;
        grid-column-end: 7;
    }

    .px_2 {
        padding: 0;
    }

    p {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }

    .large {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }

    .xlarge,
    .xxlarge {
        font-size: 2.5rem;
        line-height: 2.5rem;
        padding: 0 1rem;
    }
    .rike {
        margin: 2.5rem 0 0.5rem 0;
    }

    .flex_row {
        flex-direction: column;
        gap: 1rem;
    }
    .flex_col {
        gap: 1rem;
    }

    .filter {
        max-width: 100%;
    }

    .filter .is_flex,
    nav li {
        display: inline-block;
        line-height: 2rem;
        text-align: center;
    }




    nav li a {
        line-height: 2.5rem;
    }

    footer {
        padding: 2rem 1rem 1rem 1rem;
    }

    .logo-footer {
        display: none;
    }
    .inline {
        padding-bottom: 6rem;
    }

    .hover-figure figcaption {
        opacity: 1;
    }

    .is-open {
        font-weight: 500;
        /* margin-bottom: 0.25rem;*/
        /* width: 100%; */
        border-radius: 2rem;

        /* padding-top: 1rem; */
    }

    .is_button {
        margin-top: 0;
    }


/*
    .submenu .is_nav_button {
        width: 90%;
    }
*/


    .is-active {
        color: white;
        background-color: var(--text);
    }

    .nav-responsive {
        display: flex;
        flex-direction: column;
        align-content: center;
        /* gap:0.5rem; */
        width: 100%;
    }

    .mobile-only li {
        margin-bottom: 0.5rem;
        display: flex;
        flex-direction: column;
    }

    .animated-logo {
        margin: 0 auto;
        display: block;
        padding:0vh 7vh 7vh 7vh;
    }



    .sub_bg {
        position: fixed;
        inset: 0;
        background-color: beige;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        z-index: 9999;
        gap: 0.5rem;
    }

    .button_menu {
        top: inherit;
        bottom: 1rem;
        right: inherit;
        align-self: center;
    }






}
 



.is_nav_button {
  
    padding: 0.5rem 2rem;
    color: var(--text);
    background-color: var(--light);
    border: 0.2rem solid var(--text);
    border-radius: 2.5rem;
    text-decoration: none;
    cursor: pointer;
    width: fit-content;
    font-weight: 500;
    }


.accordion-header .is-active,
.is-active {
  
    color: var(--light);
    background-color: var(--text);
    border: 0.2rem solid var(--text);
    }


/* Layout for header row */
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: center;
  margin-top: 0.5rem;
  width: fit-content
}




/* Remove default button styling */
.accordion-toggle {
  all: unset;
  cursor: pointer;
  font-size: 2rem;
  
}

/* Submenu animation */
.accordion .submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* When open */
.accordion-item.is-open .submenu {
  max-height: 500px;
}

/* Rotate arrow when open */
.accordion-item.is-open .accordion-toggle {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.accordion {
    width: 100%;
    align-self: center;
}
.accordion-item {
    width: 100%;
    font-weight: 500;
    display: flex;
    flex-direction: column;
}

.accordion-link {
    width: 100%;
    margin-right: 2rem;
}