@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root{
  --red: #e52521;
  --background: #000000;
  --color: var(--red);
} 

/* .input-wrapper {
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    padding: 0 10px !important;
} */

* {
  font-family: 'Rubik', sans-serif;
}
body {
  font-family: 'Rubik', sans-serif;
  text-align: left;
  margin: 0;
  padding: 20px;
  background-color: #f4f4f9;
}
  
h1 {
  color: #333;
}
  
button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.browser{
  -webkit-user-select: none; /* Safari */
  user-select: none;
  background-color: green;
  color: white;
  padding: 20px;
  width: 50%;
  margin: 0 auto;
}
.standalone{
  -webkit-user-select: none; /* Safari */
  user-select: none;
  background-color: deeppink;
  color: white;
  padding: 20px;
  width: 50%;
  margin: 0 auto;
}
.container{
    -webkit-user-select: none; /* Safari */
    user-select: none;
  
    background-color: #fff;
    color: black;
    padding: 20px;
    margin: 20px auto;
    width: 50%;
}

#editor textarea {
  width: 90%;
  height: 200px;
  background-color: #EEE;
  border-radius: .5rem;
  padding: .8rem;
}
#editor .toolbar button{
  display: block;
  font-size: 16px;
  border: 2px solid black;
  border-radius: 8px;
  padding: 16px;
  margin: 0 8px;
  text-transform: uppercase;
}
#editor .toolbar {
  width: 100%;
  display: flex;
  margin-top: 16px;
  justify-content: center;
}


@media(display-mode: browser){
  .browser{
      display: block;
  }
  .standalone{
      display: none;
  }    
}
@media(display-mode: standalone){
  .browser{
      display: none;
  }
  .standalone{
      display: block;
  }
  
}

@media screen and (max-width: 767px) {
  
  .browser, .standalone, .container{
    width: 80%;
  }
}


.bg-wave{
    position: absolute;
    bottom: 44vh;
}

.login-content{
    background-image: url('/img/bg-login.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: auto;
    position: relative;
}
.login-form{
    background: #fff;
    position: absolute;
    bottom: 0;
    height: 45vh;
    width: 100%;
    text-align: left;
}
.login-form h2{
    margin-top: -18px;
}
.login-form h2::after{
    content:"";
    display:block;
    border-bottom: 4px solid var(--red);
    width: 20px;
}
ion-input{
    border-bottom: 1px solid #ccc;
}
#login-confirm{
    margin-top: 10px;
    -webkit-margin-start: 0px;
    margin-inline-start: 0px;
    -webkit-margin-end: 0px;
    margin-inline-end: 0px;
}
ion-button {
    --background: var(--red);
}
/* IONIC */

#login-username{
    padding-left: 20px;
}

.login-content{
    align-items: center;
    justify-content: center;
    height: 93vh;
    display: flex;
}
.list-content,
.user-content{
  align-items: center;
  justify-content: center;
  /* height: 100vh; */
}
ion-toolbar{
    border-top: 5px solid #000;
}
ion-content{
  height: 88vh;
}
ion-img#logo{
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
}
ion-avatar {
    --border-radius: 4px;
    width: 60px;
    height: auto;
    padding: 5px 0;
    margin-right: 30px;
}

.flag{
    width: 20px;
    margin: 0;
    padding: 0;
}
#user-card ion-label.item-title{
  width: 30%;
}
#user-card ion-label.item-value{
  width: 70%;
}

ion-list{
    margin-top: 9px !important;
}
ion-toolbar {
    --background: #fff;
    --color: var(--red);
  }
  ion-img{
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
  }
  ion-input{
    text-align: left;
    margin-top: .5rem;
  }
  #user-page ion-content{
    --padding-start: 0;
    --padding-end: 0;
  }
  ion-tab-bar, ion-footer { 
    padding-bottom: env(--ion-safe-area-bottom);
  }
  ion-tab-bar.ios{
      padding-bottom: 30px;
  }
  
  ion-label .price_list{
    float: right;
  }
  ion-tab-button{
      color: #333;
  }
  ion-tab-button:focus,
  ion-tab-button.tab-selected:focus,
  ion-tab-button.tab-selected:focus ion-icon,
  ion-tab-button.tab-selected{
      color: var(--red);
  }
  #card-subtitle{
      font-weight: normal !important;
      font-size: 9px !important;
      text-transform: lowercase !important;
  }
  #card-title{
      font-weight: 500 !important;
  }
  .text-primary{
      color: var(--red) !important;
  }
  .mt-20{
      margin-top: 20px !important;
  }

  .koi-item{
        display: none;
        padding-bottom: 200px;
  }
  .koi-item ion-img{
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .text-bg-secondary {
    color: #fff !important;
    background-color: #6C757D !important;
  }
  .text-bg-warning {
    color: #fff !important;
    background-color: orange !important;
  }
  .badge {
    padding:  0.35em 0.65em;
    font-size: 0.75em;
    font-weight: normal;
    color: #fff;
    border-radius: 5px;
    display: inline-block;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
  }
  .float-right{
    float: right;
  }
  dt{
    display: inline-block;
    width: 30vw;
    color: #888;
  }
  dd{
    display: inline-block;
    width: 50vw;
    margin-left: 0;
    color: #888;
  }
  .login-form-content .typewriter{
        display: none;
  }
  .typewriter p {
        overflow: hidden; 
        white-space: nowrap; 
        border-right: 3px solid black; 
        font-family: monospace;
        font-size: 18px;
        width: 0;
        animation: typing 3s steps(30, end) forwards, blink 0.7s steps(2, start) 5 forwards;
        margin-left: 20px;
        width: 100%;
  }
  
  @keyframes typing {
        from { width: 0; }
        to { width: 100%; }
  }
  
  @keyframes blink {
        50% { border-color: transparent; }
        100% { border-color: transparent; } /* Make cursor disappear at the end */
  }
  

@media screen and (max-width: 380px) {
    ion-card-content{
        font-size: 13px !important;
    }
}

@media screen and (max-width: 767px) {
  ion-content{
    height: 100vh;
  }
  ion-img#logo{
    width: 50%;
  }
  #card-title{
    font-size: 20px;
  }

}
