body {
    background: #3a4098;
    font-family: 'Oxygen', sans-serif;
}

#holder {

    background-color: #a3c3e9;
    height: calc(100% + 200px);
}


#close{
    background: #f27b24;
    color: #ffffff;
    padding: 5px;
    margin: 5px;
    display: inline;
}


#message {

    position:absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    display: flex; 
    flex-direction: row;
    flex-flow: column wrap;
}

a {
    text-decoration: none;
    color: #5c4b95;
    border-bottom: dashed 1px #f27b24;
}

a:visited{
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

a:hover {
    color: #f27b24
}

h2 {
    color: #ffffff;
    font-weight: bold;
}

#header {
    text-align: center;
}


#left {
    color: #5c4b95;
}

#right > p > .profile {
    border: solid 2px #ffffff;
}

#schedule {
    width: 100%;
}

#schedule td:nth-child(1) {
    color: #f27b24;
}

#schedule td:nth-child(2) {
    color: #5c4b95;
}

#chatframe {
    width: calc(100% - 5px); 
    display:block;
    overflow: hidden;
}

#close {
    text-align:center;
    border-radius: 3px;
}

#content{
    text-align: left;
    flex-direction: column;
}


/*-------mobile ------*/
@media only screen and (max-width: 768px) {
    
    .youtube{
        margin-top: 20px;
        width: 100%;
        height: 320px;
    }
    
    body {
        padding: 0;
        margin: 0;
        font-size: 0.8em;
    }

    #holder {
        position: absolute;
        left:0;
        top:0;
        right:0;
        bottom:0;
        padding: 0;
        margin: 0;
        background-repeat: repeat-x;
        background-position: center bottom; 
        background-image: url('resources/footer.png');
        background-position: center bottom; 
    }

    #content {
        min-height: 512px;
    }


    #chat {
        box-sizing: content-box;
        margin:0;
        /*border: solid 1px #f27b25;*/
    }

    #left {
        margin: 10px;
    }

    #schedule {
        font-size: 1em;
    }

    #right {
        background: #04b9bf;
        color: #ffffff;
        text-align: center;
        width: 80%;
        float: right;
        padding: 10px;
        box-sizing: border-box;
    }

    .profile {
        width: 80%;
        max-width: 80%;
    }

    h2 {
        font-size: 1.2em;
    }


    #footer {
        color: #5c4b95;
        font-size: 10pt;
        position: relative;

        bottom: 5px;
        width: 70%;
        left: 50%;
        transform: translate(-50%,0);
    }

    #footer > img {
        width: 100%;
    }

    #messageHolder {
        width: 100%;
        left:0;
        top:0;
        position: absolute;
        display: block;
        background: #ffffff;
        z-index: 99999;
    }

}

/*-------desktop ------*/


@media only screen and (min-width: 769px) {



    #holder {
        box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.18);
        background-image: url('resources/footer.png');
        background-repeat: repeat-x;
        background-position: center bottom; 
        width: 768px;
        max-width: 786px;
        min-height: 768px;
        padding: 0;
        margin: 0;
        position: relative;
        left: 50%;
        top: 0;
        transform: translate(-50%, 0);
        
        box-sizing: border-box;
    }


    #player {
    }


    #chat {
        box-sizing: content-box;
        margin-bottom: 20px;

        /*border: solid 1px #f27b25;*/
    }

    #chatframe {
        overflow-y:hidden;
    }

    #chatInfo {
        display: none;
    }


    #left {
        width: 65%;
        float: left;
        padding: 10px;
        box-sizing: border-box;
    }


    #right {
        background: #04b9bf;
        color: #ffffff;
        text-align: center;
        width: 35%;
        float: right;
        padding: 10px;
        box-sizing: border-box;
    }

    .profile {
        width: 80%;
        max-width: 80%;
    }

    #footer {
        position: relative;

        color: #5c4b95;
        font-size: 10pt;
        width: 70%;
        left: calc(50% - 24px);
        transform: translate(-50%,0);
    }

    #footer > img{
        width: 100%;
    }


}


#logo {
    padding: 10px;
    width: 80%;
    min-width: 35%;
    box-sizing: border-box;
    text-align: center;
    align-items: center;
    justify-content: center;
}


.platform {
    display: flex;
    padding: 10px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}

div {
    width: 100%;
    font-size: 7vmin;
    text-align: center;
    color: #ffffff;
}
