* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

html {
    font-family: 'Open Sans', sans-serif;
    color: #333333;
    font-size: 16px;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

a, a:link, a:visited, a:active {
    color: #225eb5;
    text-decoration: none;
}

a:hover {
    color: #1a488a;
    text-decoration: underline;
}

section header {
    margin: 1rem 0;
}

section p {
    margin-bottom: 1rem;
}

#about, #contact {
    scroll-margin-top: 25px;
}

/* Icons (Font Awesome 5 SVG) */
.icon {
    display: inline-block;
    height: 1em;
    overflow: visible;
    vertical-align: -.125em;
}

/* Grid */
.row {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.row .column {
    width: 100%;
}

/* Box */
.box {
    display: flex;
    align-items: center;
    border: 1px solid #e1e1e1;
    margin-bottom: 3rem;
    padding: 0 2.5rem;
    border-radius: 25px;
}

.box .box-icon, .box .box-content {
    display: inline-block;
    vertical-align: top;
}

.box .box-icon {
    font-size: 9rem;
    color: #225eb5;
    order: 1;
    text-align: right;
    margin-right: 2.5rem;
}

.box:nth-child(even) .box-icon {
    order: -2;
    text-align: left;
}

.box .box-content {
    max-width: 666px;
    width: 100%;
}

/* Page */
.identity-font {
    font-weight: 400;
    font-family: 'Kalam', cursive;
}

.container {
    max-width: 1000px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
}

.homepage-box {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.homepage-box .row {
    align-items: center;
}

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

.homepage-icon svg {
    height: 400px;
}

.logo {
    font-size: 3.5rem;
    margin: 0.5rem 0;
    line-height: normal;
}

.small-heading {
    font-weight: 800;
    font-size: 0.8rem;
    color: #225eb5;
}

.homepage-social-icons {
    display: flex;
    justify-content: center;
    width: 100%;
    list-style: none;
    margin: 2rem 0;
    font-size: 1.5rem;
}

.homepage-social-icons li {
    display: inline-block;
    margin-right: 2rem;
}

.homepage-social-icons li a {
    color: #225eb5;
}

.homepage-social-icons li a:hover {
    color: #1a488a;
}

.homepage-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.homepage-nav a {
    margin-right: 2rem;
    color: #ffffff;
    white-space: nowrap;
    display: inline-block;
    background-color: #225eb5;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
}

.homepage-nav a:hover {
    text-decoration: none;
    background-color: #1a488a;
}

.homepage-nav a .icon {
    margin-right: 0.75rem;
}

.benefits {
    list-style: none;
}

.benefits li {
    margin-bottom: .5rem;
}

.benefits svg {
    margin-right: 8px;
    color: #225eb5;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.skills li {
    display: inline-block;
    border: 1px solid #e1e1e1;
    padding: .4rem 1rem;
    margin: .3rem;
}

.skills li svg {
    color: #225eb5;
    margin-right: 8px;
}

.contacts {
    margin-bottom: 5rem;
}

.contacts p svg {
    margin-right: 1rem;
}

/* Mobile */
@media (max-width: 790px) {
    .row {
        flex-direction: column;
    }

    .box {
        display: block;
    }

    .box .box-icon, .box .box-content {
        display: block;
    }

    .box .box-icon,
    .box:nth-child(even) .box-icon {
        text-align: center;
        margin-right: 0;
    }

    .box .box-content h3 {
        display: block;
        text-align: center;
    }

    .homepage-box {
        display: block;
        flex: none;
    }

    .homepage-icon {
        order: -1;
    }

    .homepage-icon svg {
        height: 100px;
        margin-bottom: 1rem;
    }

    .logo, .moto, .small-heading {
        text-align: center;
    }

    .homepage-nav a {
        margin-bottom: 1rem;
    }
}
