@font-face {
  font-family: site_font;
  src: url(/assets/fonts/site-font.otf);
}

@font-face {
  font-family: titles_font;
  src: url(/assets/fonts/titles-font.ttf);
}

* {
  font-family: site_font;
}

body {
  background-color: gainsboro;
  min-width: fit-content;
}


table {
  border-radius: 5px;
  box-shadow: 2px 2px 1px 1px rgba(0, 0, 0, .2);
}

hr {
  margin: 2rem;
}

input,
textarea {
  text-align: center;
}

.warning {
  color: orange;
}

.error {
  color: red;
}

.success {
  color: green;
}

.clickable {
  cursor: pointer;
  user-select: none;
}

.main-container {
  position: relative;
  margin: 30px auto;
  background-color: rgb(245, 245, 245);
  border-radius: 5px;
  box-shadow: 2px 5px 10px 1px rgba(0, 0, 0, .2);
}

.title {
  color: rgb(245, 245, 245);
  font-family: titles_font;
  max-width: fit-content;
  padding: 10px 30px;
  background-color: rgb(39, 39, 39);
  margin: auto;
  margin-bottom: 15px;
  border-radius: 50px;
  box-shadow: 2px 5px 10px 1px rgba(0, 0, 0, .2);
}

.side-title {
  color: rgb(245, 245, 245);
  font-family: titles_font;
  max-width: fit-content;
  padding: 5px 10px;
  background-color: rgb(39, 39, 39);
  border-radius: 5px;
  box-shadow: 2px 5px 10px 1px rgba(0, 0, 0, .2);
}

.empty {
  margin: auto;
  margin-bottom: 50px;
  text-align: center;
  color: rgb(245, 245, 245);
  font-family: titles_font;
  max-width: fit-content;
  padding: 15px 30px;
  background-color: rgba(39, 39, 39, 0.5);
  border-radius: 5px;
  box-shadow: 2px 5px 10px 1px rgba(0, 0, 0, .2);
}

.dest-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background-color: white;
  border-radius: 25%;
  max-width: 100px;
  min-width: 100px;
  max-height: 100px;
  min-height: 100px;
  margin: 10px;
  box-shadow: 2px 2px 3px 1px rgba(39, 39, 39, 0.5);
  transition: all .2s ease-in-out;
}

.dest-card:hover {
  scale: 1.27 1.27;
  background-color: #6685ff;
  transition: all .2s ease-in-out;
}

.dest-card.active {
  background-color: #6685ff;
}

.cards-tray {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.card-title {
  color: rgb(245, 245, 245);
  font-family: titles_font;
  font-size: .7rem;
  max-width: fit-content;
  padding: 3px 5px;
  background-color: rgb(39, 39, 39);
  border-radius: 3px;
}

.home-pic {
  max-width: 800px;
  align-self: center;
  margin: auto;
}


.card-image {
  width: 50px;
  margin-bottom: 5px;
}

.pages-row {
  overflow: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: fit-content;
  margin: 5px auto;
  padding: 10px;
  justify-content: center;
}

.upper-right {
  position: absolute;
  top: -20px;
  right: -20px;
  box-shadow: 2px 2px 3px 1px rgba(39, 39, 39, 0.5);
  padding: 10px;
  border-radius: 50%;
}

.dock {
  position: fixed;
  box-shadow: -3px 3px 4px 2px rgba(39, 39, 39, 0.5);
  border-radius: 10px;
  padding: 10px;
  right: -180px;
  top: 50%;
  translate: 0 -50%;
  max-height: 80vh;
  width: 200px;
  z-index: 1000;
  overflow: scroll;
  transition: right .1s ease-in-out;
}

.dock:hover {
  right: -25px;
  transition: right .1s ease-in-out;
}


.side-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 2px 2px 3px 1px rgba(0, 0, 0, 0.2);
}

.newbtn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 2px 2px 3px 1px rgba(39, 39, 39, 0.5);
}

.my-modal {
  position: fixed;
  z-index: 99999;
  background-color: rgba(0, 0, 0, .95);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  box-sizing: content-box;
}

.modal-box {
  position: relative;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  min-width: 50%;
  max-width: 80%;
  max-height: 95vh;
}

.scrollable {
  max-height: 65vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.add-btn {
  width: 37px;
  height: 37px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  box-shadow: 1px 1px 3px 1px rgba(39, 39, 39, 0.1);
}

.ghost {
  visibility: hidden;
  opacity: 0;
  translate: 0 -100%;
  transition: all .05s ease-in-out;
}

.ghost-up {
  visibility: visible;
  opacity: 1;
  translate: 0 0;
  transition: all .05s ease-in-out;
}

.dialog-out {
  visibility: hidden;
  opacity: 0;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  transition: all .2s ease-in-out
}

.dialog-in {
  visibility: visible;
  top: 0;
  left: 0;
  opacity: 1;
  width: 100vw;
  height: 100vh;
  transition: all .2s ease-in-out
}

.amr {
  position: fixed;
  bottom: 0px;
  right: 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.amr>label {
  font-size: 20px;
  color: white;
  background-color: rgba(0, 0, 0, .7);
  border-radius: 20px;
  padding: 0 10px;
  opacity: 0;
  translate: 0 30px;
  transition: all .2s ease-in-out;
}

.amr:hover>label {
  opacity: 1;
  translate: 0 0;
  transition: all .2s ease-in-out;
}

.w-fit{
    max-width: fit-content;
}

.img-box{
    position: relative;
    min-height: 300px;
    max-height: 300px;
    min-width: 400px;
    max-width: 400px;
    padding: 2px;
    background-image: url('/assets/images/no-image.png');
    background-size: contain;
}

.img-box img{
    width:100%;
    height:100%;
    object-fit: contain
}
.indicator{
    scale: 1;
    transition: scale .3s ease-in-out;
}
.indicator.active{
    scale: 2;
    transition: scale .3s ease-in-out;
}
