@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
  --main-color: rgb(28, 68, 8);
  --nav-height: 55px;
  --footer-height: 40px;
  --bacground-color: rgb(211, 212, 177);
  --text-color: rgb(255, 255, 255);
  --text-page-color: rgb(0, 0, 0);
  /* --fc-border-color: black; */
  --fc-daygrid-event-dot-width: 15px;
  --fc-listWeek-event-dot-width: 15px;
  --ratio-square: 1 / 1;
  --size: 100%;
  --border-size-2: 4px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

header {
  height: var(--nav-height);
}

body {
  font-family: "Poppins", sans-serif;
  overflow: hidden;
  font-size: 1.2rem;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

header {
  position: sticky;
  top: 0px;
  /* background-color: var(--main-color); */
  width: 100%;
  z-index: 1000;
  background: #0b261b;
  background: linear-gradient(
    180deg,
    rgba(11, 38, 27, 1) 19%,
    rgba(28, 68, 8, 1) 55%
  );
}

.main_container {
  position: relative;
  padding: 25px;
  width: 100%;
  background-color: var(--bacground-color);
  min-height: calc(100dvh - (var(--nav-height) + var(--footer-height)));
  max-height: calc(100dvh - (var(--nav-height) + var(--footer-height)));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.ck-restricted-editing_mode_standard
  ck
  ck-content
  ck-editor__editable
  ck-rounded-corners
  ck-editor__editable_inline
  ck-blurred {
  background-color: var(--bacground-color);
}

.avatar-small {
  border-radius: 0px;
  box-sizing: border-box;
  clip-path: circle();
  display: inline-block;
  height: 200px;
  max-width: 200px;
  transform-origin: 50% 50%;
  vertical-align: middle;
  width: 200px;
}

.block-flex-row-space-around {
  margin-top: 15px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.form-btn {
  height: 3rem;
  font-size: 1rem;
  font-weight: bold;
  color: rgb(255, 255, 255);
  background-color: var(--main-color);
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
}

.form-group {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

#contactform {
  min-width: 30dvw;
}

.team-card {
  width: 20dvw;
}

.spacing {
  margin-top: 25px !important;
}

.overlay_bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(12, 168, 4, 0.2);
}

/* .image-style-align-left{
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
  max-width: 100%;
} */

.image-style-align-left,
.image-style-side {
  float: right;
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: flex-start;
  width: fit-content;
}

.container {
  max-width: 90dvw;
  padding: 0 2rem;
  margin: 0 auto;
  display: flex;
  position: relative;
  justify-content: space-between;
  width: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
}

.nav-btn {
  align-items: center;
  display: flex;
}

.nav-links {
  margin-left: 20px;
  margin-right: 20px;
}

.log-sign {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1.3rem;
  font-size: 0.8rem;
  border: 2px solid #fff;
  border-radius: 2rem;
  margin: 0 0.2rem;
  transition: 0.3s;
}

.btn.solid,
.btn.transparent:hover {
  background-color: #fff;
  color: var(--main-color);
}

.btn.transparent,
.btn.solid:hover {
  background-color: transparent;
  color: #fff;
}

.nav-links > ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-link {
  position: relative;
}

.nav-link > a {
  line-height: 3rem;
  color: #fff;
  padding: 0 0.8rem;
  letter-spacing: 1px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

.nav-link > a > i {
  margin-left: 0.2rem;
}

.nav-link:hover > a {
  transform: scale(1.1);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 10rem;
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: 0.5s;
}

.dropdown ul {
  position: relative;
}

.dropdown-link > a {
  display: flex;
  background-color: #ceece3;
  color: var(--main-color);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  align-items: center;
  justify-content: space-between;
  transition: 0.3s;
  border-radius: 5px;
  border: solid 1px var(--main-color);
}

.dropdown-link:hover > a {
  background-color: var(--main-color);
  color: #fff;
}

.dropdown-link:not(:nth-last-child(2)) {
  border-bottom: 1px solid #efefef;
}

.dropdown-link i {
  transform: rotate(-90deg);
}

.arrow {
  position: absolute;
  width: 11px;
  height: 11px;
  top: -5.5px;
  left: 32px;
  background-color: #fff;
  transform: rotate(45deg);
  cursor: pointer;
  transition: 0.3s;
  z-index: -1;
}

.dropdown-link:first-child:hover ~ .arrow {
  background-color: var(--main-color);
}

.dropdown-link {
  position: relative;
  margin-top: 5px;
}

.dropdown.second {
  top: 0;
  left: 100%;
  padding-left: 0.8rem;
  cursor: pointer;
  transform: translateX(10px);
}

.dropdown.second .arrow {
  top: 10px;
  left: -5.5px;
}

.nav-link:hover > .dropdown,
.dropdown-link:hover > .dropdown {
  transform: translate(0, 0);
  opacity: 1;
  pointer-events: auto;
}

.hamburger-menu-container {
  flex: 1;
  display: none;
  align-items: center;
  justify-content: flex-end;
}

.hamburger-menu {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hamburger-menu div {
  width: 1.6rem;
  height: 3px;
  border-radius: 3px;
  background-color: #fff;
  position: relative;
  z-index: 1001;
  transition: 0.5s;
}

.hamburger-menu div:before,
.hamburger-menu div:after {
  content: "";
  position: absolute;
  width: inherit;
  height: inherit;
  background-color: #fff;
  border-radius: 3px;
  transition: 0.5s;
}

.hamburger-menu div:before {
  transform: translateY(-7px);
}

.hamburger-menu div:after {
  transform: translateY(7px);
}

#check {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  z-index: 90000;
  cursor: pointer;
  opacity: 0;
  display: none;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div {
  background-color: transparent;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:before {
  transform: translateY(0) rotate(-45deg);
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:after {
  transform: translateY(0) rotate(45deg);
}

.navbar-logo {
  cursor: pointer;
  height: var(--nav-height);
}

.fa {
  font-size: 1.2rem;
  margin-right: 3px;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
  columns: 3;
  min-width: 100dvw;
  max-width: 100dvw;
  min-height: var(--footer-height);
  position: absolute;
  bottom: 0;
  color: var(--text-color);
  z-index: 1000;
  background: #0b261b;
  background: linear-gradient(
    0deg,
    rgba(11, 38, 27, 1) 19%,
    rgba(28, 68, 8, 1) 55%
  );
}

.hidden {
  display: none !important;
}

.breadcrumb {
  width: 33dvw;
  justify-content: center;
  text-align: center;
  display: flex;
  flex-direction: row;
}

ul.breadcrumb {
  padding: 10px 16px;
  list-style: none;
}

/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li + li:before {
  padding: 8px;
  color: var(--text-color);
  content: "/\00a0";
}

ul.breadcrumb li a {
  color: var(--text-color);
  text-decoration: none;
}

ul.breadcrumb li a:hover {
  color: #eaee0a;
  text-decoration: underline;
}

.footer {
  width: 33dvw;
  text-align: center;
  justify-content: center;
}

.footerUserInfo {
  align-items: center;
  width: 33dvw;
  justify-content: center;
}

.tooltip2,
.tooltip {
  display: flex;
  position: absolute;
  background: var(--main-color);
  border-radius: 4px;
  padding: 6px 12px;
  font-family: arial;
  font-size: 20px;
  text-shadow: 0px 1px 1px #000;
  color: #eef2ee;
  z-index: 999999;
  opacity: 1;
  border: solid 2px #85c78e;
}

.tooltip:before {
  content: " ";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--main-color);
  position: absolute;
  bottom: -5px;
  left: 5px;
}

#calendar {
  min-width: 95dvw;
  max-width: 95dvw;
  max-height: 80dvh;
  padding: 20px;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  background-color: var(--text-color);
}

#username,
#callsign {
  text-transform: uppercase;
}

._404img {
  display: block;
  max-width: 80dvw;
  height: 60dvh;
  margin-top: 25px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 25px;
}

/* #calendar > div.fc-header-toolbar.fc-toolbar {
  flex-direction: column;
}

#calendar > div.fc-header-toolbar.fc-toolbar > div:nth-child(2) {
  margin-top: 10px;
  margin-bottom: 10px;
} */

/* *************************************************************************************************** */

@keyframes animation {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* END OF CSS NAVIGATION */

table {
  width: 100%;
  padding: 25px;
}

table tr th {
  background-color: var(--main-color);
  color: white;
  text-align: center;
  margin: 20px;
  position: sticky;
  top: 0;
  padding: 15px 2px 15px 2px;
  border-left: solid 1px white;
}

table tr td {
  border: solid 1px var(--main-color);
  text-align: left;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 15px;
  padding-right: 15px;
}

.btn-icon-only {
  text-align: center;
  border-radius: 7px;
  height: 40px;
  background-color: rgb(96, 61, 3);
  color: white;
  height: 30px;
  width: 50px;
}

.modal {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
}

.modal-dialog {
  width: 90vw;
  height: 80vh;
  margin: auto;
  margin-top: 10vh;
  border-radius: 20px;
  border: solid 1px #10395d;
  display: flex;
  flex-direction: column;
}

.modal-header {
  height: 50px;
  background-color: var(--main-color);
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: row;
  align-content: stretch;
  justify-content: space-between;
}

.modal-body {
  height: calc(80vh - 51px);
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px;
  background-color: var(--bacground-color);
  overflow-y: auto;
  border-radius: 0 0 20px 20px;
}

.modal-header .close {
  color: red;
  align-items: flex-end;
  margin-right: 25px;
  font-weight: bold;
  cursor: pointer;
  background: transparent;
  font-size: 2rem;
  border: none;
}

.modal-title {
  margin: auto;
  font-size: 1.8rem;
  color: white;
}

.input_modal {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.save_modal {
  background-color: var(--main-color);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: auto;
}

div.modal-body > form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.avatar {
  border: solid #f5f5f5;
  width: 150px;
  height: 150px;
  border-radius: 25px;
  overflow: hidden;
  margin-right: 20px;
}

/* Form Stuff */

label,
input,
textarea,
progress,
meter {
  display: block;
  font-family: inherit;
  font-size: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5px;
  box-sizing: border-box;
  width: 100%;
  padding: 5px;
  height: 30px;
}

textarea {
  height: 90px;
}

label {
  margin-bottom: 5px;
}

input[type="text"],
input[type="datetime-local"],
input[type="color"],
select {
  box-shadow: inset 1px 1px 3px #cccccc;
  border-radius: 5px;
}

input[type="range"] {
  appearance: none;
  background: red;
  height: 2px;
  padding: 0;
  outline: 1px solid transparent;
}

input[type="color"] {
  border: 0;
  padding: 0;
}

/* input[type="file"] {
  height: 0;
  padding: 0;
  opacity: 0;
} */

label[for="file"] {
  box-shadow: 1px 1px 3px #cccccc;
  background: linear-gradient(to bottom, #eeeeee, #cccccc);
  border: 1px solid darkgrey;
  border-radius: 5px;
  text-align: center;
  line-height: 1.5;
}

label[for="file"]:hover {
  background: linear-gradient(to bottom, white, #dddddd);
}

label[for="file"]:active {
  box-shadow: inset 1px 1px 3px #cccccc;
}

form > div {
  margin-bottom: 20px;
}

.form_container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#checkboxes label {
  float: left;
}

#checkboxes ul {
  margin: 0;
  list-style: none;
  float: left;
}

input:valid {
  border: 2px solid black;
}

/* input:invalid:required {
  background-image: linear-gradient(to right, pink, lightgreen);
} */

p > label,
div > label {
  display: block;
}

input[type="checkbox"] {
  appearance: none;
}

input[type="checkbox"] {
  position: relative;
  width: 1em;
  height: 1em;
  border: 1px solid gray;
  /* Adjusts the position of the checkboxes on the text baseline */
  vertical-align: -2px;
  /* Set here so that Windows' High-Contrast Mode can override */
  color: green;
}

input[type="checkbox"]::before {
  content: "✔";
  position: absolute;
  font-size: 1.2em;
  right: -1px;
  top: -0.3em;
  visibility: hidden;
}

input[type="checkbox"]:checked::before {
  /* Use `visibility` instead of `display` to avoid recalculating layout */
  visibility: visible;
}

input[type="checkbox"]:disabled {
  border-color: black;
  background: #dddddd;
  color: gray;
}

.simple-modal-text {
  margin-top: 3px;
  margin-bottom: 3px;
  margin-left: 15px;
  margin-right: 15px;
  font-size: 1.5rem;
}

.tekstMultiline {
  white-space: pre;
  min-width: 320px;
  max-width: 320px;
}

.trv {
  position: absolute;
  top: 15px;
  left: 250px;
  width: 600px;
  padding: 3px;
  fill: var(--main-color);
  stroke: white;
  fill-opacity: 0.6;
  stroke-width: 2px;
  transform: rotate(-5deg);
}

/* index page */
#bottom_wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  fill: var(--main-color);
  fill-opacity: "0.1";
  opacity: 0.8;
}

#wave_2 {
  position: absolute;
  bottom: calc(1% + 10px);
  left: 5px;
  height: 100px;
  stroke-width: 300;
  stroke-linecap: round;
  fill: none;
  fill-rule: nonzero;
  z-index: 10;
}

#trv {
  position: absolute;
  top: 300px;
  left: 200px;
}

#Toffe {
  position: absolute;
  top: 100px;
  left: 20px;
}

.box {
  width: 400px;
  aspect-ratio: 3/1;
  border-radius: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  position: absolute;
  bottom: 20px;
  left: 70dvw;
}

.NewsTitle {
  font-size: 1.5rem;
  color: rgb(4, 66, 79);
}

.box-btn {
  font-size: 1rem;
  font-weight: bold;
  color: rgb(255, 255, 255);
  background-color: rgb(4, 66, 79);
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 15px;
}

@property --deg {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

.box::before,
.box::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: conic-gradient(
    from var(--deg) at center,
    #c3ee06,
    #8ae67e,
    #067e08,
    #043f0e
  );
  border-radius: inherit;
  padding: 2px;
  animation: autoRotate 3s linear infinite;
}

.box::after {
  filter: blur(10px);
  z-index: -1;
}

.content {
  position: relative;
  z-index: 1;
  color: var(--bg-color);
  background-color: var(--bacground-color);
  height: 100%;
  width: 100%;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

@keyframes autoRotate {
  to {
    --deg: 360deg;
  }
}

.simple-modal-title {
  background-color: var(--main-color);
  color: white;
}

.simple-modal-window {
  background-color: var(--bacground-color);
}

.simple-modal-text {
  margin-top: 3px;
  margin-bottom: 3px;
  margin-left: 15px;
  margin-right: 15px;
  display: flex !important;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  white-space: pre;
  align-items: center;
  text-align: center;
}

.simple-modal-close {
  color: red;
}

.fc-list-day-side-text,
.fc-list-day-text {
  color: var(--main-color) !important;
}

.fc-pasa {
  background-color: rgb(236, 236, 8) !important;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

#page_container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#container {
  /* margin: 20px auto; */
  width: 70vw;
}

#fileManager {
  width: 30vw;
}

.ck-editor__editable[role="textbox"] {
  /* editing area */
  min-height: 500px;
}

.ck-content .image {
  /* block images */
  max-width: 80%;
  margin: 20px auto;
}

#container
  > div.ck.ck-reset.ck-editor.ck-rounded-corners
  > div.ck.ck-editor__top.ck-reset_all
  > div
  > div.ck.ck-sticky-panel__content
  > div
  > div
  > div.ck.ck-dropdown.ck-text-fragment-language-dropdown {
  display: none;
}

#imageInput {
  border: none;
}

#preview {
  margin-top: 20px;
  max-width: 800px;
}

.card {
  width: 50vw;
}

.slidecontainer {
  margin-top: 20px;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #04aa6d;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #04aa6d;
  cursor: pointer;
}

div.main_container > main > div > section {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: calc(var(--border-size-2) * 4);

  & h2 {
    width: 100%;
    text-align: center;
  }

  & picture > img {
    object-fit: cover;
    width: 100%;
    height: 350px;
  }
}

/* .popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #06D85F;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
} */

/* .text-right {
  display: flex;
  justify-content: right;
} */

/* .tooltip2,
.tooltip {
  display: flex;
  position: absolute;
  background: #deefe2;
  border-radius: 4px;
  padding: 6px 12px;
  font-family: arial;
  font-size: 20px;
  text-shadow: 0px 1px 1px #000;
  color: #11120c;
  z-index: 999999;
  opacity: 1;
} */

/* .tooltip:before {
  content: " ";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #81ce96;
  position: absolute;
  bottom: -5px;
  left: 5px;
} */

/* TABLET */
/* @media (max-width: 1400px) {
  body {
    font-size: 20px;
    background-color: var(--main-color);
  }

     .main_container {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
    align-items: center;
    max-height: calc(
      100% - ((var(--nav-height) + 35px) + var(--footer-height))
    );
    min-height: calc(
      100% - ((var(--nav-height) + 35px) + var(--footer-height))
    );
  }
  
} */

/* @media (max-width: 1050px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
 }

  .pic_bg {
    max-height: 100dvh;
    max-width: 100dvw;
  }

    
  .footer {
    text-align: center;
    font-size: 15px;
    color: var(--text-color);
  }

    
    
} */

.album {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.blurred {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  opacity: 0.2;
}

.AlbumGallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 30px;

  & button {
    aspect-ratio: var(--ratio-square);
    background-color: var(--main-color);
    height: 350px;
    border-radius: 15px;
    color: white;
    padding: 5px;
  }

  & img {
    aspect-ratio: var(--ratio-square);
    max-inline-size: 100%;
    object-fit: cover;
    width: 100%;
    height: 300px;
    margin-bottom: 10px;
    border-radius: 10px;
  }
}

.imageGallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: calc(var(--border-size-2) * 4);

  & img {
    aspect-ratio: var(--ratio-square);
    max-inline-size: 100%;
    object-fit: cover;
    width: 100%;
    height: 350px;
  }
}

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--size);
  inline-size: 70dvw;
  block-size: 85dvh;
  background-color: var(--bacground-color);
  /* Hide scrollbar */
  overflow: hidden;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  &::-webkit-scrollbar {
    display: none;
  }

  & img {
    margin: auto;
    scale: 1.8;
    overflow: hidden;
    object-fit: contain;
  }
}

.dialog {
  margin: auto;
  .controls {
    inline-size: 70dvw;
    position: fixed;
    bottom: 250px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    animation: var(--animation-fade-in) var(--fade-duration) forwards;
    & button {
      width: 50px;
      height: 50px;
      border-radius: 25px;
      margin: 15px;
    }
  }
}

.closeDialog {
  background-color: rgb(80, 74, 79);
  position: absolute;
  top: 20px;
  right: 50px;
  z-index: 1500;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  block-size: 48px;
  inline-size: 48px;
  font-size: 24px;
  padding: 0;
  border-radius: 24px;
}

.imageTools {
  width: 100dvw;
  position: relative;
  top: 5px;
  display: flex;
  justify-content: space-between;
}

.diaAlbum {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  font-size: 30px;
  background-color: var(--main-color);
  color: white;
}

.closeAlbum {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  font-size: 30px;
  background-color: darkred;
  color: white;
}

/* *************************** */
section {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 50em;
  margin-inline: auto;
  gap: 3.25rem;
  position: relative;
  z-index: 10;
  align-items: center;
  padding: 5em 0;
  box-sizing: border-box;
}

section .green {
  background: radial-gradient(
    ellipse at right top,
    #107667ed 0%,
    #151419 47%,
    #151419 100%
  );
  opacity: 0.95;
  transition: opacity 0.25s ease-in;
}

@media screen and (min-width: 33.75rem) {
  section .card {
    min-height: 15rem;
  }
}

section .card {
  position: relative;
  z-index: 555;
  max-width: 38rem;
  min-height: 20rem;
  width: 90%;
  display: grid;
  place-content: center;
  place-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0.063em 0.75em 1.563em rgba(0, 0, 0, 0.78);
  border-radius: 1rem;
}

section .card-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.8em 0.8em 0em 1.5em;
}

section .card-header .close {
  color: #d9d9d9;
  width: 1.5rem;
  cursor: pointer;
}

section .green .card-body {
  align-items: flex-end;
}

@media screen and (min-width: 33.75rem) {
  section .card-body {
    display: flex;
    text-align: unset;
  }
}

section .card-body {
  width: 100%;
  padding: 0.7em 2em 0.5em 2em;
  text-align: left;
}

@media screen and (min-width: 33.75rem) {
  section .card-body > div {
    margin-left: 2em;
  }
}

section .card-body h3 {
  text-align: left;
  color: #32e728;
  letter-spacing: 0.035em;
  margin-top: 0.625em;
  margin-bottom: 0.5em;
  font-weight: 600;
}

section .card-body p {
  text-align: left;
  color: #cccccc;
  font-size: 1rem;
  letter-spacing: 0.031rem;
}

section .card-body a {
  color: cadetblue;
  cursor: pointer;
}

@media screen and (min-width: 33.75rem) {
  section .card .progress {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

section .card .progress {
  width: 100%;
  margin-top: 0.938rem;
}

section .green .btn-first {
  margin-left: 0;
}

@media screen and (min-width: 33.75rem) {
  section .card .btn-first,
  section .card .btn-second {
    padding: 0.625rem 2.2rem;
  }
}

section .card .btn-first,
section .card .btn-second {
  background: var(--main-color);
  color: #fff;
  border-radius: 0.25em;
  padding: 0.5rem 1.5rem;
  display: inline-block;
  font-size: 0.9rem;
}

section .card .btn-second {
  margin-left: 2em;
  background: rgb(75, 6, 6);
}

@media screen and (min-width: 33.75rem) {
  section .card .btn-first,
  section .card .btn-second {
    padding: 0.625rem 2.2rem;
  }
}

section .card .btn-first,
section .card .btn-second {
  color: #fff;
  border-radius: 0.25em;
  padding: 0.5rem 1.5rem;
  display: inline-block;
  font-size: 0.9rem;
}

/* *************************** */

@layer animation.base {
  @keyframes op-hide {
    100% {
      visibility: hidden;
    }
  }
}

@layer animation.scroll-driven {
  body {
    timeline-scope: --carousel;
  }
  #carousel {
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    scroll-timeline: --carousel inline;
    > * {
      scroll-snap-align: center;
    }
  }

  .controls-btn {
    animation-duration: auto;
    animation-fill-mode: forwards;
    animation-timeline: --carousel;
    animation-timing-function: linear;

    &.preview {
      animation-name: preview;
    }

    &.next {
      animation-name: next;
    }
  }

  @keyframes preview {
    from {
      visibility: hidden;
    }
  }

  @keyframes next {
    to {
      visibility: hidden;
    }
  }
}

/* end albums */
@media (max-width: 920px) {
  .hamburger-menu-container {
    display: flex;
  }

  #check {
    display: block;
  }

  .nav-btn {
    position: fixed;
    height: 80dvh;
    top: 3rem;
    left: 0;
    width: 100%;
    background-color: #335c2a;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(100%);
    transition: 0.65s;
  }

  #check:checked ~ .nav-btn {
    transform: translateX(0);
  }

  #check:checked ~ .nav-btn .nav-link,
  #check:checked ~ .nav-btn .log-sign {
    animation: animation 0.5s ease forwards var(--i);
  }

  .log-sign {
    display: flex;
    justify-content: center;
  }

  .nav-links {
    flex: initial;
    width: 100%;
  }

  .nav-links > ul {
    flex-direction: column;
  }

  .nav-link {
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
  }

  .nav-link > a {
    line-height: 1;
    padding: 1.6rem 2rem;
  }

  .nav-link:hover > a {
    transform: scale(1);
    background-color: var(--main-color);
  }

  .dropdown,
  .dropdown.second {
    position: initial;
    top: initial;
    left: initial;
    transform: initial;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    padding: 0;
    background-color: var(--main-color);
    display: none;
  }

  .nav-link:hover > .dropdown,
  .dropdown-link:hover > .dropdown {
    display: block;
  }

  .nav-link:hover > a > i,
  .dropdown-link:hover > a > i {
    transform: rotate(360deg);
  }

  .dropdown-link > a {
    background-color: transparent;
    color: #fff;
    padding: 1.2rem 2rem;
    line-height: 1;
  }

  .dropdown.second .dropdown-link > a {
    padding: 1.2rem 2rem 1.2rem 3rem;
  }

  .dropdown.second .dropdown.second .dropdown-link > a {
    padding: 1.2rem 2rem 1.2rem 4rem;
  }

  .arrow {
    z-index: 1;
    background-color: var(--main-color);
    left: 10%;
    transform: scale(1.1) rotate(45deg);
    transition: 0.5s;
  }

  .nav-link:hover .arrow {
    background-color: var(--main-color);
  }

  .dropdown .dropdown .arrow {
    display: none;
  }

  .dropdown-link:hover > a {
    background-color: #ceece3;
    color: var(--main-color);
  }

  .dropdown-link:first-child:hover ~ .arrow {
    background-color: var(--main-color);
  }

  .nav-link > a > i :not(.fa) {
    font-size: 1.1rem;
    transform: rotate(-90deg);
    transition: 0.7s;
  }

  .dropdown i {
    font-size: 1rem;
    transition: 0.7s;
  }

  .log-sign {
    flex: initial;
    width: 100%;
    padding: 1.5rem 1.9rem;
  }

  div.log-sign > a {
    text-align: center;
    width: fit-content;
  }

  .main_container {
    position: relative;
    min-height: calc(
      100dvh - (var(--nav-height) + (var(--footer-height) * 1.3))
    );
    max-height: calc(
      100dvh - (var(--nav-height) + (var(--footer-height) * 1.3))
    );
  }

  .footer-container {
    min-height: var(--footer-height) * 1.5;
    max-height: var(--footer-height) * 1.5;
    flex-direction: column;
  }

  .breadcrumb {
    min-width: 100dvw;
    max-width: 100dvw;
    flex-direction: row;
  }

  ul.breadcrumb {
    padding: 0;
    list-style: none;
  }

  .footer {
    min-width: 100dvw;
    max-width: 100dvw;
    text-align: center;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .footerUserInfo {
    min-width: 100dvw;
    max-width: 100dvw;
    text-align: center;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .nav-btn {
    min-height: calc(100dvh - var(--nav-height));
    max-height: calc(100dvh - var(--nav-height));
  }

  .hiddenOnMobile {
    display: none;
  }

  .trv {
    top: 50px;
    width: 350px;
    left: calc((100dvw / 2) - (350px / 2));
  }

  .box {
    position: absolute;
    bottom: 100px;
    width: 350px;
    left: calc((100dvw / 2) - (350px / 2));
    height: 120px;
  }

  .simple-modal-window {
    min-width: 320px;
    max-width: 320px;
    overflow: auto;
    /* min-height: 170px; */
    border-radius: 8px;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    font-size: 14px;
    animation: fadein 0.5s ease-in-out;
    position: absolute;
    top: 150px;
    z-index: 9999;
  }

  .simple-modal-text {
    white-space: unset;
  }
}
