* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
    background-color: black;
    display: flex;
    flex-direction: column;
}

h1 {
    color: wheat
}

header {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galeria-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding: 0 15px;
}

.galeria-itens {
    width: 340px;
    height: 240px;
    flex-grow: 1;
    margin-top: 15px;
    overflow: hidden;
    border: 10px solid white;
    border-radius: 15px;
}

.galeria-itens img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 1s;
}

.galeria-itens img:hover {
    filter: grayscale(0%);
    transition: 1s;
    transform: scale(130%);
}

.slide {
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.836);
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -999;
    opacity: 0;
}

.slide:target {
    z-index: 999;
    opacity: 1;
    transition: 0.5s;
}

.slide .imagem-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


.slide .fechar {
    position: absolute;
    top: 0;
    left: 0;
    color: wheat;
    background-color: #0005;
    text-decoration: none;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    z-index: 3;
}

.slide .fechar:hover {
    color: red;
    background-color: #0008;
    transition: 0.5s;
}

.slide .navegacao {
    position: absolute;
    width: 40px;
    height: 50%;
    border-radius: 15px 0px 0px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: black;
    background-color: #FFF8;
    text-decoration: none;
    opacity: 0;
    transition: 0.5s;
}

.slide .navegacao:nth-child(2) {
    border-radius: 0px 15px 15px 0px;
}


.slide .navegacao:hover{
    opacity: 1;
    transition: 0.5s;
}

.slide .anterior {
    left: 0;
}

.slide .proximo {
    right: 0;
}

main {
    flex-grow: 1;
}

footer {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: wheat;
}

.pesquisa-container {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pesquisa-container input {
    margin-top: 15px;
    margin-bottom: 15px;
    width: 800px;
    height: 50px;
    color: black;
    font-size: 1.2em;
    border-radius: 25px;
    outline: none;
    padding: 0 24px;
}
