* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Gilroy", sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
}

#main {
  height: 100%;
  width: 100%;
  background-color: rgb(168, 230, 186);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

#panel1 {
  width: 100%;
  max-width: 600px;
  height: 90%;
  max-height: 800px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#ptop {
  width: 100%;
  background-color: rgb(96, 153, 96);
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.elem {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 5px;
}

.elem h2 {
  font-size: 16px;
  font-weight: 500;
}

.box {
  padding: 6px 12px;
  background-color: #fff;
  color: green;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
}

#pbottom {
  flex: 1;
  width: 100%;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}

.bubble {
  height: 40px;
  width: 40px;
  background-color: rgb(32, 134, 64);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.bubble:hover {
  background-color: rgb(38, 79, 38);
}

/* Medium Devices */
@media (max-width: 768px) {
  .bubble {
    height: 35px;
    width: 35px;
    font-size: 14px;
  }

  .elem h2 {
    font-size: 14px;
  }

  .box {
    font-size: 14px;
    padding: 5px 10px;
  }
}

/* Small Devices */
@media (max-width: 480px) {
  #ptop {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }

  .elem {
    justify-content: space-between;
    width: 100%;
  }

  .bubble {
    height: 30px;
    width: 30px;
    font-size: 12px;
  }

  .box {
    font-size: 13px;
    padding: 5px 8px;
  }
}
