* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, serif;
}

body {
    background: #EAEBED;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 35px;
    border-bottom: 1px solid rgba(0, 105, 137, 0.20);
    background: #FFF;
}

.logo img {
    height: auto;
    width: 40%;
}

.login {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.login a:nth-child(1) {
    color: black;
    text-decoration: none;
    display: flex;
    padding: 8px 17px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    border: 1px solid rgba(0, 105, 137, 0.20);
    background: #EAEBED;
}

.login a:nth-child(2) {
    color: white;
    text-decoration: none;
    display: flex;
    padding: 8px 14px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: #006989;
}

main {
    margin: 5% 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

main img {
    height: auto;
    width: 15%;
}

main h1 {
    color: #1A1A1A;
    text-align: center;
    font-size: 42px;
    font-weight: 500;
    line-height: 40px;
}

main p {
    color: #6B6B6B;
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
    width: 50%;
}

.start {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.start a:nth-child(1) {
    text-decoration: none;
    color: white;
    display: flex;
    padding: 10px 23px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 18px;
    background: #006989;
}

.start a:nth-child(2) {
    text-decoration: none;
    color: #1A1A1A;
    display: flex;
    padding: 10px 25px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 18px;
    border: 1px solid rgba(0, 105, 137, 0.20);
    background: #EAEBED;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 0;
    grid-auto-flow: row;
    grid-template-areas: "notes community privacy";
    margin: 5% 0 0 0;
}

.notes {
    grid-area: notes;
}

.community {
    grid-area: community;
}

.privacy {
    grid-area: privacy;
}

.notes,
.community,
.privacy {
    margin: 0 6%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(0, 105, 137, 0.20);
    background: #FFF;
}

.notes img,
.community img,
.privacy img {
    margin-top: 4%;
    padding: 16px;
    border-radius: 50px;
    background: rgba(0, 105, 137, 0.10);
}

.notes h1,
.community h1,
.privacy h1 {
    color: #1A1A1A;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    padding: 10px;
}

.notes p,
.community p,
.privacy p {
    color: #6B6B6B;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    width: 70%;
    padding: 0 0 25px 0;
}

footer {
    margin: 5% 0 0 0;
    display: flex;
    padding: 33px 16px;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(0, 105, 137, 0.20);
    background: #FFF;
}

footer p {
    color: #6B6B6B;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

@media (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .logo {
        display: none;
    }

    .login {
        width: min(100%, 440px);
        margin: 0 auto;
        padding: 0 16px;
    }

    .login a:nth-child(1),
    .login a:nth-child(2) {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 16px;
    }

    main {
        margin: 20px auto;
        padding: 0 16px;
    }

    main h1 {
        font-size: 32px;
        line-height: 38px;
    }

    main p {
        width: 100%;
        font-size: 18px;
        line-height: 1.6;
    }

    .start {
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }

    .container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "notes"
            "community"
            "privacy";
        margin: 5% 0 0 0;
        gap:15px;
    }

    .notes,
    .community,
    .privacy {
        margin: 0 16px;
        width: auto;
    }

    .notes p,
    .community p,
    .privacy p {
        width: 100%;
    }

    img,
    svg {
        max-width: 10%;
        height: auto;
    }

    footer {
        padding: 24px 16px;
    }
}