:root {
    --malibu: #8a80ff;
    --cream: #FFF9EB;
    --charcoal: #000000;
}

* {
    margin: 0;
    padding: 0;
    /* cursor: none; */
    box-sizing: border-box;
    font-family: 'PPMori', 'Helvetica Neue';
}

body {
    background-color: var(--charcoal);
}

.section-divider {
    height: 30vh;
}

#logo-bg img {
    top: 0;
    right: 0;
    z-index: -1;
    width: auto;
    opacity: .1;
    height: 100vh;
    position: fixed;
    animation: atomic 10s infinite linear;
}

.main-container {
    padding: 0;
    width: 100%;
    height: 100%;
    /* background: url(../images/noise-bg.png) center no-repeat;
    background-size: cover; */
}

#cursor {
    top: 5rem;
    left: 5rem;
    z-index: 99;
    width: 1.5rem;
    height: 1.5rem;
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: difference;
    background-color: #ffffff;
    transform: translate(-50%, -50%);
    transition: width .5s ease, height .5s ease;
}

#cursor.hover {
    width: 3rem;
    height: 3rem;
}

#cursor.active {
    mix-blend-mode: normal;
    background-color: #8a80ff;
}

header {
    height: 100vh;
    background: transparent;
}

.header-container{
    margin: 0;
    padding: 1rem;
    height: 100%;
    position: relative;
}

nav {
    top: 2rem;
    left: 50%;
    width: 100%;
    z-index: 99;
    display: flex;
    position: absolute;
    transform: translateX(-50%);
    justify-content: center;
}

nav ul,
footer ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    justify-content: space-evenly;
}

nav ul li,
footer ul li {
    display: flex;
    margin: 0 1rem;
    align-items: center;
}

nav ul a,
.footer-nav ul a {
    font-size: .9rem;
    position: relative;
    color: var(--cream);
    text-decoration: none;
}

nav ul a::after,
.visit-link::after {
    left: 0;
    bottom: 0;
    width: 100%;
    content: '';
    height: 1px;
    position: absolute;
    transform: scaleX(0);
    transform-origin: right;
    background-color: var(--cream);
    transition: transform .3s ease;
}

nav ul a:hover::after,
.visit-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.action-btn {
    cursor: pointer;
    padding: .5rem 1rem;
    border-radius: .5rem;
}

.action-btn.work {
    background-color: var(--malibu);
}

.action-btn.resume {
    right: 1rem;
    color: #FFF9EB;
    position: absolute;
    background-color: var(--charcoal);
}

.action-btn::after,
.action-btn:hover::after {
    display: none;
}

.nav-links a:hover ion-icon {
    transform: translateX(.5rem);
}

.nav-toggle {
    display: none;
}

.header-img {
    height: 85%;
    overflow: hidden;
    display: none;
    position: relative;
    border-radius: .5rem;
}

.header-txt {
    height: 85%;
    display: flex;
    overflow: hidden;
    position: relative;
    align-items: center;
    border-radius: .5rem;
}

.header-txt span {
    color: #8a80ff;
}

.header-txt h2 {
    width: 60%;
    opacity: .5;
    color: #FFF9EB;
}

.header-img .overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    justify-content: right;
    background: url(../images/noise-bg.png) center no-repeat;
    background-size: cover;
}

.header-img .overlay .attributes{
    opacity: .3;
    margin: 1rem;
    line-height: 99%;
    text-align: right;
    color: var(--cream);
    align-self: flex-end;
    font-family: 'Integral CF';
}

.header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.header-text {
    height: 15%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-text h1,
.header-text h2 {
    margin: 0;
    font-family: 'Integral CF';
}

.header-text h1 {
    opacity: .76;
    line-height: 1;
    font-size: 8rem;
    overflow: hidden;
    margin-bottom: 1rem;
    color: var(--cream);
}

.header-text h1 span {
    opacity: 1;
    font-family: inherit;
    color: var(--malibu);
}

.header-text h2 {
    opacity: .3;
    line-height: .9;
    font-size: 2rem;
    text-align: right;
    color: var(--cream);
}

.header-text h2.responsive {
    display: none;
}

#about {
    height: 100vh;
}

.about-container {
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-img {
    width: 30%;
    height: 100%;
}

.about-img img {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    object-fit: cover;
}

.section-title {
    opacity: .7;
    font-size: 3.2rem;
    font-family: 'Integral CF';
}

.about-text {
    width: 100%;
    display: flex;
}

.about-text .text-content {
    width: 60%;
}

.about-text h2,
.about-text h2 i,
.about-text h2 span {
    color: var(--cream);
    font-family: 'Integral CF';
}

.about-text h2 {
    width: 70%;
}

.about-text h2 span {
    color: var(--malibu);
    font-family: inherit;
}

.about-text p {
    width: 60%;
    opacity: .5;
    margin-top: 2rem;
    font-size: 1.2rem;
    color: var(--cream);
}

.about-text p span {
    display: block;
    margin-top: 1rem;
}

.about-text .images {
    width: 50%;
    display: flex;
    max-height: 50vh;
    align-items: center;
    justify-content: center;
}

.about-text .images img {
    height: 100%;
}

.skills {
    gap: 2rem;
    display: flex;
}

.skills .column {
    flex: 1;
    display: flex;
    padding: 20px 0;
    flex-direction: column;
    white-space: wrap;
    /* border-right: 1px solid #ddd; */
}

.skills .column:last-child {
    border-right: none;
}

.skills .column h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--malibu);
    font-family: 'Integral CF';
}

.badges {
    gap: 8px;
    display: flex;
    flex-wrap: wrap;
}

.badge {
    color: white;
    font-size: 0.9rem;
    border-radius: 12px;
    white-space: nowrap;
    padding: .5rem 10px;
    background-color: #FFF9EB40 ;
}

.about-stack div {
    gap: .5rem;
    display: flex;
}

.about-stack div p {
    opacity: .7;
    border-radius: 2rem;
    padding: .4rem 1rem;
    background-color: var(--cream);
}

#work {
    margin-top: 10rem;
}

.work-container {
    height: 100%;
    padding: 0 2rem;
}

.work-container h2 {
    margin-bottom: 2rem;
    color: var(--cream);
}

.work-panel {
    display: flex;
    padding: 2rem 1rem;
    justify-content: space-between;
    border-top: 1px solid #ffffff70;
}

.panel-details {
    flex: .4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.work-panel h3 {
    opacity: .9;
    font-size: 2rem;
    color: var(--cream);
    font-family: 'Integral CF';
}

.work-panel h5 {
    color: var(--malibu);
}

.panel-date,
.panel-services li {
    opacity: .9;
    font-size: 1rem;
    color: var(--cream);
}

.panel-links {
    display: flex;
    align-items: center;
}

.site-link {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    color: #ffffff;
    border-radius: 50%;
    align-items: center;
    text-decoration: none;
    justify-content: center;
    background-color: #272727;
}

.visit-link {
    margin-left: 1rem;
    position: relative;
    color: var(--cream);
    text-decoration: none;
}

.site-link i {
    font-size: 1.4rem;
}

.visit-link i {
    margin-left: .5rem;
    transition: transform .3s ease;
}

.visit-link:hover i {
    transform: rotate(-45deg);
}

.panel-services {
    flex: .2;
    margin: 0;
    padding: 0;
    list-style: none;
}

.panel-services li {
    opacity: .5;
    line-height: 1.2;
    font-family: 'Integral CF';
}

.panel-slides {
    flex: .4;
    display: flex;
    column-gap: 1rem;
    max-height: 16rem;
    overflow-x: scroll;
    position: relative;
}

.panel-slides p {
    margin: 0;
    left: 1rem;
    bottom: 1rem;
    position: absolute;
    padding: .5rem 1rem;
    color: var(--cream);
    border-radius: 2rem;
    background-color: var(--malibu);
}

.panel-slides img {
    width: auto;
    height: 100%;
}

#contact {
    height: 100vh;
}

.contact-container {
    height: 100%;
    display: flex;
    padding: 2rem;
    justify-content: space-between;
}

.contact-container h2 {
    font-family: 'Integral CF';
}

.contact-container h2 span {
    color: var(--malibu);
    font-family: 'SCHABO Condensed';
}

#contact form {
    width: 100%;
    display: flex;
    font-size: 2rem;
    margin-left: 3rem;
    flex-direction: column;
    justify-content: space-between;
}

#contact form br {
    display: none;
}

#contact form.responsive {
    display: none;
}

#contact form .submit-group {
    display: flex;
    justify-content: space-between;
}

.button-group {
    display: flex;
    align-items: flex-end;
}

#contact form label {
    display: none;
}

#contact form input,
#contact form textarea {
    border: none;
    outline: none;
    margin-top: 1rem;
    background: none;
    /* padding-top: 1rem;
    padding-left: 1rem; */
    color: var(--charcoal);
    transition: border-color .5s ease;
    border-bottom: 5px dotted #27272770;
}

#contact form input::placeholder,
#contact form textarea::placeholder {
    opacity: .5;
}

#contact form input:focus,
#contact form textarea:focus {
    border-color: var(--malibu);
}

#contact form input {
    padding-left: 1rem;
}

#contact form button {
    border: none;
    overflow: hidden;
    color: #ffffff;
    font-size: 1.4rem;
    position: relative;
    padding: .5rem 1rem;
    border-radius: 2rem;
    transition: background-color .5s ease;
    background-color: var(--charcoal);
}

#contact form button:hover {
    background-color: var(--malibu);
}

.messages {
    position: fixed;
    background-color: red;
    width: 10rem;
    height: 8rem;
    color: white;
}

html.lenis, html.lenis body {
    height: auto;
}
    
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
    
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
    
.lenis.lenis-stopped {
    overflow: hidden;
}
    
.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

footer {
    height: 90vh;
    margin-top: 5rem;
    background-color: var(--charcoal);
}

.footer-container {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.footer-nav {
    display: flex;
    padding: 2rem;
    /* justify-content: space-between; */
}

.footer-nav ul {
    margin: 0 2rem;
}

.footer-nav ul a {
    display: flex;
    color: #ffffff;
    align-items: center;
    text-decoration: none;
}

.footer-nav .copyright,
.footer-nav .region {
    color: #ffffff;
    font-weight: 300;
    font-size: 1.4rem;
    text-decoration: none;
}

.footer-nav .region ion-icon {
    font-size: 3rem;
}

.footer-nav .region,
.footer-nav .copyright {
    margin: 0 1rem 0 0;
    padding: 0 5rem 0 0;
    border-right: .5px solid #ffffff50;
}

.footer-brand {
    left: 50%;
    /* opacity: .3; */
    bottom: -6rem;
    line-height: 1;
    font-size: 25rem;
    overflow: hidden;
    text-wrap: nowrap;
    position: absolute;
    color: #ffffff;
    text-transform: uppercase;
    transform: translateX(-50%);
    font-family: 'SCHABO Condensed';
}

.footer-brand span {
    color: var(--malibu);
    text-transform: uppercase;
    font-family: 'SCHABO Condensed';
}

/* Lenis Styles */

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}