/* DEFINE EM IN CSS */
html {
    font-size: 16px; /* 1em = 16px */
}

@media screen and (max-width: 24em) {
    html {
        font-size: 14px; /* 1em = 14px */
    }
}
@media screen and (max-width: 20em) {
    html {
        font-size: 10px; /* 1em = 10px */
    }
}

/* BASIC STYLING */
body {
    font-size: 1em; /* 16px */
    line-height: 1.5em; /* 24px */
    color: #333;
}

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1em 0;
    font-weight: normal;
    font-family: 'Roboto', sans-serif;
    color: #248c44;
    text-transform: uppercase;
    font-weight: 1000;
}

h1 {
    font-size: 2em; /* 32px */
}

h2 {
    font-size: 1.75em; /* 28px */
}

h3 {
    font-size: 1.5em; /* 24px */
}

h4 {
    font-size: 1.25em; /* 20px */
    color:#222
}

h5 {
    font-size: 1em; /* 16px */
}

h6 {
    font-size: 0.875em; /* 14px */
}

/* PARAGRAPHS */
p {
    margin: 1em 0;
}

/* LINKS */
a {
    color: #a1a1a1;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

button {
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    padding: 0.5em 1em;
    border: none;
    border-radius: 2em;
    background-color: #248c44;
    color: #fff;
    cursor: pointer;
}

.button-container {
    margin: 2em 0;
}

button:hover {
    background-color: #1f7a3b;
}

.image-link {
    line-height: 0px;
}

.animate-all * {
    transition: all 0.25s;
}

/* COMPONENTS */
.scroll-target {
    scroll-margin-top: 5.5em;
}
.text-block {
    margin: 2.5em 0em;
}

.horizontal-divider {
    width: 100%;
    height: 2px;
    background-color: #ccc;
    margin: 1em auto;
}

.section-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 4em); /* 100% - 2em left and 2em right */
    padding: 1.5em 2em;
    background-color: #248c44;
    color: #fff;
    font-size: 0.875em;
    font-weight: 300;
}

@media screen and (max-width: 48em) {
    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.tagline-bar {
    background-color: #222;
    color: #fff;
    padding: 1.25em 2em;
    text-align: center;
    font-size: 1.25em;
    font-weight: 300;
    text-transform: uppercase;
}

/* CONTACT SECTION */
.contact-section {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 3em;
    align-items: center;
    /* background-image: url('/images/static/background-image-1.png'); */
    background-size: cover;
    background-position: left;
}
.contact-logo {
    width: 10em;
    height: auto;
    margin: 0 2em 0 7.5em;
}
.contact-info {
    font-size: 1.25em;
    line-height: 1.5em;
    font-weight: 300;
}

.contact-title {
    display: flex;
    /* flex-direction: column; */
    align-items: space-between;
}

@media screen and (max-width: 48em) {
    .contact-logo {
        width: 8em;
        margin: 0 1em 1em 1em;
    }
    .contact-info {
        font-size: 1.125em;
    }
    .contact-title {
        flex-direction: column;
        align-items: center;
    }
}

/* PROJECTS */
.project-image-info {
    position: relative;
    bottom:2em;
    color: #222;
    text-shadow: 0px 0px 4px #00000060;
    background: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgb(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0.70) 20%, rgba(255, 255, 255, 0) 94%);
    max-width: 24em;
    min-width: 25%;
    padding: 1em 2em;
}

.project-title {
    font-size: 1.25em;
    font-weight: 600;
}
