/* ELEMENTS */

html { scroll-behavior: smooth; }
body {
    font-family: 'Fira Sans', sans-serif;
    background-color: #f6f6f6;
    color: #082629;
    font-weight: 300;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
h2, h3 { 
    font-size: 1.75rem; 
    margin-bottom: 2rem;
}
h1 {
    font-size: 4rem;
    font-weight: 100;
    max-width: 30rem;
}
h2 { 
    font-weight: 400; 
    padding-top: 4rem;
    text-transform: uppercase;
}
h3 { 
    font-weight: 200; 
    text-decoration-line: underline;
    text-underline-offset: 1rem;
    text-decoration-thickness: from-font;
    line-height: 4rem;
}
p { 
    margin-bottom: 0.5rem; 
    max-width: 400px;
}
a { 
    color: white; 
    display: inline-block;
}
button { 
    border: none;
    border-radius: 1rem;
    display: inline-block;
    font-size: 1rem;
    font-family: 'Fira Sans', sans-serif;
    margin-top: 1rem;
    max-width: 250px;
    padding: 1rem 1.5rem;
    text-align: left;
}
button:hover, .darkcyan button:hover {
    background-color: #ff69b4;
    color: white;
    transition: background-color 0.5s;
    cursor: pointer;
}
button p { margin-bottom: 0;}

i { margin-right: 1rem; }

/* LAYOUT */

section { 
    padding: 3rem; 
    padding-bottom: 5rem;
    min-height: calc(100vh - 20rem);
    /* min-height: 600px; */
}
section > p { padding: 2rem 0rem;}
section > * { margin: 1rem; }
section > div { margin: 0; }
.content-row { 
    display: flex; 
    flex-wrap: wrap;
    padding: 0;
}
.content-row > div { 
    flex: 1; 
    padding: 1rem;
}
.small-mobile { display: none;}


/* HEADER */

img.memetic-logo, .home-anchor { height: 3rem; }
.sticky-menu > div, .sticky-menu > ul.nav-list { 
    margin: 0; 
    padding: 0;
}

/* CONTENT */

.hero-section {
    background-size: cover;
    background-position: left;
    background-image: url(pexels-alexander-isreb-1797418.jpg);
    color: #082629;
    display: flex;
    flex-direction: column;
}
.typographics { 
    font-size: 8rem;
    font-weight: 100;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.05);
}
.typographics.big-screens { display: flex; }
.typographics.small-mobile { display: none; }
.hero-section p {
    max-width: 30rem;
    border-bottom: 0.5rem solid #082629;
}
.hero-section button { 
    max-width: 600px;
    font-weight: 400;
    text-transform: uppercase;
}
.content-row .profile-details { 
    padding: 0 !important;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.content-text { 
    display: flex;
    flex-direction: column; 
    justify-content: space-between;
}
.content-text h3 { flex: 1; }
.content-text div { flex: 3; }
.content-text a { 
    margin-top: 2rem;
    flex: 1; 
}
.content-text button i { 
    margin: 0 0.5rem 0.5rem 0; 
    color: darkgray;
}
.content-text button:hover i { color: white; }
.profile-details span {
    text-transform: uppercase;
    font-weight: 4, 00;
}
.profile-details button { 
    font-size: 2rem;
    padding: 1rem;
    margin: 0;
}
.people div {
    max-width: 400px;
}
.people i { margin: 0; }
.button-title { font-weight: 300; }

/* FOOTER */
.contact, .footer { min-height: 1px; }
.footer {
    border-top: 0.2rem solid white;
    display: flex;
    padding: 4rem;
}
.footer div { flex: 1; }
.copyright { width: 100%; }

/* COLOURS */

.darkcyan, .hotpink, .navy { color: white;}
.darkcyan { background-color: #082629;}
.hotpink { background-color: hotpink;}
.navy { background-color: navy;}
.lighter-grey { background-color: #dedede;}

.darkcyan button { 
    background-color: rgba(255,255,255,0.1);
    color: white;
}
}
/* PLACEHOLDERS */

.placeholder, .title, .text {
    background-color: lightgray;
    margin-bottom: 1rem;
}
.title { height: 2.5rem;}
.text { height: 1rem;}


/* IMAGES */

.greg-skinner, .fernando-berroeta, .togi-enkhbat, .nathan-stickney {
    height: 100px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-position: left;
}
.greg-skinner { background-image: url(Greg.png); }
.nathan-stickney { background-image: url(Nate.png); }
.togi-enkhbat { background-image: url(Togi.png); }
.fernando-berroeta { background-image: url(Nano.png); }

/* OFF ON LARGER DISPLAYS */

.mobile-only { display: none; }

/* COLORS */
/* racing green #004225; */
/* dark cyan: #082629; */


/* MENU */
/* Sticky Menu Styles */
.sticky-menu {
    align-items: center;
    background-color: #082629;
    display: flex;
    font-weight: 100;
    height: auto;
    min-height: 0;
    justify-content: space-between;
    padding: 0 4rem;
    position: sticky;
    transition: background-color 0.3s;
    top: 0;
    z-index: 1000;
}

.nav-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

.nav-list li { margin: 0; }

.nav-list a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 0 0.25rem 0;
    margin: 0 0.5rem;
    display: block;
    transition: color 1s;
}

.nav-list a:hover { color: hotpink; }

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle .bar {
    background-color: #fff;
    height: 1px;
    width: 2rem;
    margin: 0.2rem;
}

/* MEDIA QUERIES */

@media screen and (max-width: 1440px) {
    section { padding: 0 0 5rem 0; }
    body { font-size: 1rem; }
    h2, h3 { font-size: 1.5rem; }
    .sticky-menu { padding: 0 1rem;}
    .hero-section { 
        background-image: url(pexels-gdtography-950241.jpg);
        background-size: cover;
        background-position: center;
    }
    .people div {min-width: 300px;}
}


@media screen and (max-width: 768px) {

    .mobile-only {
        display: inline;
        margin-left: 0.5rem;
    }

    .nav-list {
        display: none;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 3rem;
        left: 0;
        background-color: #082629;
        flex-direction: column;
    }
    .sticky-menu { padding: 0 1rem; }
    .nav-list.active { display: flex; }
    .nav-list li { margin: 10px 0; }
    .menu-toggle { display: flex; }
    
}

@media screen and (max-width: 520px) {
    .content-row { flex-direction: column;}
    .impact-content h3 {
        margin-bottom: 0;
        text-decoration: none;
    }
    .impact-content .content-row { border-bottom: 2px solid white; }
    .impact-content .typographics { margin-bottom: 2rem; }
    .typographics.small-mobile { display: flex; } 
    .typographics.big-screens { display: none; }

}