/*
html{	
    overflow-y: scroll;
}

html::-webkit-scrollbar {
    background: #c5c5c5;
    width: 10px;
    height: 10px;    
}

html::-webkit-scrollbar-thumb {
    background: darkslategray;  
    border-radius: 5px;    
}

html::-webkit-scrollbar-track {
    height: 10px;
}
*/

#bodyfake{	
    overflow-y: scroll;
    position: relative;    
    top: 95px;
    width: 100%;
    height: calc(100% - 95px);
}

#bodyfake::-webkit-scrollbar {
    background: #c5c5c5;
    width: 10px;
    height: 10px;    
}

#bodyfake::-webkit-scrollbar-thumb {
    background: darkslategray;  
    border-radius: 5px;    
}

#bodyfake::-webkit-scrollbar-track {
    height: 10px;
}

#btn-up{
    font-size: 25px;
    color: whitesmoke;
    padding: 10px;
    background-color: rgb(254,6,5,0.9);
    width: 30px;
    height: 30px;
    border-radius: 100%;
    text-align: center;
    padding-top: 8px;
    box-shadow: 0.5px 0.5px 3.5px 0.5px whitesmoke;
    position: fixed;
    right: 20px;
    bottom: 65px;
    transition: 0.9s;
    cursor: pointer;
    opacity: 0;
    transform: scale(0);
    background-image: url(../img/flecha-hacia-arriba.svg);
    background-size: 30px;
    background-position: 11px 7px;
    background-repeat: no-repeat;
    )
}

#fra-head{
    width: 100%;
    height: 95px;
    position: fixed;
    left: 0px;
    top: 0px;
    box-shadow: 1px 1px 5px 1px lightgray;
}

#fra-main{    
    width: 100%;
    height: 100%;
    display: inline-block;
    float: left;
    margin-top: 0px;
}

#fra-menu{
    top: 0px;
    right: -10px;
    width: 0px;
    height: 400px;
    display: inline-block;        
    float: right;
    transition: 0.6s;
    position: fixed;
    z-index: 1;
    border: 0px;
    box-shadow: -2px 5px 5px 1px lightgrey;
    overflow: hidden;
}

#fra-footer{
    width: 100%;
    height: 265px;
}

#fra-redes{
    width: 100%;
    height: 50px;
    position: fixed;
    bottom: 0px;
    left: 0px;
    display: none;
}

#chat{
    position: fixed;
    right: 0px;
    bottom: 50px;
    background-color: #FF0202;
    background-image: url(../img/chat.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40px;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.hide{
    animation: hide 0.9s forwards, minimize 0.9s 0.9s forwards;
}

.show{    
    animation: show 0.9s forwards;
}

#msg-main{
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    background: rgb(255,255,255,0.5);
    z-index: 1;
    display: none;        
    align-content: center;
    align-items: center;
}

#container-msg-main{
    background: green;
    width: 80%;
    text-align: center;
    color: white;
    height: auto;
    margin:50px;    
    margin-left: calc(10% - 50px);
    display:inline;
    padding: 40px 50px;
    border-radius: 5px;
}

#txt-msg-main{
    padding: 20px;    
    font-size: xx-large;
    font-family: 'Raleway';
    padding-bottom: 10px;
    padding-top: 0px;
}

#txt-msg-main>span{
    font-size: x-large;
    line-height: 40px;
}

#btn-msg-main{
    padding: 10px;
    width: 100px;
    margin-left: calc(50% - 60px);
    background: lightgray;
    border-radius: 5px;
    color: black;
    cursor: pointer;
    box-shadow: 3px 3px 2px gray;
    letter-spacing: 1px;
    transition: 0.6s;
}

#btn-msg-main:hover{
    box-shadow: 2px 2px 2px gray;
}

@keyframes hide {
    from {
            opacity: 1;
            transform:scale(1);
        }    
    to {
        opacity: 0;
        transform:scale(0);
    }    
}

@keyframes minimize {
    from {transform: scale(1);}    
    to {transform: scale(0);}    
}

@keyframes show {
    from {
        opacity: 0;
        transform:scale(0);
        }
    to {
        opacity: 1;
        transform:scale(1);
    }
}

@media screen and (min-width:1500px){
    #bodyfake{
        width: 1500px;
        margin: auto;
    }    
}

@media screen and (max-width:768px){
    
    #container-msg-main{
        width: calc(100%);
        margin: 20px;
        padding: 30px 10px;
    }
    
    #fra-main{
        width: 100%;        
    }   
    
    #fra-lateral{
        width: 100%;
        margin-top: 20px;
    }
    
    #fra-redes{
        display: inline-block;
        display:none;
    }
    
    #fra-footer{
        height: 650px;
    }
    
    #fra-menu{
        top: 99px;
    }
    
    #fra-head{
        height: 100px;
    }
    
    #chat{
        bottom: 80px;
    }
    
    #txt-msg-main{
        padding: 20px;    
        font-size: 25px;        
    }
    
    #txt-msg-main>span{        
        font-size: 20px;        
    }
}