body {
    background: #fafafa;
    font-family: 'Oxygen', sans-serif;
    min-height: calc(100vh - 32px);

}

#holder {
    padding: 0;
    margin: 0;
    position: relative;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
    min-height: calc(100vh - 32px);
    box-sizing: border-box;

    background: #ffffff;
    background-repeat: repeat-x;
    background-position: center top; 
}


#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: rgb(203, 8, 47);
    font-weight: bold;
}

a:visited{
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

a:hover {
    color: rgb(203, 8, 47);
}

h2 {
    color: rgb(203, 8, 47);
    font-weight: bold;
}


.bingoButton {
    background-color: #ffffff;
    color: #000000;
    position: relative;
    width: 300px;
    height:  100px;
    left: 50%;
    transform: translate(-50%,0) scale(0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 32pt;
    border: solid 4px #f27b24;
    box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.18);
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
    
    transition: font-size 0.5s;
}

.bingoButton:hover {

    text-shadow: 3px 3px #0000ff;
    font-size: 42pt;
    color: #ffffff;
    background: linear-gradient(90deg, #ffcccc, #ccccff);
    background-size: 100% 100%;
    animation-name: bingoButtonAnimation;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    box-shadow: 0px 0px 17px 0px rgba(255,0,255,1);
    border-radius: 20px;
}


@keyframes bingoButtonAnimation {
    0% {
        filter: hue-rotate(0);
        transform: scale(1) translate(-50%,0) rotate(-2deg) scale(1);
    }
    50% {
        filter: hue-rotate(180deg);
        transform: scale(1) translate(-50%,0) rotate(2deg) scale(1.05);
    }
    100% {
        filter: hue-rotate(360deg);
        transform: scale(1) translate(-50%,0) rotate(-2deg) scale(1);
    }
}

#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{
    padding: 20px;
    text-align: left;
    flex-direction: column;
}


/*-------mobile ------*/
@media only screen and (max-width: 768px) {
    body {
        padding: 0;
        margin: 0;
        font-size: 0.8em;
    }

    #holder {

        width: 100%;
        min-height: 100vh;
        padding: 0;
        margin: 0;

    }

    #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);

        width: 768px;
        max-width: 786px;
    }


    #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;
}


.register{
    position: relative;
    left: 50%;
    width: 50%;
    transform: translate(-50%,0);
}

.button {
    text-transform: uppercase;
    font-size: clamp(12pt, 2vw, 24pt);
    font-weight: bold;
    display: box;
    border-image: url('/resources/buttonborder.png') 128 fill ;
    color: #ffffff;
    border-width: 32px;
    border-style: solid;
    display: inline-block;
    text-align: center;
    
}

.button a{
     color: #ffffff;
     text-decoration: none;
}