body {
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: normal;
    color: #0A0A0A;
    margin: 0;
}

h1,
.text-h1 {
    margin: 0;
    font-size: 3.25rem;
    font-weight: normal;
}

h2,
.text-h2 {
    margin: 0;
    font-size: 3.25rem;
    line-height: 4.25rem;
    font-weight: normal;
}

h3,
.text-h3 {
    margin: 0;
    font-size: 1.75rem;
    line-height: 2rem;
    font-weight: normal;
}

h4,
.text-h4 {
    margin: 0;
    font-size: 1.375rem;
    line-height: 2rem;
    font-weight: normal;
}

p,
.text-p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: normal;
}

h5,
.text-h5 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: normal;
}

h6,
.text-h6 {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: normal;
}

a {
    text-decoration: none;
}

.titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 30px;
    height: 60px;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 30px;
}

.statement {
    margin-top: 18px;
    max-width: 840px;
    text-align: center;
}

.emphasis {
    font-weight: 700;
}

.work-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.work {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 120px 60px 0;
}

.work.reverse {
    flex-direction: row-reverse;
}

.work-info {
    width: 100%;
}

.work-title {
    display: flex;
    align-items: center;
}

.work-logo {
    width: 72px;
    margin-right: 18px;
    border-radius: 24px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.work-description {
    margin-top: 30px;
}

.work-links {
    display: flex;
}

.work-links .work-link:first-child {
    margin-right: 30px;
}

.work-link {
    display: inline-block;
    margin-top: 30px;
    transition: 0.35s ease-in-out;
}

.work-link:hover {
    transform: scale(1.025);
}

.work-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0A0A0A;
    height: 48px;
    border-radius: 24px;
    padding: 0 30px;
    color: white;
    font-weight: 500;
    transition: 0.35s ease-in-out;
    margin-top: 30px;
}

.button-arrow {
    margin-left: 12px;
    transition: 0.25s ease-in-out;
}

.work-button:hover,
.contact-button:hofer {
    transform: scale(1.025);
}

.work-button:hover .button-arrow,
.contact-button:hover .button-arrow {
    margin-left: 18px;
}

.work-graphic {
    width: calc(100% - 90px);
    border-radius: 24px;
    margin-left: 90px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.work.reverse .work-graphic {
    margin-left: 0;
    margin-right: 90px;
}

.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 120px 60px 0;
}

.about-icon {
    width: 300px;
}

.about-title {
    font-weight: 500;
    margin-top: -30px;
}

.about-description {
    text-align: center;
    max-width: 760px;
    margin-top: 45px;
}

.cards {
    display: flex;
    max-width: 1300px;
    margin-top: 90px;
    gap: 30px;
}

.card {
    border-radius: 24px;
    border: 1px solid #E0E0E0;
    padding: 30px;
}

.card-title {
    height: 42px;
    display: flex;
    align-items: center;
}

.card-icon {
    margin-right: 18px;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.card-description {
    margin-top: 18px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    max-width: 1360px;
    margin-top: 90px;
}

.skill {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 18px;
    background: #E0E0E0;
    height: 40px;
    border-radius: 20px;
}

.skill-blue {
    background: #73BBEE;
}

.skill-yellow {
    background: #FBD96A;
}

.skill-red {
    background: #E97887;
}

.skill-green {
    background: #74B981;
}

.skill-purple {
    background: #9485F5;
}

.contact {
    margin-top: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-buttons {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E0E0E0;
    height: 48px;
    border-radius: 24px;
    padding: 0 30px;
    color: #0A0A0A;
    font-weight: 500;
    transition: 0.35s ease-in-out;
    margin-top: 30px;
}

.button-icon {
    margin-right: 12px;
}

.footer {
    margin-top: 120px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0A0A0A;
    color: white;
}

/* Tablet */
@media (max-width: 991px) {

    h1,
    .text-h1 {
        font-size: 2.75rem;
    }

    h4,
    .text-h4 {
        margin: 0;
        font-size: 1.2rem;
        line-height: 1.8rem;
        font-weight: normal;
    }

    p,
    .text-p {
        margin: 0;
        font-size: 1.05rem;
        line-height: 1.75rem;
        font-weight: normal;
    }

    .work {
        flex-direction: column-reverse;
        margin-top: 60px;
        margin: 0;
        padding: 90px 60px;
    }

    .work.reverse {
        flex-direction: column-reverse;
        background: #F2F2F2;
    }

    .work-graphic {
        width: 100%;
        height: auto;
        margin: 0 0 60px;
    }

    .work.reverse .work-graphic {
        margin: 0 0 60px;
    }

    .about {
        margin-top: 60px;
    }

    .cards {
        flex-direction: column;
    }

    .about-description {
        margin-top: 30px;
    }
}


/* Phone */
@media (max-width: 575px) {

    h1,
    .text-h1 {
        font-size: 1.25rem;
        line-height: 2rem;
    }

    h2,
    .text-h2 {
        font-size: 2rem;
        line-height: 2.75rem;
    }

    h3,
    .text-h3 {
        font-size: 1.25rem;
    }

    h4,
    .text-h4 {
        font-size: 1rem;
        line-height: 1.75rem;
    }

    p,
    .text-p {
        font-size: 1rem;
        line-height: 1.6rem;
    }

    .work {
        padding: 60px 22px;
    }

    .work-graphic {
        border-radius: 12px;
        margin: 0 0 45px;
    }

    .work.reverse .work-graphic {
        margin: 0 0 45px;
    }

    .work-logo {
        width: 52px;
        border-radius: 12px;
        margin-right: 14px;
    }

    .work-description {
        margin-top: 22px;
    }

    .about {
        margin: 30px 22px;
    }

    .about-icon {
        width: 240px;
    }

    .about-title {
        font-size: 2rem;
    }

    .cards {
        gap: 12px;
        margin-top: 60px;
    }

    .card-icon {
        margin-right: 14px;
        width: 38px;
        height: 38px;
    }

    .skills {
        margin-top: 60px;
        gap: 6px;
    }

    .skill {
        font-size: 0.875rem;
        height: 32px;
        padding: 0 12px;
    }

    .contact {
        margin-top: 120px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-button {
        margin-top: 8px;
    }

    .footer {
        margin-top: 90px;
    }
}