:root {
  /* Size */
  --mb-xs: 5px;
  --mb-s: 10px;
  --marginHortizonal: 5px;
  --marginSize: 2vw;
  --paddingSizePercentage: 2%;
  --paddingSizePercentageBtn: 4%;
  --marginSizePercentage: 2%;
  --margin-m: 20px;
  --radiusSize: 2vw;
  --iconSize: 10vw;
  --coverHeight: 25vh;
  /* --iconWidthCover: calc(var(--coverHeight) / 1.5); */
  --iconWidthCover: 90px;
  --fontSizeTitle: calc(var(--iconWidthCover) / 4);
  --borderCover: calc(var(--coverHeight) / 25);
  --fontSize: calc(var(--iconSize) / 3);
  --fontSizeBtn: calc(var(--fontSize) / 2.5);
  --btngrpSize: calc(var(--iconSize) / 2);
  --heightMap: 200px;
  /* --widthMap: calc(var(--heightMap) * 3); */
  --widthMap: 50vw;
  --widthForm: 360px;
  --minWidthForm: 360px;
  --maxHeightForm: 80vh;
  --maxWidthForm: 80vw;
  --maxWidthForm: 80vw;
  --gr-1: 1fr;
  --gr-2: 1fr 1fr;
  --gr-2-1: 2fr 1fr;
  --gr-3: 1fr 1fr 1fr;
  --gr-4: 1fr 1fr 1fr 1fr;
  --gr-auto: auto;
  --gr-area: 1/4/1/4;
  /* Colors */
  /* Constant-Colors */
  --white: #ffffff;
  --white-e7: #e7e7e7;
  --white-l600: #ffffffb0;
  --black-l600: #000000b0;
  /* Element-Colors */
  --bgTop: #4c669f;
  --bgCenter: #3b5998;
  --bgEnd: #192f6a;
  --hoverColorLoginPage: #6c89c6;
  --primaryColorLoginPage: var(--bgCenter);
}

@media only screen and (max-width: 720px) {
  :root {
    --iconSize: 20vw;
    --coverHeight: 25vh;
    /* --iconWidthCover: calc(var(--coverHeight) / 2.25); */
    --iconWidthCover: 80px;
    --borderCover: calc(var(--coverHeight) / 25);
    --fontSize: calc(var(--iconSize) / 2.5);
    --fontSizeTitle: calc(var(--iconWidthCover) / 4);
    --fontSizeBtn: calc(var(--fontSize) / 2.5);
    --btngrpSize: calc(var(--iconSize) / 1.8);
    --radiusSize: calc(var(--iconSize) / 5);
    --marginSize: calc(var(--iconSize) / 5);
    --minWidthForm: 200px;
    /* --formWidth: 80vw; */
    /* --gr-translateY: calc(var(--iconWidthCover) * 0.3 + 10px); */
    --gr-1: auto;
    --gr-2: auto;
    --gr-2-1: auto;
    --gr-3: auto;
    --gr-4: auto;
    --gr-auto: auto;
    --gr-area: 1;
    --widthMap: 100%;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* Chrome all / Safari all */
  -webkit-user-select: none;
  /* Firefox all */
  -moz-user-select: none;
  /* IE 10+ */
  -ms-user-select: none;
  /* Likely future */
  user-select: none;
  /* a tag shadow for touchable device */
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}

._main {
  position: fixed;
  min-height: -webkit-fill-available;
  height: 100%;
  width: 100%;
  margin: auto;
}

._loader {
  position: fixed;
  display: flex;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  background-color: var(--black-l600);
}
._loader > img {
  width: 5vw;
  /* background-color: var(--black-l600); */
}

._background {
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--bgTop) 0%,
    var(--bgCenter) 50%,
    var(--bgEnd) 100%
  );
  display: flex;
  flex-direction: column;
}

._header {
  flex-basis: 100%;
}

._body {
  flex-basis: 0%;
  flex-shrink: 1;
  flex-grow: 0;
  /* background-color: aqua; */
}

._center-out {
  display: flex;
  position: relative;
  justify-content: center;
  align-content: center;
  text-align: center;
  /* overflow: hidden; */
  /* background-color: rgb(190, 147, 6); */
}

._flex-col {
  width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-left: var(--marginSize);
  /* background-color: rgba(127, 255, 212, 0.103); */
}

._logo {
  width: var(--iconSize);
}

._p-logo {
  display: flex;
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  overflow: hidden;
  box-sizing: border-box;
  white-space: nowrap;
  width: 0;
  font-size: var(--fontSize);
  color: white;
  justify-content: start;
  /* flex-basis: 100%; */
  /* background-color: aqua; */
  /* align-self: center; */
}

._text-group {
  display: flex;
  width: 100%;
  margin: 0px !important;
  padding: 0px !important;
  margin-left: 10px !important;
  line-height: 100%;
  flex-direction: column;
  overflow: hidden;
  white-space: normal;
  justify-content: flex-start;
  align-self: center;
  /* border-radius: var(--radiusSize); */
}

._text-group > span {
  width: 100%;
  height: 0px;
  margin: 0px;
  padding: 0px !important;
  /* overflow: hidden; */
  /* max-height: var(--btngrpSize); */
  /* border-radius: var(--radiusSize); */
  /* margi */
  display: flex;
  align-items: center;
  justify-content: start;
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 700;
  color: white;
  font-size: var(--fontSizeBtn);
  align-self: center;
  text-decoration: none;
  /* background-color: red; */
}
._text-group > a {
  width: 100%;
  height: 0px;
  margin: 0px !important;
  padding: 0px !important;
  max-height: var(--btngrpSize);
  /* border-radius: var(--radiusSize); */
  display: flex;
  align-items: center;
  justify-content: start;
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 700;
  color: white;
  font-size: var(--fontSizeBtn);
  align-self: center;
  text-decoration: none;
  /* background-color: red; */
}
._text-group > a > span {
  margin: 0px !important;
  padding: 0px !important;
  text-indent: 1px;
  display: flex;
  align-items: center;
  justify-content: start;
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 700;
  color: white;
  font-size: var(--fontSizeBtn);
  align-self: center;
  text-decoration: none;
  /* background-color: red; */
}

a._btn {
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 900;
  color: var(--bgCenter);
  font-size: var(--fontSizeBtn);
  align-self: center;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  a._btn:hover {
    background-color: var(--white-l600);
  }
}

a._btn:active {
  background-color: var(--white-l600);
}

._mb-s {
  margin-bottom: var(--mb-xs);
}

._gr-center {
  justify-items: center !important;
  align-items: center !important;
}
._gr-translateY {
  overflow: auto;
}
._gr-right-end {
  grid-area: var(--gr-area);
}

._gr-1 {
  width: 100%;
  display: grid;
  grid-template-columns: var(--gr-1);
  grid-template-rows: auto;
  gap: var(--mb-xs);
  column-gap: var(--mb-s);
  align-items: end;
}
._gr-2 {
  width: auto;
  height: auto;
  display: grid;
  grid-template-columns: var(--gr-2);
  grid-template-rows: auto;
  gap: var(--mb-xs);
  column-gap: var(--mb-s);
  align-items: end;
}
._gr-2-1 {
  width: 100%;
  display: grid;
  grid-template-columns: var(--gr-2);
  grid-template-rows: auto;
  gap: var(--mb-xs);
  column-gap: var(--mb-s);
  align-items: end;
}
._gr-3 {
  width: 100%;
  display: grid;
  grid-template-columns: var(--gr-3);
  grid-template-rows: auto;
  gap: var(--mb-xs);
  column-gap: var(--mb-s);
  align-items: end;
}
._gr-4 {
  width: 100%;
  display: grid;
  grid-template-columns: var(--gr-4);
  grid-template-rows: auto;
  gap: var(--mb-xs);
  align-items: end;
}

/* *LOGIN* */
._form {
  display: none;
  position: relative;
  /* width: var(--widthForm); */
  width: auto;
  min-width: var(--minWidthForm);
  margin: auto;
  max-width: var(--maxWidthForm) !important;
  max-height: var(--maxHeightForm);

  /* display: flex; */
  flex-direction: column;
  justify-content: start;
  align-items: center;

  background: var(--white-e7);
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.25);
  border-radius: var(--radiusSize);
  overflow: hidden;
}

/* FORM COVER */
._form > ._cover {
  /* cover */

  position: relative;
  width: 100%;
  height: calc(var(--iconWidthCover) * 1.2);
  margin-bottom: calc(var(--iconWidthCover) * 0.3);
  background-color: black;
}
._form > ._cover > ._title {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;

  background: var(--white-e7);
  border-bottom: var(--borderCover) solid var(--primaryColorLoginPage);
}
._form > ._cover > ._title > ._title-img {
  /* Vector */
  position: relative;
  min-width: calc(var(--iconWidthCover) * 1.3);
  height: 100%;
  /* background-color: red; */
}
._form > ._cover > ._title > ._title-p {
  /* Vector */
  position: relative;
  width: 100%;
  height: 100%;
}
._form > ._cover > ._title > ._title-img > img {
  /* Vector */
  position: absolute;
  width: var(--iconWidthCover);
  right: var(--marginSizePercentage);
  bottom: calc(var(--iconWidthCover) / 3 * -1);
}
._form > ._cover > ._title > ._title-p > p {
  /* Bakkal Giriş Ekranı */
  position: absolute;
  /* width: 100%; */
  margin: var(--margin-m) var(--margin-m) 0 0;
  left: calc(var(--iconWidthCover) * 0.2);
  bottom: calc(var(--iconWidthCover) * 0.1);

  font-family: Nunito;
  font-style: normal;
  font-weight: 800;
  font-size: var(--fontSizeTitle);
  line-height: 100%;

  color: var(--primaryColorLoginPage);
  /* background-color: #e7e7e7; */
}

/* FORM BODY */
._form > ._body {
  flex-basis: 100%;
  width: 100%;
  height: auto;
  background-color: var(--white-e7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 10px 20px 10px;
  overflow: auto;
  border: 4px solid var(--white-e7);
  /* background-color: #6c89c6; */
}

._form > ._body ._input-group {
  position: relative;
  min-width: 180px;
  width: 100%;
  height: 70px;
  /* margin: 5px auto; */
}
._form > ._body ._input-group > label {
  /* Parola */

  position: relative;
  width: 100%;
  height: 15px;
  margin-left: 5px;

  font-family: Nunito;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;

  color: var(--primaryColorLoginPage);
}
._form > ._body ._input-group > input {
  /* Frame 3 */

  position: relative;
  width: 100%;
  height: 48px;
  padding-left: 40px;
  border: 1px solid var(--primaryColorLoginPage);
  box-sizing: border-box;
  border-radius: 5px;
  background-color: transparent;
}
._form > ._body ._input-group > select {
  /* Frame 3 */

  position: relative;
  width: 100%;
  height: 48px;
  padding: 0 10px;
  border: 1px solid var(--primaryColorLoginPage);
  box-sizing: border-box;
  border-radius: 5px;
  background-color: transparent;

  font-family: Nunito;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;

  color: var(--primaryColorLoginPage);

  background: url("../assets/down-icon.svg") no-repeat right transparent;
  -webkit-appearance: none;
  background-position-x: 96%;
}
._disabled {
  filter: grayscale();
  pointer-events: none;
  cursor: default;
}

._map {
  width: var(--widthMap);
  height: var(--heightMap);
  margin-top: 10px;
  border: 1px solid var(--primaryColorLoginPage);
  box-sizing: border-box;
  border-radius: 5px;
  background-color: transparent;
  overflow: hidden;

  -moz-box-shadow: 0 0 3pt 0 var(--primaryColorLoginPage);
  -webkit-box-shadow: 0 0 3pt 0 var(--primaryColorLoginPage);
  box-shadow: 0 0 3pt 0 var(--primaryColorLoginPage);
}

._form > ._body ._input-group > select > option {
  width: 100%;
  background-color: var(--white-e7);

  font-family: Nunito;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  /* line-height: 20px; */

  color: var(--primaryColorLoginPage);
}

._form > ._body ._input-group > img {
  position: absolute;
  left: 8px;
  bottom: 12px;
}
._form > ._body ._btn-dark {
  /* btn */

  width: 100%;
  height: 48px;

  background-color: var(--primaryColorLoginPage);
  /* border: 1px solid var(--primaryColorLoginPage); */
  box-sizing: border-box;
  border-radius: 5px;
  margin-top: 15px;
  padding: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
._form > ._body ._btn-dark > ._content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
._form > ._body ._btn-dark > ._content > ._item {
  margin: 2px;
}
._form > ._body ._btn-dark > ._content > p {
  /* Giriş Yap */

  position: relative;

  font-family: Nunito;
  font-style: normal;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  text-align: center;

  color: var(--white-e7);
}
._form > ._body ._btn-dark > ._content > img {
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  ._form > ._body a._btn-dark:hover {
    background: var(--hoverColorLoginPage);
  }
}

._form > ._body a._btn-dark:active {
  background: var(--hoverColorLoginPage);
}

/* FORM FOOTER */
._form > ._footer {
  position: relative;
}
._form > ._footer > a {
  width: 100%;
  margin-bottom: 10px;

  font-family: Nunito;
  font-style: normal;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  text-align: center;
  text-decoration: none;

  color: var(--primaryColorLoginPage);
}

@media (hover: hover) and (pointer: fine) {
  ._form > ._footer > a:hover {
    color: var(--hoverColorLoginPage);
  }
}
._form > ._footer > a:active {
  color: var(--hoverColorLoginPage);
}

/* General Login */
input:focus {
  outline: none;
  box-shadow: 0 0 3pt 0 var(--primaryColorLoginPage);
}
select:focus {
  outline: none;
  box-shadow: 0 0 3pt 0 var(--primaryColorLoginPage);
}

/* --- */
/* ANIMATIONS */
/* --- */
._logo-anim {
  -webkit-animation: text-blur-out 750ms ease-out reverse backwards;
  animation: text-blur-out 750ms ease-out reverse backwards;
}
._expand-width-anim {
  -webkit-animation: expand-width 500ms ease-out 1000ms;
  animation: expand-width 500ms ease-out 1000ms;
  animation-fill-mode: forwards;
}
._flex-fade-bottom-anim {
  -webkit-animation: flex-fade-bottom 500ms ease-out 1750ms;
  animation: flex-fade-bottom 500ms ease-out 1750ms;
  animation-fill-mode: forwards;
}
._slide-in-anim {
  -webkit-animation: slide-in 500ms ease forwards;
  animation: slide-in 500ms ease forwards;
  animation-fill-mode: forwards;
}
@-webkit-keyframes text-blur-out {
  0% {
    -webkit-filter: blur(0.01);
    filter: blur(0.01);
  }
  100% {
    -webkit-filter: blur(12px) opacity(0%);
    filter: blur(12px) opacity(0%);
  }
}
@keyframes text-blur-out {
  0% {
    -webkit-filter: blur(0.01);
    filter: blur(0.01);
  }
  100% {
    -webkit-filter: blur(12px) opacity(0%);
    filter: blur(12px) opacity(0%);
  }
}
@-webkit-keyframes expand-width {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
@keyframes expand-width {
  0% {
    width: 0;
  }
  100% {
    width: calc(var(--fontSize) * 7);
    width: 100%;
  }
}
@-webkit-keyframes flex-fade-bottom {
  0% {
    height: 0%;
    opacity: 0%;
  }
  100% {
    height: var(--btngrpSize);
    padding: var(--paddingSizePercentage);
    line-height: 100%;
    opacity: 100%;
  }
}
@keyframes flex-fade-bottom {
  0% {
    height: 0%;
    opacity: 0%;
  }
  100% {
    height: var(--btngrpSize);
    padding: var(--paddingSizePercentage);
    line-height: 100%;
    opacity: 100%;
  }
}
@-webkit-keyframes slide-in {
  0% {
    transform: translateX(100%);
    visibility: visible;
  }
  100% {
    transform: translateX(0%);
  }
}
@keyframes slide-in {
  0% {
    transform: translateX(100%);
    visibility: visible;
  }
  100% {
    transform: translateX(0%);
  }
}

/* *Loader* */
._heartbeat-anim {
  -webkit-animation: heartbeat 1.5s ease-in-out infinite both;
  animation: heartbeat 1.5s ease-in-out infinite both;
}

@-webkit-keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  20% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  47% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: scale(0.67);
    transform: scale(0.67);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
}
@keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  20% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  47% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: scale(0.67);
    transform: scale(0.67);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
}
