*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
    margin: 0;
    padding: 0;
    
    /* width: 100vw; */
    min-height: 80vh;
    display: flex;
    font-size: 0.6rem;
    background-color: rgba(53, 53, 57, 0.042);
    /*
    background-image: url("./bg2.jpg");
    background-repeat: repeat-y;
    background-position: center;
    */
    background-size: 100%;
}

.appDiv{
  position: relative;
 
  width: 100%;
  /*
  height: 100%;
  */
  max-width: 320px;
  max-height: 760px;
  margin: 20px auto;
  padding: 0 15px;
  border: 1px solid silver;
  border-radius: 20px;
  box-shadow: 0px 3px 10px gray;
  font-size: 0.6rem;
  background-color: rgb(215, 215, 228);

}
@keyframes authFrame {
  from { opacity: 0; }
  to { opacity: 1; }
}

#logo-title{
  display: flex;
  align-items: center;
  justify-content: left; /* ცენტრში განთავსება */
  gap: 10px;
  padding: 10px;
  width: 100%; /* სრული სიგანე */
  height: 60px;
}
#logo-img {
  padding: 0;
  margin: 0;
  width: 60px;
  height: 60px;
  background-image: url('./img/Logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  opacity: 1;
}

h1 {
  margin: 0 auto;
  height: 100%;
  width: 100%;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* ჩრდილი ტექსტისთვის */
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  letter-spacing: 3px;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr; /* ერთი სვეტი */
  grid-auto-rows: minmax(50px, auto); /* რიგების სიმაღლე */
  gap: 5px; /* ელემენტებს შორის დაშორება */

  /* grid-template-rows: 100px 200px 150px 100px; /* კონკრეტული სიმაღლეები */
}

.grid-item {
  /* გრიდის ელემენტის სტილები */
  padding: 2px;
  background-color: #f5f5f5;
  border-radius: 5px;
}

.alertDiv{
  position: absolute;  /* ფიქსირებული პოზიცია */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* ნახევრად გამჭვირვალე ფონო */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  z-index: 1000; /* ყველა ელემენტზე წინ */
}

span {
  color: red;
  font-size: 0.9em;
  display: block;
}

/* მობილური მოწყობილობები */
@media only screen and (max-width: 767px) {
  /* მობილურისთვის სტილები */
  #logo-title {
    /* flex-direction: column; */
    text-align: center;
  }
  
  h1 {
    font-size: 1.2rem;
  }
  .grid-container {
    grid-template-rows: repeat(auto-fill, minmax(40px, auto));
    gap: 5px; /* შემცირებული დაშორება მობილურზე */
  }
}

/* ტაბლეტები */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  /* ტაბლეტისთვის სტილები */
}

/* დესკტოპი */
@media only screen and (min-width: 1025px) {
  /* დესკტოპისთვის სტილები */
}