:root {
    --font_unit: 16px;
    --soft_black: #1e1e1e;
    --gray: #A9A9AB;
    --dark_gray: #828282;
}

html {
    font-family: 'Poppins', sans-serif;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin: 0;
    font-size: var(--font_unit);
}

body {
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

/* MENU */
nav {
    background: var(--soft_black);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 1.5rem 1.75rem 1.75rem 1.75rem;
}

#logo {
    display: inline-block;
}

#logo img {
    height: 2.5rem;
    position: relative;
    margin-right: 1rem;
    top: 0.75rem;
}

#logo a:hover {
    cursor: pointer;
}

nav ul {
    margin: 0;
    display: inline-block;
    padding: 0;
}

nav .dropdown {
    display: inline-block;
}

nav ul li {
    color: white;
    list-style: none;
    display: inline;
    font-size: 1rem;
    letter-spacing: 0.1em;
    padding: 0.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    -webkit-transition: color 0.5s;
    -o-transition: color 0.5s;
    transition: color 0.5s;
}

nav ul li a:hover {
    cursor: alias;
    color: var(--dark_gray);
    -webkit-transition: color 0.5s;
    -o-transition: color 0.5s;
    transition: color 0.5s;
}

#mobile_email_signup {
    display: none;
}

#email_signup {
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: white;
    background: var(--dark_gray);
    text-align: center;
    position: relative;
    top: 1.2rem;
    padding: 0.5em 0.6em;
    height: 1.1em;
    -webkit-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

#email_signup:hover {
    cursor: alias;
    background: var(--gray);
    -webkit-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

#email_signup a {
    color: white;
    text-decoration: none;
}

#email_signup a:hover {
    cursor: alias;
}

#mobile_menu {
    display: none;
}

/* BODY CONTENT */
main {
    margin-bottom: 4vw;
}

main p {
    color: var(--soft_black);
    margin: 1.5rem auto;
    width: 60vw;
    text-align: center;
    font-size: 2vw;
    line-height: 1.5;
}

main p a {
    text-decoration: none;
    color: var(--dark_gray);
    -webkit-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
}

main p a:hover {
    color: var(--gray);
    -webkit-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
    cursor: alias;
}

main p i {
    font-style: italic;
}

/* SLIDESHOW */
.slide {
    display: none;
}

.slideshow img {
    vertical-align: middle;
    height: auto;
    width: 100%;
    height: 50vw; 
    -o-object-fit: cover; 
       object-fit: cover;
}

.slideshow {
    width: 100%;
    position: relative;
    margin: auto;
}

.slideshow_dot {
    cursor: pointer;
    height: 0.625rem;
    width: 0.625rem;
    margin: 1rem 0.125rem;
    background-color: var(--gray);
    border-radius: 50%;
    display: inline-block;
    -webkit-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}

.active, .slideshow_dot:hover {
    background-color: var(--soft_black);
}

.fade {
    -webkit-animation-name: fade;
            animation-name: fade;
    -webkit-animation-duration: 1.5s;
            animation-duration: 1.5s;
  }
  
  @-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }
  
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }

/* BUILDING BLOCK PDF */

#pdf_cover {
    height: 50vw;
    width: 100vw;
    background-image: url("../../images/Building-Blocks-PDF_Banner-1.jpg");
    background-size: cover;
}

#pdf_cover_text {
    width: 45%;
    padding: 5%;
    float: right;
}

#pdf_cover_text p {
    width: 100%;
    font-size: 2.15vw;
    line-height: 1.75;
}

#newsletter_signup_button a {
    display: inline-block;
    background: black;
    color: white;
    font-size: 0.6em;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.1em;
    border: none;
    width: auto;
    padding: 0.35em 0.75em;
    -webkit-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

#newsletter_signup_button a:hover {
    background: var(--dark_gray);
    -webkit-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

#pdf_header {
    font-weight: 800; 
    letter-spacing: 0.04rem; 
    margin: 2vw auto;
}

.three_columns {
    width: 60vw;
    margin: 0 20vw;
    column-count: 3;
    column-gap: 6vw;
}

.three_columns p {
    width: auto;
    font-size: 1.4vw;
    line-height: 1.6;
}

.three_columns img {
    width: 75%;
    display: block;
    margin: auto;
}


/* FOOTER */
footer {
    background: var(--soft_black);
    margin-top: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 2rem 1.75rem 1.25rem 1.75rem;
}

footer ul {
    margin: 0;
    padding: 0;
}

footer ul a {
    color: var(--soft_black);
    list-style: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.15rem;
    background: var(--gray);
    border-radius: 100%;
    line-height: 1rem;
    width: 1rem;
    margin-right: 0.5rem;
    -webkit-transition: background 0.5s;
    -o-transition: background 0.5s;
    transition: background 0.5s;
}

footer ul a:hover {
    background: white;
    cursor: alias;
    -webkit-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

footer ul a li {
    margin: 0.05rem 0 0 0;
}

footer #copyright {
    color: var(--gray);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

/* SCREEN SIZE ADJUSTMENTS */
@media only screen and (max-width: 3000px) {

    :root {
        --font_unit: 32px;
    }

}

@media only screen and (max-width: 2880px) /* 15" Mac */ {

    :root {
        --font_unit: 16px;
    }

}

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

    nav ul li {
        font-size: 0.75rem;
        padding: 0.5rem 0.25rem;
    }

    #logo img {
        height: 1.8rem;
        top: 0.55rem;
    }

    #email_signup {
        font-size: 0.7rem;
        top: 0.8rem;
    }

}

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

    nav ul {
        display: block;
    }

    nav ul .dropdown {
        display: none;
        padding: 0.75rem 0 0 0;
    }

    nav ul .dropdown li {
        padding: 0.9rem 0 0 0;
    }

    nav ul li {
        font-size: 3vw;
        letter-spacing: 0.1em;
        display: block;
        padding-left: 0;
    }
    
    nav ul li a:hover {
        cursor: alias;
        color: var(--dark_gray);
        -webkit-transition: color 0.5s;
        -o-transition: color 0.5s;
        transition: color 0.5s;
    }
    
    #logo img {
        height: 1.75rem;
        display: inline-block
    }

    #email_signup {
        display: none;
    }    

    #mobile_email_signup {
        display: block;
    }

    #mobile_menu {
        display: inline-block;
        color: var(--gray);
        position: relative;
        font-size: 1.5rem;
        top: 0.65rem;
        -webkit-transition: color 0.5s;
        -o-transition: color 0.5s;
        transition: color 0.5s;    
    }

    #mobile_menu:hover {
        cursor: pointer;
        color: var(--dark_gray);
        -webkit-transition: color 0.5s;
        -o-transition: color 0.5s;
        transition: color 0.5s;    
    }

    main p {
        width: 85vw;
        font-size: 4vw;
    }

    #pdf_cover {
        width: 100vw;
        height: 200vw;
        background-image: url("../../images/Building-Blocks-PDF_Banner-1.jpg");
        background-size: auto 100vw;
        background-position: 10.5% 0;
        background-repeat: no-repeat;
    }

    #pdf_cover_text {
        width: 90%;
        padding: 5%;
        float: none;
        display: block;
        padding: 100vw 0;
        margin: auto;
    }
    
    #pdf_cover_text p {
        font-size: 5vw;
        line-height: 1.6;
    }

    #pdf_header {
        font-size: 4.25vw;
    }
    
    .three_columns {
        width: 80vw;
        margin: 9vw auto 0 auto;
        column-count: 1;
        column-gap: 6vw;
    }
    
    .three_columns p {
        width: auto;
        font-size: 4.25vw;
        line-height: 1.6;
        margin-bottom: 12vw;
    }

    .three_columns img {
        width: 50%;
    }

}