@import url("https://fonts.googleapis.com/css2?family=Fira+Sans+Condensed:wght@200&family=Inter:wght@300;400;600&family=Noto+Serif+Georgian:wght@700&display=swap");

body,
html {
  touch-action: manipulation;
  margin: 0px !important;
  overflow: hidden;
  background: #fff;
}
/*
* ::selection {
  color: #fff;
  background-color: #0000003d;
}*/

p {
  margin-block-start: 3px;
  margin-block-end: 3px;
  color: #fff;
  font-family: Golos UI;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: 11px 0 0 14px;
}

button {
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: -webkit-focus-ring-color auto 0px;
}
/*____________*/

.form-control {
  position: relative;
}

.form-control input {
  display: block;
  outline: none;
  width: 197px;
  background: #f5f5f5;
  border-radius: 16px;
  border: none;
  padding: 25px 0 5px 11px;
  font-size: 34px;
  margin: 0;
  font-family: Inter;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  color: #727272;
}

.form-control label {
  pointer-events: none;
  cursor: pointer;
  display: block;
  position: absolute;
  left: 11px;
  color: #b3b3b3;
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  top: 7px;
  font-size: 15px;
}

.form-control input:focus {
  color: #000;
}

/*____________*/

#canvas {
  border: 2px solid #e6e6e6;
  transform-origin: center top;
  background-image: linear-gradient(
      45deg,
      #e6e6e6 25%,
      transparent 25%,
      transparent 75%,
      #e6e6e6 75%,
      #e6e6e6
    ),
    linear-gradient(
      45deg,
      #e6e6e6 25%,
      transparent 25%,
      transparent 75%,
      #e6e6e6 75%,
      #e6e6e6
    );
  background-position:
    0 0,
    20px 20px;
  background-size: 40px 40px;
}

.container {
  transform: scale(0.5);
  width: 100vw;
  height: 100vw;
  transition: transform 0.2s ease;
  transform-origin: center 15%;
  border-radius: 20px;
  position: absolute;
}

canvas#canvas {
  transform-origin: 0% 15%;
}

.canvas-container {
  transform-origin: 0% 0%;
}

@media screen and (max-width: 640px) {
  body,
  html {
    overflow: hidden;
  }

  .container {
    transform: scale(1);
  }

  .canvas_controls {
    display: inline-flex;
    position: relative;
    margin: auto;
    right: 0 !important;
  }

  .bottom_controls {
    overflow: auto;
  }
}

.bottom_controls {
  z-index: 2;
  position: fixed;
  width: 100%;
  bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

button#logoChoice {
  width: 154px;
  height: 75px;
  border-radius: 100px;
  background: black;
}

#logoChoice_icon {
  background-image: url(choose_logo.svg);
  background-position: 21px 2px;
  width: auto;
  height: 55px;
  background-repeat: no-repeat;
}

.canvas_controls {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin: auto;
  /* right: 83px; */
  gap: 0 8px;
}

.fillColor_btn {
  width: 73px;
  height: 73px;
  background: url(color_fill.webp);
  background-size: 100%;
  border-radius: 100px;
  cursor: pointer;
}

#color_box {
  width: 155px;
  height: 179px;
  position: absolute;
  bottom: 93px;
  bottom: 97px;
  /* transform: translateX(-165%); */
  transform: translateX(-109%);
  transform: translateX(-115%);
  background: url(color_bg.svg);
}

#setLogoColor {
  width: auto;
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 13px;
}

.set_color {
  width: 37px;
  height: 37px;
  border-radius: 100px;
}

#colored_fill {
  background: linear-gradient(
    90deg,
    rgba(255, 0, 0, 1) 0%,
    rgba(255, 154, 0, 1) 10%,
    rgba(208, 222, 33, 1) 20%,
    rgba(79, 220, 74, 1) 30%,
    rgba(63, 218, 216, 1) 40%,
    rgba(47, 201, 226, 1) 50%,
    rgba(28, 127, 238, 1) 60%,
    rgba(95, 21, 242, 1) 70%,
    rgba(186, 12, 248, 1) 80%,
    rgba(251, 7, 217, 1) 90%,
    rgba(255, 0, 0, 1) 100%
  );
}
#white_fill {
  background: white;
}
#black_fill {
  background: black;
}
#uncolored_bg {
  background-image: linear-gradient(
      45deg,
      #d7d7d7 25%,
      transparent 25%,
      transparent 75%,
      #d7d7d7 75%,
      #d7d7d7
    ),
    linear-gradient(
      45deg,
      #d7d7d7 25%,
      white 25%,
      white 75%,
      #d7d7d7 75%,
      #d7d7d7
    );
  background-position:
    0 0,
    7px 7px;
  background-size: 14px 14px;
}
#white_bg {
  background: white;
}
#black_bg {
  background: black;
}

button#exportBtn {
  color: #f4afff;
  text-align: center;
  font-family: Inter;
  font-size: 17.697px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.619px;
  border-radius: 16px;
  background: #e343fd;
  width: 86px;
  height: 73px;
  border: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.btn_icon {
}

#dropdown_icon {
  background-image: url(arrow.svg);
  background-repeat: no-repeat;
  background-position: 0px 8px;
  background-size: 103%;
  width: 36px;
  height: 54px;
  position: relative;
  pointer-events: none;
}

.zoom_controls {
  position: absolute;
  display: grid;
  top: 1rem;
  left: 2rem;
  z-index: 2;
  display: none;
}

button#zoomIn {
  border-radius: 40px 40px 0 0;
  border: none;
  width: 3rem;
  height: 3rem;
  font-size: 40px;
  font-weight: 100;
  font-family: Inter;
  color: #8a8a8a;
}
button#zoomOut {
  border: none;
  height: 3rem;
  border-radius: 0 0 40px 40px;
  font-size: 40px;
  font-weight: 100;
  font-family: Inter;
  color: #8a8a8a;
}

/*---Выпадайка---*/
.dropbtn {
  background-color: #3498db;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropbtn:hover,
.dropbtn:focus {
  background-color: #2980b9;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  bottom: 70px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {
  background-color: #ddd;
}

.show {
  display: block;
}

#descRemove {
  display: none;
}

/* MODALS */
#logoList_modal {
  bottom: 0;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  background: #ffffff80;
}

#start_modal {
    background: #000000c9;
    mix-blend-mode: darken;
}


#glow{
    width: 165px;
    height: 83px;
    border-radius: 110px;
    background: #ffffff;
    position: absolute;
    bottom: 15px;
    transform: translateX(-184%);
    filter: blur(11px);
    cursor: pointer;
}

.logo_list {
  list-style: none;
  color: #000;
  font-family: Inter;
  font-size: 21.872px;
  font-style: normal;
  font-weight: 500;
  /*line-height: 241%;  52.711px */
  pointer-events: none;
}

.logo_list li {
  pointer-events: all;
  width: fit-content;
  cursor: pointer;
  padding: 15px 20px;
}

.logo_list li:hover {
  color: red;
}

#export_modal {
  bottom: 0px;
}

.export_list {
  list-style: none;
  color: #000;
  font-family: Inter;
  font-size: 21.872px;
  font-style: normal;
  font-weight: 500;
  /*line-height: 241%;  52.711px */
  pointer-events: none;
  bottom: 83px;
  position: absolute;
  transform: translate(325px);
}

.export_list li {
  pointer-events: all;
  width: fit-content;
  cursor: pointer;
  padding: 15px 20px;
  display: flex;
  gap: 0 10px;
  align-items: center;
}

.export_list li:hover {
  color: red;
}

#png_icon {
  background: url(PNG_icon.svg);
  background-size: 100%;
  width: 34px;
  height: 34px;
}

#jpg_icon {
  background: url(JPG_icon.svg);
  background-size: 100%;
  width: 34px;
  height: 34px;
}

#pdf_icon {
  background: url(PDF_icon.svg);
  background-size: 100%;
  width: 34px;
  height: 34px;
}

/* PREVIEW LOGOS */
.logos_wrap {
  position: absolute;
  margin: auto;
  width: fit-content;
  bottom: 23vh;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  display: none;
  gap: 8px;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  max-width: 380px;
}
.preview_logo_item {
  background: #f5f5f5;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  box-shadow: 0 0px 0px 2px #ffffff;
}

.logo_pr_btn {
  width: 80px;
  height: 80px;
  background-position: center !important;
  background-size: 90% !important;
  background-repeat: no-repeat !important;
}

#Carrie_1 {
  background: url(/Logo/SSR_full.svg);
}

.active {
  border-radius: 16px;
  width: auto;
  box-shadow: 0 0px 0px 2px #e343fd;
}
