/* Import Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #E3F2FD;
}
header {
  text-align: center;
}
header h1 {
  font-size: 2rem;
}
header p {
  font-size: 1.3rem;
  margin-top: 10px;
}
.popup {
  position: absolute;
  left: 50%;
  top: -25%;
  opacity: 0;
  width: 490px;
  display: flex;
  background: #fff;
  border-radius: 5px;
  pointer-events: none;
  padding: 13px 17px 20px;
  transform: translateX(-50%);
  border-top: 3px solid #EA4D67;
  box-shadow: 0 10px 25px rgba(52,87,220,0.1);
  transition: all 0.25s ease;
}
.popup.online {
  border-color: #2ECC71;
}
.popup.show {
  top: 0;
  opacity: 1;
  pointer-events: auto;
}
.popup .icon i{
  width: 40px;
  height: 40px;
  display: flex;
  color: #fff;
  margin-right: 15px;
  font-size: 1.2rem;
  border-radius: 50%;
  align-items: center;
  background: #EA4D67;
  justify-content: center;
}
.popup.online .icon i {
  background: #2ECC71;
}
.details .title {
  font-size: 1.2rem;
}
.details .desc {
  color: #474747;
  font-size: 1.04rem;
  margin: 3px 0 10px;
  line-height: 25px;
}
.details .desc b {
  font-weight: 500;
}
.details .reconnect {
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 4px;
  background: #5372F0;
  transition: 0.3s ease;
}
.popup.online .details .reconnect {
  background: #bfbfbf;
  pointer-events: none;
}
.details .reconnect:hover {
  background: #2c52ed;
}

@media screen and (max-width: 550px) {
  header h1 {
    font-size: 1.6rem;
  }
  header p {
    font-size: 1.1rem;
    margin-top: 5px;
  }
  .popup {
    width: 100%;
    padding: 10px 15px 17px;
  }
  .popup .icon i{
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }
  .details .title {
    font-size: 1.1rem;
  }
  .details .desc {
    font-size: 0.95rem;
    line-height: 22px;
  }
  .details .reconnect {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}