/* ---------------------------------------------------
                      GLOBAL STYLES
----------------------------------------------------*/
html {
    display: inline-block;
    margin:0;
    padding:0;
    min-height: 100%;
    line-height: 0em;
    scroll-behavior: smooth;
}

body {
    display: inline-block;
    min-height: 100%;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    font-size: 1.5rem;
    font-weight: normal;
    line-height: 1.5em;
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #000;
    background-image: url("../img/stars.png");
    background-repeat:  no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

@media only screen and (min-width: 1025px) {
    body {
        font-size: 1rem;
    }
}

div#content {
    margin: auto;
    max-width: 1200px;
    width: 100%;
}

section {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 2em 0;
    margin: 0;
    text-align: center;
    overflow: hidden;
}

h1 {
    margin: 0 auto;
    padding: 20px 0;
    width: 100%;
    font-size: 2.5em;
    line-height: 1.4em;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: scaleY(0.9);
}

h1 span.linebreak{
    display: inline-block;
    white-space: nowrap;
    word-break: keep-all; 
}

h2 {
    font-size: 2em;
    line-height: 1.4em;
    color: #fff;
    font-weight: 600;
    /* text-transform: uppercase; */
    letter-spacing: 0.05em;
    transform: scaleY(0.9);
}

h3 {
    font-size: 1em;
}

p {
    font-size: 1.8em;
    line-height: 1.4em;
    letter-spacing: 0.05em;
    text-align: center;
    padding: auto 1em;
}

a.anchor {
    display: block;
    position: relative;
    top: -165px;
    visibility: hidden;
}

.circular_crop {
    margin: auto;
    width: 100%;
    height: auto;
    margin-bottom: 1em;
    border-radius: 50%;
}

.circular_crop > img {
    padding: 1em;
}

.thumbnail9-16_crop {
    height: 11em;
    width: 19.5em;
    overflow: hidden;
}
/* ---------------------------------------------------
                      NAVIGATION
----------------------------------------------------*/

#navigation {
    display: inline-block;
    position: fixed;
    margin: 0;
    padding: 0 2em;
    width: 100%;
    height: 165px;
    z-index: 2;
    background-image: linear-gradient(to bottom,black 50%, transparent);
    box-sizing: border-box;
}

#navigation > div {
    display: flex; 
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    margin: auto;
    padding: 32px 0;
}

#logo_menu img {
    display: block;
    height: 100%;
    max-height: 76px;
    width: auto;
}

#navigation ul {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0;
}

#navigation li {
    display:inline-block;
    position: relative;
    list-style: none;
    text-align: center;
    white-space: nowrap;
    margin: 0;
    padding-left: 2em;
    font-size: 1.5em;
}

#navigation a {
    font-weight: 600;
    color: #8c8c8c;
    text-decoration: none;
    transition: all 0.3s;
}

#navigation li > a:hover, li > a.active-nav {
    color: #fff;
}

#navigation li > a::after {
    position: relative;
    content: "";
    display: block;
    margin: auto;
    height: 2px;
    width: 0;
    top: 5px;
    background: transparent;
    transition: all 0.3s;
}

#navigation li > a:hover::after, li > a.active-nav::after {
    width: 99%;
    background: #fff;
}


/* ---------------------------------------------------
                      SECTIONS
----------------------------------------------------*/

/* ----------------------------
            BANNER
-------------------------------*/

section#banner{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80vh;

}

section#banner div#shape_container {
    background-image: url("../img/main_shape.png");
    background-size: 100% auto;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 900px;
    height: auto;
    min-height: 628px;
    margin: auto;
}

section#banner img#title {
    box-sizing: border-box;
    padding-top: 265px;
    padding-left: 124px;
    padding-right: 124px;
    width: 100%;
    max-width: 900px;
    height: auto;
}

section#banner p {
    font-size: 1.8em;
    letter-spacing: 0.08em;
    color: #d9d9d9;
}
 
/* ----------------------------
            ABOUT
-------------------------------*/

section#about > div {
    padding: 0 1em
}

section#about p {
    font-style: italic;
    padding: 1.5em 0;
}


/* ----------------------------
            Services
-------------------------------*/
section#services {
    min-height: 70vh;
}

section#services > div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: top;
    flex-wrap: wrap;
}

section#services > div > div {
    padding: 0;
    width: 100%;
}

@media only screen and (min-width: 1025px) {
    section#services > div > div {
        width: 340px;
        padding: 0 1em;
    }
}


section#services > div img {
    width: 100% ;
}

section#services > div p {
    line-height: 1.1em;
    text-align: center;
    font-style: italic;
}

section#services > div h2 {
    height: 2em;
    line-height: 1.2em;;
}

/* ----------------------------
            Clients
-------------------------------*/
section#clients {
    min-height: 40vh;
}

section#clients > div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

section#clients > div img {
    width: 8em;
    padding: 1em 2em;
}




/* ----------------------------
            Contact
-------------------------------*/
section#contact {
    min-height: 30vh;
}

section a {
    color: #fff;
}



/* ---------------------------------------------------
                      FOOTER
----------------------------------------------------*/
footer {
    display: block;
    position: relative;
    width: 100%;
    text-align: center;
    background-color: #474b50;
    height: 2em;
}

footer p {
    font-size: 1.4em;
}