header{
    box-sizing: border-box;
    width: 100%;
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;

    padding: 16px 24px 16px 24px;
    gap: 24px;
}

header nav{
    display: inline-flex;
    box-sizing: border-box;
    justify-content: flex-end;
    gap: 8px;
}

hero{
    box-sizing: border-box;
    width: 100%;
    height: calc(80vh);
    min-height: 480px;
    max-height: calc(1440px * .8);
    padding: 72px 64px 96px 64px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

hero .texts{
    width: 1340px;
    max-width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    gap: 24px;
}

hero .sub{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    padding-inline: 14px;
}

hero .buttons{
    display: inline-flex;
    gap: 24px;
}

hero h1{
    font-weight: 700;
    font-size: 320px;
    line-height: 70%;
    letter-spacing: -38.4px;
    color: var(--primary);
    transition: all 300ms cubic-bezier(0.2, 0, 0, 1);
}


hero h1:hover{
    color: var(--tertiary);
}

.intro .container div{
    display: flex;
    gap: 32px;
}

.intro aside{
    box-sizing: border-box;
    width: 100%;
}

.sub h3{
    font-weight: 500;
    font-size: 32px;

}

.sub p{
    font-weight: 500;
    font-size: 18px;
}

svg.rotate{
    color: var(--primary);
}

svg.rotate:hover{
    color: var(--tertiary);
}


.intro{
    display: flex;
    width: 100%;
    padding: 96px 64px 96px 64px;
    justify-content: center;
    align-items: center;
}

.intro .container{
    display: flex;
    flex-direction: column;
    width: 1040px;
    gap: 32px;
}

.intro .hz{
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: center;
}

.intro aside{
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    padding-bottom: 32px;
}

.intro alignerLeft{
    display: flex;
    justify-content: end;
}

#projects-section{
    width: 100%;
    margin: 0 0 0 0;

    box-sizing: border-box;
    padding: 96px 64px 96px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

#projects-section .container{
    width: 100%;
    box-sizing: border-box;
    max-width: 1040px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
}

.grid{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    grid-auto-rows: 280px;
    width: 100%;
}

.projectcard{
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 48px;
    padding: 32px;
    cursor: pointer;
    text-decoration: none; 
    color: inherit;
    transition: all 300ms cubic-bezier(0.2, 0, 0, 1);
}

.projectcard > p{
    display: none;
}

.projectcard:hover, .projectcard:focus{
    box-shadow: inset 0 0 0 2px var(--border);
}

.projectcard.unavailable{
    opacity: 0.75;
    pointer-events: none;
    color: var(--card-unavailable);
}

.unavailable > p{
    opacity: 100%;
    display: block;
}

.projectcard h1{
    font-size: 28px;
    font-weight: 500;
}

.projectcard > p{
    font-size: 12px;
    font-weight: 500;
}

.tags{
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}

.tag{
    height: 24px;
    border: 2px solid currentColor;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0px 6px;
    border-radius: 999px;
}

.tag > p{
    font-size: 12px;
    font-weight: 500;
    opacity: 100%;
    color: currentColor;
}

#MNGUI{
    grid-column: 1 / 4;  /* spans columns 1 and 2 (3-1 = 2)*/
    grid-row: 1;
    background-color: #3E86DA16;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#Monga{
    grid-column: 4 / 7;  /* spans columns 1 and 2 (3-1 = 2)*/
    grid-row: 1;
    background-color: #3E86DA16;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#ScoopeX{
    grid-column: 1 / 5;  /* spans columns 1 and 2 (3-1 = 2)*/
    grid-row: 2;
    background-image: url('../images/projects/scoopex/thumbnail.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#MTAG{
    grid-column: 5 / 7;
    grid-row: 2 / 4;
    background-image: url('../images/projects/mtag/thumbnail.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


#NoizCut{
    grid-column: 1 / 5;
    grid-row: 3;
    background-color: #3E86DA16;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#designsystem{
    grid-column: 1 / 4;
    grid-row: 4;
    background-image: url('../images/projects/designsystem/thumbnail.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#Experiments{
    grid-column: 4 / 7;
    grid-row: 4;
    background-image: url('../images/projects/experiments/thumbnail.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* MOBILE */
@media (max-width: 599px) {
    html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
}

body>* {
    max-width: 100%;
}

hero{
    padding: 32px;
    height: 85vh;
}

hero h1{
    font-size: 40vw;
    letter-spacing: -4.8vw;
}

hero .sub{
    padding-inline: 8px;
    gap: 8px;
}

.intro{
    width: 100%;
    height: auto;
    padding-inline: 32px;
}

.intro .container{
    width: 100%;
}

.intro .container div{
    flex-direction: column;
}

.intro svg.rotate{
    width: 128px;
    height: 128px;
}

#projects-section{
    padding: 32px;
    width: 100%;
}

#projects-section .container{
    width: 100%;
}

#projects-section .grid{
    display: flex;
    flex-direction: column;
}

.projectcard{
    min-height: 240px;
}

footer{
    padding: 32px;
    width: 100%;
}

footer > section{
    width: 100%;
}

footer > section > span:last-child{
    flex-direction: column;
    align-items: start;
    gap: 16px;
}
}