:root {
  --headbackclr: rgb(217, 235, 237, 0.85);
  /* --headbackclrsolid: rgb(217, 235, 237); */
  --headbackclrsolid: rgba(227, 235, 236);
}
/* navigation styles start here*/

#header_top {
  background-color: var(--headbackclrsolid);
  position: fixed;
  top: 0;
  height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: no-wrap;
  width: 100%;
  z-index: 99;
}

#header_top ul {
  display: flex;
}

#header_top li:not(:last-child) {
  margin-right: 1.5rem;
}

.header_bottom {
  font-family: "Catamaran", sans-serif;
  background: var(--headbackclrsolid);
  text-align: center;
  position: fixed;
  top: 0;
  z-index: 1;
  margin-top: 5.5rem;
  height: 4rem;
  /* height: 42.1%; */
  width: 100%;
  display: flex;
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
}

.your_solution_provider_header {
  width: 396px;
  text-align: left;
  /* padding: 1.5rem; */
  /* color:#000000; */
  color: rgb(78, 75, 75);
  font-family: "Great Vibes", cursive;
  /* font-family:'Brush Script MT'; */
  font-size: 1.875rem; /* = 30px */
  float: left;
  position: relative;
  margin-left: 3rem;
  margin-bottom: 1rem;
  margin-top: 0.6rem;
}

@media screen and (max-width: 390px) {
  .your_solution_provider_header {
    display: none;
  }
}

.header_bottom nav {
  margin: 0;
  top: 0;
  position: absolute;
  text-align: right;
  top: 100%;
  right: 0;
  background: var(--headbackclrsolid);
  width: 15rem;
  transform: scale(1, 0);
  transform-origin: top;
  transition: transform 400ms ease-in-out;
  border-radius: 5px;
  /* border: 1px solid var(--headbackclr); */
  box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
}

.header_bottom nav ul {
  position: relative;
  z-index: 11111;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header_bottom nav ul > li {
  display: inline-block;
  margin-bottom: 1em;
  margin-right: 3rem;
  padding-top: 25px;

  position: relative;
}

.header_bottom nav ul > li > a {
  color: rgb(72, 98, 105);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 250ms ease-in-out 200ms;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  position: absolute;
  top: 0;
  right: 0;
  margin-right: 3rem;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: rgb(122, 118, 118);
  height: 2px;
  width: 2rem;
  border-radius: 2px;
  position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
}

.nav-toggle-label span::before {
  bottom: 7px;
}

.nav-toggle-label span::after {
  top: 7px;
}

/* ~ looks for any preceeding siblig, it doesn't have to be immediately after */
.nav-toggle:checked ~ nav {
  transform: scale(1, 1);
}

.nav-toggle:checked ~ nav ul > li > a {
  opacity: 1;
  transition: opacity 150ms ease-in-out;
}

.header_bottom nav ul > li > a::before {
  content: "";
  display: block;
  height: 5px;
  background: rgb(105, 131, 134);
  position: absolute;
  top: 0.5em;
  left: 0;
  right: 0;
  transform: scale(0, 1);
  transform-origin: center;
  transition: transform ease-in-out 250ms;
}

nav ul > li > a:hover::before {
  transform: scale(1, 1);
}

@media screen and (min-width: 1415px) {
  .nav-toggle-label {
    display: none;
  }

  .header_bottom {
    top: 5.5rem;
    margin: 0;
    padding-top: 0;
    display: flex;
    position: fixed;
    align-items: center;
  }

  .header_bottom nav {
    all: unset;
    width: 100%;
    /* display: flex;
        justify-content: space-between;
        align-items: center; */
  }

  .header_bottom nav ul {
    display: flex;
    justify-content: space-between;
  }

  .header_bottom nav ul li {
    margin-left: 3rem;
    padding-right: 1.5rem;
    margin-bottom: 0;
  }

  .header_bottom nav ul li a {
    opacity: 1;
    position: relative;
  }

  .header_bottom nav ul li a::before {
    content: "";
    display: block;
    height: 5px;
    background: rgb(105, 131, 134);
    position: absolute;
    top: -0.75em;
    left: 0;
    right: 0;
    transform: scale(0, 1);
    transform-origin: center;
    transition: transform ease-in-out 250ms;
  }

  .header_bottom nav ul li a:hover::before {
    transform: scale(1, 1);
  }

  .your_solution_provider_header {
    display: none;
  }
}

/* TOP HEADER STARTS HERE */
.header_logo {
  width: 13rem;
  float: left;
  margin-left: 0.75rem;
  margin-top: 0.75rem;
}

#zeytindali img {
  width: 5.5rem;
  margin-top: 0.75rem;
  margin-left: -2rem;
}

/*Header-Language Bar*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css");
#lang-menu {
  font-family: "Catamaran", sans-serif;
  width: 100px;
  text-align: right;
  /* font-weight: bold; */
  margin-top: 25px;
  position: relative;
  margin-right: 4.5rem;
}

@media screen and (max-width: 1415px) {
  #lang-menu {
    margin-right: 3rem;
  }
}

#lang-menu #selected-lang {
  display: flex;
  justify-content: space-between;
  line-height: 2.3;
  cursor: pointer;
}
#lang-menu #selected-lang:before {
  content: "";
  display: inline-block;
  width: 32px;
  /* height: 32px; */
  /* background-image: url(https://www.countryflags.io/tr/shiny/32.png); */
  background-image: url(../img/tr.svg);
  background-size: contain;
  background-repeat: no-repeat;
  /* -moz-border-radius: 3px; */
  /* -ms-border-radius: 3px; */
  /* -o-border-radius: 3px; */
  /* -webkit-border-radius: 3px; */
  /* border-radius: 3px; */
}

#lang-menu ul {
  margin: 0;
  padding: 0;
  display: none;
  background-color: var(--headbackclrsolid);
  position: absolute;
  top: 30px;
  right: -10px;
  width: 125px;
  border-radius: 5px;
  border: 1px solid var(--headbackclr);
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
}

#lang-menu ul li {
  list-style: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
}

#lang-menu ul li a {
  text-decoration: none;
  width: 125px;
  padding: 5px 10px;
  display: inline-flex;
  line-height: 1.7;
}

#lang-menu ul li:hover {
  background-color: var(--headbackclrsolid);
}

#lang-menu ul li a::before {
  content: "";
  display: inline-block;
  width: 30px;
  /* height: 25px; */
  vertical-align: middle;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
}

.tr:before {
  /* background-image: url(https://www.countryflags.io/tr/shiny/32.png); */
  background-image: url(../img/tr.svg);
}
.en:before {
  /* background-image: url(https://www.countryflags.io/gb/shiny/32.png); */
  background-image: url(../img/gb.svg);
}
.fr:before {
  /* background-image: url(https://www.countryflags.io/fr/shiny/32.png); */
  background-image: url(../img/fr.svg);
}


@media(any-hover: hover){
  #lang-menu:hover ul {
    display: block;
  }
}
@media(hover: none) {
  #lang-menu:hover ul, #lang-menu:active ul {
    display: block;
  }
}


@media screen and (max-width: 550px) {
  #zeytindali {
    display: none;
  }
}
