@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* main colors */

:root {
    font-size: 16px;
    --main: #000;
    --bg-color: #101010;
    --text: #fff;
    --text80: rgba(255,255,255,.8);
    --text50: rgba(255,255,255,.5);
    --text4: rgba(255,255,255,.3);
    --bg1: rgba(255,255,255,0.1);
    --bg2: rgba(255,255,255,0.05);
    --text20: rgba(255,255,255,.2);
}

.theme-light {
    --main: #fff;
    --bg-color: #fff;
    --text: #101010;
    --text80: rgba(0,0,0,.8);
    --text50: rgba(0,0,0,.5);
    --text4: rgba(0,0,0,.3);
    --bg1: rgba(0,0,0,0.06);
    --bg2: rgba(0,0,0,0.02);
    --text20: rgba(0,0,0,.2);
}

/* themes */

.theme-dark {
    background-color: var(--bg-color);
    color: var(--text);
}

.theme-light {
    background-color: var(--bg-color);
    color: var(--text);
}

html {
    cursor: url("cursor.svg") 14 14, default;
}

html a{
    cursor: url("pointer.svg") 17 17, auto;
}

body {
    transition: ease-in-out background 400ms;
}


/* font */

h1 {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 88px;
    font-style: normal;
    font-weight: 800;
    line-height: 107px;
    letter-spacing: 0em;
    text-align: left;
    margin: 0;
}

h5 {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem; /* 40px */
    font-style: normal;
    font-weight: 400;
    line-height: 3rem;
    letter-spacing: 0em;
    text-align: left;
    margin: 0 0 .5rem 0;
}

h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem; /* 40px */
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    letter-spacing: 0em;
    text-align: left;
    margin: .5rem 0;
}

h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.25rem; /*20??? */
    margin: 1rem 0;
    color: var(--text80);
}

h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.25rem; /* 20px */
    margin: .5rem 0;
    line-height: 165%;
    color: var(--text50);
    /*text-transform: uppercase;*/
    /*letter-spacing: 0.05em;*/
}

p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    margin: 0;
    color: var(--text80);
    line-height: 1.75rem;
}

.tag p {
    font-size: 14px;
}

.callout {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.5rem; /*24 */
    margin: 0 0 1rem 0;
    color: var(--text80);
    line-height: 2.25rem;
}

.faint{
    color: var(--text20);
}

.link {
    font-style: normal;
    border-bottom: 1px solid var(--text);
    transition: .2s ease-in-out;
    -moz-animation: .2s ease-in-out;
    -webkit-animation: .2s ease-in-out;
}

.link:hover {
    /*border-bottom: 2px solid var(--text);*/
    font-style: italic;
    background-color: var(--text20);
}

/*general */

.container {
    display: block;
    align-content: center;
    margin: auto;
    max-width: 1168px;
    padding-bottom: 1rem;
}

/*.iconify {*/
/*width: 22px;*/
/*height: 22px;*/
/*color: var(--text80);*/
/*}*/

.image {
    max-width: 100%;
    border-radius: .4rem;
    margin: auto;
}


.divider {
    margin: 3rem auto;
    height: 4rem;
}

.small-divider {
    margin: 1rem auto;
    height: 2rem;
}

.flair {
    /*position: absolute;*/
    /*width: 201px;*/
    /*height: 219px;*/
    /*left: 1036px;*/
    /*top: 201px;*/


    position: absolute;
    width: 251px;
    height: 274px;
    left: 1006px;
    top: 189px;

    opacity: 80%;
}

/*.circle {*/
/*position: absolute;*/
/*width: 28px;*/
/*height: 28px;*/
/*top: 50%;*/
/*left: 50%;*/
/*margin: -14px 0 0 -14px;*/
/*background: var(--text);*/
/*border-radius: 80%;*/
/*backface-visibility: hidden;*/
/*visibility:hidden;*/
/*z-index:1;*/
/*}*/

/* nav */

nav {
    display: flex;
    padding-bottom: 5px;
    margin-right: auto;
    margin-left: auto;
    align-content: center;
    padding-top: 3rem;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

li {
    list-style-type: none;
    padding-left: 5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-style: normal;
    line-height: 19px;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    font-weight: 600;
    color: var(--text50);
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a#active {
    border-top: var(--text) solid 4px;
    padding-top: 1.5rem;
    color: var(--text);
}

#inactive {
    color: var(--text50);
}

li a:hover {
    color: var(--text);
}

.logo {
    padding-right: .5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 600;
    text-align: left;
}


/* toggle */

.toggle-container {
    display: inline-flex;
    flex-grow: 2;
    align-items: center;

}


input[type=checkbox]{
    height: 0;
    width: 0;
    visibility: hidden;
}

label {
    cursor: url("pointer.svg") 17 17, pointer;
    text-indent: -9999px;
    width: 44px;
    height: 24px;
    /*background: grey;*/
    background: var(--text20);
    float: right;
    border-radius: 100px;
    position: relative;
    margin-right: .5em;
}

label:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    /*background: #fff;*/
    background: var(--text50);
    border-radius: 100px;
    transition : 0.3s;
}

input:checked + label {
    background: var(--text4);
}

input:checked + label:after {
    left: calc(100% - 5px);
    transform: translateX(-100%);
    background: var(--text50);
}

label:active:after {
    width: 44px;
}

html.transition,
html.transition *,
html.transition *:before,
html.transition *:after {
    transition: all 750ms !important;
    transition-delay: 0 !important;
}


/* hero */

.hero {
    padding-top: 9rem;
}

.header {
    padding-bottom: 7.5rem;
}

.desc-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 7rem;
}

.desc-item {
    width: 20%;
}

/* projects */

.project {
    margin: 4rem 0;
}

.prj-title {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.prj-title h2 {
    margin-right: 1rem;
}

.project .arrow {
    transition: all 0.2s linear;
}

.prj-img {
    height: 30rem;
    background-color: var(--bg1);
    margin: 2rem 0;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    border-radius: 12px; /* gentle rounded corners */
    gap: 40px;
    
}

.index-img {
    max-height: 75%;
    width: auto;
}

.project .index-img {
    transition: all 0.3s ease-out;
    /*-webkit-transition: -moz-transform .3s ease-out;*/
    /*-moz-transition: -webkit-transform .3s ease-out;*/
    /*-o-transition: -o-transform .3s ease-out;*/
}

.project .prj-img {
    transition: all 0.3s ease-out;
}

.project:hover .index-img {
    transform: scale(1.06);
    /*-moz-transform: scale(1.1);*/
    /*-webkit-transform: scale(1.05);*/
    /*-o-transform: scale(1.05);*/
}


.index-img-misc {
    max-width: 90%;
    height: auto;
}

.project .index-img-misc {
    transition: all 0.3s ease-out;
    /*-webkit-transition: -moz-transform .3s ease-out;*/
    /*-moz-transition: -webkit-transform .3s ease-out;*/
    /*-o-transition: -o-transform .3s ease-out;*/
}

.project:hover .index-img-misc {
    transform: scale(1.06);
    /*-moz-transform: scale(1.1);*/
    /*-webkit-transform: scale(1.05);*/
    /*-o-transform: scale(1.05);*/
}

.project:hover .prj-img {
    background-color: var(--bg2);
}

.project:hover .arrow {
    -moz-transform: translateX(16px);
    -ms-transform: translateX(16px);
    -o-transform: translateX(16px);
    -webkit-transform: translateX(16px);
    transform: translateX(16px);

    opacity: 50%;
}


.project-tags {
    display: flex;
    flex-direction: row;
    margin-bottom: 2rem;
}

.tag {
    padding: 8px 16px;
    border-radius: .5rem;
    background-color: var(--bg1);
    margin-right: 8px;
    white-space: nowrap;
}



#helios-1 {
    visibility: hidden;
    height: 0;
}

#helios-2 {
    /*visibility: hidden;*/
    order: 1
}


/* project page */

.context {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /*margin: 3rem auto 2rem auto;*/
}

.context-item {
    padding-right: 1.5rem;
}

.prj-header {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 3rem 0;
}

.prj-section {
    display: flex;
    flex-direction: row;
    margin: 8rem 0;
}

.prj-section-col {
    display: flex;
    flex-direction: column;
    margin: 8rem 0;
}

.prj-subtitle {
    width: 35%;
    padding-right: 3rem;
}

.prj-content {
    width: 65%;
}

.quote {
    padding: .5rem 1.5rem 1.5rem;
    margin-top: 2rem;
    background-color: var(--bg1);
    border-radius: .5rem;
}

.prj-content-img-shadow {
    width: 100%;
    margin-bottom: 2rem;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 8px 28px rgba(0, 0, 0, 0.05);
}

.prj-content-img {
    width: 100%;
    margin-bottom: 2rem;
    /*box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 8px 28px rgba(0, 0, 0, 0.05);*/
}

.bullet {
    display: flex;
    flex-direction: row;
    margin-bottom: .5rem;
}

.dot {
    margin-right: 1rem;
    margin-left: .5rem
}

.top {
    display: flex;
    flex-directon: row;
    margin: 2rem 0 3rem 0;
    justify-content: flex-end;
}


/* About */

.about {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    margin-top: 8rem;
}

.about-intro {
    width: 40%;
}

.me {
    flex-direction: row;
    justify-content: flex-end;
    width: 40%;
}

#me {
    justify-content: flex-end;
    max-width:100%;
    /*max-height:100%;*/
    border-radius: .5rem;
}

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

.community-row {
    display: flex;
    flex-direction: row;
    margin-bottom: 10rem;
}

.community-title {
    width: 50%;
    padding-right: 2rem;
}

.community-desc {
    /*flex-grow: 2;*/
    width: 50%;
}

.other-row {
    display: flex;
    flex-direction: row;
    margin-bottom: 10rem;
}

.other-title {
    width: 50%;
    padding-right: 2rem;
}

.img-gallery {
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    gap: 1rem; /* Equal spacing between all items */
    justify-content: flex-start;
}
.img-gallery-capoeira {
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    gap: 1rem; /* Equal spacing between all items */
    justify-content: flex-start;
}

.img-tile {
    width: 120px; /* Square dimensions */
    height: 120px; /* Square dimensions */
    object-fit: cover; /* Maintain aspect ratio while filling the square */
    border-radius: 8px; /* Slight rounded edges like Spotify */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth hover effect */
    cursor: pointer;
}

.img-tile-capoeira {
    width: 220px; /* Square dimensions */
    height: 220px; /* Square dimensions */
    object-fit: cover; /* Maintain aspect ratio while filling the square */
    border-radius: 12px; /* Slight rounded edges like Spotify */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth hover effect */
    cursor: pointer;
}


.img-tile:hover {
    transform: translateY(-2px); /* Slight lift on hover */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.img-tile.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--text); /* Highlight selected song */
}

/* Song description styling */
.song-description {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--bg1);
    border-radius: 8px;
    border-left: 4px solid var(--text);
    animation: fadeIn 0.3s ease-in-out;
}

.song-description h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--text);
}

.song-description p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text80);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* YouTube Video Container */
.video-container {
    width: 80%;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--bg1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.video-container #player {
    border-radius: 12px;
    max-width: 100%;
    height: 25rem;
}

.refresh-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    z-index: 10;
    transition: background 0.3s ease;
}

.refresh-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Animated List Styles - Converted from React component */
.animated-list-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.scroll-list-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--bg1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.scroll-list {
    height: 100%;
    overflow-y: auto;
    padding: 1rem;
    scroll-behavior: smooth;
}

.scroll-list.no-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-list.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.animated-item {
    margin-bottom: 1rem;
    cursor: pointer;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.2s ease;
}

.animated-item.visible {
    transform: scale(1);
    opacity: 1;
}

.item {
    padding: 1rem;
    background: var(--bg2);
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.item:hover {
    background: var(--bg3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.item.selected {
    border-color: var(--text);
    background: var(--bg3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.item-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text);
    font-weight: 400;
}

.top-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, var(--bg1), transparent);
    pointer-events: none;
    z-index: 10;
}

.bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to top, var(--bg1), transparent);
    pointer-events: none;
    z-index: 10;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-list-container {
        height: 300px;
    }
    
    .item-text {
        font-size: 0.9rem;
    }
}

/* Responsive video container */
@media (max-width: 900px) {
    .video-container {
        width: 100%;
        margin-top: 2rem;
    }
}

@media (max-width: 600px) {
    .video-container {
        padding-bottom: 56.25%; /* 16:9 aspect ratio for mobile */
    }
}

/* Audio player styling */
.audio-player {
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--bg2);
    border-radius: 8px;
    border: 1px solid var(--text20);
}

.audio-player audio {
    width: 100%;
    height: 40px;
    outline: none;
}

.audio-player audio::-webkit-media-controls-panel {
    background-color: var(--bg1);
    border-radius: 4px;
}

.audio-info {
    margin-top: 0.5rem;
    text-align: center;
}

.play-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--text50);
    font-style: italic;
}



/* Footer */

footer {
    margin-top: 8rem;
    margin-bottom: 4rem;
}

.socials {
    display: flex;
    /*flex-directon: row;*/
    margin: 3rem 0 5rem 0;
}

.copyright {
    margin: 2rem 0 1rem 0;
}

#caption {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--text50);
    line-height: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    margin: 0;
    color: var(--text);
    line-height: 1.5rem;
    padding-right: 2rem;
    align-items: center;
}

.social-link .iconify {
    padding-right: .5rem;

}

.social-link:hover {
    color: var(--text50);
}


/* media queries */

@media (max-width: 1280px) {
    .container {
        max-width: 90%;
    }
    .desc-item {
        width: 30%;
    }
    .about-intro {
        width: 45%;
    }
}

@media (max-width: 1024px) {
    .desc-item {
        width: 30%;
    }

    .about-intro {
        width: 55%;
    }
}

@media (max-width: 900px) {
    .about {
        flex-direction: column;
        justify-content: center;
        margin-top: 8rem;
    }

    .me {
        width: 100%;
        order: 1;
        /*margin: 0 auto 4rem auto;*/
        /*justify-content: center;*/
        /*position: relative;*/
    }

    #me {
        display: block;
        height: 100%;
        width: auto;
        margin: 0 auto 4rem auto;
        justify-content: center;
        position: relative;
    }

    .about-intro {
        width: 100%;
        order: 2;
    }

    .other-row {
        flex-direction: column;
    }

    .other-title {
        width: 100%;
    }

    .img-gallery {
        width: 100%;
        margin-top: 2rem;
        gap: 0.75rem; /* Slightly smaller gap on mobile */
    }
}


@media (max-width: 800px) {
    .desc-row {
        flex-direction: column;
    }
    .desc-item {
        width: 90%;
        margin-bottom: 2rem;
    }

    li {
        padding-left: 3rem;
    }

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

    #helios-2 {
        visibility: hidden;
        height: 0;
    }

    #helios-1 {
        visibility: inherit;
        height: auto;
    }

    /*.prj-subtitle {*/
    /*width: 30%;*/
    /*}*/

    /*.prj-content {*/
    /*width: 70%;*/
    /*}*/

    .prj-section {
        flex-direction: column;
    }

    .prj-subtitle {
        width: 100%;
        padding-bottom: 2rem;
    }

    .prj-content {
        width: 100%;
    }

}

@media (max-width: 600px) {
    h1 {
        font-size: 3.5rem;
        line-height: 1.25em;
    }

    h2 {
        font-size: 2rem; /* 32px*/
    }

    .hero {
        padding-top: 6rem;
    }

    .header {
        padding-bottom: 5rem;
    }

    .logo {
        visibility: collapse;
        width: 0px;
    }

    .toggle-container {
        margin-left: -1rem;
    }

    .community-row {
        flex-direction: column;
    }

    .community-title {
        width: 100%;
        padding-bottom: 2rem;
    }

    .community-desc {
        width: 100%;
    }

    .index-img {
        max-width: 100%;
        height: auto;
    }

    .context {
        flex-direction: column;
    }

    .context-item {
        padding-right: 0;
        padding-bottom: 1.5rem;
    }


}

@media (max-width: 450px) {
    /*.container {*/
    /*width: 95%;*/
    /*}*/
    li {
        padding-left: 24px;
    }

    .social-link {
        padding-right: 1rem;
    }

    .img-tile {
        width: 100px; /* Smaller squares on mobile */
        height: 100px; /* Maintain square aspect ratio */
    }
}

@media (max-width: 380px) {
    .img-tile {
        width: 80px; /* Even smaller squares on very small screens */
        height: 80px; /* Maintain square aspect ratio */
    }
}


/* === Community Gallery Section === */
.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
margin-top: 1.5rem;
}

.gallery-item {
text-align: center;
}

.gallery-item img {
width: 100%;
height: 260px;
object-fit: cover;
border-radius: 16px; /* rounded corners */
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* subtle shadow */
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
transform: translateY(-5px);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.gallery-item p {
font-size: 0.95rem;
color: var(--text-secondary);
margin-top: 0.75rem;
line-height: 1.4;
}


.prj-img-gdg img {
display: block;
max-width: 100%;
height: auto; /* preserves original ratio */
border-radius: 12px; /* gentle rounded corners */
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* optional soft shadow */
transition: transform 0.3s ease, box-shadow 0.3s ease;
margin: 0 auto; /* centers the image if smaller than container */
}

.prj-img img:hover {
transform: scale(1.01);
border-radius: 12px; /* gentle rounded corners */
}
