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

body {
  font-family: Franklin Gothic Medium, Arial Narrow, Arial, sans-serif;
}

body:after {
  content: '';
  background-image: url('imgs/background.jpg');
  opacity: 0.15;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: fixed;
  z-index: -1;
}

#meme-image-container {
  width: 80%;
  height: 60vh;
  position: relative;
  z-index: 1;
  border: 1px solid black;
  background-color: white;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

#meme-image-container #meme-image {
  width: 100%;
  height: 100%;
  object-fit: fill; /* vai esticar se for preciso */
  z-index: 2;
  position: absolute;
}

#meme-text {
  z-index: 3;
  position: absolute;
  text-shadow: 5px 5px 5px black;
  font-size: 30px;
  color: white;
  align-self: flex-end;
}

#fire {
  background-color: red;
}

#water {
  background-color: blue;
}

#earth {
  background-color: green;
}

#miniature-container {
  margin: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#miniature-container img {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  cursor: pointer;
  margin: 2px;
}

main {
  display: flex;
  flex-direction: column;
  width: 60%;
  margin: auto;
  align-items: center;
  background-color: rgba(255 , 255 , 255 , 0.87);
}

main h1 {
  font-size: 60px;
  margin: 20px;
  max-width: 60%;
  text-align: center;
  color: rgba(32 , 13 , 6 , 0.877);
}

main h2 {
  margin-bottom: 30px;
  color: rgba(32 , 13 , 6 , 0.877);
}

#text-input {
  width: 30vw;
  margin: 20px;
  border: 1px solid rgba(0 , 0 , 0 , 0.199);
  border-radius: 4px;
  padding: 5px;
}

#meme-insert {
  margin: 20px;
}

#button-container {
  width: 400px;
  display: flex;
  justify-content: space-between;
}

#button-container button {
  flex-basis: 100px;
  color: white;
  font-weight: 700;
  height: 25px;
  border: 2px solid rgba(0 , 0 , 0 , 0.082);
  border-radius: 10px;
  cursor: pointer;
}
