@import url(https://fonts.googleapis.com/css?family=Alegreya);
@import url(https://fonts.googleapis.com/css?family=Salsa);
@import url(https://fonts.googleapis.com/css?family=Flavors);
/*--------------------------------------------------*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html, body {
  height: 100%;
}

body {
  padding-top: 3rem;
  background-color: black;
  color: white;
  font-size: 2rem;
  font-family: "Salsa", helvetica;
  text-align: center;
}

.header {
  font-family: "Salsa", helvetica;
  font-size: 2.5rem;
  color: white;
  text-align: center;
}

footer {
  font-family: "Flavors", helvetica;
  font-size: 1rem;
  color: pink;
  opacity: 0.5;
  word-spacing: 0.5rem;
  letter-spacing: 0.3rem;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  margin: 0;
}

.wrapper-inner {
  margin: 50px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

img {
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 10px;
}

.type {
  color: blue;
  cursor: pointer;
}

.type #cent {
  font-family: "Salsa", helvetica;
  font-size: 2.3rem;
}

.con-temp {
  font-size: 3rem;
  font-family: "Salsa", helvetica;
  color: pink;
}

/*******details page**************/
.btn-info {
  cursor: pointer;
}

.details-modal {
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-inner {
  position: relative;
  background: linear-gradient(to bottom, teal 0%, mediumseagreen 100%);
  margin: 10% auto;
  padding: 0px;
  -webkit-box-shadow: 0 0 1.5rem 0 white, 0 0 1.5rem pink;
  -moz-box-shadow: 0 0 1.5rem 0 white, 0 0 1.5rem pink;
  box-shadow: 0 0 1.5rem 0 white, 0 0 1.5rem pink;
  width: 70%;
  height: auto;
  border-radius: 50%;
  animation: modal-animate 0.4s;
}

.modal-inner .modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: wrap;
  font-size: 1.7rem;
  font-family: "Alegreya", helvetica;
  color: #000;
  padding: 1rem;
}

@keyframes modal-animate {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0px;
    opacity: 1;
  }
}
