/* Afonso Benedito 54937 */
/* Afonso Teles da Silva 54945 */
/* Tomás Ndlate 54937 */

/* BOX'S DETAILS */
.BoxRules {
    background: linear-gradient(to bottom, #fc7b0d, #f36d08, #e95f04, #df5101, #d54200);
    height: 500px;
    width: 35%;
    overflow-y: auto;
    overflow-x: hidden;
    border: 3px solid rgb(116, 46, 6);
    border-radius: 10px;
    top: 250px;
    position:absolute;
    box-shadow: 0 0 10px #363636;
    transition: .25s;
    visibility: visible;
    
} 

.BoxRules:hover{
    height: 520px;
    width: 36%;
    top: 260px;
}

.VideoBox {
    visibility: hidden;
    position: absolute;
    top: 250px;
    width: 40%;
    left: 30%;
    right: 30%;
}

.VideoBox video{
    border-radius: 5px;
}

/*-----------------------------------------------*/

/* SCROLLBAR BOXS */

.BoxRules::-webkit-scrollbar{
    width: 12px;
    background-color: none;
}

.BoxRules::-webkit-scrollbar-thumb{
    border-radius: 8px;
    background-color:aliceblue; 
    opacity: .7;
}


/*-----------------------------------------------*/

/* TEXT_BOX POSITIONING */

.BoxRules.Left {  
    left: 10%;
}

.BoxRules.Right {   
    float: right;
    right: 10%;
    }

.BoxRules.Left:hover{
    left: 9.5%;
}

.BoxRules.Right:hover{
    right: 9.5%;
}

/*-----------------------------------------------*/

/* TEXT_BOX TEXT */

.Letter{
    font-family: burbank, sans-serif;
    color: white;
    text-align: center;
}

.Letter h1{
    font-size: 50px;
    text-transform: uppercase;
    font-weight: 500;
}

.Letter h6{
    font-size: 30px;
    text-transform:uppercase;
    font-weight: 400;
}

.Letter p{
    font-size: 25px;
    text-align: justify;
    margin: 40px;
    line-height: 40px;
    color: aliceblue;
}

/*-----------------------------------------------*/

/* BOX'S BUTTONS */

.RulesBtn{
    position: absolute;
    font-family: burbank, sans-serif;
    top: 180px;
    text-transform: uppercase;
    color: white;
    font-weight: bold;
    text-shadow: 0 0 5px #363636;
    text-align: center;
    padding: 0;
    background: #c06a42;
    font-size: 10px;
    cursor: pointer;
    z-index: 2;
    
}

.RulesBtn.Rules {
    float: right;
    left:25%;
    width: 23%;
    border: 4px solid rgb(116, 46, 6);
}

.RulesBtn.Video {
    left: 50%;
    width: 25%;
    border: none;
}

/*------------------------------------------*/
@media(max-width:920px){
    .BoxRules {
        width: 75%;
        position:absolute;
    } 

    .BoxRules:hover{
        height: 520px;
        width: 80%;
    }

    .BoxRules.Left { 
        left:12.5%;
        top: 245px;
    }

    .BoxRules.Right { 
        left:12.5%;
        top:800px;
    }
    
    .BoxRules.Left:hover{
        left: 10%;
        top: 235px;
    }

    .BoxRules.Right:hover{
        left: 10%;
        top: 790px;
    }

    .VideoBox{
        top: 350px;
        width: 70%;
        left: 15%;
    }
    
    /*--------------BACKGROUND---------------*/
    
    .BoxBackground.Three {
        top: 1370px;  
    }
        
    .BoxBackground.Four {
        top:1450px;
    }
    
/*------------------EXTRA LANGUAGES-------------------*/


    .Language{
        top:1373px;
        z-index: 1;
    }
    
    .Language:hover{
        top:1282px;
        height: 160px;
    }
    
}


/*------------------------------------------*/

@media(max-width:600px){
    .VideoBox{
        width: 90%;
        left: 5%;
    }
}
