body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



nav{
	background: rgba(255,255,255,0.8);
	width: 100%;
	height: 80px;
}
.enlace{
	position:absolute;
	padding: 2px 20px;
}

.logo{
	height: 80px; 
}


nav ul{
    float: right;
    margin-right: 20px;
  
}

nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
    
}

nav ul li a{
    color:forestgreen;
    font-size: 14px;
    padding: 7px 7px;
    border-radius: 5px;
    text-transform: uppercase;
        
}

li a.active, li a:hover{
    background:rgba(0, 124, 33, 0.88);
    color: rgba(186, 255, 76, 0.93);
    transition: .5s;

}
#checkbtn{
    font-size: 30px;
    color:#238d04;
    float: right;
    line-height: 80px;
    margin-right: 30px;
    cursor: pointer;
    display: none;
}
#menu-bar{
    display: none;
}


.inic{
	width: 100%;
    height: calc(100vh - 2px);	
	background: url(../img/min8.jpg) no-repeat;
	background-size: cover;
	background-position: center center;
	
}


 .Text-header{
    display:flex;
    height: 100vh;
    width: 95%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: aliceblue;
    text-align: center;

}
.Text-header h1{
		color:white;
		font-weight: 600;  
		font-size: 25px;
		background: rgba(0,0,0,.3);
		padding: 0 5px;
		border-radius: 15px;
}

 #scroll-to-top {
            position: fixed;
            width: 40px;
            height: auto;
            bottom: 50px;
            right: 20px;
            background-color: rgba(0, 124, 33, 0.88);
            color: rgb(181, 255, 63);
            padding: 10px;
            border-radius: 50%;
            cursor: pointer;
            display: none;
        }
        #scroll-to-top:hover {
            
             background-color: rgba(186, 255, 76, 0.8);
             color:green;
        }


//*****madia query*************/

@media(max-width: 952px){
    
    .enlace{
        padding-left: 20px
    }
    nav ul li a{
        font-size: 15px;
    }
    
   }   
     
@media(max-width: 858px) {
    
    #checkbtn{
        display: block;
    }
    
    
    
  nav ul{
        position:absolute;
        width: 100%;
        height: 90vh;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
        background: rgba(255,255,255,0.8);
        
    }
    
   nav ul li {
        display: block;
        margin: 40px 0px;
        line-height: 30px;
        
    }
    
    nav ul li a{
        font-size: 15px;
    }
    li a:hover, li a:active{
    background:rgba(0, 124, 33, 0.88);
    color: rgba(186, 255, 76, 0.93);
        
    }
    #menu-bar:checked ~ ul{
        left: -0%;
    }
    .inic .logo{
        height: 75px;
    }
    
    
}
    
    
