@import url('flex.css');

@font-face {
  font-family: 'Montserratt';
  src: url('../fonts/Montserratt.ttf');
  font-display: swap;
}

html {
  display: flex;
  flex-direction: column;
  height: 100%;

  --angle: 0;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Montserratt;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-image: url('../img/background.webp');
  background-size: cover;
  display: flex;
  flex-direction: column;
  font-size: 22px;
}

.box {
  margin: 10px;
  padding: 10px;
  background-color: rgba(199, 199, 199, 0.21);
  backdrop-filter: blur(2px);
  flex: 1;
}
#main-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  background-color: white;
  margin-top: 350px;

  padding-bottom: 40px;
  margin-bottom: 15px;
  clip-path: polygon(
    0 0,
    100% var(--angle),
    100% 100%,
    0% calc(100% - var(--angle))
  );
}

#editor-textarea {
  border: 1px solid rgb(71, 71, 71);
  padding: 8px;
  margin-top: 5px;
}

button,
input,
select {
  font-size: 20px;
  border: none;
  background-color: #cccccc;
  height: auto;
}
button:hover,
input:hover,
select:hover {
  background-color: #888888;
}
.big-button {
  background-color: #cccccc;
  padding: 8px;
  font-size: 28px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.big-button:hover {
  background-color: #888888;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
}

* {
  transition: 0.3s;
}

.horizontal-nav {
  background-color: #00000032;
  position: fixed;
  top: 0;
  width: 100%;
  margin: 10px 0;
  backdrop-filter: blur(4px);
  z-index: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.horizontal-nav a {
  margin-left: 20px;
  text-decoration: none;
  color: white;
  font-size: 22px;
  display: inline-block;
  padding: 3px 6px 3px 6px;
}

.nav-item-helper div {
  flex-grow: 1;
  width: 0;
  width: 0;
  height: 1px;
  background-color: rgb(255, 255, 255);
  margin-left: auto;
  margin-right: auto;
}

.horizontal-nav a:hover .nav-item-helper div {
  width: 100%;
}
.bold {
  font-weight: 600;
}

footer {
  background-color: rgba(199, 199, 199, 0.21);
  backdrop-filter: blur(2px);
  text-align: center;
  padding: 20px;
  /* clip-path: polygon(0 0, 100% var(--angle), 100% 100%, 0% 100%);*/
  margin-top: auto;
}

#cookies-info {
  font-size: 12px;
}
#creator-info {
  font-size: 14px;
}

#slider {
  width: 100%;
  aspect-ratio: 4;
  background-image: url('../img/slider/2.jpg');
  background-size: cover;
}

#map {
  height: 400px;
  /* The height is 400 pixels */
  width: 100%;
  /* The width is the width of the web page */
}

#logo {
  margin: 20px auto 10px auto;
  width: 100%;
  text-align: center;
  font-size: 50px;

  backdrop-filter: blur(2px);
  padding: 5px 10px 5px 10px;
}

.box[data-size='full'] {
  clip-path: polygon(
    0 0,
    100% var(--angle),
    100% 100%,
    0% calc(100% - var(--angle))
  );
  padding-top: 20px;
  padding-bottom: 60px;
}

.box[data-type='image'] {
  padding: 0;
}

.content-img {
  width: 100%;
  background-size: cover;
}

.content-img img {
  width: 100%;
}

#editor-notify {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 3;
  max-width: 400px;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
}
#editor-notify div {
  background-color: #006b0e7a;
  backdrop-filter: blur(3px);
  padding: 8px;
}


@media screen and (max-width: 700px) {
  .horizontal-nav {
    flex-direction: column;
    height: 30px;
  }
  #menu-switcher {
    display: initial !important;
  }
}

#menu-switcher {
  align-items: center;
  width: 100%;
  flex: 0 0 30px;
  text-align: center;
  user-select: none;
  color: white;
  display: none;
}