@font-face {
  font-family: "Pil Kahol";
  src: url(FtPilKahol2.woff2);
  font-style: normal;
  font-weight: 500;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
:root {
  --black: #000000;
  --white: #ffffff;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
}
img {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
}

body {
  background-color: var(--backgrond);
  color: var(--black);
  font-size: 18px;
  line-height: 1.5;
  font-family: "Noto Sans Hebrew", sans-serif;
  direction: rtl;
}
.content {
  height: 100vh;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-size: cover;
}
.content.new {
  background: url(bg1.webp);
  background-position: center;
  background-size: cover;
}
.content p {
  max-width: 480px;
  font-family: "Pil Kahol";
  font-size: 26px;
}
#canvas {
  position: absolute;
  max-width: 100%;
  overflow: hidden;
}
.nav {
  position: absolute;
  top: 0;
  left: 0;
  padding: 16px;
  display: flex;
  gap: 8px;
}
.nav span {
  cursor: pointer;
  background-color: #fff;
  padding: 0px 8px;
  border-radius: 8px;
  font-size: 16px;
}
.add-new {
  display: none;
  position: absolute;
  top: 16px;
  left: 16px;
  cursor: pointer;
  background-color: #fff;
  padding: 0px 8px;
  border-radius: 8px;
  font-size: 16px;
}

.invitation-dialog::backdrop {
  background-color: black;
  opacity: 0.5;
}
.invitation-dialog {
  margin: 10% auto;
  width: 80%;
  max-width: 400px;
  background-color: #fff;
  padding: 32px;
  border: 0;
  border-radius: 5px;
}
.invitation-dialog > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.invitation-dialog .close {
  position: absolute;
  left: 8px;
  top: 8px;
  cursor: pointer;
}
h6 {
  text-align: center;
}
.link {
  font-size: 14px;
  direction: ltr;
}
.images {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.images img {
  width: 100px;
  border-radius: 8px;
  cursor: pointer;
}
