/* overall */
*, *::before, *::after {
    box-sizing: inherit;
    margin: 0;
}

:root {
    --clr-background: whitesmoke;
    --clr-primary: #0A79DF;
    --clr-secondary: black;
}

html, body {
    box-sizing: border-box;
}

body {
    font-family: 'Hind Madurai', sans-serif;
    background-color: var(--clr-background);
}

.root-container {
    max-width: 90%;
    margin: 0 auto;
    min-height: 100vh; /* push footer to bottom */
    display: flex;
    flex-direction: column;
}

/* header */
header {
    height: 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 18px;
}

.nav-items {
    list-style: none;
}

.nav-item a {
    color: var(--clr-secondary);
    text-decoration: none;
    transition: color 100ms ease-in;
}

.nav-item a:hover {
    color: var(--clr-primary);
}

/* main */
main {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    align-items: center;
}

img {
    width: 512px;
    height: auto;
}

p {
    text-align: center;
    font-size: 38px;
    color: black;
    font-weight: bold;
}

.mission-statement {
    width: 50%;
}

.mission-statement p {
    margin-top: 20px;
    font-size: 20px;
    text-align: justify;
}

.discover, .grow {
    color: var(--clr-primary);
}

.build {
    color: var(--clr-secondary);
}

.contact-me {
    margin-top: 30px;
    height: 50px;
}

.contact-me a {
    text-decoration: none;
    border-radius: 50px;
    padding: 10px 25px;
    background-color: var(--clr-primary);
    color: white;
}

/* footer */
footer {
    font-size: 16px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* tablet */
@media (max-width: 1080px) {
    .mission-statement {
        width: 80%;
    }
}

/* mobile */
@media (max-width: 600px) {
    .root-container {
        width: 98%;
    }

    header {
        font-size: 16px;
    }

    .mission-statement {
        width: 100%;
    }

    .mission-statement p {
        text-align: center;
    }

    p {
        font-size: 28px;
    }

    img {
        width: 306px;
        height: auto;
    }
}
