/* CSS files add styling rules to your content */

html, body {
  opacity: 1;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: system-ui;
  background: var(--android-background);
/*   opacity: 0; */
  transition: opacity .25s .25s;
}

.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.swiper-slide {
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.description {
  display: flex;
  flex-direction: column;
  gap: 1em;
/*   -gap: 1em; */
  padding: 1em 1.5em;
}

.ratings-and-reviews {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  padding: 1em 1.5em;
}

.blockheader {
  display: flex; 
  justify-content: space-between;
  align-items: center;
/*   padding: 1em 1.5em; */
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--headers);
}

.short-description {
/*   padding */
}

.full-description .text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.full-description .more {
/*   text-align: left; */
  color: var(--more);
}

.invisible {
  visibility: hidden;
}

.empty-block {
  width: 100%;
  height: 2em;
}

p {
  margin-block-start: 0.1em;
  margin-block-end: 0.1em;
}

body {
  color: var(--texts);
  touch-action: none;
}

:root {
  --column-gap: 2em;
  --row-gap: 0.5em;
  --icon-size: 4em;
  --icon-radius: 1em;
}

.header {
  padding: 1.5em;
  display: grid;
  grid-template-columns: var(--icon-size) auto;
  grid-template-rows: auto auto 2.5em;
  grid-template-areas:
    "icon title"
    "shortinfos shortinfos"
    "install install";
  column-gap: var(--column-gap);
  row-gap: var(--row-gap);
}

.icon {
  grid-area: icon;
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius: var(--icon-radius);
  z-index: 2;
  transition: width .4s, height .4s, border-radius .4s;
  margin: auto;
}

.icon.loading {
  width: calc(var(--icon-size) / 2);
  height: calc(var(--icon-size) / 2);
  border-radius: calc(var(--icon-radius) / 2);
}

.loader-android {
  grid-area: icon;
  display: block;
  margin: auto;
	width: var(--icon-size);
	height: var(--icon-size);
  z-index: 1;
}

.loader-android .circular {
	-webkit-animation: rotate 1s linear infinite;
	animation: rotate 1s linear infinite;
	height: var(--icon-size);
	width: var(--icon-size);
	position: relative;
}

.loader-android .path {
  cx: calc(var(--icon-size) / 2);
  cy: calc(var(--icon-size) / 2);
  r: calc(calc(var(--icon-size) / 2) - 1px);
  stroke-width: 0;
	stroke-dasharray: 1,200;
	stroke-dashoffset: 0;
	-webkit-animation: dash 2s ease-in-out infinite;
	animation:  dash 2s ease-in-out infinite;
	stroke: var(--android--install-back);
	stroke-linecap: square;
  transition: stroke-width .4s;
}

.loader-android.loading .path {
  stroke-width: 2;
}

@keyframes rotate{
	100%{
		transform: rotate(360deg);
	}
}
@-webkit-keyframes rotate{
	100%{
		transform: rotate(360deg);
	}
}

@keyframes dash{
	0%{
		stroke-dasharray: 1,200;
		stroke-dashoffset: 0;
	}
	50%{
		stroke-dasharray: 89,200;
		stroke-dashoffset: -45;
	}
	100%{
		stroke-dasharray: 89,200;
		stroke-dashoffset: -192;
	}
}

@-webkit-keyframesdash{
	0%{
		stroke-dasharray: 1,200;
		stroke-dashoffset: 0;
	}
	50%{
		stroke-dasharray: 89,200;
		stroke-dashoffset: -45;
	}
	100%{
		stroke-dasharray: 89,200;
		stroke-dashoffset: -192;
	}
}

.smallicon {
  height: calc(100% - 1.5em);
  margin-right: 1.25em;
  border-radius: 0.5em;
  aspect-ratio: 1/1;
}

.smallname {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--headers);
}

div.info.text > div.column > div > span:nth-child(2) {
  color: var(--headers);
}

.detailstext {
  font-weight: 400;
  font-size: 0.8em;
  color: var(--details-text);
}

.title {
  grid-area: title;
  /*   max-height: calc(var(--icon-size) - 2.5em); */
  overflow: auto;
}

.name {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--headers);
}

.subtitle {
  display: none;
}

.developer {
  font-size: 1em;
  font-weight: 500;
  color: var(--developer);
}

@media (max-width: 315px) {
    .name {
        font-size: 1.2em;
    }
    .developer {
        font-size: 0.8em;
    }
}

.footer-title {
  font-size: 0.8em;
}

.shortinfos {
  grid-area: shortinfos;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  height: 4em;
  color: var(--headers);
}

.shortinfos > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shortinfos > .divider {
  width: 1px;
  height: 30%;
  background: var(--separator);
}

.shortinfos .label {
  font-weight: 400;
  font-size: 0.8em;
  color: var(--details-text);
}

.shortinfo {
  display: flex;
  gap: .25em;
}

.sizeicon {
  width: 1.25em;
  height: 1.25em;
  background-image: var(--size-icon);
}

.ageicon {
  width: 1.25em;
  height: 1.25em;
  background-image: var(--shortinfo-18);
}

.shortinfostar {
  width: 1em;
  height: 1em;
  background-image: var(--shortinfo-star);
}

.shortinfo18 {
  width: 1.25em;
  height: 1.25em;
  background-image: var(--shortinfo-18);
}

.install {
  grid-area: install;
  height: 2.5em;
  width: 100%;
  background: var(--android--install-back);
  border: none;
  border-radius: 1.5em;
  color: var(--android--install-color);
  font-weight: 600;
  font-size: 0.9em;
  transition: background .4s, color .4s;
}

.install[disabled] {
  background: var(--android--install-disabled-back);
  color: var(--android--install-disabled-color);
}

.screenshotslist {
  height: 12em;
  display: flex;
  flex-direction: row;
  padding-left: 1.5em;
  padding-right: 1.5em;
  gap: .5em;
  width: calc(100% - 3em);
  overflow-x: scroll;
  overflow-y: hidden;
}

.screenshotslist::-webkit-scrollbar {
  display: none;
}

.screenshotslist img {
  border-radius: .5em;
  height: 100%;
}

#screenshots-fullscreen {
  background: #000000;
  z-index: -1;
  filter: opacity(0);
  transform: scale(0.95);
  transition: filter 0.25s, transform 0.25s, z-index 0.25s;
}

#screenshots-fullscreen.active {
  z-index: 2;
  filter: opacity(1);
  transform: scale(1);
}

#description-fullscreen {
  background: var(--android-background);
  z-index: -1;
  filter: opacity(0);
  transform: scale(0.95);
  transition: filter 0.25s, transform 0.25s, z-index 0.25s;
}

#description-fullscreen.active {
  z-index: 2;
  filter: opacity(1);
  transform: scale(1);
}

#description-fullscreen .text {
  margin: 1em;
}


#description-fullscreen .headertext {
  font-size: 1.1rem;
  color: var(--headers);
}

.backbutton {
  padding: 16px;
  position: relative;
  z-index: 10;
}

#content {
  background: var(--android-background);
  transition: transform 0.25s;
  transform: scale(1);
  min-height: 100%;
  min-width: 100%;
  width: 100%;
  height: 100%;
  overflow: scroll;
}

#content::-webkit-scrollbar {
  display: none;
}

#content.scaled {
  transform: scale(calc(1 / 0.95));
}

.navbar {
  position: relative;
  display: flex; 
  align-items: center;
  height: 3.5em;
}

.navbar::after {
  content: '';
  width: 100%;
  height: 1px;
  background: var(--separator);
  position: absolute;
  bottom: 0;
}

.scrollable {
  overflow: scroll;
  height: calc(100% - 3.5em);
}

#description-fullscreen .divider {
  width: 100%;
  height: 1px;
  background: var(--separator);
}

.column {
  display: flex;
  flex-direction: column;
  gap: 2em;
  padding: 2em 0;
}

.row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.info {
  font-size: .9rem;
}

.whatsnew {
  position: relative;
}

.whatsnew::after {
  content: '';
  background: var(--whatsnew-point);
  width: 0.5em;
  height: 0.5em;
  position: absolute;
  top: calc(50% - 0.25em);
  margin-left: 0.75em;
  border-radius: 100%;
}

.ratingsblock {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas: 
    "rating-big rating-right"
    "rating-stars rating-right"
    "rating-count rating-right";
  grid-column-gap: 2em;
}

.rating-big {
  grid-area: rating-big;
  font-size: 3em;
  color: var(--headers);
}

.rating-stars {
  grid-area: rating-stars;
  display: flex;
}

.rating-count {
  grid-area: rating-count;
  font-weight: 400;
  font-size: 0.8em;
}

.review-star {
  width: .75em;
  height: .75em;
  background-image: var(--review-star);
}

.halfstar {
  width: .75em;
  height: .75em;
  background-image: var(--half-star);
}

.emptystar {
  width: .75em;
  height: .75em;
  background-image: var(--empty-star);
}

.ratings {
  grid-area: rating-right;
  display: flex;
  flex-direction: column;
  gap: .25em;
}

.rating {
  display: flex;
  gap: .75em;
  justify-content: center;
  align-items: center;
}

.stars {
  font-weight: 400;
  font-size: 0.8em;
  width: .5em; 
}

.rating-chart {
  height: .5em;
  width: 100%;
  background: var(--android-rating-chart-back);
  border-radius: .5em;
  position: relative;
}

.rating-chart::after {
  content: '';
  position: absolute;
  height: .5em;
  min-width: .5em;
  background: var(--android-rating-chart);
  border-radius: .5em;
}

/* .chart5s::after {
  width: 90%;
}

.chart4s::after {
  width: 8%;
}

.chart3s::after {
  width: 2%;
}

.chart2s::after {
  width: 0%;
}

.chart1s::after {
  width: 0%;
} */

.reviews {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.review-inner {
  display: flex;
  flex-direction: column;
  gap: .5em;
  width: 100%;
}

.userdata, .reviewdata {
  display: flex;
  flex-direction: row;
  gap: .5em;
  align-items: center;
}

.answer-userdata {
  font-weight: 500;
  display: flex;
  flex-direction: row;
  gap: .5em;
  align-items: center;
  justify-content: space-between;
}

.userrating {
  display: flex;
  flex-direction: row;
}

.reviewdate {
  font-weight: 400;
  font-size: 0.8em;
}

.review-answer {
  background: var(--answer-review-block);
  padding: 12px;
  position: relative;
  border-radius: 5px;
}

.review-answer .reviewtext {
  color: var(--answer-review-text);
}

.username {
  color: var(--headers);
}

.userphoto {
  width: 2rem;
  height: 2rem;
  font-weight: 500;
  font-size: 1.2em;
  background: #8BC34A;
  color: #ffffff;
  border-radius: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reviewtext {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.reviewtext.collapsed {
  display: block;
}

.vat {
  padding: 1em 1.5em;
  color: var(--headers);
}

.arrow {
  fill: var(--headers);
}

.arrow.light {
  fill: var(--headers-light);
}

.category {
  width: fit-content;
  padding: 0.3em 1em;
  border: 1px solid var(--texts);
  border-radius: 0.5em;
}

.categories {
  scrollbar-width: none;
  display: flex;
  flex-direction: row;
  gap: 0.5em;
  overflow-x: scroll;
  overflow-y: hidden;
  margin-left: 1.5em;
  text-wrap: nowrap;
}

/* ~~~~~~~~~~~~ */

.ios {
  display: none !important;
}

.g-recaptcha-container {
    padding: 10px 15px;
    border: 2px solid #c5c5c5;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: black;
    width: 100%;
    max-width: 280px;
    background-color: white;
}

.g-recaptcha-checkbox {
    width: 25px;
    height: 25px;
    border: 2px solid #c5c5c5;
    border-radius: 2px;
    cursor: pointer;
}

.g-recaptcha-checkbox.checked {
    background-color: #f1f1f1;
    border-color: #ccc;
}

.g-recaptcha-label {
    margin-left: 10px;
    padding-top: 2px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
}

.g-recaptcha-loader {
    display: none;
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid #3498db;
    width: 30px;
    height: 30px;
    margin-left: auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.g-recaptcha-text {
    font-size: 12px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.g-recaptcha-text-2 {
    font-size: 12px;
    display: flex;
    align-items: center;
}

.g-recaptcha-icon {
    height: 40px;
    width: 40px;
    margin-bottom: 5px;
}

.captcha-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #7ac142;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

#checkmark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #7ac142;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}
@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #7ac142;
  }
}