/* @import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900"); */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf");
}
:root {
  --ratio: 3.74;
  --leading: 0.025em;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

h1,
h2 {
  margin: 0;
}

html,
body {
  /* display: flex;
        justify-content: center;
        align-items: flex-start;
        min-height: 100vh; */
  display: block;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

input {
  height: 48px;
}

.tips {
  color: var(--fore_clr);
  opacity: 0.5;
  font-size: smaller;
}

.box {
  border-style: solid;
  border-width: 1px;
  padding: 10px;
  margin: 10px;
  max-width: 500px;
}

.collapsible {
  padding: 15px;
  font-weight: bold;
  color: var(--sub-title);
  cursor: pointer;
}

.group {
  padding: 15px;
  font-weight: bold;
  color: var(--sub-title);
  cursor: pointer;
}

hr {
  margin-top: 10px;
  margin-bottom: 10px;
  border-color: var(--fore_clr);
  opacity: 0.2;
}

.fullscreen {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1000;
  left: 0;
  top: 0;
}

.screen {
  text-align: center;
  display: none;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow-y: hidden;
  overflow-x: hidden;
  background: var(--back_clr);
  color: var(--fore_clr);
}

.screen.mainscreen {
  justify-content: flex-end;
}

.page {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.container {
  width: 400px;
  min-height: 100%;
  background-color: var(--back_clr);
}
.top {
  flex-grow: 1;
  display: flex;
  width: 100%;
  overflow: scroll;
}
.btnlang {
  text-wrap: nowrap;
  padding: 10px;
  height: 48px;
}

.langmenu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#splash_screen {
  /* width: 400px;
        height: 100vh;
        min-height: 100vh;
        background: radial-gradient(circle at center 50%, rgb(0, 7, 110) 30%, black 60%); */
  background: radial-gradient(circle farthest-side, #303065, black);
}
a {
  text-decoration: none;
  color: var(--link-color);
}

.tips {
  font-size: small;
}
.content {
  height: 100%;
  text-align: center;
  overflow: auto;
  overflow-wrap: break-word;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.in_color {
  color: #0070ff;
}

.out_color {
  color: #ff889d;
}

.big_bold {
  font-size: larger;
  text-align: center;
  font-weight: bold;
}
::-webkit-scrollbar {
  width: 0px;
  background: transparent; /* make scrollbar transparent */
}

.navigation {
  position: relative;
  width: 100%;
  height: 70px;
  background: var(--nav-bg);
  justify-content: center;
  /* border-radius: 10px; */
  display: flex;
}
.navigation ul {
  display: flex;
  width: 350px;
}
.navigation ul li {
  position: relative;
  list-style: none;
  width: 70px;
  height: 70px;
  z-index: 1;
}
.navigation ul li a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  text-align: center;
  font-weight: 500;
  height: 100%;
}
.navigation ul li a .icon {
  position: relative;
  display: block;
  line-height: 75px;
  font-size: 1.5em;
  text-align: center;
  transition: 0.5s;
  color: var(--back_clr);
}
.navigation ul li.active a .icon {
  transform: translateY(-32px);
}
.navigation ul li a .text {
  position: absolute;
  color: var(--back_clr);
  font-weight: 400;
  font-size: 0.75em;
  letter-spacing: 0.05em;
  transition: 0.5s;
  opacity: 1;
  transform: translateY(20px);
}
.navigation ul li.active a .text {
  opacity: 1;
  transform: translateY(10px);
  font-weight: bold;
}
.indicator {
  position: absolute;
  top: -50%;
  width: 70px;
  height: 70px;
  background: var(--nav-indicator);
  border-radius: 50%;
  border: 6px solid var(--back_clr);
  transition: 0.5s;
}
.indicator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -22px;
  width: 20px;
  height: 20px;
  background: transparent;
  border-top-right-radius: 20px;
  box-shadow: 1px -10px 0 0 var(--back_clr);
}
.indicator::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 20px;
  height: 20px;
  background: transparent;
  border-top-left-radius: 20px;
  box-shadow: -1px -10px 0 0 var(--back_clr);
}

/* Indicator Transitions */
.navigation ul li:nth-child(1).active ~ .indicator {
  transform: translateX(calc(70px * 0));
}
.navigation ul li:nth-child(2).active ~ .indicator {
  transform: translateX(calc(70px * 1));
}
.navigation ul li:nth-child(3).active ~ .indicator {
  transform: translateX(calc(70px * 2));
}
.navigation ul li:nth-child(4).active ~ .indicator {
  transform: translateX(calc(70px * 3));
}
.navigation ul li:nth-child(5).active ~ .indicator {
  transform: translateX(calc(70px * 4));
}
.header {
  height: fit-content;
  text-align: center;
  position: relative;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  background-color: var(--nav-bg);
}
.header_title {
  margin: 0;
  font-size: large;
  font-weight: 700;
  flex-grow: 1;
  color: var(--back_clr);
}
header button {
  border-width: 0px;
}

button {
  cursor: pointer;
}

.myButton {
  background-color: var(--button-color);
  border-radius: 4px;
  border: 1px solid var(--botton_color);
  display: inline-block;
  cursor: pointer;
  color: var(--back_clr);
  font-family: Arial;
  font-size: 15px;
  padding: 10px 15px;
  text-decoration: none;
  margin: 10px;
  height: 48px;
  background: var(--button-color);
}

.button_inline {
  width: 44px;
  height: 44px;
  font-size: x-large;
  color: var(--button-color);
  background: none;
  border-style: groove;
  border-radius: 5px;
}
/* button {
  display: block;
  margin: 5px;
  width: calc(32px * var(--ratio));
  min-height: 32px;
  border-radius: calc(3px * var(--ratio));
  border: none;
  letter-spacing: ccalc(3 * var(--leading, 0.025em));
  font-family: inherit;
  color: var(--cta-color);
  background-color: var(--light-color-bg);
  font-weight: 700;
  min-width: fit-content;
} */

.mybutton:focus {
  outline: none;
  border: 0.0625rem solid transparent;
  box-shadow: 0 0 0 0.125rem #fff, 0 0 0 0.2rem var(--dark-color-bg);
}

.myButton:hover {
  background-color: var(--theme-l2);
}
.myButton:active {
  position: relative;
  top: 1px;
}

.button_text_icon {
  display: flex;
  border-width: 1px;
  background-color: var(--button-color);
  width: fit-content;
  min-width: 64px;
  height: fit-content;
  min-height: 64px;
  /* border-color: var(--fore_clr); */
  border-radius: 5px;
  border-style: solid;
  justify-content: center;
  align-items: center;
  font-size: small;
  flex-direction: column;
  padding: 5px;
  color: var(--back_clr);
}
.button_icon {
  font-size: xx-large;
}
.button_icon_1 {
  width: 48px;
  height: 48px;
  background: none;
  border: 0px;
  color: var(--button-color);
  font-size: xx-large;
}
ion-icon {
  pointer-events: none;
}

.inbox_row {
  text-align: left;
  margin-bottom: 1rem;
}
.inbox_row .title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.inbox_row .title .from {
  font-weight: bold;
}
.inbox_row .title .timestamp {
  font-size: smaller;
  color: var(--fore_clr);
  opacity: 0.5;
}

/* @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap"); */

/* main {
  width: 700px;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 2rem;
} */

/* button.cta {
  background-color: var(--cta-color);
  color: white;
}

button.cta:focus {
  box-shadow: 0 0 0 0.125rem #fff, 0 0 0 0.2rem var(--cta-color);
}

#open_dialog {
  margin: 0 auto;
} */

.btn_outline {
  margin: 10px;
  background: none;
  color: var(--fore_clr);
  border-style: solid;
  cursor: pointer;
  border-color: var(--fore_clr);
  padding: 10px;
  border-radius: 5px;
  height: 48px;
}

.red {
  color: red;
  border-color: red;
}

.yellow {
  color: yellow;
  border-color: yellow;
}

dialog {
  border: none !important;
  /* border-radius: calc(5px * var(--ratio)); */
  border-radius: 5px;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 10px;
  max-width: 360px;
  width: 100%;
  margin: auto;
}

dialog img {
  display: block;
  max-width: 75%;
  margin: 1rem 0 auto 2rem;
}

.h1 {
  margin: 2rem 0 1rem;
  font-weight: 900;
}

.h2 {
  margin: 2rem 0 1rem;
  font-weight: 800;
}

p {
  color: var(--grey-color);
  letter-spacing: var(--leading, 0.025em);
  line-height: 1.625;
}
/* 
.flex {
  display: flex;
  flex-wrap: wrap;
}

.flex.flex-space-between {
  justify-content: space-between;
}

.flex button {
  margin: 8px auto;
} */
