@font-face {
  font-family: boldFont;
  src: url(Play-Bold.ttf);
}

@font-face {
  font-family: regularFont;
  src: url(Play-Regular.ttf);
}

:root {
    --color: #282621;
    --accent-color: #f7a61f;
    --white: #fff4dd;
    --background: #ffecca;
    --really-trans-white: #fefefe16;
    --boldFont: boldFont;
    --regularFont: regularFont;
    --border: #cb6d08;
    --icon-size: 28px;
    --light-red: #ff4c4c;
    --dark-red: #bd0000;
}

#message {
  color: red;
  text-align: center;
  font-style: italic;
}

html {
  color-scheme: light;
}

body {
  font-family: var(--boldFont);

  color: var(--color);
  background-color: var(--background);
}

#login_body {
  background-image: url('login3.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: 50% 0%;
}

p, li {
  font-family: var(--regularFont);
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  overflow-wrap: break-word;
}

input,
textarea,
button {
  font-size: 16px;
}

input {
  box-sizing: border-box;

  height: 6vh;
  min-height: 40px;
  width: 100%;
  max-width: 400px;
  padding-left: 8px;

  border-radius: 15px;
  border-width: 3px;
  border-color: var(--border);
  border-style: solid;
  background-color: var(--accent-color);
  
  font-family: var(--boldFont);
  color: var(--color);
}

textarea {
  box-sizing: border-box;

  height: calc(6vh*2);
  min-height: 80px;
  width: 100%;
  max-width: 400px;
  padding-left: 8px;
  padding-top: 5px;

  border-radius: 15px;
  border-width: 3px;
  border-color: var(--border);
  border-style: solid;
  background-color: var(--accent-color);
  
  font-family: var(--boldFont);
  color: var(--color);

  resize: none;
}

::placeholder {
  color: var(--border);
  opacity: 1;
}

input[type="file"] {
  color: transparent;
}

input[type=file]::file-selector-button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--boldFont);
  color: var(--border);
  display: none;
}

button {
  border-radius: 10px;
  border-color: var(--border);
  color: var(--border);
  background-color: var(--accent-color);
  border-width: 0 0 7px 0;
  border-style: solid;
  font-family: var(--boldFont);

  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
}

.floating_button {
  width: 45px;
  height: 45px;

  border-radius: 10px;
  border-width: 0;

  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
}

.big_floating_button {
  width: 70px;
  height: 70px;
  border-radius: 20px;
}

.form_button {
  height: 40px;
  width: 100%;
  max-width: 400px;
}

.important {
  color: var(--dark-red);
  background-color: var(--light-red);
  border-color: var(--dark-red);
}

.vertical_center {
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.horizontal_center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile_float {
  position: fixed;
  bottom: 0px;
  left: 0px;
  right: 0px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-top: -15px;
  
  background-color: var(--white);
  border-radius: 20px 20px 0 0;
  border-color: var(--accent-color);
  border-width: 7px 7px 0 7px;
  border-style: solid;

  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);

  display: flex;
  justify-content: center;
}

.desktop_float {
  position: fixed;
  left: 0;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-top: -5px;

  background-color: var(--white);
  border-radius: 0 20px 20px 0;
  border-color: var(--accent-color);
  border-width: 7px 7px 7px 0;
  border-style: solid;

  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.wrap {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  padding-bottom: 0px;
}

.icon {
  width: var(--icon-size);
  height: var(--icon-size);
  padding-left: 4px;
  padding-right: 8px;
}

.only_icon {
  width: var(--icon-size);
  height: var(--icon-size);
  padding: 4px;
  padding-bottom: 0px;
}

.big_icon {
  width: calc(var(--icon-size)*1.5);
  height: calc(var(--icon-size)*1.5);
}

.code_inputs {
  display: flex;
  gap: 5px;
  flex: 1;
}

.code_inputs input {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  text-align: center;
  margin-bottom: 0;
  padding-left: 0;
}

.sub {
  margin-top: -22px;
  margin-bottom: 3px;
}

form div {
  margin: 7px 0px;
}

.float_bottom_left {
  position: fixed;
  right: 0;
  bottom: -7px;
  padding-right: 5px;
  font-size: 10px;
  color: var(--really-trans-white);
}

.float_top_right {
  position: fixed;
  right: 0;
  top: -7px;
  padding-right: 5px;
  font-size: 8px;
  color: var(--really-trans-white);
}

.marquee {
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  font-family: var(--boldFont);
  font-size: 14vh;
  font-weight: bolder;
  color: var(--accent-color);

  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  text-rendering: optimizeSpeed;
  contain: layout paint;
}

.mobile_mq {
  font-size: 18vw;
}

.marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 30s linear infinite;

  will-change: transform;
}

.marquee2 span {
  animation-delay: -15s;
}

.scroll2 .marquee span {
  animation: marquee-reverse 30s linear infinite;
}

.scroll2 .marquee2 span {
  animation-delay: -15s;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes marquee-reverse {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

#desktop_scroll1 {
  position: fixed;
  top: 3vh;
  left: 0;
}

#desktop_scroll2 {
  position: fixed;
  bottom: 24vh;
  left: 0;
}

#mobile_scroll1 {
  position: fixed;
  left: 0;
  top: 2vh;
}

#mobile_scroll2 {
  position: fixed;
  left: 0;
  top: 13vh;
}

.dark {
  color: var(--border);
}

#desktop_suggestion {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;

  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-top: -5px;

  background-color: var(--white);
  border-radius: 20px 0 0 20px;
  border-color: var(--accent-color);
  border-width: 7px 0 7px 7px;
  border-style: solid;

  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  width: 300px;
  max-width: 70%;

  overflow: auto;
  z-index: 10000;
}

#suggestions_con {
  overflow: auto;
}

.desktop_suggestions {
  width: calc(100% - 300px - 20px - 20px - 6px);
}

.hidden {
  display: none;
}

#image_preview {
  max-height: 40vh;
  max-width: 100%;
  border-radius: 20px;
}

#preview {
  max-height: 40vh;
  max-width: 100%;
}

.replacement_label {
  position: absolute;
  left: calc(var(--icon-size) + 45px);
  font-family: var(--boldFont);
  font-style: normal;
  font-size: minmax(16px,2.5vh);
  color: var(--border);
}

.top_right_button {
  position: absolute;
  top: 10px;
  right: 10px;
}

.bottom_right_button {
  position: fixed;
  bottom: 10px;
  right: 10px;
}

.relative {
  position: relative;
  display: inline-block;
}

.popup_background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-width: 0;
  border-radius: 0;
  background-color: #00000095;
  z-index: 9999;
  pointer-events: auto;
}

.prevent_scroll {
  overflow: hidden;
}

.suggestion {
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;

  background-color: var(--white);
  border-radius: 20px;
  border-color: var(--accent-color);
  border-width: 7px;
  border-style: solid;

  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);

  margin-bottom: 7px;
  display: flex;
  min-height: 120px;
}

.suggestion_image {
  width: 170px;
  max-width: 24%;
  height: fit-content;
  border-radius: 10px;
  margin-right: 20px;
  margin-top: 10px;
}

.flex_full {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
}

.button_con {
  min-height: 43px;
  margin-top: auto;
  padding-top: 10px;
}

.like_buttons {
  position: absolute;
  height: 43px;
  right: 0;
  bottom: 0;
}

.other_buttons {
  position: absolute;
  height: 43px;
  left: 0;
  bottom: 0;
}

.edit_button {
  position: absolute;
  right: 0;
  top: 10px;
}

.like_button {
  border-width: 0;
  height: 43px;
  width: 43px;
  padding: 4px;
}

.liked_like_button {
  background-color: var(--border);
  border-width: 4px;
  padding: 0px;
  border-color: var(--accent-color);
}

.disabled_button {
  background-color: #473d274a;
}

.like_count {
  display: inline-block;
  width: 100px;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  vertical-align:top;
  padding: 0;
  padding-top: 7px;
  margin: 0;
}

#image_show_background {
  z-index: 10001;
}

#image_show {
  position: fixed;
  top: 30px;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 10002;
}

#image_show_image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

li {
  margin-left: 30px;
}

.rules_con {
  max-width: 650px;
  margin-left: 10px;
  margin-right: 10px;
}