@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

:root {
    --size: 8px;

    --secondary-color: #051F38;
    --primary-color: #01A887;
    --primary-accent-color: #73FF73;
    --faded-green-color: #F3FDFA;

    --secondary-text-color: #707070;
}

* {
    border: none;
    padding: 0;
    margin: 0;
    text-decoration: none;
    font-family: 'DM Sans', 'sans-serif';
    box-sizing: border-box;
    color: var(--secondary-color);
    list-style: none;
    transition: all ease-in-out .2s;
}

html {
    font-size: 16px;
}

header {
    background-color: var(--secondary-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-weight: 600;
    color: white;
    font-size: 1.2rem;
}

header h1 span {
    color: var(--primary-accent-color);
}

main h1 {
    font-size: 3rem;
}

section:first-child {
    padding: 4rem 10%;
    margin: 0 0 2rem;
    background-color: #01A88711;
}

section:first-child > * {
    max-width: 1100px;
    margin: auto;
}

section:last-child {
    max-width: 1000px;
    margin: auto;
    padding: 1.5rem 3rem;
}

.section-item {
    padding: 1.5rem 0;
    display: flex;
}

.section-item > span {
    padding: 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.section-item > div {
    padding: 1rem;
}

.section-item > div > h2 {
    font-size: 1.5rem;
}

.section-item > div > p {
    font-size: 1.5rem;
    padding: 1rem 0;
}

@media screen and (max-width: 600px) {    
    main h1 {
        font-size: 2rem;
    }

    section:first-child {
        padding: 2rem 10%;
        margin: 0 0 1rem
    }
    
    section:last-child {
        padding: 1rem;
    }

    .section-item {
        padding: 0.25rem 0;
    }

    .section-item > span {
        padding: 0.5rem;
        font-size: 1rem;
    }

    .section-item > div {
        padding: 0.5rem;
    }
    
    .section-item > div > h2 {
        font-size: 1rem;
    }
    
    .section-item > div > p {
        font-size: 1rem;
    }
}
