:root {
  --easeOutQuint: cubic-bezier(0.22, 1, 0.36, 1);
}

.dark-mode {
  /* --background: #0a0a0a; */
  --background: #13151b;
  --foreground: #f1f1f1;

  --background-secondary: #1d2027;
  --foreground-outside-line: #70778a;  
  
  --filter-default-icon: invert();

  --link: #9A8973;
}

.light-mode {
  --background: #c4c7d8;
  --foreground: #171717;

  --background-secondary: #a4a6b4;
  --foreground-outside-line: #444853;

  --filter-default-icon: none;

  --link: #52493d;
}


html,
body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: Poppins,sans-serif, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

a {
  color: var(--link);
  text-decoration: none;
}


.v-box {
  display: flex;
  flex-flow: column;
  height: 100%;
}

.h-box {
  display: flex;
  flex-flow: row;
  width: 100%;
}

.flex-center {
  /* justify-content: center;
  align-items: center; */
  
  margin: auto;
}

.center-items {
  align-items: center;
}

.v-flex {
  display: flex;
  flex-flow: column;
}

.h-flex {
  display: flex;
  flex-flow: row;
}


/* perpendicular center (to the direction of the flex el) */
.p-center {
  align-items: center;
}

/* direct center (to the direction of the flex el) */
.d-center {
  justify-content: center;
}


.v-flex-center {
  display: flex;
  flex-flow: column;

  /* justify-content: center;
  align-items: center; */
  margin: auto 0;
}

.h-flex-center {
  display: flex;
  flex-flow: row;

  /* justify-content: center;
  align-items: center; */
  margin: 0 auto;
}

.sized-content {
  flex: 0 1 auto;
}

.sized-remaining {
  flex: 1 1 auto;
}

.sized-fixed {
  flex: 0 1 var(--fixed-size);
}


.radius-container {
  border-radius: 10px;
}


.main-body-scroll {
  width: 100%;
  margin: 0 auto;
  overflow: auto;
  padding: 10px;
}

.main-body-div {
max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.main-header {
  /* position: absolute;
  top: 0;
  gap: 10px; */
  gap: 10px;
  padding: 5px;
  min-height: 60px;
  overflow-x: auto;
}

.header-btn {
  color: var(--foreground);
  border: 0px;
  background-color: transparent;
  padding: 10px;
  font-weight: bold;
  font-size: medium;
}

.header-btn:hover {
  background-color: var(--background-secondary);
  padding: 10px;
  border-radius: 10px;
}




.footer {
  grid-row-start: 3;
  display: flex;
  gap: 24px;
}

.footer a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer img {
  flex-shrink: 0;
}

.icon-default-filter {
  /*filter: invert(79%) sepia(14%) saturate(184%) hue-rotate(359deg) brightness(87%) contrast(86%);*/
  filter: var(--filter-default-icon);
}

.layout-header-icon {
  width: 15px;
  height: 15px;
}

/* Enable hover only on non-touch devices */
@media (hover: hover) and (pointer: fine) {
  .footer a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

@media (max-width: 600px) {
  .footer {
    flex-wrap: wrap;
    /* align-items: center;
    justify-content: center; */
    
    /* margin: auto; */
  }
}

button {
  cursor: pointer;
  color: var(--foreground)
}

.fade-in-element {
  opacity: 0;
  transform: translateX(-100px);
  visibility: hidden;
  transition: opacity 0.45s var(--easeOutQuint), transform 0.45s  var(--easeOutQuint);
  will-change: opacity, visibility;
}

.fade-in-element.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.stretch-element {
  align-self: stretch;  
}

/* ----------------------- ROOT ----------------------- */

.main-section-welcome {
  max-width: 700px;
  height: 500px;
}

.main-head-welcome {
  font-weight: bold;
  font-size: xx-large;
}

.main-head-welcome-salute {
  font-style: italic;
}
