html {
    font-family: 'Roboto';
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    container-type: inline-size;

    @media only screen and (min-width: 800px) {
        padding: 3rem 10rem;
    }
}

header {
    & .logo {
        height: 2rem;
    }
}

main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0;

    @container (min-width: 800px) {
        grid-template-columns: auto 1fr;
        gap: 5rem;
        padding: 0 3rem;
    }

    & .image {
        width: 100%;
        max-width: 30rem;
        height: 100%;
    }

    & .text-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: 35rem;
    }

    & .title {
        font-size: 2rem;
        font-weight: 400;
        color: #101828;
    }

    & .description {
        font-size: 1rem;
        font-weight: 400;
        color: #101828;
    }
}

.item-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;

    @container (min-width: 800px) {
        grid-template-columns: 1fr 1fr;
    }
}

.item {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 0.75rem;
    height: max-content;

    & .logo {
        height: 50px;
    }

    & .title {
        font-size: 1.25rem;
        font-weight: 600;
        color: #101828;
    }

    & .description {
        font-weight: 400;
        font-size: 1rem;
        color: #101828;
        line-height: 1.5rem;
    }
}
