* {  
   -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
       -ms-box-sizing: border-box;
           box-sizing: border-box;
}
html, body {
    height: 100%;
    font-size: 15px;
    font-family: 'Arial';
}
div {
    border: 0px solid black;
}
p{
    border: 0px dashed black;
}
a:link, a:visited{
    color: red;
    font-weight: bold;
}
a:hover{
    color: white;
    font-weight: normal;
    text-decoration: none;
    background-color: red;
    padding: 2px 2px 2px 2px;
}
#wrapper{
    position: absolute;
    border: 0px dotted black;
    margin: 0px; padding: 0px 10px 0px 10px;
    /*border-right: 5px solid yellow; border-left: 5px solid yellow;*/
    background-attachment: fixed;
    left: 15%; right: 15%; top: 0px; bottom: 0px;
}
#fixed{
    position: fixed;
    left: 15%; right: 15%;
    margin: 0px 10px 0px 10px; padding: 1px;
}
#fixed .title{
    text-align: right;
    color: white;
    background-color: black;
    padding: 3px 7px 3px 0px; 
    margin: 0px 0px 5px 0px;
}
.yoko, .yoko a, .yoko a:visited, .yoko a:hover{
    padding: 0px;
    color: black;
    text-decoration: none;
    background-color: transparent;
    font-family: 'Tahoma';
    font-size: 35px;
    font-weight: bold;
    margin:0px;
}
span{
    border: 0px dashed grey;
}
#fixed .back, .info-link{
    position: absolute;
}
#fixed .back{
    left: 0px;
    padding: 0px 0px 0px 5px;
}
.info-link{
    color: white;
    font-weight: normal;
    text-decoration: none;
    background-color: red;
    right: 7px;
    padding: 2px;
}
.info, .info-link:hover{
    color: red;
    background-color: transparent;
    font-weight: bold;
    text-decoration: underline;
}
#fixed .text{
    margin: 45px 0px 0px 0px;
    padding: 50px;
    background-color: rgba(120,120,120,0.5);
    color: yellow;
    font-size: 30px; 
    text-align: justify;
    border: 0px dashed black;
    height: 550px;
    max-height: 50%;
}
#fixed .instruction{
    font-size: 16px; 
    color: white;
}


.projects{
    margin: 95px 0px 50px 0px;
    border: 0px solid black;
}
.content{
    margin: 128px 0px 0px 0px;
    white-space: nowrap;
    overflow-x: scroll;
}
.content img{
    height: 550px;
    max-height: 80%;
    margin-right: 3px;
}

.back2top{
    display: none;
    font-size: 15px;
    text-align: right;
    margin: 3px 0px 50px 0px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.back2top a:link, .back2top a:visited, .back2top a:hover{
    border-top: 4px solid black;
    text-decoration: none;
    color: red;
    background-color: transparent;
    padding: 0px 5px 5px 5px;
}

/*MEDIA QUERIES*/

/*Smartphones and Tablets*/
@media only screen and (min-device-width: 320px) and (max-device-width: 1024px) {

    #wrapper, #fixed{
        left: 0px; right: 0px;
    }
    #fixed .text{
        font-size: 14px;
        padding: 20px;
        background-color: yellow;
        color: black;
        text-align: justify;
        height: 100%;
    }
    #fixed .instruction{
        font-size: 12px; 
        color: grey;
    }
    .projects{
        margin: 45px 0px 0px 0px;
        border: 0px solid black;
    }
    .content{
        width: 100%;
    }
    .content img{
        display: block;
        width: 100%;
        height: auto;
        margin-bottom: 3px;
    }
    .back2top{
        display: block;
    }

}

@media only screen and (min-device-width: 1224px) and (max-width: 1024px) {

    #wrapper, #fixed{
        left: 0px; right: 0px;
    }
    #fixed .text{
        font-size: 30px;
        padding: 20px;
        background-color: rgba(120,120,120,0.5);
        color: yellow;
        text-align: justify;
        height: 100%;
    }
    #fixed .instruction{
        font-size: 16px; 
        color: white;
    }
    .projects{
        margin: 0px;
        border: 0px solid black;
    }
    .content{
        width: 100%;
        margin: 110px 0px 0px 0px;
    }
    .content img{
        display: block;
        width: 100%;
        height: auto;
        margin-bottom: 3px;
    }
    .back2top{
        display: block;
    }

}














