html {
  height: 100%;
  font-size: 16px;
}

body {
  height: 100%;
  background-color: rgb(33, 33, 33);
  padding-top: 56px;
}

.my-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.message-container {
  width: 100%;
  flex: 1;
  overflow: auto;
}

/* set scrollbar width */
.message-container::-webkit-scrollbar {
  width: 12px;
}

.message-container::-webkit-scrollbar-track {
  background: rgb(33, 33, 33);
}

.message-container::-webkit-scrollbar-thumb {
  background: rgba(28, 28, 28);
  border-radius: 6px;
}

.avatar {
  height: 50px;
  width: 50px;
}

.user-text {
  border-radius: 10px;
  margin-left: 80px;
  white-space: pre-wrap;
  overflow: auto;
}

.send-image {
  border-radius: 10px;
}

.bot-text {
  border-radius: 10px;
  margin-right: 80px;
  white-space: pre-wrap;
  overflow: auto;
}

.my-placeholder {
  height: 45px;
  width: 150px;
}

.paperclip-icon {
  border-radius: 15px 0 0 15px;
}

.paperclip-icon i {
  color: rgb(170, 170, 170);
  font-size: 20px;
}

.paperclip-icon i:hover {
  color: rgb(220, 220, 220);
  cursor: pointer;
}

.my-textarea {
  background-color: rgb(23, 23, 23) !important;
  border: 0;
  color: rgb(220, 220, 220) !important;
  overflow: hidden;
  max-height: 40vh;
  resize: none;
  border-radius: 0;
  padding-left: 0;
}

.my-textarea::placeholder {
  color: rgb(170, 170, 170);
}

.my-textarea:hover {
  box-shadow: none;
}

.my-textarea:focus {
  box-shadow: none;
}

.my-button-x {
  color: rgb(170, 170, 170);
  width: 110px;
  border-radius: 0px 15px 15px 0;
  border-left: 1px solid rgb(13, 13, 13);
}

.my-button-x i {
  font-size: 18px;
}

.my-button-x:hover {
  color: rgb(220, 220, 220);
  background-color: rgb(18, 18, 18);
}

.hover-logo:hover {
  filter: brightness(0) saturate(100%) invert(100%) sepia(1%) saturate(6310%)
    hue-rotate(288deg) brightness(116%) contrast(65%);
}

.hover-grey:hover {
  color: grey !important;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.hover-zoom {
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}

.hover-zoom img {
  transition: 0.4s ease-in-out;
}

.hover-zoom img:hover {
  transform: scale(1.1);
}

.image-textarea {
  max-height: 200px;
  background-color: rgb(23, 23, 23) !important;
  border: 0;
  color: rgb(180, 180, 180) !important;
  padding: 8px 10px;
}

.image-textarea::placeholder {
  color: rgb(180, 180, 180);
  font-size: 14px;
}

.image-textarea:focus {
  box-shadow: none;
}

#button-generate {
  padding-left: 30px;
  padding-right: 30px;
}

.gutter-sizer {
  width: 10px;
}

.grid-item {
  margin-bottom: 10px;
}

.original-image-box:hover .delete-icon,
.reference-image-box:hover .delete-icon {
  display: block;
}

.delete-icon {
  position: absolute;
  top: 5px;
  right: 10px;
  display: none;
  background-color: rgb(33, 33, 33);
  border-radius: 4px;
  padding: 1px 5px;
}

.hidden {
  display: none;
}

.hover-show-text {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}

.caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
}

.hover-show-text:hover .caption {
  opacity: 1;
}

.image-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.image-unit {
  background-color: rgb(23, 23, 23);
  border-radius: 10px;
  margin-bottom: 16px;
}

.image-loader {
  width: 48px;
  height: 48px;
  border: 5px solid rgb(100, 100, 100);
  border-top: 5px solid rgb(200, 200, 200);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

.language-box {
  font-size: 12px;
  text-align: start;
  margin-left: 12px;
}

.my-hover-white:hover {
  color: rgb(220, 220, 220) !important;
}

.my-button {
  color: rgb(220, 220, 220);
  background-color: rgb(50, 50, 50);
}

.my-button-hover:hover {
  color: rgb(200, 200, 200);
  background-color: rgb(20, 20, 20);
}

.my-bg-black {
  background-color: rgb(23, 23, 23);
}

.my-bg-grey {
  background-color: rgb(33, 33, 33);
}

.my-color-white {
  color: rgb(220, 220, 220);
}

.my-color-offwhite {
  color: #d4d4d4;
}

.my-bg-offblack {
  background-color: rgb(47, 47, 47);
}

.my-color-grey {
  color: rgb(170, 170, 170);
}

.my-fs-14 {
  font-size: 14px;
}

.my-fs-12 {
  font-size: 12px;
}

.upload-image-text {
  font-size: 14px;
}

.profile-image {
  width: 100px;
  height: auto;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
}

.my-border-color {
  border-color: rgb(170, 170, 170) !important;
}

.my-hover-cursor {
  cursor: pointer;
}

.my-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-toggle {
  color: rgb(220, 220, 220);
}

.btn-toggle:hover,
.btn-toggle:focus {
  color: rgb(220, 220, 220);
  background-color: rgb(53, 53, 53);
}

.sidebar-container {
  width: 224px;
  height: calc(100vh - 56px);
  overflow-y: auto;
  position: fixed;
  background-color: rgb(23, 23, 23);
}

.content-container {
  width: calc(100% - 224px);
  margin-left: 224px;
}

.sidebar-container::-webkit-scrollbar {
  width: 8px;
}

.sidebar-container::-webkit-scrollbar-track {
  background: rgb(33, 33, 33);
}

.sidebar-container::-webkit-scrollbar-thumb {
  background: rgb(43, 43, 43);
  border-radius: 4px;
}

.upload-image-box {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.original-image-box,
.reference-image-box {
  width: 312px;
  height: 208px;
}

.nav-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 250px;
  height: 100vh;
  padding-top: 10px;
  z-index: 50;
  background-color: #171717;
  box-shadow: 10px 0 10px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: 0.7s ease-out;
}

.side-link {
  color: #f8f9fa;
  width: 100%;
  display: block;
  padding: 4px 20px;
  text-decoration: none;
}

.menu-button {
  display: none;
  font-size: 24px;
  line-height: 32px;
  color: rgb(200, 200, 200);
  transition: 0.7s ease all;
}

.rotate-180 {
  transform: rotate(180deg);
}

.modal-header,
.modal-footer {
  border-color: rgb(23, 23, 23);
}

.my-close-button {
  color: rgb(220, 220, 220);
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  padding-left: 16px;
}

.modal-body {
  padding: 0 16px;
}

.twentytwenty-container {
  margin: auto;
}

.twentytwenty-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.options-container {
  display: grid;
  gap: 16px;
}

.four-two-columns {
  grid-template-columns: repeat(4, 1fr);
}

.two-columns {
  grid-template-columns: repeat(2, 1fr);
}

.login-container {
  color: rgb(220, 220, 220);
  max-width: 600px;
  margin: 100px auto;
  padding: 20px 24px;
  overflow: hidden;
  border-radius: 16px;
  background-color: rgb(23, 23, 23);
}

.login-container input {
  background-color: rgb(33, 33, 33);
  border: 0;
  color: rgb(220, 220, 220);
  overflow: hidden;
  border-radius: 4px;
  padding: 8px 12px;
}

.login-container input:focus {
  color: rgb(220, 220, 220);
  box-shadow: none;
  background-color: rgb(33, 33, 33);
}

.login-container .form-text {
  color: rgb(170, 170, 170);
  font-size: 12px;
}

.login-button {
  color: rgb(220, 220, 220);
  padding: 7px 27px;
}

.grid-sizer,
.grid-item {
  width: calc((100% - 40px) / 5);
}

@media (max-width: 992px) {
  .grid-sizer,
  .grid-item {
    width: calc((100% - 30px) / 4);
  }

  .nav-link {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .sidebar-container {
    display: none;
  }

  .content-container {
    width: 100%;
    margin-left: 0;
  }

  .btn-toggle {
    font-size: 14px;
  }

  .form-label,
  .form-select {
    font-size: 14px;
  }

  .original-image-box,
  .reference-image-box {
    width: 276px;
    height: 184px;
  }

  /* .aspect-ratio-box {
    width: calc((100% - 16px)/2);
  } */
}

@media (max-width: 768px) {
  .grid-sizer,
  .grid-item {
    width: calc((100% - 20px) / 3);
  }

  .original-image-box,
  .reference-image-box {
    width: 255px;
    height: 170px;
  }

  .four-two-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .grid-sizer,
  .grid-item {
    width: calc((100% - 10px) / 2);
  }

  .original-image-box,
  .reference-image-box {
    width: 162px;
    height: 108px;
  }

  .upload-image-text {
    font-size: 12px;
  }

  .form-label,
  .form-select {
    font-size: 12px;
  }
}
