/* fonts --> font-family: 'Roboto Slab', serif; 100 300 400 700 */
/* colors --> yellow  #ffff00    /    red  #ed1b2e   */

html {
    background-color: #ffff00;
    font-family: 'Roboto Slab';
    color: #ed1b2e;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: scroll;
}

#container {
    display: block;
    margin: 3% auto;
    width: 94%;
    max-width: 1000px;
}


#top-container {
    margin: 0;
    padding: 0;

}

#middle-container {
    color: #ed1b2e;
    margin-top: 40px;
    border-top: 1px solid #ed1b2e;
    border-bottom: 1px solid #ed1b2e;
    width: 100%;
    padding: 20px 0;
}

#bottom-container {

}

#top-left, #middle-left, #bottom-left, #top-right, #middle-right, #bottom-right {
    display: inline-block;
}

#top-left, #middle-left, #bottom-left {
    float: left;
}

#top-right, #middle-right, #bottom-right {
    float: right;
}

#top-left, #bottom-left, #top-right, #bottom-right {
    width: 48.5%;
}

#top-right {
    margin-bottom: -100px;
}

#top-left {
    position: relative;
    background-color: #FFF;
}

img.whitespace-holder {
    display: inline-block;
    positon: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    margin: 0;
}

.about-text-container {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 24px;
    line-height: 33px;
    font-weight: 300;
    z-index: 1000;
    margin: 6%;
}

#middle-left {
    width: 66%;
    float: left;
}

#middle-right {
    width: 31%;
    float: right;
}

img.dic-logo {
    display: block;
    margin: 0 auto 20px auto;
    width: 175px;
    height: auto;
}

img.world-logo {
    display: block;
    margin: 40px auto 20px auto;
    width: 240px;
}

.about-highlight {
    color: #ed1b2e;
    font-weight: 700;
}

.resource-container a, .project-container-title, .project-link {
    color: #ed1b2e;
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.resource-container {
    display: block;
    margin-bottom: 12px;
}

.resource-container a {
    text-decoration: none;
}

.resources-text {
    font-size: 18px;
    line-height: 26px;
}

.resource-btn img {
    width: 25px;
    height: auto;
    margin: 0 10px -8px 0;
}

.project-container-title {
    display: block;
    margin: 20px auto;
    text-align: center;
}

.project-box:nth-child(2), .project-box:nth-child(4) {
    float: right;
}

.project-box {
    display: block;
    position: relative;
    width: 48.5%;
    max-height: 200px;
    height: auto;
    float: left;
    background-color: #ed1b2e;
    padding-bottom: 28%;
    margin-bottom: 3%;
}

.project-image, .project-text {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.project-image {
    margin: 0;
    padding-bottom: -6px;
}

.project-image img {
    width: 80%;
    height: auto;
    margin: 13% 10%;
    opacity: 1;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out; 
}

.project-text {
    font-size: 15px;
    display: block;
    width: 88%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    padding: 6%;

}

.project-title {
    font-size: 18px;
    font-weight: 700;
    color: #ed1b2e;
    display: block;
    margin-bottom: 10px;
}

.project-content {
    display: block;
}


.project-box:hover > .project-image img {
    opacity: 0;
}

.project-box:hover > .project-text {
    opacity: 1;
}

.project-box:hover {
    background-color: #fff;
}

.dic-bold {
    font-weight: 700;
}

a.project-link {
    display: block;
    text-decoration: none;
    margin-top: 20px;
}

a.project-link img {
    width: 17px;
    height: auto;
}

#footer {
    display: block;
    text-align: center;
    color: #ed1b2e;
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.25px;
    text-transform: uppercase;
    margin: 0 auto;
}

.mobile-project-logo {
    display: none;
}


/* - - - - - - - - - - FLEX THING  - - - - - - - - - - - - */

p.flex-caption {
      display: none;
      position: absolute;
      padding: 16px;
      left: 16px;
      bottom: 0;
      background-color: #fff;
      color: #ed1b2e;
      font-size: 14px;
      line-height: 18px;
      max-width: 75%;
}

/* - - - - - - - - - - - - - - - BELOW 1100 PX - - - - - - - - - - - - - - - - - */

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

.about-text-container {
    font-size: 20px;
    line-height: 28px;
}
    
.project-box {
    height: 50px;
    float: left;
    padding-bottom: 28%;
    margin-bottom: 3%;
}  
    
.project-image img {
    margin: 18% 10%;
}

}



/* - - - - - - - - - - - - - - - BELOW 950 PX - - - - - - - - - - - - - - - - - */

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

.about-text-container {
    font-size: 17px;
    line-height: 25px;
}

}

/* - - - - - - - - - - - - - - - BELOW 900 PX - - - - - - - - - - - - - - - - - */

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

img.dic-logo {
    margin: 0 auto 20px auto;
    width: 38%;
} 
    
img.world-logo {
    display: block;
    margin: 20px auto 20px auto;
    width: 70%;
}    
    
.project-box {
    height: 140px;
}  
    
.project-image img {
    margin: 30% 10%;
}

.resources-text {
    font-size: 16px;
    line-height: 24px;
}

    
.resource-container a, .project-container-title, .project-link {
    font-size: 12px;
}
    

}

/* - - - - - - - - - - - - - - - BELOW 720 PX - - - - - - - - - - - - - - - - - */

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

.about-text-container, .resources-text, p.flex-caption, .project-title, .project-content {
    font-size: 14px;
    line-height: 22px;
}
    
.project-box {
    height: 200px;
}  
    
.project-image img {
    margin: 45% 10%;
}
    
#middle-left, #middle-right {
    width: 100%;
}
    
a.resource-btn {
    width: 50%;
    float: left;
    margin: 10px 0;
}    
    
p.flex-caption {
      padding: 10px;
}    

}

/* - - - - - - - - - - - - - - - BELOW 600 PX - - - - - - - - - - - - - - - - - */

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

#top-left, #top-right, #middle-left, #middle-right, #bottom-container {
    width: 100%;
}
    
#top-left {
    margin-bottom: 3%;
}
    
img.world-logo {
    display: block;
    margin: 20px auto 20px auto;
    width: 50%;
}      
    
img.whitespace-holder {
    height: 420px;
    overflow: hidden;
    margin-bottom: 3%;
}   
    
.about-text-container {
    font-size: 16px;
    line-height: 24px;
}
    
.project-box {
    height: 300px;
    max-height: 400px;
    width: 100%;
    background-color: #fff;
}  
    
.project-text {
    opacity: 1;
}    
    
.project-image img {
    margin: 16% 10%;
}
    
.project-image {
    display: none;
}
    
#middle-left, #middle-right {
    width: 100%;
}
    
a.resource-btn {
    width: 50%;
    float: left;
    margin: 10px 0;
}
    
.mobile-project-logo {
    width: 100%;
    text-align: center;
    display: block;
    float: none;
    margin: 0px auto 15px auto;
}    
    
.mobile-project-logo img {
    width: 70%;
}

}

/* - - - - - - - - - - - - - - - BELOW 500 PX - - - - - - - - - - - - - - - - - */

@media screen and (max-width: 500px) {
    
.project-box {
    height: 350px;
    max-height: 350px;
    background-color: #fff;
}

#top-left, #top-right {
    margin-bottom: 3%;
}
    
a.resource-btn {
    width: 100%;
    float: left;
    margin: 10px 0;
}
    
#middle-container {
    margin-top: -50px;
}
    
.resources-text {
    margin-top: -20px;
}
    
.project-image img {
    margin: 24% 10%;
}    

}

/* - - - - - - - - - - - - - - - BELOW 400 PX - - - - - - - - - - - - - - - - - */

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


   

}