
body {
    background: #edeeee none repeat scroll 0 0;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    text-rendering: optimizelegibility;
    font-family: "Roboto", sans-serif;
}

/** Header **/
header {
    width: 100%;
    background: #fff;
    margin-bottom: 16px;
    height: 63px;
    display: flex;
    flex-wrap: wrap;;
}

.header-logo-container {
    width: 100%;
}

.header-logo {
    display: flex;
    height: 63px;
    justify-content: center;
}

.header-logo img {
    display: block;
    width: 157px;
    padding: 0;
}

.header-color-line {
    width: 100%;
    display: flex;
    position: relative;
    z-index: 1;
}
.header-color-line-segment{
    background-color: #981E97;
    flex: 1;
    height: 3px;
}

.header-color-line-segment:nth-of-type(2) {
    background-color: #753BBD;
}

/* Content body */
.content-container {
    color: #53565A;
    font-size: 16px;
    max-width: 80em;
    margin: 0 auto 3rem;
    padding: 0 12px;
}

.content {
    border-radius: 7px;
    background-color: #fff;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
    background-clip: padding-box;
    padding: 3rem;
    text-align: center;
}
.content-caption {
    padding: 12px 0 24px 0;
}

.title-divider {
    background: rgb(220, 220, 221);
    height: 1px;
    margin: 3rem -2rem;
}

/* Countries list */
.country-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

}
.country-item {
    border: 1px solid #dcdcdd;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #1c1d20;
    font-size: 14px;
    line-height: 18px;
    display: flex;
    padding: 5px;
    border-radius: 2px;
    margin: 0 0 15px 0;
    transition: all .1s ease-in-out;
}
.country-item:hover {
    background: #fafafa;
    transform: scale(1.05);
    box-shadow: 1px 1px 20px rgba(0,0,0,0.1);
}
.country-content p {
    font-size: 14px;
    color: #53565a;
    padding: 3px 0 0 0;
}
.country-flag-container {
    width: 108px;
}
.country-content {
    text-align: left;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px 12px;
}

/* Footer */
.footer {
    padding: 25px;
    text-align: center;
    color: #696b6e;
}

.footer p {
    font-size: 14px;
}

/* Utility classes */
.text-breakpoint {
    display: block;
}

.text-center {
    text-align: center;
}

/* Elements */
h1 {
    font-weight: 700;
    font-size: 3em;
    letter-spacing: -.03em;
    line-height: 1em;
    margin-bottom: 0.4em;
    color: black;
}

p {
    font-size: 17px;
}

/* Media queries */
@media only screen and (max-width: 715px) {
    h1 {
        font-size: 2em;
    }

    .title-divider {
        margin: 2em 0;
    }
}

@media only screen and (max-width: 500px) {
    h1 {
        font-size: 1.7em;
        line-height: 1.2em;
        margin: 0;
    }

    .content {
        padding: 2rem;
    }

    .title-divider {
        margin: 1.5em 0;
    }

    .footer {
        padding: 25px 25px 0;
    }
}

@media only screen and (max-width: 430px) {
    h1 {
        font-size: 1.4em;
    }

    p {
        font-size: 15px;
    }
}
