* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  font-size: 62.5%;
  color: #09050D; }

html {
  position: relative;
  min-height: 100%; }

body {
  background: #EBEBF0;
  width: 100%; }

/* HEADER ###################################### */
#banner,
.main-body,
.search-container,
.button,
#footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; }

.button {
  position: relative;
  width: 7rem;
  height: 4rem;
  background: #a83acc;
  color: #EBEBF0;
  border-radius: 10px;
  font-size: 1.5rem;
  margin: 0 2rem;
  text-transform: uppercase;
  text-decoration: none;
  border: 5px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.35);
  border-bottom-width: 5px;
  transition: all 0.1s;
  cursor: pointer; }
  .button:active {
    border-bottom-width: 0px;
    top: 2px; }
  .button:focus {
    outline: none; }

#banner {
  width: 100%;
  height: 10rem;
  background: #a83acc; }
  #banner h1 {
    margin-top: 2em; }

.title,
.titleWord {
  font-size: 3rem;
  font-weight: bold;
  color: #FFF;
  margin-bottom: 4rem;
  text-transform: uppercase; }

.typed-cursor {
  margin-left: .1em;
  font-size: 4rem;
  color: #fff; }

/* MAIN CONTENT ###################################### */
.main-body {
  flex: 1; }

.search-container {
  background: #FEFEFE;
  width: 100%;
  height: 10rem;
  padding: 0 2rem;
  text-align: center;
  border-radius: 0.5rem;
  box-shadow: 0px 5px 8px rgba(9, 5, 13, 0.05);
  margin-bottom: 2rem; }

#textbox {
  width: 100%;
  height: 4rem;
  color: #09050D;
  border-radius: 0.5rem;
  border: 1px solid #B7B7CA;
  font-size: 3rem;
  padding: 0 2rem;
  text-align: center; }
  #textbox:focus {
    outline: none; }

.gif-container {
  position: relative;
  background: #FEFEFE;
  width: 100%;
  min-height: 20rem;
  max-height: auto;
  padding: 2rem;
  text-align: center;
  border-radius: 0.5rem;
  box-shadow: 0px 5px 8px rgba(9, 5, 13, 0.05);
  transition: ease-in-out 0.5s;
  transition: .8s opacity; }
  .gif-container:hover .card {
    opacity: 0.3; }

#gifs {
  max-width: 100%;
  display: flex;
  flex-flow: row wrap;
  flex-wrap: wrap; }
  #gifs h1 {
    width: 100%;
    font-size: 3rem;
    color: #09050D;
    margin: 0 auto; }
  #gifs p, #gifs a {
    display: inline-block;
    text-align: center;
    width: 100%;
    font-size: 1.5rem; }
  #gifs a {
    color: #334fff;
    margin-top: .2em;
    width: auto;
    text-decoration: none;
    border-bottom: 1px solid #fff;
    transition: all .8s; }
    #gifs a:hover {
      border-color: #334fff;
      transition: all .8s; }
    #gifs a:first-of-type {
      margin-left: 25%;
      margin-right: 15%; }
  #gifs .card {
    width: 30%;
    margin: 1%;
    cursor: pointer; }
    #gifs .card:hover {
      opacity: 1; }
    #gifs .card img {
      width: 100%; }
    #gifs .card .bigImage {
      margin: 0;
      padding: 0;
      height: 200px; }

#load {
  display: none;
  width: 15rem;
  height: 4rem;
  margin: 2rem auto 1rem auto;
  bottom: 0; }

/* FOOTER ###################################### */
#footer {
  width: 100%;
  height: 10rem;
  bottom: 0;
  margin-top: 18rem; }

#btn-container {
  display: flex;
  align-items: center;
  height: 2rem; }

#bottom__text,
#year {
  font-size: 2rem;
  margin: 2rem 0; }

@media only screen and (min-width: 1025px) {
  body {
    margin-bottom: 12rem; }
  /* HEADER ###################################### */
  .button {
    width: 15rem;
    height: 4rem; }
  #banner {
    height: 20rem; }
  .title,
  .titleWord {
    font-size: 4rem; }
  .typed-cursor {
    font-size: 4.5rem; }
  /* MAIN CONTENT ###################################### */
  .main-body {
    margin-top: -5rem; }
  .search-container {
    width: 80rem;
    height: 10rem; }
  .gif-container {
    width: 80rem; }
  #gifs a {
    margin-top: .5em; }
    #gifs a:first-of-type {
      margin-left: 35%;
      margin-right: 20%; }
  /* FOOTER ###################################### */
  #footer {
    position: absolute;
    flex-direction: column;
    overflow: hidden;
    margin-top: 5rem; }
  #btn-container {
    height: 5rem; }
  #bottom__text,
  #year {
    margin: 1rem 0; } }
