
/* BODY  */

:root {
  --font-1: 3.5rem;
  --font-2: 2.5rem;
  --font-3: 1.5rem;
  --mainFont: aktiv-grotesk, sans-serif;
}

body {
  font-weight: 400;
  overflow-x: hidden;
  margin: 0;
  padding: 0 0px;
  font-family: var(--mainFont);
  left: 0;
  line-height: 1.2;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: rgb(203, 255, 247);
}

body::-webkit-scrollbar {
  display: none;
}

body.open {
  overflow: hidden;
}

::selection {
  background: #ceff00; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #ceff00; /* Gecko Browsers */
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 400;
  padding: 0;
  margin: 0;
}

h1 {
  font-size: var(--font-1);
}
h2 {
  font-size: var(--font-2);
}
p {
  padding: 0;
  margin: 0;
}

a {
  color: currentColor;
  text-decoration: none;
  outline: 0;
}

main {
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.wrapper,
img,
figure {
  width: 70vw;
}

img,
figure {
  max-width: 100%;
}
/* LOADER */

#loader-overlay {
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  position: fixed;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 1;
  pointer-events: none;
}

/* header */

header {
  margin: 0 0px;
  display: flex;
  flex-direction: row;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  margin: 0 0 40px 0px;
}

/* blocks */

.block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.block p {
  font-size: var(--font-3);
}
figure ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

figure {
  margin: 0;
  padding: 0;
}

/* realtime comments */

.realtime-wrapper,
.row {
  padding: 5px;
  min-width: 10px;
  max-width: 300px;
  min-height: 10px;
  position: absolute;
  background-color: rgb(236, 245, 160);
  border: 1px solid black;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
}
.realtime-comment {
  width: 200px;
  height: 80px;
  background-color: white;
  border: 1px solid black;
  position: relative;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 1000;
  border: 0px;
}
.sendbutton,
.deletebutton {
  cursor: pointer;
  color: white;
  width: 200px;
  height: 20px;
  z-index: 10000;
  top: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}
.sendbutton {
  background-color: black;
}

.deletebutton{
  background-color: red;
}

/* RESPONSIVE */
@media only screen and (min-width: 1600px) {
  .wrapper,
  img,
  figure {
    width: 60vw;
  }
}
@media only screen and (max-width: 1599px) {
  .wrapper,
  img,
  figure {
    width: 80vw;
  }
}
@media only screen and (max-width: 1200px) {
  .wrapper,
  img,
  figure {
    width: 90vw;
  }
}
@media only screen and (max-width: 800px) {
  :root {
    --font-1: 1.7rem;
    --font-2: 1.3rem;
    --font-3: 1rem;
    --mainFont: aktiv-grotesk, sans-serif;
  }
}

.btn-style {
  width: 100%;
  text-align: center;
  font-size: 16px;
}

button.btn {
  content: "x";
}

.btn-remove.active::before {
  content: "delete comment";
}
.btn-remove.active {
  margin: 10px 0 0 0;
  display: block;
  background-color: rgb(156, 117, 117);
  cursor: pointer;
  width: auto;
  height: auto;
  padding: 7px 10px;
  border-radius: 25px;
  font-size: 12px;
  text-align: center;
}

.row {
  position: absolute;
}

.hidden {
  display: none;
}

#result-box {
  display: none;
}

#login-section {
  background-color: #ceff00;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 10px;
}

#login-section input {
  width: 20vw;
  margin: 5px 0;
  padding: 5px;
  border: 0px;
}

#login-buttons button,
#logout-btn {
  margin: 5px 0;
  padding: 5px;
  background-color: black;
  color: white;
  border: 0px;
  outline: 0px;
  width: calc(20vw + 10px);
  cursor: pointer;
}

#logout {
  display: none;
}

.draggable {
  cursor: move; /* fallback if grab cursor is unsupported */
}
