@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
  height: 100vh;
  font-family: Roboto, sans-serif;
  background: #FCFAFA;
  margin: 25px;
  color: #292F36;
}

#generateMemeButton {
  transition: all .5s ease;
  color: #292F36;;
  border: 3px solid #292F36;;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
  font-size: 17px;
  background-color : transparent;
  padding: 10px;
  outline: none;
  border-radius: 4px;
}
#generateMemeButton:hover {
  color: #FCFAFA;
  background-color: #292F36;
  cursor: pointer;

}

.page-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*
==========
Page Title
==========
*/

.logo{
  font-weight: 900;
  font-size: 32px;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  margin: 25px;
}

.page-description{
  width: 70%;
  text-align: center;
  font-weight: 400;
  font-size: 18px;

}

/*
==========
  Form
==========
*/

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

.form-container{
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  align-items: center;
}

.form-container-items{
  display: flex;
  flex-direction: row;

}

.form-label,
.form-input{
  display: flex;
  margin: 10px;
  font-size: 18px;
}

#imageURL,
#memeTitle,
#memeDescription{
  width: 300px;
}

#generateMemeButton{
  margin: 10px;
}

/*
==========
  Meme
==========
*/

.memes-container{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px;
}

.meme-item {
  position: relative;
  display: flex;
  margin: 5px;
}


.meme-title-overlay-text,
.meme-descrip-overlay-text {
position: absolute;
text-align: center;
left: 0;
width: 100%;
}

.meme-title-overlay-text {
top: 10%;
}

.meme-descrip-overlay-text {
  bottom: 10%;
}

.title-text,
.descrip-text{
  text-transform: uppercase;
  font-family: "Anton", sans-serif;
  color: white;
  font-weight: 400;
  font-style: normal;
  text-shadow: -2px -2px 0 #292f36, 2px -2px 0 #292f36, -2px 2px 0 #292f36,
    2px 2px 0 #292f36;
}

.title-text{
font-size: 32px;
}

.descrip-text{
  font-size: 20px;
}

.delete-button{
  position: absolute;
  bottom: 5%;
  right: 5%;
  color: rgb(105, 105, 105);
  cursor: pointer;
  font-size: 1.25rem;

}



/* Image */

img {
  width: 600px;
  height: 400px;
}

@media only screen and (max-width: 768px) {
  img {
    width: 300px;
    height: 200px;
  }
}

