*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.body{
    width: 100vw;
    height: 170vh;
    background-image: url(/imagenes/10.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.header{
    padding:1em;
    width: 100vw;
    height: 23%;
    /* display: flex;
    align-items: center;  */
    display: grid;
    grid-template-columns: repeat(3,1fr);
    justify-items: auto; 
    align-items: center;
    grid-auto-rows: -1em;
    gap: .5em; 
       
}


.img-header{
    box-shadow: .3em .3em .3em #151122;
    border-style:inset ;
    border-color: #342d50;
    width: 100%;
    height: 5.6em;
    object-fit: cover;
    border-radius: .5em;
    -webkit-border-radius: .5em;
    -moz-border-radius: .5em;
    -ms-border-radius: .5em;
    -o-border-radius: .5em;
}






/* #------------------------------------------------# */
              /* MENU */
nav{
    background: rgb(76, 0, 130);
    height:80px ;
    width: 100%;
}

.enlace{
    position: absolute;
    padding: 20pxem 50px;
}

.logo{
    padding-top: 1em;
    margin-left: 2em;
    height: 3.5em;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    
}

nav ul{
    float: right;
    margin-right: 20px;
   
}

nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}

nav ul li a{
    color: white;
    font-size: 18px;
    padding: 7px 13px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    text-transform: uppercase;
    text-decoration: none;
}

li a.active,li a:hover{
    
    color: white;
    background-color: blueviolet;
    transition: .5s;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -ms-transition: .5s;
    -o-transition: .5s;
}

.checkbtn{
    font-size:30px ;
    float: right;
    color: white;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
    
}

#check{
    display: none;
}



@media (max-width:952px){
    .enlace{
        padding-left: 20px;
    }
    nav ul li a{
        font-size: 16px;
    }
}

@media (max-width:858px){
    .checkbtn{
        display: block;
    }
    ul{
     position: fixed;
     width: 100%;
     height: 100vh;
     background:#342d50 ;
     top: 80px;
     left: -100%;
     text-align: center;
     transition:all .5s ;
     -webkit-transition:all .5s ;
     -moz-transition:all .5s ;
     -ms-transition:all .5s ;
     -o-transition:all .5s ;
}
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 20px;
    }
    li a:hover, li a.active{
        background-color: none;
        color: red;
    }
    #check:checked ~ ul{
        left:0;
    }
}

.enlace{
    
    height: 100%;
    margin-bottom: 10em;
}

.p1{
    text-decoration: none;
    margin-left: 1.5em;
    color: bisque;
    text-shadow:.1em .1em .2em #151122 ;
}

/* #------------------------------------------------# */
                            
                    /* section1 */

.section1{
    width: 100%;
    height: 12%;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    /* border-style: solid;
    border-color: yellow; */
}

.h1-section1{
    color:bisque;
    text-shadow:.1em .1em .2em #151122 ;
    font-size: 5em;
    display: flex;
    justify-content: center;
    /* align-items: center; */
}

.h2-section1{
    color:bisque;
    text-shadow:.2em .2em .3em #151122 ;
    font-size: 1em;
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
}

/* #------------------------------------------------# */ 
            /* section2 */

.section2 {
    /* border-style: solid;
    border-color: violet; */
    height: 41%;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    justify-items: auto; 
    align-items: center;
    grid-auto-rows: -1em;
    gap: .5em; 
    padding-top: 5em;
}

.img-section2{
    box-shadow: .3em .3em .3em #151122;
    border-style:inset ;
    border-color: #342d50;
    width: 60%;
    height: 7.5em;
    object-position: center center;
    
    object-fit: cover;
    border-radius: .5em;
    -webkit-border-radius: .5em;
    -moz-border-radius: .5em;
    -ms-border-radius: .5em;
    -o-border-radius: .5em;
}

.legend-section2{
    color: bisque;
    text-shadow: .2em .2em .2em #151122;

}


.contenedor{
    width: 100%;
    height: 10em;
    overflow: scroll;
    color:rgb(203, 175, 192);
    text-shadow: .2em .2em .2em #151122;
    background-color: #342d509b;
    cursor: pointer;
}

.contenedor::-webkit-scrollbar-thumb{
   background-color: #151122;
   border-radius: .5em;
   -webkit-border-radius: .5em;
   -moz-border-radius: .5em;
   -ms-border-radius: .5em;
   -o-border-radius: .5em;
   
}

.fieldset{
    border-color:#895575;
    border-radius: .4em;
    -webkit-border-radius: .4em;
    -moz-border-radius: .4em;
    -ms-border-radius: .4em;
    -o-border-radius: .4em;
}