@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');


:root {
  --ammo-width: 10%;
  --app-height: 100vh;
}



html {
  margin: 0 !important;
  height: 100%;
  font-size: 1.11vw;
}

body {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: var(--app-height);
  overflow-x: hidden;
  background-color: #fff;
  background-image: url(../images/bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-tap-highlight-color: transparent;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
  padding: 0;
  margin: 0 auto;
  font-family: "Oswald", sans-serif;
}

ul {
  display: block;
  position: relative;
  list-style: none;
}

img {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}


.background img {
  margin: 0;
	width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.background {
	display: -webkit-box!important;
	display: -webkit-flex!important;
	display: -ms-flexbox!important;
	display: flex!important;
	-webkit-box-align: center;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: start;
	-webkit-justify-content: flex-start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	position: fixed;
	top: 0px;
	bottom: 0px;
	right: 0px;
	width: 100%;
	height: 100%;
	z-index: -1;
}



/* BUTTON */
.button {
  display: block;
  position: relative;
  width: auto;
  overflow: hidden;
  border: none;
  outline: none;
  -webkit-box-shadow: 0 5px 15px 0 rgba(255, 51, 102, 0.4);
          box-shadow: 0 5px 15px 0 rgba(255, 51, 102, 0.4);
  background: -o-linear-gradient(68deg, #f36 0%, #ff6b6b 100%);
  background: linear-gradient(22deg, #f36 0%, #ff6b6b 100%);
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  color: white;
  white-space: nowrap;
  cursor: pointer;
  padding: 13px 35px;
  min-width: 176px;
  margin: 0 auto;
  -webkit-border-radius: 50px;
          border-radius: 50px;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}
.button:hover {
  -webkit-transform: scale(1.03);
      -ms-transform: scale(1.03);
          transform: scale(1.03);
}
/*  */

.page {
  padding: 13px;
}

.main {
  display: none;
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  height: var(--app-height);
  overflow: hidden;
  background: white;
  margin: auto;
  border: 6px solid #fbc757;
  -webkit-border-radius: 4px;
          border-radius: 4px;
  -webkit-box-shadow: inset 0 4px 77px 0 #fbc757;
          box-shadow: inset 0 4px 77px 0 #fbc757;
  background: #d3f7ff;
  background-image: url(../images/main-bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  -webkit-transition: opacity 0.6s ease;
  -o-transition: opacity 0.6s ease;
  transition: opacity 0.6s ease;
}

.main.is-visible {
  display: block;
}

.main.is-active {
  opacity: 1;
}

.start-screen {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: var(--app-height);
  padding: 54px;
  opacity: 1;
  -webkit-transition: opacity 0.6s ease;
  -o-transition: opacity 0.6s ease;
  transition: opacity 0.6s ease;
}

.start-screen.is-hiding {
  opacity: 0;
}

.start-screen.is-hidden {
  display: none;
}
.start-screen__image {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  height: 100%;
}
.start-screen__image .img-tablet, .start-screen__image .img-mob {
  display: none;
}


.start-screen__wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 450px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}
.start-screen__logo{
  max-width: 376px;
  margin-bottom: 32px;
}

.start-screen__logo img {
  display: block;
}
.start-screen__title {
  font-weight: 400;
  font-size: 32px;
  line-height: 100%;
  text-align: center;
  color: #1d1d1d;
  margin-bottom: 32px;
  text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
}


.lines {
  padding: 0;
}
.line {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 auto;
  gap: 0;
  position: relative;

}
  .line img:not([src]),
  .line img[src=""],
  .line img[src=" "],
  .line img[src="about:blank"],
  img[src^="data:,"] {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    -webkit-clip-path: inset(50%) !important;
            clip-path: inset(50%) !important;
    pointer-events: none !important;
    white-space: nowrap !important;
  }


.heart {
  display: block;
  position: relative;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 var(--ammo-width);
      -ms-flex: 0 0 var(--ammo-width);
          flex: 0 0 var(--ammo-width);
  width: var(--ammo-width);
  height: auto;
  aspect-ratio: 1 / 1;
  -o-object-fit: contain;
     object-fit: contain;
}
.heart[data-bubble-state="destroyed"] {
  position: absolute;
  animation: bubble-destroy 2s ease-in-out forwards;
  -webkit-animation: bubble-destroy 2s ease-in-out forwards;
}
.heart[data-bubble-state="deactivated"] {
  position: absolute;
  animation: bubble-deactivate 2s ease-in-out forwards;
  -webkit-animation: bubble-deactivate 2s ease-in-out forwards;
}



.field {
  display: block;
  position: absolute;
  top: 0;
  bottom: var(--ammo-width);
  left: 0;
  right: 0;
}



.canvas {
  display: block;
  position: absolute;
  top: 0;
  bottom: var(--ammo-width);
  left: 0;
  right: 0;
  height: -webkit-calc(100vh - var(--ammo-width));
  height: calc(100vh - var(--ammo-width));
  height: -webkit-calc(var(--app-height) - var(--ammo-width));
  height: calc(var(--app-height) - var(--ammo-width));
  pointer-events: none;
  z-index: 1;
  margin: auto;
  width: 100%;
}



.cannon-wrapper {
  padding: 0 0.14rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--ammo-width);
  height: 1rem;
  overflow: visible;
  margin: 0;
}



.cannon {
  display: block;
  position: relative;
  width: auto;
  height: 100%;
  -webkit-transform-origin: 50% 50%;
      -ms-transform-origin: 50% 50%;
          transform-origin: 50% 50%;
  margin: 0 auto;
  transition: none;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
}
.cannon .cannon__image {
  display: block;
  position: relative;
  margin: 0 auto;
}





.ammo {
  display: block;
  position: absolute;
  top: 100%;
  left: 100%;
  -webkit-transform-origin: 50% 50%;
      -ms-transform-origin: 50% 50%;
          transform-origin: 50% 50%;
  translate: -50% -50%;
  transition: none;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
}



.end-screen {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: fixed;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.35rem;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url(../images/screen-bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #fff;
  pointer-events: none;
  padding: 0.5rem;
  opacity: 0;
  z-index: 100;
  transition: all 1s;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;
  text-align: center;
}
.end-screen.active {
  pointer-events: all;
  opacity: 1;
}
.end-screen.crash-screen {
  transition: none;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  z-index: 10000;
}



.destroy-notification {
  display: block;
  position: absolute;
  width: auto;
  height: 0.2rem;
  background: white;
  font-size: 0.1rem;
  line-height: 0.1rem;
  padding: 0.05rem;
  transition: none;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
}
.destroy-notification.active {
  animation: destroy-notification-dead 1s linear forwards;
  -webkit-animation: destroy-notification-dead 1s linear forwards;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
}



.end-screen__title {
  font-weight: 700;
  font-size: 0.42rem;
  line-height: 110%;
  text-transform: uppercase;
  color: #ff004d;
}

.end-screen__text {
  font-weight: 400;
  font-size: 0.2rem;
  color: #555;
}
.end-screen__points{
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.3;
  color: #d6336c;
}
.end-screen__subtitle {
  font-weight: 400;
  font-size: 0.30rem;
  color: #555;
}






@-webkit-keyframes bubble-destroy {
  100% {
    top: 200%;
  }
}
@keyframes bubble-destroy {
  100% {
    top: 200%;
  }
}



@-webkit-keyframes bubble-deactivate {
  100% {
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
    opacity: 0;
  }
}
@keyframes bubble-deactivate {
  100% {
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
    opacity: 0;
  }
}



@-webkit-keyframes destroy-notification-dead {
  100% {
    margin-top: -5vw;
    opacity: 0;
  }
}
@keyframes destroy-notification-dead {
  100% {
    margin-top: -5vw;
    opacity: 0;
  }
}



.info {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  overflow: hidden;
  z-index: 5;
  position: relative;
  padding: 0.25rem 0.13rem;
}

.info__points {
  font-weight: 700;
  color: #d6336c;
  font-size: 0.2rem;
  line-height: 1.1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  border: 2px solid #d6336c;
  -webkit-border-radius: 50px;
          border-radius: 50px;
  -webkit-box-shadow: 0 4px 10px 0 rgba(214, 51, 108, 0.2);
          box-shadow: 0 4px 10px 0 rgba(214, 51, 108, 0.2);
  background: #fff;
  padding: 0.14rem 0.4rem;
}



.info__timer {
  font-weight: 700;
  color: #d6336c;
  font-size: 0.2rem;
  line-height: 1.1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
  border: 2px solid #d6336c;
  -webkit-border-radius: 50px;
          border-radius: 50px;
  -webkit-box-shadow: 0 4px 10px 0 rgba(214, 51, 108, 0.2);
          box-shadow: 0 4px 10px 0 rgba(214, 51, 108, 0.2);
  background: #fff;
  padding: 0.14rem 0.4rem;
}
.timer {
  width: 0.4rem;
  text-align: center;
}




.cannon__ammo-next {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  position: absolute;
  bottom: 0.15rem;
  left: -webkit-calc(50% + 0.75rem);
  left: calc(50% + 0.75rem);
  margin: 0 auto auto 0;

}
.cannon__ammo-next img {
  width: auto;
  height: 0.5rem;
}
.cannon__ammo-next span {
  font-size: 0.2rem;
  line-height: 1.1;
  color: #d6336c;
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 2px;
}

.cannon__controls {
  -webkit-box-shadow: 0 4px 10px 0 rgba(214, 51, 108, 0.2);
          box-shadow: 0 4px 10px 0 rgba(214, 51, 108, 0.2);
  background: #fff;
  width: 0.44rem;
  height: 0.44rem;
  -webkit-border-radius: 100%;
          border-radius: 100%;
  border: 2px solid #d6336c;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.cannon__controls img {
  width: 0.24rem;
  height: 0.24rem;
  -o-object-fit: contain;
     object-fit: contain;
}
