
body {
    margin: 0;
    font-size: 1.25em;
    background: #F1EADD;
}

.navbar-brand{
    font-size: 2em;
    color: #fdfdfd;
    padding: 20px;
}
.navbar-brand:hover{
    color: #fdfdfd;
}

.coffee-default{
    color: #9F6435;
}

.fairtrade{
    color: #502F16;
}
.coffee-title{
    width: 800px;
    background-image: url("assets/liquid.png");
    background-repeat: repeat-x;
    background-size: 30%;
    -webkit-background-clip: text;
    animation: animate 12s forwards;
    color: rgba(255,255,255, 0);
}

@keyframes animate {
    0%{
        background-position: left 0px top 200px;
    }
    100%{
        background-position: left 1800px top 9px;
    }
}

.pane, .spacing {
    padding: 15px!important;
}

.footer .spacing {
    padding-top: 0!important;
}
.wrapper{
    opacity: 1;
    position: absolute;
    top: 15%;
}

.section{
    top: 0 !important;
}
.section .content{
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
#section0{
    background: url("assets/beans-bg.png") no-repeat center;
    background-size: cover;
}

#section1{
    background: url("assets/coffea-vase.png") no-repeat center;
    background-size: cover;
}

#section3{
    background: url("assets/coffea-leaf-bg.png") no-repeat center;
    background-size: cover;
}

h1 {
    font-family: "europa",sans-serif;
    font-style: normal;
    font-weight: 700;
    line-height: 1.05em;
    font-size: 10em;
    margin: 0;
}
h3{
    font-family: "europa",sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 3em;
    color: #9F6435;
}

h4{
    font-family: "europa",sans-serif;
    font-style: normal;
    font-weight: 700;
    color: #502F16;
}
p, a {
    font-family: "europa",sans-serif;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.25em;
    margin-bottom: 0;
}

.header h2{
    font-family: "europa",sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 4em;
    color:#502F16;
}

.header h3{
    font-family: "europa",sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 3em;
    color:#9F6435;
}

 .coffee-type .accent-text{
    color:#502F16;
}

 .header .type{
     margin-top: -10%;
 }

.wrapper {
    max-width: 1170px;
    margin: 0 auto;
    position: relative!important;
    top: 50%;
    padding: 40px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.content {
    max-width: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
.content.center {
    -webkit-transform: translateY(0)!important;
    -moz-transform: translateY(0)!important;
    -ms-transform: translateY(0)!important;
    -o-transform: translateY(0)!important;
    transform: translateY(0)!important;
}
.image-container {
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
.image-container {
    top: 50%;
    max-width: 47%;
}

.image-container img {
    max-width: 100%;
}

.content.left {
    float: left;
    /*position: absolute;*/
    left: 0;
}
.image-container.right {
    float: right;
    /*position: absolute;*/
    right: 0;
}
.content.right {
    float: right;
    /*position: absolute;*/
    right: 0;
}
.image-container.left {
    float: left;
    /*position: absolute;*/
}

@media screen and (min-width: 1200px) {
    .pane .content-container {
        width: 100%;
    }
    .pane .wrapper {
        margin: 0px auto;
    }
}

@media screen and (max-width: 767px) {
    .content {
        max-width: none!important;
    }
    .right {
        float: left!important;
    }
    .wrapper  {
        padding: 0px!important;
    }
    .header .wrapper{
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .content, .image-container, .image-container img {
        max-width: 100%;
        -webkit-transform: translateY(0)!important;
        -moz-transform: translateY(0)!important;
        -ms-transform: translateY(0)!important;
        -o-transform: translateY(0)!important;
        transform: translateY(0)!important;
        position: relative!important;
    }

    .image-container {
        text-align: center;
        margin-top: 20px;
        float: none!important;
        display: inline-block;
        max-width: none;
        width: 100%;
    }

    .image-container img {
        max-width: 50%;
    }
    .paneFour .content-container {
        padding: 15% 0;
        width: 100%;
    }
    h1, p, h2 {
        padding-left: 15px;
        padding-right: 15px;
    }

    h2 {
        font-size: 0.8em;
    }
    .center a {
        margin-bottom: 10px;
        display: block;
    }
}


@-webkit-keyframes ani-mouse {
    0% {
        opacity: 1;
        top: 29%;
    }
    15% {
        opacity: 1;
        top: 50%;
    }
    50% {
        opacity: 0;
        top: 50%;
    }
    100% {
        opacity: 0;
        top: 29%;
    }
}
@-moz-keyframes ani-mouse {
    0% {
        opacity: 1;
        top: 29%;
    }
    15% {
        opacity: 1;
        top: 50%;
    }
    50% {
        opacity: 0;
        top: 50%;
    }
    100% {
        opacity: 0;
        top: 29%;
    }
}
@keyframes ani-mouse {
    0% {
        opacity: 1;
        top: 29%;
    }
    15% {
        opacity: 1;
        top: 50%;
    }
    50% {
        opacity: 0;
        top: 50%;
    }
    100% {
        opacity: 0;
        top: 29%;
    }
}
.scroll-btn {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 40vh;
    text-align: center;
}
.scroll-btn > * {
    display: inline-block;
    line-height: 18px;
    font-size: 13px;
    font-weight: normal;
    color: #C9A485;
    font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: 2px;
}

.scroll-btn > *:hover,
.scroll-btn > *:focus,
.scroll-btn > *:active,
.scroll-btn > *.active {
    opacity: 0.8;
    filter: alpha(opacity=80);
}
.scroll-btn .mouse {
    position: relative;
    display: block;
    width: 35px;
    height: 55px;
    margin: 0 auto 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 3px solid #C9A485;
    border-radius: 23px;
}
.scroll-btn .mouse > * {
    position: absolute;
    display: block;
    top: 29%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    background: #C9A485;
    border-radius: 50%;
    -webkit-animation: ani-mouse 2.5s linear infinite;
    -moz-animation: ani-mouse 2.5s linear infinite;
    animation: ani-mouse 2.5s linear infinite;
}

.beans-img{
    position: relative;
    float: right;
    left: 400px;
    border-radius: 100%;
}
.scroll-btn a{
    color: #C9A485;
}

.coffee-belt-map{
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: auto;
}

.coffee-belt-map a:focus {
    outline-color: transparent;
    outline-style: none;
}

.fp-tooltip{
    display: none !important;
}

.paginated-paragraph .row{
    font-family: "europa",sans-serif;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.25em;
}

.paginated-paragraph{
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    position: absolute;
}

.active{
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

.page-nav{
    position: absolute;
    margin-top: 60px;
    right: 70px;
}

.page-nav2{
    position: absolute;
    margin-top: 60px;
    left: -30px;
}

.scroll_item {
    width: 10px;
    height: 10px;
    background: grey;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    margin: 5px;
}
.scroll_item:hover{
    cursor: pointer;
}
.scroll_item_active {
    width: 10px;
    height: 10px;
    margin: 5px;
    background-color: #2d2d2d;
}

#section4 .header{
    position: relative;
    margin-left: 200px;
}

#section4 .wrapper{
    position: absolute;
    z-index: 999;

    padding: 100px 0 0 0;
}

#section4 .paginated-overflow{
    position: relative;
    background: #F1EADD;
    margin-top: -20px;
    padding: 10px 50px 60px 15px;
}

.page-nav3{
    position: absolute;
    margin-top: 30px;
    right: -20px;
}

.field1{
    top: -170px;
    position: absolute;
    opacity: 0;
    transition: 0.2s ease-in-out;
}

.field2{
    top: -400px;
    left: -200px;
    position: absolute;
    opacity: 0;
    transition: 0.2s ease-in-out;
}

.show{
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}


footer{
    font-size: 15px;
    text-align: center;
    padding: 20px 0;
    background-color: #fdfdfd;

}

footer h1{
    font-size: 5em;
}

footer h3{
    font-size: 2em;
}

.footer-title{
    padding-bottom: 2em;
}

.sources{
    padding-bottom: 2em;
    width: 20%;
    position: relative;
    margin: auto;
}

.sources a{
    color: #2d2d2d;
}

@media only screen and (min-width: 813px) {
    .desktop{
        display: block;
    }
    .mobile{
        display: none;
    }
}

@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px) {
    .desktop{
        display: none;
    }
    .mobile{
        display: block;
    }

    body {
        margin: 0;
        font-size: 62.5%;
        background: #F1EADD;
        width: 100%;
    }

    .navbar-brand{
        font-size: 2rem;
        color: #fdfdfd;
        padding: 20px;
    }

    .coffee-title{
        width: 100%;
        background-image: url("assets/liquid.png");
        background-repeat: repeat-x;
        background-size: 5rem;
        -webkit-background-clip: text;
        animation: animate 12s forwards;
        color: rgba(255,255,255, 0);
    }
    h1 {
        font-size: 6rem;
    }
    h3{
        font-size: 3rem;
    }

    h4{
        font-size: 2rem;
    }
    p, a {
        font-size: 1rem;
    }
    .section-wrapper{
        height: 100vh;
        text-align: center;
    }
    .title{
        position: relative;
        margin-top: 10rem;
        text-align: center;
        /*transform: scale(1.5);*/
    }
}