
@font-face {
  font-family: "alwaysForever";
  src: url("../fonts/CraftyGirls-Regular.ttf") format("truetype");
}

html {
  font-family: "alwaysForever";
  font-weight:normal;
  font-style:normal;
  color: #ffffff;
  overflow: hidden;
  height: 100%;
}

body {
  display: grid;
  height: 100%;
  width: 100%;
  margin: 0;
  grid-template-rows: 5em auto;
}

input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input[type=number] {
  -moz-appearance: textfield;
}

.centerImageDiv {display: flex; align-content: center; justify-content: center; align-items: center; box-sizing: border-box;}
.centerImageDiv > img {object-fit: cover; width: 100%; min-height: 100%;}
.fillHeight {
  height: 100%;
  height: -webkit-fill-available;
  min-height: -moz-available; /* WebKit-based browsers will ignore this. */
  min-height: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
  min-height: fill-available;
}
.zoom_to_fit:hover {
  background-color: #00000021;
  object-fit: scale-down;
  height: 100%;
  transition: 0.3s;
}

#top_box {
  display: grid;
  grid-template-columns: 10em auto;
  grid-template-rows: 3em;
  margin: 1em;
}

#feed_div {
    overflow: auto;
}
.feed {
    display: flex;
    flex-direction: column;
    padding: 2em;
    align-items: flex-end;
}

.content {
    position: relative;
    padding: 1em;
    z-index: 2;
    background-color: rgba(214, 198, 201, 0.7);
    text-align: center;
    border-radius: 1em;
    margin-bottom: 2em;
    width: -webkit-fill-available;
    width: -moz-available;
}

.navigation_box{
  position:relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;

  margin-left: auto;

  height: -webkit-fill-available;
  height: -moz-available;
  min-width: min-content;
  width: max-content;
  height: 100%;
  min-height: -moz-available; /* WebKit-based browsers will ignore this. */
  min-height: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
  min-height: fill-available;
}

.iframe, .iframe_scaled {
    width: 100%;
    height: 100%;
    border: none;
    background-color: white;
    padding: 0;
    overflow: hidden;
    border-radius: .5em;
}
.iframe_scaled > iframe {
    width: 200%;
    height: 200%;
    border: none;
    zoom: 0.5;
   -moz-transform: scale(0.5);
   -moz-transform-origin: 0 0;
   -o-transform: scale(0.5);
   -o-transform-origin: 0 0;
   -webkit-transform: scale(0.5);
   -webkit-transform-origin: 0 0;
}

.no_scroll_bar::-webkit-scrollbar {
  display: none;
}

.no_scroll_bar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.hidden {filter: brightness(.5);} /*grayscale(1) */
.visible {filter: none;}

.hover_item {opacity: 0; transition: 0.3s;}
.hover_item:hover {opacity: 1;}

.background-image {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: -10;
  background-image: url("../back4.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-filter: blur(10px);
  -moz-filter: blur(10px);
  -o-filter: blur(10px);
  -ms-filter: blur(10px);
  filter: blur(10px);
}

.stateIcon_old {
    position: absolute;
    margin-top: -.5em;
    margin-right: -.5em;
    top: 0px;
    right: 0px;
    width: 1.5em;
    height: 1.5em;
    padding: .1em;
    background-color: #ccabba;
    border-radius: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 2em !important;
}

.stateIcon_outer {
  position: absolute;
  right: -1em;
  top: -1em;
  width: 3em;
  height: 3em;
  background-color: rgb(204, 171, 186);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
.stateIcon {
  font-size: 1.75em !important;
}

p{
  font-family: "alwaysForever";
  font-weight:normal;
  font-style:normal;

  font-size: 3vh;
  text-align: center;
  color: #ffffff;
  z-index: 1;
}

p.small{
  font-size: 1em;
  text-align: center;
}

#login_field {
  position: relative;
}

.numCode {
    width: 1.5em;
    height: 1.5em;
    margin: 0.75em;
    text-align: center;
    font-size: 3em;
    border-radius: .25em;
}

#P_end {
  width: 0px;
  height: 0px;
  opacity: 0;
}

.formBack {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  width: 300px;
  margin: auto;
  padding: 20px;
  margin-bottom: 10px;
}

.hover_text{
  position: absolute;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    top: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.5);
}


@keyframes minimize_person_text {
    0% { padding-left: 5em; transform: translate(0em, 0em); font-size: 1em; color:rgb(204, 171, 186);}
    100% { padding-left: 10em; transform: translate(0em, 4em); font-size: 2em; color:white;}
}
.minimize_person_text{
  animation-duration: 1s;
  animation-name: minimize_person_text;
  animation-play-state: paused;
  animation-timing-function: linear;
  animation-delay: calc(var(--scroll) * -1s);
}
@keyframes minimize_person_greetings {
  0% { opacity: 0; }
  30% { opacity: 0; }
  100% { opacity: 1; }
}
.minimize_person_greetings{
  animation-duration: 1s;
  animation-name: minimize_person_greetings;
  animation-play-state: paused;
  animation-timing-function: ease-in;
  animation-delay: calc(var(--scroll) * -1s);
}
@keyframes minimize_person {
    0% { height: 3em; width: 3em; }
    100% { height: 18em; width: 18em;}
}
.minimize_person{
  animation-duration: 1s;
  animation-name: minimize_person;
  animation-play-state: paused;
  animation-timing-function: linear;
  animation-delay: calc(var(--scroll) * -1s);
}
@keyframes vanishing_text {
  0% { font-size: 0em; opacity: 0;}
  100% { font-size: 1em; opacity: 1;}
}
.vanishing_text{
  overflow: hidden;
  margin-right: .5em;
  animation-duration: 1s;
  animation-name: vanishing_text;
  animation-play-state: paused;
  animation-timing-function: linear;
  animation-delay: calc(var(--scroll) * -1s);
}
