@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

:root {
   --fon-rangi: #f9fbfc;
}

.wrapper {
   padding: 5px;
   width: 100%;
   height: calc(var(--vh, 1vh) * 100);
   display: flex;
   flex-direction: column;
   border: 1px solid #000;
   position: relative;
}
/*AlertModal*/
.alertmodal {
   position: absolute;
   font-size: 25px;
   color: #027b83;
   font-family: Arial, Helvetica, sans-serif;
   width: 50%;
   height: 50%;
   z-index: 10;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
   box-shadow: 0px 0px 3px 1px rgba(128, 128, 128, 0.568);
   background-color: #ffffff;
   border-radius: 5px;
   display: flex;
   align-items: center;
   justify-content: center;
}
.alertmodal img {
   width: 40%;
   border-radius: 50%;
}

/* Modal oyna css mobile start*/
.modal-window {
   position: absolute;
   width: 95%;
   height: 95%;
   z-index: 10;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
   box-shadow: 0px 0px 3px 1px rgba(128, 128, 128, 0.568);
   background-color: #ffffff;
   border-radius: 5px;
   display: none;
   overflow: auto;
}
.modal-wrapper {
   width: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
}
.modal-window.show {
   animation-name: scale-modal;
   animation-duration: 0.2s;
   animation-timing-function: linear;
}
.modal-window.hide {
   animation: scale-out 0.2s linear forwards;
}

.modal-carousel {
   position: relative;
   display: flex;
   align-items: center;
   justify-content: center;
}
.carousel-btn {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   background: rgba(0, 0, 0, 0.3);
   color: white;
   font-size: 30px;
   border: none;
   padding: 10px;
   cursor: pointer;
   z-index: 12;
   border-radius: 20%;
}
.prev {
   left: 10px;
}
.next {
   right: 10px;
}

.modal-window img {
   width: 90%;
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
   border-radius: 5px;
   margin-top: 15px;
}

#close-modal-btn {
   all: unset;
   position: absolute;
   background-image: url('../images/close-button.png');
   background-size: 100% 100%;
   width: 35px;
   height: 35px;
   right: 0px;
   top: 0x;
   z-index: 11;
   cursor: pointer;
}

#modal-title {
   color: #1b2f40;
   font-size: 22px;
   width: 90%;
   margin-top: 10px;
   font-family: 'Poppins', sans-serif;
   text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
   line-height: 20px;
}

#modal-info {
   margin-top: 10px;
   width: 90%;
   height: 25%;
   font-family: 'Inter', sans-serif;
   text-align: justify;
   color: #444444;
}

#modal-number {
   text-align: center;
   color: #1b2f40;
   font-size: 20px;
   font-weight: 600;
   width: 80%;
   margin-top: 10px;
   font-family: 'Poppins', sans-serif;
   text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
   line-height: 20px;
}
#modal-footer {
   display: flex;
   width: 90%;
   margin-top: 10px;
   flex-grow: 1;
}
#modal-price {
   color: #1e88e5;
   font-family: 'Poppins', sans-serif;
   text-shadow: 0 0 6px rgba(30, 136, 229, 0.6);
   font-size: 25px;
   width: 50%;
   padding-right: 10px;
   word-wrap: break-word;
   overflow-wrap: break-word;
   white-space: normal;
}

#modal-address {
   font-family: 'Lato', sans-serif;
   width: 50%;
   color: #027b83;
   text-align: right;
}
/* Modal oyna css mobile stop*/

header {
   border-radius: 5px;
   box-shadow: 0px 0px 3px 1px rgba(128, 128, 128, 0.568);
   background-color: #ffffff;
   width: 100%;
   height: 100px;
   display: flex;
   justify-content: space-between;
   overflow: hidden;
}

#logo {
   width: 100px;
   margin-left: 20px;
}

.menu {
   flex-grow: 1;
   height: 100%;
   display: flex;
   align-items: center;
   justify-content: space-between;
}

#elonberishbtn {
   display: block;
   font-size: 20px;
   padding: 5px 10px;
   border-radius: 5px;
   background-color: #006be9;
   color: white;
   font-family: 'Kanit', sans-serif;
   font-weight: 400;
   letter-spacing: 2px;
   text-decoration: none;
   margin-left: 5px;
   position: relative;
}

#elonberishbtn::after {
   content: '';
   display: block;
   position: absolute;
   right: -10%;
   top: -40%;
   width: 20%;
   aspect-ratio: 1 / 1;
   background-image: url('../images/telegramlogo.png');
   background-size: 100% 100%;
}

.elonberish {
   margin-left: 20px;
   display: flex;
   align-items: center;
}

#elonberishbtn:hover {
   background-color: #1a7ff0;
   transform: scale(1.05);
   box-shadow: 0 0 8px rgba(0, 107, 233, 0.5);
   transition: all 0.2s ease;
}

#manabu {
   width: 70px;
}

main {
   padding: 10px;
   background-color: var(--fon-rangi);
   flex-grow: 1;
   width: 100%;
   height: 100%;
   margin-top: 5px;
   box-shadow: 0px 0px 3px 1px rgba(128, 128, 128, 0.584);
   border-radius: 5px;
   display: flex;
   overflow: hidden;
}

main div {
   border-radius: 5px;
   background-color: #ffffff;
}

.leftblock {
   display: flex;
   flex-direction: column;
   align-items: center;
   width: 8%;
   height: 100%;
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
   overflow: auto;
   height: 100%;
}
.centerblock {
   box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
   margin: 0px 10px 0px 10px;
   flex-grow: 1;
   flex-shrink: 1;
   flex-basis: 0;
   max-width: 72%;
   min-width: 0;
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 10px;
   padding: 10px;
   overflow: auto;
   height: 100%;
   position: relative;
}

.loading-block {
   position: absolute;
   width: 100%;
   height: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   background-color: #f9faf8;
   z-index: 18;
}

.loading-block img {
   width: 40%;
}

.loading-block p {
   color: #027b83;
   font-size: 30px;
   margin-top: 10px;
   font-family: 'Kanit', sans-serif;
}

.rightblock {
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
   width: 20%;
   height: 100%;
   overflow: auto;
}

.card-button {
   margin-top: 10px;
   color: #027b83;
   font-family: 'Poppins', sans-serif;
   font-weight: 700;
   padding-bottom: 5px;
   font-size: 14px;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   width: 80%;
   border-radius: 5px;
   box-shadow: 0 0px 6px rgba(62, 62, 120, 0.397),
      0 0px 3px rgba(28, 186, 201, 0.429);
   transition: 0.2s linear;
}

.card-button img {
   width: 100%;
}

.card-button:hover {
   transform: scale(1.1);
   box-shadow: 0 0px 6px rgba(12, 12, 225, 0.63),
      0 0px 3px rgba(21, 201, 102, 0.591);
}

.maxsulot-card {
   position: relative;
   align-self: start;
   padding: 5px;
   font-family: 'Poppins', sans-serif;
   display: flex;
   flex-direction: column;
   align-items: center;
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

#premium_image {
   position: absolute;
   left: 10px;
   top: 10px;
   width: 15%;
   z-index: 5;
}

.maxsulot-card:hover {
   transform: scale(1.02);
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
   transition: all 0.2s ease;
}

.maxsulot-card p {
   line-height: 18px;
   color: #555555;
}
.maxsulot-card h3 {
   font-size: 22px;
}
.maxsulot-card img {
   width: 100%;
   border-radius: 3px;
}

.numberblock {
   display: flex;
   align-items: center;
}

#numberIcon {
   width: 8%;
   margin: 0px 10px 0px 10px;
}

#price {
   font-family: 'Inter', sans-serif;
   font-size: 20px;
   font-weight: 900;
   color: #1a1a7f;
   margin: 10px 0 10px 0;
}

#number {
   font-family: 'Inter', sans-serif;
   font-size: 18px;
   font-weight: 700;
   color: #333333;
}

.shapka {
   width: 100%;
   height: 50px;
   display: flex;
   justify-content: center;
   margin-top: 20px;
}

.shapka img {
   height: 100%;
}

.shapka img:last-child {
   height: 100%;
}

@media (max-width: 767px) {
}
@media (max-width: 480px) {
   .centerblock {
      grid-template-columns: 1fr;
      max-width: 100%;
      padding: 5px;
   }

   .rightblock {
      display: none;
   }
   .leftblock {
      width: 20%;
   }
   .card-button {
      font-size: 8px;
   }
   #elonberishbtn {
      font-size: 12px;
      padding: 10px;
      font-weight: 400;
      letter-spacing: 1.5px;
   }
   #elonberishbtn::after {
      content: '';
      display: block;
      position: absolute;
      width: 20px;
      height: 20px;
      top: -5px;
      right: -5px;
      background-image: url('../images/telegramlogo.png');
      background-size: 100% 100%;
   }
   button:focus,
   button:active {
      outline: none;
   }
}

@keyframes scale-modal {
   0% {
      transform: translate(-50%, -50%) scale(0.5);
      opacity: 0;
   }
   100% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
   }
}

@keyframes scale-out {
   0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
   }
   100% {
      transform: translate(-50%, -50%) scale(0.5);
      opacity: 0;
   }
}
