*{
    padding: 0px;
    margin: 0px;
    list-style: none;
    text-decoration: none;

}

body{
    background-image: url(FESControlsOrigen.png);
    background-repeat: no-repeat;
    background-color: #333;

}

.nav {
    position: fixed;
    width: 100%;
    background-color:rgba(51, 51, 51);
    
}
.header {
    margin: auto;
    width: 100%;
}

.nav li a {
    font-family: 'Hammersmith One', sans-serif;
    font-size: 20px;
    color: rgb(194, 199, 204);
    display: block;
    padding-top: 25px;
    padding-left: 20px;
}


.nav li i img {
    width: 95px;
    height: 50px;
    padding-top: 8px;
    padding-left: 20px;

}

.nav > li {
    float: left;
    
}

.nav a:hover {
    color: #a32020;
    cursor: pointer;
}

.nav li ul {
    display: none;
    position: absolute;
}

.nav li:hover > ul {
    display: block;
    background-color:rgba(51, 51, 51);
    padding-right: 15px;
    
}


.texto {
    color: rgb(194, 199, 204);
    font-family: 'Hammersmith One', sans-serif;
    float: right;
}

.texto h1{
    width: 350px;
    padding-top: 20%;
    padding-right: 8%;
    font-size: 100px;
    float:right
}

.texto p{
    width: auto;
    float: right;
    padding-top: 2%;
    padding-left: 30%;
    padding-right: 10%;
    text-align: justify;

}

.footer {
    text-align: center;
    color: rgb(194, 199, 204);
    opacity: 70%;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 18px;
    font-family: 'Hammersmith One', sans-serif;
    padding: 0.8rem;
}

.menu-icon, #check{
    display: none;
}

.menu-icon img{
    width: 30px;
    height: 30px;
    border-radius: 2px;
}

@media (max-width:850px){
    .texto p{
        padding-left: 20%; 
    
    }

    .texto h1{
      font-size: 70px;  
    }

}

@media (max-width:768px){
    .menu-icon, #check{
        display: block;
        list-style: none;
        text-decoration: none;
    }

    .menu-icon{
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
    }


    #header .nav{
        display: block;
        position: fixed;
        top: 70px;
        left:-100%;
        background: #333;
        opacity: 100%;
        width: 100%;
        height: 100vh;
        right: 0;
        cursor: pointer;
    }

    #header .nav li{
        padding: 0.5rem;
        display: flex;
        justify-content: center;
        margin: 0;
    }

    #check:checked ~ ul{
        left: 0;

    }

    .nav > li {
        float: none;
        
    }

}