/* GENERAL */
html {
    margin: 0px;
    padding: 0px;
    scrollbar-gutter: stable;
}
body {
    padding: 0px;
    margin: 0px;
    background-color: #f5f1ee;
}
img {
    max-width: 100%;
    height: auto;
}
footer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 48px 64px 24px;
}
.static {
    min-height: 100vh;
    overflow: hidden;
}
.figtree {
    font-family: Figtree;
}
@media (max-width: 768px) {
   .hide-mobile {
    display: none;
    }
    .static {
    max-height: none;
    overflow: visible;
    }
}
@media (min-width: 768px) {
   .hide-desktop {
    display: none;
    }
}




/* HOVERS */
.hover-cursive:hover {
    font-style: italic;
}
.nav-button:hover h3{
    color: #5f5f5f;
}




/* TYPE */
@font-face {
    font-family: "Source Code Pro";
    src: url("./assets/SourceCodePro-VariableFont_wght.ttf") format('truetype');
}
@font-face {
    font-family: "Figtree";
    src: url("./assets/Figtree-VariableFont_wght.ttf") format('truetype');
}

p {
	font-size: 20px;
	font-weight: 400;
	color: #404040;
	font-family: Figtree;
	font-style: normal;
	line-height: 120%;
	letter-spacing: 0em;
	display: block;
    padding: 0px;
    margin: 0px
}
.bold {
	font-weight: 600;
}
@media (max-width: 768px) {
    p {
        font-size: 16px;
    }
}
h1 {
	font-family: Source Code Pro;
	font-style: normal;
	font-weight: 500;
	margin: 0;
	font-size: 24px;
	line-height: 100%;
	color: #404040;
	letter-spacing: 0;
}
h2 {
	font-family: Source Code Pro;
	font-style: normal;
	font-weight: 500;
	margin: 0;
	color: #404040;
	font-size: 18px;
	line-height: 100%;
	letter-spacing: 0;
}
h3 {
	--text-style: "Heading 3";
	font-size: 16px;
	font-weight: 500;
	color: #404040;
	font-family: Source Code Pro;
	font-style: normal;
	line-height: 40px;
	letter-spacing: 0em;
	display: block;
    margin: 0px
}
a:link {
    text-decoration: none;
}
a:visited {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
a:active {
    text-decoration: none;
}





/* NAVIGATION */
.nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 0px;
    margin: 24px 0px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    z-index: 100;
}
.nav-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px 16px;
    gap: 16px;
    width: 220px;
    height: 40px;
    background: #FFFFFF;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15);
    border-radius: 99px;
}
.nav-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 6px;
}
.nav-center {
    pointer-events: none;
}




/* HOME */
.name-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px 0px 0px;	
}
.name{
    font-family: 'Source Code Pro';
    color: #404040;
    font-style: normal;
    font-weight: 300;
    font-size: clamp(24px, 6vw, 48px);
    line-height: 100%;
}
.typewriter {
    white-space: nowrap;
}
.typewriter.hidden {
    visibility: hidden;
}

.gallery{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    padding: 50px 48px;
    gap: 48px;	
}
.column {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 0px 0px;
    gap: clamp(50px, 6vw, 150px);
        opacity: 0;
        transform: translateY(12px);
        transition:
            opacity 0.4s ease,
            transform 0.4s ease;
        will-change: opacity, transform;
}
body.show-gallery .column {
    opacity: 1;
    transform: translateY(0);
}
body.show-gallery .column.right {
    transition-delay: 0ms;
}
body.show-gallery .column.left {
    transition-delay: 120ms;
}
.column.left {
    padding-top: clamp(100px, 18vw, 300px);
}
.item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    isolation: isolate;
}
.hover-text {
    position: relative;
    bottom: 10px;
    background: rgba(255,255,255,0.85);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}
.item:hover .hover-text {
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery {
        flex-direction: column;
        padding: 32px 16px;
        gap: 8px;
    }
    body.show-gallery .column.left {
        transition-delay: 0ms;
    }
    .column {
        gap: 8px;
    }
    .column.left {
        padding-top: 0;
    }
    .column.right {
        order: -1;
    }
    .item img {
        width: 100%;
        height: auto;
    }
    footer {
        padding: 0px 16px 80px 0px;
        justify-content: center;
    }
}




/* WORK */
.work-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 0px 48px;
    column-gap: 48px;
}

.work-main {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 0px;
    gap: 48px;
}
.work-meta {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
}
.work-gallery {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 24px;
}
.work-img {
    border-radius: 4px;
}
.work-text {
    font-size: 18px;
    margin: 0px 0px -12px 0px;
}

.work-sidebar {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    position: sticky;
    top: 0px;
    align-self: start;
}

@media (max-width: 768px) {
    .work-container {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
    .work-main {
        grid-column: 1;
        grid-row: 2;
        padding: 0px;
        gap: 0px;
    }
    .work-gallery {
        padding: 24px 0px;
        gap: 12px;
    }
    .work-text {
        margin: 0px;
    }
    .work-sidebar {
        grid-column: 1;
        grid-row: 1;
        position: static;
    }
}




/* ABOUT */
.about {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0px 48px;
    height: 100%;
}
.about p {
    font-size: 16px;
}
.about b {
    font-size: 16px;
}
p.bigt {
    font-size: 18px;
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 12px;
    width: 100%;
}
.about-minicontainer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 4px;
}

.about-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0px;
    height: 90vh;
    width: 40%;
    position: sticky;
    top: 48px;
    align-self: start;
}
.about-left-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 48px;
}
.roca {
    width: 70%;
}
.dashed-line {
    width: 100%;
    border-top: 1px solid #404040d2;
}

.about-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0px;
    gap: 24px;
    width: 35%;
    padding: 48px 0px;
}
.about-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 8px;
    width: 100%;
    margin: 0px 0px 12px 0px;
    white-space: nowrap;
}
.about-skill {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 24px;
}
.skill-title {
    min-width: 80px;
}
.about-work {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 4px;
}
.about-work-name {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    width: 100%;
}
.about-work-description {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 0px 0px 24px;
}

@media (max-width: 768px) {
    .about {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 16px;
        gap: 124px;
    }
    .about-left {
        height: 100%;
        width: 100%;
        align-items: flex-end;
        position: static;
    }
    .roca{
        width: 30%;
    }
    .about-right {
        gap: 24px;
        width: 100%;
    }
    .about-skill {
        flex-direction: column;
        padding: 0px;
        gap: 0px;
    }
    .about-work-name {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .about-work-description {
        padding: 0px 0px 0px 16px;
    }
}