:root {
    --ff: "Manrope", sans-serif; 
    --clr-primary: #202020;
    --clr-secondary: #ffffff;
    --clr-tertiary: #909090;
    --clr-accent: #d5d5d5;
}

*, *::before, *::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color: #202020;
    font-family: var(--ff) !important;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

html:not([data-scroll="0"]) ~ header {
    box-shadow: 3px 2px 1px #202020;
}

body {
    font-size: 16px;
    height: 100%;
    position: relative;
}

/* header{
    height: 54px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    position: fixed;
    -webkit-position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 24px;
    background-color: #fff;
    z-index: 99999;
    -webkit-backface-visibility: hidden;
} */

/* HEADER with drop-shadow on scroll */
header {
    height: 54px;  /* 54 + 16px */
    position: sticky;
    -webkit-position: sticky;
    /* negative top allows for 16 pixels of movement before sticking */
    top: 20px; 
    /* make sure header overlaps main*/
    z-index: 9999;
    color: #202020;
    background-color: #fff;
    /* fix weird flickering issue in chrome: https://stackoverflow.com/a/22224884/286685 */
    -webkit-backface-visibility: hidden;
    transition: 0.3s ease-in-out;
    margin-inline: 20px;
    border-radius: 32px;
}



/* HEADER CONTENT */
header > div {
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    height: 54px;
    padding: 0 20px;
    position: sticky;
    -webkit-position: sticky;
    top: 0px;
    /* compensate for shadow with negative margin */
    margin-top: -16px;
    /* content should fall over shadow and cover */
    z-index: 3;
    border: 2px solid #202020;
    border-radius: 32px;
}
  



section, footer, nav {
    padding: 48px 20px;
    height: 100%; 
}

footer {
    background-color: #202020;
    display: grid;
    gap: 48px;
}
nav {
    height: fit-content;
    background-color: #fff;
    position: fixed;
    top: 100%;
    bottom:-100%;
    opacity: 0;
    left: 0;
    right: 0;
    transition: 0.3s ease-in-out;
    border-radius: 30px;
    border: 2px solid;
    margin-inline: 20px;
    padding: 0;
}

/* nav::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: green;
} */

nav > ul > li > a {
    color: #202020;
    font-size: 20px;
    font-weight: 600;
}
button[aria-expanded="true"] ~ nav {
    top: 100px;
    bottom: 0;
    opacity: 1;
}

ul {
    list-style: none;
}

ul > li > a {
    font-size: 18px;
}

a {
    list-style: none;
    text-decoration: none;
    color: #fff;
}

strong {
    font-weight: 500;
}

h1 {
    font-weight: 600;
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.heading-container {
    overflow: hidden;
}

.heading-container h1 {
    display: block;
    animation: reveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0.75s;
}

.heading-container h1 span {
    display: inline-block;
    height: 27px;
    width: 27px;
    margin-bottom: -0.5px;
    border: 5px solid #202020; 
    border-radius: 30px;
    animation: expand 1s cubic-bezier(0.215, 0.610, 0.355, 1) 2.75s forwards;
}

h2 span {
    display: inline-block;
    height: 21px;
    width: 42px;
    margin-bottom: -1px;
    border: 3.5px solid #202020; 
    border-radius: 30px;
}

ul .menu-items {
    border-block-end: 2px solid #202020;
    padding: 16px 20px;
}

ul .menu-items:last-child {
    border-block-end: none;
    padding: 16px 20px;
}

button.menu-button[aria-expanded="true"] ~ section + footer {
    filter: blur(10px);
}  



@keyframes expand {
    0% {
        width: 27px;
    }

    100% {
        width: 66px;
    }
}


@keyframes reveal {
    0% {
        transform: translate(0, 150%);
    }

    100% {
        transform: translateY(0,0);
    }
}

@keyframes reveal-alt {
    0% {
        transform: translate(-150%, 0);
    }

    100% {
        transform: translateX(0, 0);
    }
}

@keyframes reveal-alt2 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

h2 {
    font-weight: 500;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

h3 {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    padding-bottom: 8px;
}

p {
    line-height: 1.4;
}

.fade-color, p>strong {
    color: #20202096
}

.hero-description {
    font-size: 18px; 
    margin-bottom: 24px;
    overflow: hidden;
}

p span {
    display: block;
    animation: reveal 1.75s cubic-bezier(0.77, 0, 0.175, 1) 0.75s;

}


.hero {
    height: auto;
    display: grid; 
    place-items: center; 
    align-content: center;
    justify-items: start;
    padding: 0;
    overflow: hidden;
}
.tools {
    display: flex; 
    align-items: center; 
    gap: 18px; 
    overflow: hidden;
    padding: 0 0 24px 24px; 
}


.slider {
    height: 40px;
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.slider::before,
.slider::after{
    position:absolute;
    background-image:linear-gradient(to right,rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
    content:'';
    height:100%;
    width: 16%;
    z-index:2;
    pointer-events:none;
}

.slider::before{
    left:0;
    top:0;
}

.slider::after{
    right:0;
    top:0;
    transform: rotateZ(180deg);
}

/*  Tools animation */

.slide-track {
    width: calc(150px * 7);
    display: flex;
    animation: scroll 10s reverse linear infinite;
    gap: 6px
}


.slide {
    width: 150px;
    height: 60px;
    display: grid;
    place-items: center;
    transition: 0.5s;
    cursor:pointer;
    filter: saturate(0);
}
.slide:hover{
    transform:scale(0.8)
}

.hero-patterns {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    padding-inline: 40px;
    grid-column-gap: 40px;
}

header {
    height: 54px;
    position: sticky;
    -webkit-position: sticky;
    top: 20px; 
    z-index: 9999;
    color: #202020;
    background-color: #fff;
    -webkit-backface-visibility: hidden;
    transition: 0.3s ease-in-out;
    margin-inline: 20px;
    border-radius: 32px;
    margin-inline: 40px;
}

.menu-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    position: fixed;
    padding: 0;
    height: 30px;
    right: 62px;
    z-index: 9999;
    top: 32px;
    overflow: visible;
    appearance: button;
    font-size: 14px;
    align-items: center;
}

.workflow-wrap {
    margin-bottom: 60px; 
    padding-inline: 60px;
}

.workflow {
    padding: 20px 60px 24px; 
    border-top: 2px solid #202020; 
    display: grid; 
    gap: 8px; 
    align-items: center;
    grid-template-columns: 1fr 2fr 4fr;
}

.about-me {
    background-color: #202020;
    padding: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    color: #fff;
}

.about-me-content {
    display: grid;
    gap: 20px;
    padding: 60px;
    align-content: center;
}

.about-me-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
}

.ams-1, .ams-2 {
    display: grid;
    gap: 8px;
    align-content: center;
    padding: 60px;
    border-top: 2px solid #fff;
}

.ams-1 {
    border-right: 2px solid #fff;
}

.hero-contents {
    padding: 20px;
    display: grid;
    height: fit-content;
}



@keyframes scroll {
    0% {
        transform: translateX(0px);
    }
    100% {
        transform: translateX(calc(-150px * 10));
    }
}

.m{
    font-size: 15vw;
    white-space: nowrap;
    animation: marquee 6.5s infinite linear;
    padding-left: 4vw;
}

.m:after{
    content: attr(data-text);
    padding-left: 4vw;
  }
  
@keyframes marquee {
0% {
    transform: translateX(0)
}
100% {
    transform: translateX(-50%)
}
}


@media screen and (max-width: 768px) {
    .slide-track {
        width: calc(66px * 20);
    }

    .slide {
        width: 66px;
    }

    @keyframes scroll {
        0% {
        transform: translateX(0px);
        }
        100% {
        transform: translateX(calc(-72px * 7));
        }
    }

    .hero-patterns {
        grid-template-columns: 1fr;
        padding-inline: 0px;
        grid-column-gap: 0px;
    }

    header {
        margin-inline: 20px;
    }

    .menu-button {
        right: 32px;
    }

    .workflow-wrap {
        padding-inline: 20px;
    }

    .workflow {
        padding: 20px 20px 24px; 
        grid-template-columns: 1fr;
    }

    .about-me-content {
        padding: 60px 20px;
    }

    .about-me-stats {
        grid-template-rows: repeat(2, 1fr);
        grid-template-columns: 1fr;
    }
    
    .ams-1, .ams-2 {
        padding: 40px 20px;
    }

    .ams-1 {
        border-right: none;
    }
}


.line1 {
    stroke-dasharray: 60 207;
}

.line2 {
    stroke-dasharray: 60 60;
}

.line3 {
    stroke-dasharray: 60 207;
}

.line {
    fill: none;
    stroke: #202020;
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-text {
    border-bottom: 2px solid #202020; 
    line-height: 1;
}

.menu-text::after {
    content: "Menu";
}

.opened .menu-text::after {
    content: "Close";
}

.opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
}

.opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
}

.opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
}

.words-wrapper {
    display: inline-block;
    position: relative;
    text-align: left;
    text-decoration: underline;
}
.words-wrapper b {
    opacity: 0;
    display: inline-block;
    position: absolute;
    white-space: nowrap;
    left: 0;
    top: 0;
    font-weight: 500;
    border-bottom: 2px solid #202020;
}
.words-wrapper .is-visible {
    position: relative;
    opacity: 1;
    -webkit-animation: push-in 0.3s;
    -moz-animation: push-in 0.3s;
    animation: push-in 0.3s;
}
.words-wrapper .is-hidden {
-webkit-animation: push-out 0.3s;
-moz-animation: push-out 0.3s;
animation: push-out 0.3s;
}

@keyframes push-out {
0% {
    visibility: 1;
}
100% {
    visibility: 0;
}
}

.featured::-webkit-scrollbar {
    display: none;
}

.featured {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.circle-container {
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 145px;
    height: 145px;
}
  
#curve {
    fill: transparent;
}
  

.text{
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 10px;
    text-transform: uppercase;
    color: #202020;
}

.woot-widget-bubble.woot-elements--right {
    right: 40px !important;
    bottom: 40px !important;
}