  @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100;400;700&family=Noto+Sans:wght@400;800&display=swap');

:root {
    --primary: #3cecd4;
    --primary-shade: #17e3c6;
    --accent: #f9dc7b;
    --dark: #073842;
    --darker: #021F25;
    --light: #fefbef;
    --light-60: #fefbefa6;
    --light-40: #fefbef79;
    --small: 0.8rem;
    --extrasmall: 0.64rem;
    --font-primary: 'JetBrains Mono', monospace;
    --font-secondary: 'Noto Sans', sans-serif;
    --fontsize-default: 18px;
}

/* GENERAL */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}
body {
    background-color: var(--darker);
    color: var(--light);
    margin: 0;
    font-family: var(--font-secondary);
    font-size: var(--fontsize-default);
    font-weight: 500;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 100;
}
h1 {
    font-size: 2.986rem
}
h2 {
    font-size: 2.488rem
}
h3 {
    font-size: 2.074rem
}
h4 {
    font-size: 1.728rem
}
h5 {
    font-size: 1.44rem
}
h6{
    font-size: 1.2rem
}
strong {
    color: var(--primary);
    background-color: var(--dark);
    padding-left: .3rem;
    padding-right: .3rem;
    font-weight: 400;
}
.container {
margin-right: 1.5rem;}
.mt-0 {
    margin-top: 0;
}
.mb-2 {
    margin-bottom: 2rem;
}
.mb-3 {
    margin-bottom: 3rem;
}


/* ------- HEADER -------- */
header {
    min-height: 6rem;
}
#brand {
    position: fixed;
    z-index: 90;
    /* mix-blend-mode: exclusion; */
}
#brand img {
    margin: 1rem;
    width: 6rem;
}

/* ---------------- MENU ---------------- */
/* SECOND MENU */
#mobile-menu-btn {
    position: fixed;
    z-index: 96;
    bottom: 0;
    right: 0;
    background-color: var(--dark);
    border-radius: 1.2rem 0 0 0;
    text-align: center;
    overflow: hidden;
    height: 72px;
    width: 72px;
    display: flex;
    border: 0;
    /* box-shadow: 0px 0px 30px -9px var(--primary-shade); */
}
.menu_icon {
    width: 24px;
    height: 24px;
    margin: auto;
    z-index: 10;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
}
.menu_icon span {
    position: absolute;
    display: block;
    height: 2px;
    width: 24px;
    background-color: var(--primary);
    transform: rotate(0);
    transition: all 200ms cubic-bezier(0.895, 0.03, 0.685, 0.22);
} 
span.one {top: 0px;}
span.two {top: 10px;}
span.three {top: 20px;}
.clicked .one {transform: translateY(10px) rotate(45deg);}
.clicked .two {opacity: 0;}
.clicked .three {transform: translateY(-10px) rotate(-45deg);}


#menu {
    position: fixed;
    z-index: 88;
    bottom: 0;
    right: 0;
    opacity: 0;
    height: 0;
    width: 100%;
    overflow: hidden;
    text-align: center;
    align-content: center;
    background-color: var(--primary-shade);
    transition: all .3s ease;
    display: grid;
    align-content: center;
}
#menu.visible {
    opacity: 1;
    height: 100vh;
    width: 100%;
    position: fixed;
    bottom: 0;
    right: 0;
    transition: all .3s ease;
    overflow: hidden;
}
body.no-scroll {
    overflow: hidden;
}

#menu ul {
    list-style: none;
    padding-left: 0;
}
#menu ul li {
    margin-bottom: 1rem;

}

#menu ul li a {
    background-color: var(--darker);
    color: var(--light);
    padding: .4rem .8rem;
}

/* ------------ ASIDE ----------- */
.wraper {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 1rem;
}
aside {
    position: sticky;
    top: 7rem;
    justify-self: center;
    max-width: max-content;
    max-height: max-content;
    height: 640px;
    z-index: 70;
}
.filter-menu {
    writing-mode: vertical-lr;
    font-size: 1rem;
}
/* Chips (radio buttons) */
input[type="radio"] {
    display: none;
}
input[type="radio"]:not(:disabled) ~ label {
    cursor: pointer;
}
input[type="radio"]:disabled ~ label {
    color: var(--light-40);
    cursor: not-allowed;
}
label {
    display: inline-block;
    margin-bottom: .5rem;
    color: var(--light-40);
    transition-duration: 500ms;
    padding: .8rem .1rem;
}
input[type="radio"]:checked + label {
    background: var(--dark);
    margin-bottom: .5rem;
    color: var(--primary);
    padding: .8rem .1rem;
}


/* ----------- MAIN ------------ */

/* main {
    padding-bottom: 7rem;
} */
.main-title {
    margin: 0;
    color: var(--primary);
}




/* Initially hide the content */
#portfolioContainer > div {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease;
    margin-bottom: 0;
  }
  
  /* Show the content */
  #portfolioContainer > div.visible {
    opacity: 1;
    max-height: 620px; /* Adjust the value based on your content's maximum height */
    margin-bottom: 3rem;
  }



/* CARDS */
.card {
    transition-duration: 500ms;
}
.card img {
    width: 100%;
    cursor: pointer;
}
.card-body {
    text-align: right;
    font-size: 1rem;

}
.card-body h3 {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 400;
    margin-top: .4rem;
    margin-bottom: .4rem;
}
.card-body p {
    margin-top: 0;
    color: var(--light-60);
}
.card-body a {
    color: var(--light);
}

/* ---------- FOOTER ---------- */
footer {
    padding: 2rem;
    border-top: solid 1px var(--dark);
    background-color: var(--primary-shade);
    color: var(--darker);
}
footer h2 {
    margin-top: 1rem;
    margin-bottom: 3rem;
}

footer img.brand {
    width: 55%;
    display: grid;
    margin: auto;
}
footer ul {
    list-style: none;
    padding-left: 0;
    margin-top: 2rem;
}
footer li {
    margin-bottom: .6rem;
}
footer ul a{
    background-color: var(--dark);
    color: var(--light);
    padding: 0 .4rem;
}



/* h1 {
    font-size: 3.815rem;
}
h2 {
    font-size: 3.052rem;
}
h3 {
    font-size: 2.441rem;
}
h4 {
    font-size: 1.728rem;
}
h5 {
    font-size: 1.563rem;
}
h6{
    font-size: 1.25rem;
} */
