* {
    box-sizing: border-box;
}

html {
    padding: 0;
    margin: 0;
}

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen-Sans,
        Ubuntu,
        Cantarell,
        "Helvetica Neue",
        sans-serif;
    padding: 10px 20px;
    margin: 0 auto;
    max-width: 1468px;
}

a {
    text-decoration: none;
    color: black;
}

header {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

header span,
header span nav {
    display: flex;
    align-items: center;
}

@media (orientation: portrait) {
    header span nav {
        display: none;
    }
}

header span nav {
    margin-right: 20px;
}

header span nav a {
    font-size: 14px;
    padding: 10px;
    border-radius: 5px;
}

header span nav a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

button {
    background-color: transparent;
    border: none;
    padding: 10px 15px;
    color: black;
    border-radius: 5px;
    font-weight: bolder;
    cursor: pointer;
    border: 1px solid transparent;
}

button:hover {
    border: 1px solid rgba(100, 100, 100, 0.8);
}

article {
    margin-top: 150px;
}

article > h1 {
    font-size: 2.5em;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0;
    color: black;
}

article > h2 {
    font-size: 0.9em;
    font-weight: 300;
    text-align: center;
    margin-bottom: 100px;
    color: lightslategray;
}

canvas#background {
    position: absolute;
    top: 0;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    height: 800px;
    object-fit: cover;
    background: black;
}

#feature {
    max-width: 100vw;
    overflow: hidden;
    margin: 150px auto 150px auto;
    display: flex;
    justify-content: space-between;
}

#feature #left {
    padding: 100px 50px 100px 0;
}

#feature h1 {
    font-size: 16px;
    font-weight: 300;
}

#feature h2 {
    margin: 0;
    font-size: 64px;
    font-weight: 500;
    letter-spacing: -2px;
}

#feature img {
    width: 620px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    max-width: 100%;
}

@media (orientation: portrait) {
    #feature {
        margin: 50px 0;
        flex-direction: column;
    }

    #feature #left {
        padding: 0 50px 50px 0;
    }
}

#what {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 200px;
}

#what div {
    border-left: 1px solid black;
    padding: 7px 20px;
    width: 400px;
}

#what h1 {
    font-size: 17px;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: end;
}

#what h2 {
    font-weight: 300;
    font-size: 15px;
    color: grey;
    margin-bottom: 0;
}

#what img {
    width: 20px;
    margin-right: 10px;
}

@media (orientation: portrait) {
    #what {
        flex-direction: column;
    }

    #what div {
        margin: 20px 0;
        padding: 0 10px;
    }
}

#showcase h1 {
    font-size: 18px;
    font-weight: 400;
    padding-bottom: 20px;
    border-bottom: 1px solid gainsboro;
    margin-bottom: 25px;
}

#showcase > div {
    display: flex;
    justify-content: space-between;
}

@media (orientation: portrait) {
    #showcase > div {
        flex-direction: column;
    }

    #showcase > div > div {
        margin-bottom: 40px;
    }
}

#showcase > div > div {
    width: 400px;
}

#showcase img {
    background: black;
    width: 100%;
    height: 220px;
    border-radius: 4px;
    object-fit: cover;
}

#showcase h2 {
    font-size: 14px;
    color: grey;
    font-weight: 400;
    margin-bottom: 5px;
}

#showcase p {
    font-size: 16px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 25px;
}

#showcase .tag {
    border: 1px solid black;
    border-radius: 3px;
    padding: 5px 7px;
    margin-right: 5px;
    font-size: 14px;
}

#actions > a:nth-child(2) > button {
    margin-left: 10px;
}

#chains img {
    height: 25px;
    margin: 20px 25px;
    opacity: 0.7;
    max-width: 100%;
}

#actions {
    margin-top: 40px;
}

#actions button:nth-child(2) {
    margin-left: 10px;
    background: rgba(255, 255, 255, 0.7);
    color: black;
}

canvas#shapes {
    position: absolute;
    top: 0;
    z-index: 0;
    background-color: black;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    height: 800px;
}

img#preview {
    position: relative;
    display: block;
    z-index: 1;
    border-radius: 5px;
    width: 100%;
    width: 800px;
    max-width: 90%;
    margin-top: 70px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

.grid-item {
    margin: auto;
    padding: 20px;
    width: 100%;
    height: 300px;
    color: black;
    border-radius: 4px;
    /* border: 1px solid grey; */
    background-color: ghostwhite;
}

.grid-item > h1 {
    font-size: 20px;
    font-weight: 800;
}

.grid-item > h2 {
    font-size: 15px;
    font-weight: 400;
    color: dimgray;
    letter-spacing: 0.5Q;
}

footer {
    background: black;
    width: 100%;
    color: white;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 60px;
    border-radius: 8px;
    margin-top: 50px;
}

footer a {
    color: grey;
}

footer span {
    font-size: 12px;
    color: grey;
}

footer nav {
    display: flex;
    font-weight: 400;
}

footer nav li:first-child {
    color: white;
    padding-top: 0;
}

footer ul {
    margin: 0;
}

footer nav ul li {
    color: grey;
    padding: 5px 0;
    list-style: none;
}

footer > nav > ul > li > a:hover {
    color: white;
}

@media (orientation: portrait) {
    footer,
    footer nav {
        flex-direction: column;
    }

    footer ul {
        padding: 20px 0;
    }

    footer span {
        padding-bottom: 40px;
    }
}

article {
    margin-bottom: 120px;
}

#partners img {
    width: 130px;
    margin: 0 10px;
}

#partners div {
    text-align: center;
}

#team .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 50px;
    text-align: center;
    margin-top: 20px;
    margin: auto;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    background: black;
    filter: grayscale(1);
    image-rendering: pixelated;
}

.team-member h1 {
    font-size: 16px;
    font-weight: 400;
}

.team-member p {
    margin: 0;
    font-size: 14px;
    color: grey;
}

article > img {
    display: block;
    margin: 100px auto;
    max-width: 100%;
    border-radius: 5px;
}

p.desc {
    margin: 20px;
    font-size: 13px;
    color: lightslategray;
}
