html {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: #4d4756;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23211f26' fill-opacity='0.69'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

h2 {
  font-family: montserrat;
  text-align: center;
}
h4 {
  font-family: montserrat;
  text-align: center;
  color: blue;
}

.container-btn {
  height: 15vh;
  width: 100%;
  margin-top: 5%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.btn {
  height: 35px;
  width: 160px;
  border-radius: 10px;
  padding: 7px 10x;
  font-size: 16px;
  font-family: montserrat;
  box-shadow: 9px 10px 12px -6px rgba(18, 123, 130, 0.57);
  -webkit-box-shadow: 9px 10px 12px -6px rgba(18, 123, 130, 0.57);
  -moz-box-shadow: 9px 10px 12px -6px rgba(18, 123, 130, 0.57);
  cursor: pointer;
  border: none;
  outline: none;
  color: rgba(0, 0, 0, 0.8);
}
.btn:hover {
  opacity: 0.8;
  color: black;
}

button:hover {
  filter: brightness(110%);
}

button:active {
  transform: translate(0, 0.3rem);
  box-shadow: 0 0.1rem rgba(255, 255, 255, 0.65);
}

.quote-container {
  width: auto;
  height: auto;
  margin: 10% 20%;
  padding: 30px;
  font-family: Kalam;
  font-size: 1.5rem;
  background-color: rgba(255, 255, 255, 0.501);
  box-shadow: 9px 10px 12px -6px rgba(179, 0, 0, 0.57);
  -webkit-box-shadow: 9px 10px 12px -6px rgba(179, 0, 0, 0.57);
  -moz-box-shadow: 9px 10px 12px -6px rgba(179, 0, 0, 0.57);
}
.author {
  margin-left: 80%;
  margin-top: 2rem;
}
.icon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}
.twitter {
  height: 40px;
  font-size: 1.2rem;
  background-color: black;
  color: white;
  width: max-content;
  display: inline-block;
  padding: 0.75rem 1.2rem;
  border-radius: 0.4rem;
  cursor: pointer;
  border: 1px solid white;
  transition: all 400ms ease;
}

.quote {
  height: 40px;
  font-size: 0.9rem;
  font-family: montserrat;
  font-weight: 700;
  color: white;
  background-color: black;

  outline: none;

  width: max-content;
  display: inline-block;
  padding: 0.75rem 1.2rem;
  border-radius: 0.4rem;
  cursor: pointer;
  border: 1px solid white;
  transition: all 400ms ease;
}

.twitter :hover,
.quote:hover {
  color: #38a1f3;
}
button #twittericon {
  position: relative;
  transition: 0.5s;
}

button:hover #twittericon {
  color: #38a1f3;
  transform: rotateY(360deg);
}

#favourite {
  cursor: pointer;
  font-size: 2rem;
  color: rgba(35, 27, 27, 0.849);
}

#favourite:hover {
  color: red;
}

@media screen and (max-width: 1000px) {
  .container-quote {
    font-size: 1.3rem;
  }
  .author {
    margin-top: 1rem;
  }
  .icon {
    margin-top: 1rem;
  }
  .quote {
    font-size: 0.8rem;
  }
}
@media screen and (max-width: 640px) {
  .container-quote {
    font-size: 1.2rem;
  }
  .icon {
    margin-top: 1rem;
  }
  .quote {
    font-size: 0.8rem;
  }
}
@media screen and (max-width: 530px) {
  .container-quote {
    font-size: 1rem;
  }
  .icon {
    margin-top: 1rem;
  }
  .quote {
    font-size: 0.71rem;
  }
}
.loader-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid grey;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
