:root {
    --green: #8FB73E;
    /* --green: #7FB539; */
    /* --green: #94C947; */
    --green-text: #75a746;
    --green-text: #7FB539;
    --moss: #1A2027;
    --moss-alt: #232b35;
    --dark-blue: #002846;
    --off-white: #efeef1;
    --border-radius-l: 1.5rem;
    --border-radius-xl: calc(var(--border-radius-l) + .5rem);
    --border-radius-m: calc(var(--border-radius-l) - .5rem);
    --border-radius-s: calc(var(--border-radius-m) - .25rem);
    --border-radius-xs: calc(var(--border-radius-s) - .15rem);
    font-size: 12pt;
}
html {
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}
body {
    overflow-y: auto;
    overflow-x: hidden;
    width: 100vw;
    height: 100vh;
}

* {
    font-synthesis: none;
    font-kerning: auto;
    direction: ltr;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
    font-feature-settings: "tnum";
    -moz-font-feature-settings: "tnum";
    scrollbar-face-color: var(--moss-alt);
    scrollbar-track-color: transparent;
    scrollbar-color: var(--moss-alt) transparent;
    scrollbar-width: thin;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important
  }
  
  /* ::-moz-selection {
      color: var(--background);
      background: var(--foreground)
  }
  
  ::selection {
      color: var(--background);
      background: var(--foreground)
  } */
  ::-webkit-scrollbar {
    width: 0.4rem;
  }
  
  ::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 1rem;
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--moss-alt);
    border-radius: 1rem;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--moss-alt);
  }
  

.dotted-background {
    background-color: #fff;
    opacity: 0.8;
    background-image: 
    linear-gradient(var(--moss) 1px, transparent 1px),
    linear-gradient(to right, var(--moss) 1px, #fff 1px);
    background-size: 20px 20px;
}

h1 {
    font-size: 4rem;
    letter-spacing: -.035em;
    line-height: .9;
}
h2 {
    font-size: 3rem;
    letter-spacing: -.035em;
    font-weight: 600;
    line-height: .9;
}
h3 {
    font-size: 1.6rem;
    line-height: 1;
}
h4 {
    font-size: 1.3rem;
}

p {
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 130%
    /* letter-spacing: .03em; */
}

header {
    height: fit-content;
    background-color: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
}
header div {
    height: fit-content;
    width: 90%;
    max-width: 80rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    gap: .25rem;
}
header div img {
    max-height: 5rem;
}
header div h3 {
    color: var(--moss) !important;
    text-align: right;
    margin: 1rem 0;
}

section {
    min-height: 30rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content {
    width: 90%;
    max-width: 80rem;
    gap: 1rem;
    display: flex;
    justify-content: center;
    padding: 5rem 0;
}

section:nth-child(odd) {

    background-color: var(--moss);
    border-radius: var(--border-radius-xl);
    width: calc(100% - 2rem);
    margin-left: 1rem;
}
section:last-of-type {
    margin-bottom: 1rem;
}



#intro {
    color: var(--green);
}
#intro h1 {
    width: 40rem;
    color: var(--moss);
}
#intro .content {
    flex-wrap: wrap-reverse;
}

#intro .content div {
    max-width: 30rem;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    
}
#intro .content div img {
    min-width: 6rem;
    width: 100%;
}








#logo {
    color: white;
}
#logo .content {
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
}
#logo .logos {
    /* max-width: 30rem; */
    width: 100%;
    min-width: 20rem;
    display: flex;
    height: fit-content;
    flex-direction: column;
    
    gap: 1rem;
    
}
#logo .text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* min-width: 30rem; */
    max-width: 30rem;
}

#logo .logos .group {
    padding: 2rem;
    flex-grow: 1;
    width: 100%;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
#logo .logos .group h4 {
    width: 100%;
    opacity: .5;
}
#logo .logos .group h3 {
    width: 100%;
}
#logo .logos .group:nth-child(odd) {
    background-color: var(--moss-alt);
}

#logo .logos .group .logo {
    /* flex-grow: 1; */
    min-width: 15rem;
    width: fit-content;
    height: 100%;
    position: relative;
    border-radius: var(--border-radius-s);
    padding: .5rem;
}
#logo .logos .group .logo img { 
    width: 100%;
    min-width: 15rem;
    max-width: 15rem;
}
#logo .logos .group .logo .download {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: .5rem;
}
#logo .logos .group .logo a {
    color: var(--green-text);
    font-weight: 500;
}

#logo .logos .group .whitebg {
    background-image:
    repeating-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff), 
    repeating-linear-gradient(45deg, #fff 25%, var(--off-white) 25%, var(--off-white) 75%, #fff 75%, #fff);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
}
#logo .logos .group .darkbg {
    background-image:
    repeating-linear-gradient(45deg, var(--moss) 25%, transparent 25%, transparent 75%, var(--moss) 75%, var(--moss)), 
    repeating-linear-gradient(45deg, var(--moss) 25%, var(--moss-alt) 25%, var(--moss-alt) 75%, var(--moss) 75%, var(--moss));
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
}

.spacing {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}
.spacing .text {
    display: flex;
    width: 40rem;
    flex-direction: column;
}
.spacing .text {
    display: flex;
    width: 40rem;
    flex-direction: column;
}
.spacing .text p span {
    font-size: 1.5rem;
    color: var(--green);
}
.spacing .demo {
    display: flex;
    width: 30rem;
    flex-direction: column;
}
 .spacing .demo img {
    display: flex;
    /* min-width: 20rem; */
    flex-grow: 1;
    flex-direction: column;
}


#spacing h2 {
    margin-bottom: 3rem;
}
#spacing h3 {
    margin-bottom: 1rem;
}
#spacing h4 {
    margin-top: 3rem;
    margin-bottom: .5rem;
}
#spacing p {
    margin-bottom: .5rem;
}


#typography .type-rules h2 {
    margin-bottom: 3rem;
}
#typography .type-rules h3 {
    margin-top: 5rem;
    margin-bottom: 1rem;
}
#typography .type-rules h4 {
    margin-top: 3rem;
    margin-bottom: .5rem;
}
#typography .type-rules p {
    margin-bottom: .5rem;
}












#typography .content {
    flex-wrap: wrap;
    gap: 3rem;
}
#typography .type-rules {
    max-width: 40rem;
    color: var(--moss);
    display: flex;
    flex-direction: column;
}
#typography .type-demo {
    background-color: var(--off-white);
    padding: 4rem 2rem;
    border-radius: var(--border-radius-l);
    max-width: 30rem;
    word-break: break-all;
    color: var(--green-text) !important;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: fit-content;
    position: sticky;
    top: 8rem;
}
#typography .type-rules .super {
    font-weight: 800;
    font-size: 6rem;

}
#typography .type-rules h1 {
    margin: 0;
}
#typography .type-rules h2 {
    margin: 0;
}
#typography .type-rules .sample {
    margin-bottom: 5rem !important;
    background-color: var(--off-white);
    line-height: 1;
    padding: 1rem 1rem;
    border-radius: var(--border-radius-m);
}


#typography .type-demo h1 {
    margin: 0;
    font-size: 5rem;
}
#typography .type-demo h2 {
    line-height: 1.1;
    color: var(--green-text) !important;
    text-decoration: none !important;
}
#typography .type-rules h2 {
    margin-bottom: 3rem;
}
#typography .type-rules h3 {
    margin-top: 5rem;
    margin-bottom: 1rem;
}
#typography .type-rules h4 {
    margin-top: 3rem;
    margin-bottom: .5rem;
}
#typography .type-rules p {
    margin-bottom: .5rem;
}
#typography .type-rules .alt {
    margin-bottom: .5rem;
    margin-top: 1rem;
    opacity: .35;
    /* color: var(--off-white); */
}




#colors .content {
    flex-direction: column;
    color: var(--off-white);
    gap: 3rem;

    justify-content: center;
}

#colors .colors {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    /* justify-content: center; */
}
#colors .colors .color {
    max-width: 20rem;
    min-width: 20rem;
    height: 20rem;
    flex-grow: 1;
    padding: 2rem;
    border-radius: var(--border-radius-l);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: min-content;
}
#colors .colors .color .code {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
#colors .colors .color h3 {
    margin-bottom: .5rem;
}
#colors .colors .color .code button {
    border: none;
    /* font-size: 1.4rem; */
    font-weight: 500;
    width: fit-content;
    background-color: rgba(255, 255, 255, 0.25);
    padding: .5rem .75rem;
    border-radius: var(--border-radius-xs);
    transition: all .2s ease;
}
#colors .colors .color .code button:hover {
    transform: scale(1.1);
}
#colors .colors .color .code button:active {
    transform: scale(1);
}
#colors .colors .color p {
    opacity: .75;
    /* width: min-content; */
    /* max-width: 100%; */
}
#moss {
    outline: .02rem var(--moss-alt) solid;
}












#footer {
    display: flex;
    height: fit-content;
    align-items: center;
    justify-content: center;
    scroll-snap-align: end;
    padding: 4rem 1rem;
    background-color: rgb(27, 27, 27);
    width: 100%;
}


.footer {
    display: flex;
    min-height: 20rem;
    width: 100%;
    /* border-radius: 2rem; */
    gap: 2rem;
    overflow: auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.footer .info {
    display: flex;
    background-color: rgba(255, 255, 255, 0.01);
    min-height: 20rem;
    width: 45rem;
    border-radius: 1rem;
    padding: 2rem;
    gap: 2rem;
    font-weight: 500;

    overflow: auto;
    flex-direction: column;
    align-items: flex-start;
}
.footer .info img {
    height: auto;
    max-width: 15rem;
    min-width: 2rem;
}
.footer .info h4 {
    font-size: 12pt;
    font-weight: 400;
    min-width: fit-content;
    color: rgba(255, 255, 255, 0.5);
}

.footer .column {
    display: flex;
    height: 20rem;
    min-width: 300px;
    width: calc(100% / 3 - 1rem);
    max-width: 300px;
    background-color: rgba(255, 255, 255, 0.01);
    border-radius: 1rem;
    overflow: hidden;
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
}

.footer a {
    display: flex;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    width: fit-content;
    gap: 0.5rem;
    align-items: center;
    height: 2.5rem;
    padding-right: 1rem;
    padding-left: 0.5rem;
    border-radius: 0.75rem;
    transition: 0.2s ease;
    background: transparent;

}
.footer a .material-symbols-rounded{
    font-size: 1.75rem;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 18;
}
.credits {
    width: 100%;
}
.credits    h4 {
        width: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        font-size: .9rem;
        font-weight: 400;
        letter-spacing: 0.02em;
        color: rgba(255, 255, 255, 0.25);
        text-align: center;
    }

@media only screen and (max-width: 52rem) {
    .footer .column {
    width: 100%;
    max-width: 45rem;
}
}
