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

:root {
  --background-color: rgb(0, 0, 0);
  --background-color-app: #24282b;
  --border-app: solid 2px rgba(215, 215, 215, 0.412);
  --color-font-white: rgb(255, 255, 255);
  --color-font-black: rgb(0, 0, 0);
}

body {
  display: flex;
  place-items: center;
  justify-content: center;
  background-color: var(--background-color);
  width: 100%;
  min-height: 100vh;

  background-image: url('../assets/fundoGeral.png');
  background-size:cover;
  background-repeat: no-repeat;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
  height: 100%;

  color: var(--color-font-white);

 
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0.625rem 0 1.25rem 0;
}

.app-image {
  display: flex;
  flex-direction: column;
  width: 31.25rem;

  background-color: var(--background-color-app);
}

#display-image {
  width: 100%;
  height: 38.5rem;
  background-color: var(--background-color);
  background-position: center;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.app {
  border: var(--border-app);
  border-radius: 0.625rem;

  padding: 3.125rem;
  padding-top: 0.625rem;

  margin-top: 0.3125rem;

  background-color: var(--background-color-app);
}

textarea {
  width: 100%;
  height: 5rem;

  resize: none;
  border: none;
  padding: 0.625rem;
  overflow: hidden;

  outline: none;

  text-align: center;
  font-weight: 600;
  font-family: sans-serif;
  font-size: 1.25rem;

  background-color: var(--background-color);

  color: var(--color-font-white);
}

.text-box-top {
  border-radius: 1rem 1rem 0 0;
}
.text-box-bottom {
  border-radius: 0 0 1rem 1rem;
}

.app-photo-picker {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
  height: 4.25rem;
  margin-top: 1rem;
}

#memes-list {
  width: 100%;
  height: 3rem;
  color: var(--color-font-black);
  font-size: 1.25rem;
}

option {
  font-size: large;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  color: rgb(27, 9, 120);
}

#image-input {
  width: 100%;
  height: 3rem;

  font-size: 20px;
  font-weight: bolder;

  margin: 0.3rem 0 0.3rem 0;

  background-color: rgb(5, 70, 131);

  cursor: pointer;
}

#btn-download {
  width: 100%;

  font-size: 20px;
  font-weight: bolder;

  padding: 0.625rem;

  background-color: rgb(225, 156, 7);

  cursor: pointer;
}

#btn-download:hover {
  color: var(--color-font-white);
  transition: all 1s;
}

@media only screen and (max-width: 450px) {
  .app {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 99vh;
    justify-content: center;
    padding: 0;
  }
  .app-image {
    width: 21.25rem;
  }

  #display-image {
    width: 100%;
    height: 50vh;
    background-size: contain;
  }

  #memes-list {
    width: 80%;
  }

  option {
    width: 80%;
  }

  #image-input {
    width: 80%;
  }

  #btn-download {
    width: 100%;
    height: 20px;
    font-size: 15px;
    padding: 0 .2rem 0 .2rem;
    margin: 0 auto;
  }
}

@media only screen and (min-width: 1000px) {
  #display-image {
    width: 100%;
    height: 50vh;
    background-size: contain;
  }
}