#fade{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: aquamarine;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0008;
    z-index: 5;
}
#fade:not(:target):not([open]) { display: none; }

#fade #modal{
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 98vw;
    max-width:1140px;
    height: fit-content;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    z-index: 6;
}

#fade #modal #modal-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

#fade #modal #modal-header #modal-button{
    font-size: 20px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    padding: 10px;
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
}
#fade #modal #modal-header #modal-button:hover{
    background-color: #fff;
    color: #000;
}

#fade #modal #modal-content{
    display: flex;
    justify-content: center;
}
#fade #modal #modal-content iframe{
    border-width: 0 ;
}
#fade #modal #modal-footer{
    text-align: center;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #ccc;
}

body.modal-open { /*para evitar que o fundo role (scroll)*/
    overflow: hidden;
}