/* -----> Notes on Color Palette -----
 gradient colors:
 rgb(234,171,174), rgb(131,75,61), rgb(235,43,227), rgb(175,156,116,0.3)
font color of Dimitris poulimenos : rgb(124, 69, 106, 1), but looks more similar  color:  rgb(112, 22, 84);
font color of handmade: rgb(29, 55, 46, 1)
*/

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

@font-face {
  font-family: Sansation_Regular_gr;
  src: url(../resources/fonts/Sansation-Regular-gr.ttf);
  font-display: swap;
}

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

@import url("https://fonts.googleapis.com/css2?family=Didact+Gothic&display=swap");

* {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

.identity,
.close {
  display: none;
}

a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  color: #0d0102;
  /* color: #551a8b; */
}

/* ----- Language toggle dropdown menu ----*/

.lang-toggle {
  display: inline-block;
  margin-inline-end: 1.5em;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.lang_en {
  display: none;
}

/*<----- Navigation Bar ------>*/

.nav-header {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 1;
}

.nav-bar {
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(245, 243, 237, 1) 13.69%,
    rgba(235, 230, 219, 1) 54.46%,
    rgba(254, 250, 241, 0.9254) 72.52%,
    rgba(124, 69, 106, 0.76) 94.27%,
    rgba(53, 5, 65, 0.28) 100%
  );

  /* background-image: linear-gradient(to right, 
          rgba(255, 255, 255, 1) 0%,
          rgba(245, 243, 237, 1) 13.69%,
          rgba(235, 230, 219, 1) 54.46%,
          rgba(124, 69, 106, 0.76) 78.65%,
          rgba(53, 5, 65, 0.6) 100%); */

  display: flex;
  justify-content: space-between;
  /* position: sticky;
  position: -webkit-sticky;
  top: 0; */
  align-items: center;
  overflow: visible;
  max-height: 40px;
  padding: 0 1rem;
  margin: 0 0 0 0;
  z-index: 10;
}

.nav-bar-ul {
  display: flex;
  align-items: center;
}

.nav-bar li {
  display: inline-block;
  /* color: #551a8b; */
}

.nav-bar li a {
  text-decoration: none;
  padding: 0 5px;
  font-weight: 500;
}

.nav-bar li:hover {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.nav-bar li a:active {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  /* color: rgba(246, 151, 243, 1); */
  /* color: rgba(124, 69, 106, 1); */
  color: rgba(29, 55, 46, 1);
  /* text-shadow: 5px 5px 25px rgba(246, 151, 243, 0.85); */
}

.dropdown {
  position: relative;
  display: flex;
  flex-direction: column;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  z-index: 1000;
  width: 15rem;
  padding: 1rem 0 1rem 0;
  background-color: rgba(245, 243, 237, 1);
  left: -5px;
  top: 19px;
  padding: 0.5rem 0 0 1rem;
  line-height: 1.2rem;
}

.dropdown-menu li {
  padding: 0.4rem;
}

.fb {
  margin-inline-start: 0.4em;
  font-size: 1.9em;
  color: #0d0102;
}

/* ----- Navigation Bar: Logo Image - Fanari ----*/

.logo-fanari3 {
  width: 90px;
  height: 90px;
  background-image: url(../resources/images/logo-not-lighted.png);
  background-repeat: no-repeat;
  background-size: contain;
  margin: 50px 0px 0 3.4rem;
  position: relative;
  border-radius: 40px;
}

.logo-fanari3:hover {
  background-image: url(../resources/images/logo-lighted2.png);
  border-radius: 40px;
  /* filter: drop-shadow(16px 16px 20px red) invert(75%); */
  filter: drop-shadow(5px 5px 15px rgba(124, 69, 106, 0.76))
    drop-shadow(5px 17px 20px rgba(246, 151, 243, 0.3));
}

/* ----- Media Queries ----*/

@media (max-width: 992px) {
  .logo-fanari3 {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 40px 0px 0 3.4rem;
  }
}

@media (max-width: 768px) {
  .logo-fanari3 {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 30px 0px 0 3.4rem;
  }
}

@media (max-width: 600px) {
  .identity {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;

    background-color: white;
    color: rgba(53, 5, 65, 1);
  }

  .close {
    display: block;
  }

  .brand-name-image {
    width: 80%;
  }

  .nav-bar {
    font-size: 1.2rem;
    justify-content: space-between;
    align-items: flex-start;

    background-image: conic-gradient(
      from 150deg at 60% bottom,

      rgba(255, 255, 255, 1) 0%,
      rgba(245, 243, 237, 1) 13.69%,
      rgba(235, 230, 219, 1) 54.46%,
      rgba(124, 69, 106, 1) 82.85%,
      rgba(53, 5, 65, 1) 83%,
      rgba(124, 69, 106, 1) 83.05%,
      rgba(235, 230, 219, 1) 90.46%,
      rgba(245, 243, 237, 1) 96.69%,
      rgba(255, 255, 255, 1) 99%
    );

    position: absolute;
    overflow: hidden;
    z-index: 10;

    top: 0;
    left: 0;
    width: 100%;
    max-height: none;
    height: 100vh;
    padding: 1rem 0 0 0;

    /* animate slide up/down */
    transform: translateX(-100%);
    transition: transform 0.4s ease;
  }

  nav:target {
    transform: translateX(0);
  }

  .nav-bar > ul {
    display: flex;
    flex-direction: column;
    padding: 1rem 0 0 2.5rem;
    align-items: flex-start;
  }

  .nav-bar ul li {
    margin: 1rem 0;
  }

  .nav-bar ul li a {
    padding: 0 3.3px;
  }

  .nav-bar li a:hover {
    text-decoration: underline;
    text-underline-offset: 0.2rem;
    color: rgba(124, 69, 106, 1);
    border-radius: 10px;
  }

  .nav-bar span {
    display: none;
  }

  .dropdown-menu {
    position: relative;
    display: block;
    background-color: transparent;
    margin: 0;
    padding: 0 0 0 1.5rem;
  }

  .hamburger,
  .close {
    font-size: 2rem;
    margin: 1rem;
  }

  .hamburger:active,
  .close:active {
    color: rgba(246, 151, 243, 1);
  }

  .logo-fanari3 {
    display: none;
  }

  .fb {
    display: none;
  }
}
