@import url('https://fonts.googleapis.com/css?family=Russo+One');
@import url('https://fonts.googleapis.com/css?family=Raleway');
hr{
    border: 0.4px solid;
    border-color: lightgrey;
}
header{
    display: block;
    position: relative;
}
#More,#Examples,#References,#Globe,#Search{
    position: absolute;
    display: none;
}
.LogoW3S{
    margin: 10px;
    margin-bottom: 0;
    font-size: 50px;
    text-align: center;
}
#w3SchoolCom{
    text-decoration: none;
    font-family: 'Russo One';
    color: #333;
}
#logcom,#w3SchoolCom:hover {
    color: dodgerblue;
}
.topnav2{
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: dodgerblue;
    z-index: 1;
}
#textLogo{
    letter-spacing: 5px;
    font-size: 13px;
    text-align: center;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: white;
}

.topnav {
    overflow: hidden;
    display: block;
    background-color: dodgerblue;
}

.topnav a,.topnav2 a {
  float: left;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  font-family: Raleway;
}

.topnav a:hover,.topnav2 a:hover {
    background-color: black;
    color: white;
    transition: all 0.5s;
}
.topnav .active{
    background-color: #333;
    color: dodgerblue;
}
.icon-home,#home,#icon{
    display: block;
    font-size: 30px;
    text-align: center;
    height: 49px;
    width: 50px;
    padding: 0;
    line-height: 1.7;
    cursor: pointer;
}
#izq{
    float: right;
}

.contenedorMenu{
    padding: 0;
    background-color: whitesmoke;
    width: 230px;
    height: 77%;
    position: fixed;
    bottom: 0;
    overflow-y: scroll;
    transition: all 0.3s;
}

.contenedorMenu h3{
    font-family: Raleway;
    margin-left: 13px;
    margin-top: 15px;
    font-size: 22px;
    letter-spacing: 1.5px;
    margin-bottom: 0px;
}

.contenedorMenu a{
    display: block;
    font-size: 15px;
    padding-left: 20px;
    text-decoration: none;
    color: black;
    font-family: Raleway;
}
.contenedorMenu li{
    padding: 1.9px;
}
.contenedorMenu li:hover{
    display: block ;
    background-color: lightgray;
}

.contenedorMenu ul{
    margin-top: 10px;
    list-style-type: none;
    padding-left: 0px;
    padding-top: 1px;
}

#menuSelect, #menuSelect a{
    background-color: limegreen;
    color: white;
}
.contenedorMore{
    position: absolute;
    display: none;
    width: 99.99%;
    height: 60%;
    background-color: #333;
    font-family: Raleway;
    justify-content: center;
}

.contenedorMore h3,.PrefDes h3,.ExamDes h3{
    display: block;
    height: 10%;
    margin-bottom: 0;
    color: lightgray;
    text-align: center;
    letter-spacing: 2px;
    font-size: 25px;    
}

.contenedorMore ul,.PrefDes ul,.ExamDes ul{
    list-style-type:none;
    height: 80%;
    width: 100%;
}

.contenedorMore a,.PrefDes a,.ExamDes a{
    display: block;
    color: lightgray;
    text-decoration: none;
    
    padding: 4px 2px;
    text-align: center;
    padding-left: 20px
}

.contenedorMore a:hover,.PrefDes a:hover,.ExamDes a:hover{
    display: block;
    background-color: lightgray;
    color: black;
}
.PrefDes{
    background-color: #333;
    position: absolute;
    display: none;
    width: 99.99%;
    height: 76%;
    color: lightgray;
    font-family: Raleway;
}

.ExamDes{
    background-color: #333;
    position: absolute;
    display: none;
    width: 99.99%;
    height: 50%;
    color: lightgray;
    font-family: Raleway;
}


label{
    cursor: pointer;
}
#More:checked ~#MoreData{
    display: flex;
    z-index: 1;
}

#References:checked ~.PrefDes{
    display:flex;
    z-index: 1;
}

#Examples:checked ~.ExamDes{
    display: flex;
    z-index: 1;
}

/*----------------INFORMACION----------------*/
.caja{
    position: inherit;
    width: 80%;
    margin-left: 260px;
    margin-top: 30px;
    margin-right: auto;
    display: block;
}

.main a{
    color: black;
}
.main a:hover{
    color: dodgerblue;
}
.main{
    position:inherit;
    display: flex;
    flex-direction: row;
    width: 100%;
}
.main article{
    display: absolute;
    flex-basis: 80%;
    background-color: white;
    font-family: Raleway;
}
.main article h1{
    font-size: 40px;
    margin: 20px;
}
.main aside{
    margin-left: 12px;
    flex-basis: 20%;
    background-color: white;
    justify-content: center;
}

#Siguiente,#Inicio{
    border: 2px;
    padding: 20px 20px;
    font-family: Raleway;
    background-color: dodgerblue;
    color: white;
    font-size: 20px;
    border: 1.5px solid;
    cursor: pointer;
}

#Siguiente{
    float: right;
    margin-right: 30px;
    border-color: darkblue;
}
#Inicio{
    background-color: white;
    color: black;
}
.informacion button:hover{
    box-shadow: 1px 1px 11px #333;
}
#textgreen{
    margin-top: 20px;
    border-left: 6.5px solid;
    border-left-color: dodgerblue;
    padding: 20px;
    letter-spacing: 2px;
    background-color: aliceblue;
}
#textgreen p{
    margin: 0;
}

.Example{
    padding: 12px;
    background-color: whitesmoke;
    border-radius: 11px;
    box-shadow: 1px 1px 10px #333;
}
.Example h3{
    margin-left: 12px;
    font-size: 23px;
    margin: 0px 0px;
    margin-bottom: 20px;
}
#TryYourSelf{
    margin: 10px 0px;
    border: 0;
    padding: 10px 30px;
    font-size: 17px;
    color: white;
    background-color: dodgerblue;
    cursor: pointer;
}
.CodeExample{
    padding:10px;
    background: white;
    border-left: 6px solid;
    border-left-color: dodgerblue;
    font-family: courier;
}
.CodeExample p{
    margin: 0;
}
#Img2{
    margin:20px;
}

.Diploma{
display: flex;

}
.Diploma img{
    display: flex;
    margin: 30px;
}

#getcertified{
    border: 1px solid;
    padding: 15px 10px;
    font-size: 16px;
    font-family: Raleway;
    color: white;
    background-color: dodgerblue;   
}

footer{
    font-family: Raleway; 
}
#list{
    display: flex;
    list-style-type: none;
    font-size: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
}
#list a{
    text-decoration: none;
    color: black;
}
#list a:hover{
    text-decoration: underline;
    color: dodgerblue;
}
#list li{
    width: 100%;
    text-align: center;
}

.footermenu{
    display: flex;
    text-align: center;
    justify-content: center;
}

.footermenu ul{
    padding:0px 47px;;
}
.footermenu li{
    list-style-type: none;
    font-size: 14px;
    margin:2px;
}
.footermenu a{
    text-decoration: none;
    font-size: 13px;
    color: black;
}

.footermenu a:hover{
    text-decoration: underline;
    color: dodgerblue;
}

footer p{
    text-align: center;
    font-size: 11px;
    margin-bottom: 20px;
    color:dimgrey;
    letter-spacing: 1px;
}

footer a{
    text-decoration: none;
    color: dimgrey;
}

footer a:hover{
    text-decoration: underline;
    color: dodgerblue;
}

/*-----------------asdide publicidad -----------------asdide publicidad*/
aside img{
    display: block;
    margin: 20px 0px;
}
.publicidad1{
    width: 210px;
    height: 1000px;
}
.publicidad2{
    width: 210px;
    height: 200px;
}

.Buscador{
    display: none;
    position: absolute;
}
.Buscador input{
    padding: 2px 0px;
    width: 270px;
    margin-right: 15px;
    font-size: 15px;
    font-family: Raleway
}
.Buscador Button{
    border: 0;
    background: #333;
    cursor: pointer;
}
.Buscador Button span{
    font-size: 24px;
    color: white;
}

#Search:checked ~ header .Buscador{
    display: flex;
    border: 10px solid dodgerblue;
}