*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: Roboto,'sans-serif';
}
header {
    background-color: #5f27cd;
    padding: 16px 0;
    color: #fff;
    display: flex;
    border-bottom: 10px solid #341f97;
    justify-content: center;
    text-transform: uppercase;
    font-style: italic;
}

header button {
    margin-left:  16px;
}

form {
    background-color: #c8d6e5;
    padding: 24px;
    display: none;
    text-align: center;
}

input, button {
    padding: 8px;
}

button {
    background-color: #009432;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
}

#botao-cancelar {
    background-color: red;
    
}
ul {
    display: flex;
    flex-wrap: wrap;
}
ul li {
    width: 25%;
    list-style: none;
    position: relative;
    max-height: 280px;
    overflow-y: hidden;
}

ul li img {
    width: 100%;
}
.overlay-imagem-link {
 padding: 16px;
 background-color: rgba(0, 0, 0, 0.7);
 position: absolute;
 bottom: 0;
 left: 0;
 width: 100%;
 opacity: 0;
 transition: all ease 0.5;
}
.overlay-imagem-link a {
    color: #fff;
    text-decoration: none;
}

ul li:hover .overlay-imagem-link {
    opacity: 1;
}
