/* 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;
}

.show-modal {
  outline: none;
  border: none;
  cursor: pointer;
  color: #fff;
  border-radius: 6px;
  font-size: 1.2rem;
  padding: 15px 22px;
  background: #4A98F7;
  transition: 0.3s ease;
  box-shadow: 0 10px 18px rgba(52, 87, 220, 0.18);
}

.show-modal:hover {
  background: #2382f6;
}

.bottom-sheet {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  opacity: 0;
  pointer-events: none;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  transition: 0.1s linear;
}

.bottom-sheet.show {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet .sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background: #000;
}

.bottom-sheet .content {
  width: 100%;
  position: relative;
  background: #fff;
  max-height: 100vh;
  height: 50vh;
  max-width: 1150px;
  padding: 0 25px 30px;
  transform: translateY(100%);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
  transition: 0.3s ease;
}

.darkmode .content {
  background: #333;
  color: #fff;
}

.darkmode .content .body #bottom-sheet-content img{
  filter: invert(1);
}

.bottom-sheet.show .content {
  transform: translateY(0%);
}

.bottom-sheet.dragging .content {
  transition: none;
}

.bottom-sheet.fullscreen .content {
  border-radius: 0;
  overflow-y: hidden;
}

.bottom-sheet .header {
  cursor: grab;
  display: flex;
  justify-content: center;
}

.drag-header {
  padding-top: 15px;
  padding-bottom: 10px;
}

.header .drag-icon {
  user-select: none;
  padding: 15px;
  margin-top: -15px;
}

.header .drag-icon span {
  height: 8px;
  width: 40px;
  display: block;
  background: #C7D0E1;
  border-radius: 50px;
}

@media (max-width: 1000px) {
  .header .drag-icon span {
    height: 15px;
    width: 75px;
  }
}

.bottom-sheet .body {
  height: 100%;
  overflow-y: auto;
  padding: 0 0 40px;
  scrollbar-width: none;
}

.bottom-sheet .body::-webkit-scrollbar {
  width: 0;
}

#bottom-sheet-content {
  height: 100%;
}

#bottom-sheet-content h1 {
  font-size: 25px;
  display: inline-block;
  vertical-align: middle;
}

#bottom-sheet-content img {
  width: 20px;
  vertical-align: middle;
  height: auto;
  cursor: pointer;
  margin-left: 5px;
}

#bottom-sheet-content p,
ul {
  margin-top: 20px;
  font-size: 18px;
}

@media (max-width: 1000px) {
  #bottom-sheet-content h1 {
    font-size: 50px;
  }

  #bottom-sheet-content img {
    width: 45px;
    height: auto;
    cursor: pointer;
  }
  
  #bottom-sheet-content p,
  ul {
    margin-top: 20px;
    font-size: 35px;
  }

  .bottom-sheet .header {
    padding: 25px 0 5px 0;
  }

  .bottom-sheet .content {
    padding: 0 30px 25px 30px;
  }
}