header, footer {
    position: fixed;
}

footer {
    background-color: #e9e9e9;
    border-top: 1px solid #ccc;
    bottom: 0;
}

header {
    border-bottom-color: #e9e9e9;
}

header .div-titulo-mobile {
    width: 100%;
    height: 46px;
    text-align: center;
    background-color: white;
    color: var(--cor-nav);
    font-size: var(--font-size-reduzida);
}

header .div-titulo-mobile h1 {
    line-height: 46px;
}

header nav {
    height: 40px;
    margin-top: 0;    
}

header nav .mobile-grid {
    width: 100%;
    display: grid;    
    grid-template-columns: 20% 20% 20% 20% 20%;
    grid-auto-rows: auto;
}

header nav .mobile-grid a {
    background-color: #f6f6f6;    
    text-decoration: none;
    height: 48px;
    font-size: 11px;
    border: 1px solid #ccc;
    text-align: center;
    padding-top: 5px;
}

header nav .mobile-grid a i {
    display: block;
    font-size: 18px;
    margin-bottom: -5px;
}

#principal {        
    margin: 36px auto;
    padding: 0 8px;
    padding-bottom: 20px;
}

header .icone {
    width: 38px;
    float:left;
    margin: -3px 0 0 -3px;

}

.link-icon {
    width: 40px;
    height: 42px;
    top: 0;
    left: 1px;
}

dialog {
    width: 324px;
    height: 188px;
    margin: auto;
    text-align: center;
    border: 1px solid lightskyblue;
    border-radius: 4px;
}

dialog::backdrop {
    background-color: rgba(0,0,0,0.7);
}

iframe {    
    background-color: #000;
    margin: auto;
    width: 320px;
    height: 180px;

}

dialog #div-video {
    width: 100%;
    background-color: #000;
}

 #div-video h2 {
    display: inline;
}

#div-video span {
    color: red;
    float: right;
    font-weight: bold;
    background-color: lightgrey;
    padding: 3px;
}
        
div span:hover {
    background-color: lightgoldenrodyellow;
    cursor: pointer;
}

.ul-enem li a {
    font-size: 10px !important;
}



@media (min-width: 760px) { 
    #principal {
        width: 560px;
    }

    header nav .mobile-grid a {
        font-size: 14px;
        padding-top: 2px;
    }

    dialog {
       width: 650px;
       height: 370px;
    }

    iframe {
        width: 640px;
        height: 360px;
    }

    .ul-enem li a {
        font-size: 12px !important;
    }
}
