/* --------------- fade in stuff --------------- */
.Slab {
  transition: padding 0.5s ease-in-out, margin 0.5s ease-in-out;
}
.Fade {
  transition: opacity 1.5s ease-in-out; 
}

/* --------------- construction stuff --------------- */

body{
    background-color:#FFC20E;
    color:#000;
    font-size:16px;
    font-family: hArial, Helvetica, sans-serif;
    margin:auto;
    line-height:1.9em;
}

.container{
    max-width:1200px;
    position:relative;
    height:100%;
    margin:0 auto;
    display: flex;
    flex-flow:row wrap;
    justify-content: center;
}

.yellowSlab{
    background-color:#FFC20E;
    color:#000;
    padding:80px 0px;
    overflow: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}	
.blackSlab{
    background-color:#000;
    color:inherit;
    padding:80px 0px;
    overflow: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}	
.whiteSlab{
    position: relative;
    background-color:#FFF;
    color:#000;
    padding-top:50px;
    padding-bottom:50px;
    margin-left:-200px;
}	
.whiteBox{
    /*display: inline;*/
    float:right;
    background-color:#fff;
    padding:30px;
    margin:20px;
    width: 50%;
    height:100%;
    font-size:18px;
}
.buttonContainer{
    display: flex;
    flex-direction: column;
    max-width: 400px;
    justify-content: center;
    text-align: center;
}
    
#ice2018{
    max-height: 300px;
    max-width: 220px;
    top: 50px;
    right: 50px;
    position: fixed;
    padding: 35px;

    background-color: #fff;
    color: #000;
    font-size: 18px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.50);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    transition: all 0.5s;
    cursor: pointer;
    z-index: 50;
}
#mission{
    font-size:20px;
    max-width: 650px;
}
#mission div{
    display: flex;
    justify-content: center;
}
#mission  b{
    background-color: #FFC20E;
    padding: 3px 6px;
}
#mission  i{
    font-weight:bold;
}
#mission  img{
    width: 400px;
    padding-right:20px;
}
container video{
    max-width: 1024px;
}
    

/* --------------- headers --------------- */

h2{
    font-size: 50px;
    letter-spacing:1px;
    line-height:1.2em;
    margin:0;
}
h3{
    font-size: 25px;
    background-color: #FFC20E;
    padding:20px;
    margin:15px 0px;
}
h4{
    font-size: 25px;
    background-color: #fff;
    padding:20px;
    margin:15px 0px;
}

/* --------------- interactive stuff --------------- */

a{
    text-decoration: none;
    color:inherit;
}
.blackButton{
    padding: 15px 20px;
    background-color:black;
    color:#FFC20E;
    text-decoration:none;
    font-weight:bold;
    margin: 40px 0px;
    transition:all 0.3s;
    cursor:pointer;
}
.blackButton:hover{
    background-color:#FFF;
    color:black;
    border-radius:10px;
}
.blackButtonOnWhite{
    padding: 15px 20px;
    background-color:black;
    color:#FFC20E;
    text-decoration:none;
    font-weight:bold;
    margin: 20px 0px;
    transition:all 0.3s;
    cursor:pointer;
}
.blackButtonOnWhite:hover{
    background-color:#FFC20E;
    color:black;
    border-radius:10px;
}    
.yellowButtonOnWhite {
    padding: 15px 20px;
    background-color:#FFC20E;
    color:#000;
    text-decoration:none;
    font-weight:bold;
    margin: 20px 0px;
    transition:all 0.3s;
    cursor:pointer;
    text-align: center;
}
.yellowButtonOnWhite:hover {
    background-color:#000;
    color:#FFC20E;
    border-radius:10px;
}
.yellowButton {
    padding: 15px 20px;
    background-color:#FFC20E;
    color:#000;
    text-decoration:none;
    font-weight:bold;
    margin: 40px 0px;
    transition:all 0.3s;
    cursor:pointer;
}
.yellowButton:hover{
    background-color:#fff;
    border-radius:10px;
}

/* --------------- textbox stuff --------------- */

.textContainer{
    /*max-width: 400px;*/
    flex: 1 1 300px;
    padding:30px;
    flex-direction: column;
    justify-content: center;
    opacity:0;
}
.textContainer img{
    height:330px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.whatContainer{
    /*max-width: 400px;*/
    flex: 1 1 200px;
    padding:30px;
    flex-direction: row;
    justify-content: center;
    opacity:0;
}
.whatContainer img{
    height:150px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
#gamingDoneRight{
    font-size: 30px;
    border: 3px solid black;
    padding: 10px;
    background-color:#ffc20e;
}

#icePurple{
    width:150px;
}			
#totallyBelgium{
    width:200px;
}
#gamesSVG{
    width: 200px;
}
#platformSVG{
    width: 320px;
}
#socialSVG{
    width: 200px;
}
#logoReddice{
    max-width:400px;
    display: block;
    margin: auto;
}
#Flanders{
    width: 180px;
    position: absolute;
    top: 0;
    left: 30px;
    box-shadow: 0 0 10px #0000005c;
}

/* --------------- footer stuff --------------- */

.footer{
    background-color:#FFC20E;
    color:#000;
    /*width: 100%;*/
    /*height: 100%;*/
    padding:80px 0px;
    text-align: center;
    margin: 0;
    bottom: 0;
    left: 0;
    padding-left:200px;
}



/* ---------------- smaller screens optimization ---------------- */

@media screen and (max-width: 1200px) {
    #ice2018{
        max-height: 180px;
        max-width: 100%;
        top: auto;
        right: auto;
        padding: 10px;
        font-size: 14px;
        border-radius: 0;
        line-height: 19px;
        bottom: -1px;
        display: flex;
        flex-direction: row;
        width: 100%;
    }
    #ice2018 p{
        margin: 6px 0;
    }
    #icePurple{
        width: 80px;
        padding-right: 5px;
    }
    #totallyBelgium{
        width: 80px;
        padding-left: 5px;
    }
}
@media screen and (max-width: 1050px) {
    body{
        font-size:14px; 
    }
    h2 {
        font-size: 30px;
    }
    h3,
    h4 {
        font-size: 18px;
        padding:12px;
    }
    .yellowSlab,
    .whiteSlab,
    .footer,
    .blackSlab{
        padding:30px 0px;
        flex-direction: column;
    }
    .container{
        flex-direction: column;
    }
    .whatContainer{
        padding:15px;
    }
    .textContainer{
        padding:15px;
    }
    .textContainer img{
        height:200px;
    }
    #mission{
        font-size:15px;
        max-width: 400px;
        padding: 0 10px;
    }      
    #gamesSVG{
        width: 100%;
    }
    #platformSVG{
        width: 100%;
    }
    #socialSVG{
        width: 100%;
    }
    #Flanders{
        width: 120px;
        left: 0px;
    }
}
@media screen and (max-width: 800px) {
    .textContainer img{
        height:120px;
    }
    #mission div{
        margin-bottom: 70px;
    }  
    .container{
        /* flex-flow: row nowrap;  */
    }
}