html, body {
    margin: 0;
    padding: 0;
    font-family: 'Rubik', Helvetica, sans-serif;
    color: #584f4d;
    font-weight: 300;
    scroll-behavior: smooth;
    font-size: 1em;
}

.btn,
.btn:visited,
.btn:focus {
    text-transform: uppercase;
    background: white;
    color: #200e05;
    border-radius: 0;
    font-weight: bold;
    padding: 8px 20px;
    box-shadow: 3px 3px #fb4474;
    position: relative;
}

.btn:hover {
    box-shadow: 3px 3px #d52151;
    color: #d52151;
    background: #f8f8f6;
}

.btn:active {
    top: 2px;
    left: 2px;
    box-shadow: 1px 1px #d52151;   
}

button:active, button:focus {
    outline: 0;
}

.large {
    font-size: 140%;
}

.medium {
    font-size: 120%;
}

h1, h2, h3 {
    font-weight: 700;
    color: #200e05;
}

h4, h5, h6 {
    color: #200e05;
}

strong {
    font-weight: 500;
}

.container-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.styled-header {
    margin: 40px auto;
    position: relative;
    display: block;
    text-align: center;
    text-transform: uppercase;
}

.styled-header:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -15px;
    height: 1px;
    border-bottom: 2px solid #d52151;
}

.container-bg {
    background: #f9f5f4;
}


/* Nav */
.navbar {
    padding-top: 20px;
}

.navbar a {
    color: white;
    text-transform: uppercase;
}

.navbar a:hover {
    color: #dcf12e;
}

.navbar-nav li {
    margin: 6px 10px 0;
}

.navbar-brand {
    width: 25px;
}

.navbar-brand img {
    width: 100%;
}


/* Header */
.hero-bg {
    background-image: url('img/header.jpg');
    background-size: cover;
    background-position: center right;
    height: 700px;
    border-bottom: 5px solid black;
}

.hero-shade {
    background-image: url('img/header-shade.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top left;
    height: 100%;
}

.hero-contents {
    color: white;
    margin-top: 230px;
}

.hero-contents h1 {
    text-transform: uppercase;
    font-size: 220%;
    color: white;
}

.hero-sub {
    max-width: 650px;
}


/* Intro */
.intro-container {
    position: relative;
    top: -30px;
}

.intro-col {
    text-align: center;
    background: #f9f5f4;
    margin: 0 10px;
    border-radius: 8px;
    border: 2px solid #d7d6e1;
    padding: 10px;
}

.intro-col img {
    width: 90%;
    max-width: 250px;
    margin: 30px auto;
}


/* Approach */
.approach-img {
    width: 95%;
    margin: 0 auto;
    display: block;
}

.approach-header:after {
    width: 180px;
    margin-left: -90px;
}


/* Team */
.team-header:after {
    width: 50px;
    margin-left: -25px;
}

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

.team-col img {
    width: 85%;
    margin: 60px auto 20px;
    display: block;
}

.team-name {
    font-weight: 700;
}

.team-name, .team-title {
    color: #200e05;
    font-size: 110%;
}

.team-name, .team-title, .team-description {
    margin: 5px 0;
}


/* Papers */
.papers-header span {
    display: block;
    font-weight: 400;
    color: #727272;
    font-size: 75%;
    margin-top: 4px;
}

.papers-header:after {
    width: 100px;
    margin-left: -50px;
}

.paper-col {
    text-align: center;
    background: #f9f5f4;
    margin: 0 10px;
    border-radius: 8px;
    border: 2px solid #d7d6e1;
    padding: 10px;
}

.paper-col img {
    height: 190px;
    margin: 10px 0 20px;
    transition: opacity .2s ease;
}

.paper-col img:hover {
    opacity: 0.8;
}

.paper-col p {
    margin: 4px 0;
}

.paper-title {
    font-size: 110%;
}

.paper-cite {
    color: #727272;
}

.paper-link a {
    color: #4e61ae;
}

.paper-link a:hover {
    color: #f35517;
    text-decoration: none;
}


/* News */
.twitter-embed {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
}

.news-header:after {
    width: 60px;
    margin-left: -30px;
}

.news-row {
    padding: 40px 0;
}

.news-image {
    width: 95%;
}

.date {
    margin: 4px 0;
    font-size: 90%;
}


/* Footer */
.footer {
    background-image: url('img/header.jpg');
    background-size: cover;
    border-top: 5px solid black;
    text-align: center;
}

.footer-shade {
    width: 100%;
    height: 100%;
    padding: 100px 0 20px;
    background: rgba(0,0,0,0.6);
}

.footer a, .footer p {
    color: white;
}

.footer-sub {
    font-size: 80%;
    margin-top: 100px;
}


@media screen and (max-width: 768px) {
    body {
        font-size: 0.9em;
    }
    
    .styled-header {
        margin: 20px auto;
    }
    
    .container-padding {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .navbar {
        position: absolute;
        z-index: 10;
        width: 130px;
    }
    
    .navbar-toggler {
        position: relative;
        right: 0;
    }
    
    .navbar-collapse {
        background: rgba(0,0,0,0.8);
    }
    
    .hero-bg {
        text-align: center;
        background-position: center center;
    }
    
    .hero-shade {
        background-image: none;
        background-color: rgba(0,0,0,0.5);
    }
    
    .intro-col {
        margin-bottom: 20px;
    }
    
    .team-col img {
        width: 200px;
        margin: 30px auto 10px
    }
    
    .paper-col {
        margin: 20px auto;
        max-width: 95%;
    }
        
    .news-row {
        padding: 20px 0;
    }

}