@import url('https://fonts.googleapis.com/css2?family=Miniver&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand&display=swap');

:root {
  --color: #e7e7e7;
  --white: #ececec;
  --colorBlue1: #3090B2;
  --colorBlue2: #2E529F;
  --colorBlue3: #352BC4;
  --colorBlue4: #308fb2cf;
  --colorBlueHover1: #3090B2;
  --colorBlueHover2: #2E529F;
  --colorBlueHover3: #352BC4;
  --colorNav1: #1C6569;
  --colorNav2: #1E5261;
  --colorNav3: #1A2D5F;
  --colorGreen: #23C29C;
  --colorGreen2: #00FFC2;
  --colorButton: #352bc4;
  --colorButtonHover: #8e86ff;
  --colorGreenHover: #36c08d;

  --colorOld: rgb(0, 255, 193.8);
  --colorOld: rgb(27, 126, 255);
  --colorOld: #339197;
  --colorOld: #09132C;

  --BG1: #020202;
  --BG2: #070707;
  --BG3: #111111;
  --BG4: #1b1b1b;
  --BG5: #333;
  --BG6: #414040;
  --BG7: #686868;

  --linearGradientNav: linear-gradient(166deg, var(--colorNav3) 0%, var(--colorNav2) 62%, var(--colorNav1) 100%);
  --gradient1: linear-gradient(10deg, var(--colorBlue1) 0%, var(--colorBlue1) 100%);
  --gradientHover1: linear-gradient(10deg, var(--colorBlueHover1) 0%, var(--colorBlueHover1) 100%);
  --colorMain:
    /*linear-gradient(166deg, rgb(246, 55, 250) 0%, rgb(145, 27, 255) 100%);/**/
    linear-gradient(166deg, rgb(0, 255, 193.8) 0%, rgb(27, 126, 255) 100%);
  --colorMainHover: linear-gradient(166deg, rgb(60, 185, 156) 0%, rgb(42, 107, 192) 100%);
  --colorSecond: linear-gradient(166deg, rgb(70, 122, 235) 0%, rgb(0, 38, 255) 100%);

  --colorStart: var(--colorNav3);
  --colorStop: var(--colorNav1);
  --colorStart1: var(--colorBlue1);
  --colorStop1: var(--colorBlue3);

  --color-start: var(--colorGreen2);
  --color-end: var(--colorBlue3);

  --whiteButton: rgb(209, 228, 253);

  --BGhover: #8031e0;
  --BGblur: rgba(42, 107, 192, 0.555);
  --colorAlert: rgb(247, 83, 83);
  --softAlert: #f22746ad;
  --fontFamily: 'Quicksand', sans-serif;

  --button: #07F09C;
  /*linear-gradient(to bottom right, var(--colorGreen), var(--colorGreen2));*/
  --buttonHover: #33c38e;
  /*linear-gradient(to bottom right, var(--colorGreenHover), var(--colorGreen2));*/
  --colorShadow: #4d4c4c3a;
  --colorShadow2: rgb(141 138 138 / 35%);

  --marginMain: 18%;
  --marginView: 0,
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--BG4);
  margin: 15vh 0 0 0;
  overflow-x: hidden;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 2px 0;
  margin: 0;
  font-family: var(--fontFamily);
  color: var(--color);
  letter-spacing: 0;
  line-height: normal;
}

* {
  font-family: var(--fontFamily);
  color: var(--color);
  box-sizing: border-box;
}

i:hover {
  transform: none;
  box-shadow: none;
}

button {
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  background: var(--BGbutton);
  width: fit-content;
}

a {
  color: var(--color);
  text-decoration: none;
}

a:focus-visible {
  outline-offset: none;
  outline: none;
}

a:hover {
  transform: none;
}

input:focus-visible {
  outline: none;
}

::-webkit-scrollbar {
  background-color: var(--BG3);
  width: 12px;
}

.contents::-webkit-scrollbar-track {
  background-color: var(--BG3);
  width: 12px;
}

::-webkit-scrollbar-thumb {
  background: var(--colorMain);
  width: 12px;
  border-radius: 100px;
}

img {
  object-fit: contain;
}











section {
  padding: 80px var(--marginMain) 120px;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 32px;
  border-radius: 8px;
  background: var(--button);
}

.button1 {
  border-radius: 6px;
  padding: 6px 12px;
  background: none;
  border: 2px solid var(--colorBlue1);
  cursor: pointer;
  font-weight: 700;
  font-size: larger;
}

.button1:hover {
  border: 2px solid var(--color);
}

.button2 {
  border-radius: 6px;
  padding: 6px 12px;
  background: none;
  font-size: 16px;
  border: 2px solid var(--BG6);
}

.button2:hover {
  border: 2px solid var(--BG7);
}

.button3 {
  box-shadow: 0.00px 1.00px 20px 0px var(--colorButton, 0 1px 4px rgba(0, 0, 0, .6));
  border-radius: 100px;
  padding: 8px 48px;
  background: var(--colorButton);
  font-size: 24px;
  transition: all 0.2s;
}

.button3:hover {
  background: var(--colorButtonHover);
  box-shadow: 0.00px 1.00px 20px 0px var(--colorButtonHover, 0 1px 4px rgba(0, 0, 0, .6));
}

.buttonInfo {
  display: none;
  flex-direction: column;
  position: absolute;
  z-index: 4;
  padding: 8px;
  top: 20px;
  left: 20px;
  background-color: var(--BG3);
  border-radius: 4px;
  width: 240px;
}

.buttonInfo.active {
  display: flex;
}

.buttonInfoTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  padding-bottom: 4px;
}

.buttonInfoP {
  width: max-content;
  max-width: 80%;
}

.buttonInfoTopI {
  cursor: pointer;
  padding: 0 4px;
}

.buttonInfoDiv {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.buttonInfoInnerI {
  cursor: pointer;
  color: var(--colorBlue2);
}



.backDiv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 64px var(--marginMain) 16px;
}

.backDiv1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
}

.backP {
  background: var(--colorMain);
  font-size: 20px;
  font-weight: bolder;
  cursor: pointer;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}










.design {
  position: absolute;
  padding: 0;
  width: 100vw;
}

.designObject {
  position: fixed;
  z-index: -1;
  width: 100%;
  opacity: 0.4;
}

.designObjectSvg {
  width: 50%;

}




.top {
  position: relative;
  padding: 40px var(--marginMain);
}

.topContainer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 0 10%;
}

.topCon {
  display: flex;
  cursor: pointer;
  height: 56px;
  width: fit-content;
  z-index: 1;
}

.topLeft {
  width: 12%;
  max-width: 62px;
}

.topLeft .svgPolygon {
  fill: #2f5ef2;
}

.topMiddle {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--colorSecond);
  padding: 8px 48px;
  text-wrap: nowrap;
}

.topConP {
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.topRight {
  width: 12%;
  max-width: 62px;
}

.topRight .svgPolygon {
  fill: #1742f9;
}

.topBack {
  position: absolute;
  z-index: -1;
  top: 6.5vh;
  left: -50vw;
  width: 100vw;
  height: 12vh;
  transition: all 0.3s;
}

.topBack .svgPolygon {
  fill: var(--BG3);
}

#topPolygon2 {
  display: none;
}

.topSvg {
  width: 100%;
  height: 100%;
}

.formSvg {
  width: 100%;
  height: 100%;
}

.svgPolygon {
  fill: var(--BG6);
}




#deOb-1 {
  left: -12vw;
  top: 45vh;
}

#deOb-2 {
  right: -80vw;
  top: -18vw;
}















.home {
  position: fixed;
  width: 100vw;
  height: 12vh;
  padding: 0;
  top: -6.5vh;
  left: 50vw;
  z-index: 2;
}

.home.fixed .topBack {
  height: 8vh;
}

.home.fixed #formEl0 {
  top: 7.5vh;
  height: 6vh;
}

.home.fixed #formEl1 {
  top: 7.5vh;
  height: 6vh;
}

.home.fixed #formEl2 {
  top: 7.5vh;
  height: 6vh;
}

.home.fixed #formEl3 {
  top: 7.5vh;
  height: 6vh;
}

.home.fixed #formEl4 {
  top: 7.5vh;
  height: 6vh;
}

.home.fixed .homeMainImg {
  width: 60%;
}

.home.fixed .homeElementP {
  font-size: clamp(1px, 1.6vw, 54px);
}



.homeElements {
  position: absolute;
  z-index: 10;
}

.homeForm {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  cursor: pointer;
  width: 20vw;
  height: 88px;
  transition: all 0.3s;
}

.homeMainImg {
  position: absolute;
  width: 75%;
  transition: all 0.3s;
}

.elementForm {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  z-index: 10;
  max-width: 100%;
  margin: 0 auto;
  width: 10vw;
  height: 7vh;
  transition: all 0.3s;
}

.elementForm:hover {
  --color-start: yellow;
}

#formEl0 {
  top: 8.5vh;
  right: 8vw;
  width: 16vw;
  height: 8vh;
}

#formEl1 {
  top: 9vh;
  left: calc(-25vw - 5vw);
}

#formEl2 {
  top: 9vh;
  left: calc(-14vw - 5vw);
}

#formEl3 {
  top: 9vh;
  left: calc(14vw - 5vw);
}

#formEl4 {
  top: 9vh;
  left: calc(25vw - 5vw);
}




.formSvg {
  width: 100%;
  height: 100%;
}

.homeElementP {
  padding: 0 0 2px;
  position: absolute;
  font-size: clamp(1px, 1.8vw, 30px);
  font-weight: bold;
  transition: all 0.3s, color 0.1s;
}

.homeElementP:hover {
  color: white;
  /*transform: scale(0.98);*/
}




/*Phone version homebar*/
.bottomBar {
  display: none;
  position: fixed;
  justify-content: space-between;
  top: 0;
  width: 100%;
  background-color: var(--BG2);
  z-index: 30;
  padding: 0 2%;
}

.bottomBarCon {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 18%;
  padding: 28px 0 12px;
  gap: 12px;
}

.bottomBarConI {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
}

.bottomBarConI::after {
  position: absolute;
  top: -4px;
  display: block;
  content: "";
  padding: 2px 2%;
  background-color: var(--colorBlue1);
  border-radius: 100px;
  width: 60%;
  height: 20px;
  z-index: -1;
  opacity: 0.6;
}

.bottomBarConH {
  color: var(--colorBlue1);
  font-size: clamp(14px, 3vw, 18px);
}

.bottomBarMiddle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26%;
  padding: 0 2%;
}

.bottomBarMiddleImg {
  width: 100%;
}




/*settings*/
.settingsI {
  width: 100%;
  text-align: center;
  margin: 12px auto 0;
  font-size: 24px;
  padding: 12px 0 6px;
  cursor: pointer;
  transition: all 0.5s;
}

.settingsI.active {
  transform: rotateX(180deg)
}

.settingsI:before {
  display: block;
  transform: scaleX(1.5);
}

.settings {
  display: block;
  opacity: 0;
  flex-direction: column;
  background: var(--BG6);
  box-shadow: 0px 4px 8px var(--colorShadow), 0px -4px 8px var(--colorShadow);
  border-radius: 8px;
  padding: 32px;
  max-width: 800px;
  margin: 0 auto;
  transition: all 0.2s;
}

.settings.active {
  opacity: 1;
  transition: all 0.4s;
}

.settingsH {
  font-size: 24px;
  font-weight: bold;
  padding: 0 0 16px;
}

.settingCon {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.settingLeft {
  display: flex;
  align-items: center;
  gap: 8px;
}

.settingConI {
  position: relative;
}

.settingConI:hover .settingTooltop {
  opacity: 1;
  display: block;
}

.settingTooltop {
  display: none;
  opacity: 0;
  transition: all 0.2s;
  z-index: 4;
  position: absolute;
  top: -8px;
  max-width: 400px;
  width: max-content;
  left: 28px;
  background-color: var(--colorBlue3);
  border-radius: 8px;
  padding: 6px 12px;
}

.settingChange {
  position: relative;
  background: grey;
  border-radius: 0.5rem;
  cursor: pointer;
  display: block;
  height: 0.875rem;
  position: relative;
  width: 2.125rem;
}

.settingChange.active {
  background: rgb(92, 92, 92);
}

.settingChange.active:before {
  left: 20px;
  background: var(--colorMain);
}

.settingChange:before {
  border-radius: 50%;
  box-shadow: 0 0.0625rem 0.0625rem #00000024, 0 0.125rem 0.0625rem #0000001f, 0 0.0625rem 0.1875rem #0003;
  content: "";
  cursor: pointer;
  background-color: white;
  height: 18px;
  width: 18px;
  left: -2px;
  position: absolute;
  top: -2px;
  transition: all .12s cubic-bezier(.47, 0, .745, .715);
}




.explanation {
  display: none;
  position: absolute;
  z-index: 5;
  width: fit-content;
  top: -4px;
  left: 32px;
  background-color: var(--colorBlue3);
  padding: 1px 8px 2px;
  color: rgb(255, 255, 255);
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
}





.footer {
  padding: 64px var(--marginMain) 24px;
  box-shadow: -4px 0px 16px var(--colorShadow2);
  margin-top: auto;
  background-color: var(--BG3);
  z-index: 1;
}

.footerRows {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 62px;
}

.footerMain {
  display: flex;
  flex-direction: column;
  min-width: 100px;
  width: 15%;
}

.footerMainLogo {
  width: 100%;
  transform: translate(-8%, 0);
}

.footerMainI {
  font-size: 28px;
  padding-top: 8px;
}

.footerRow {
  display: flex;
  flex-direction: column;
  min-width: 100px;
  width: 15%;
  padding-top: 20px;
  overflow: hidden;
}

.footerH {
  font-weight: bold;
  padding: 6px 0;
}

.footerP {
  padding: 6px 0;
  width: max-content;
}

.copyright {
  display: flex;
  align-items: center;
  padding: 16px var(--marginMain);
  gap: 2%;
  background-color: var(--BG2);
  z-index: 3;
  box-shadow: -2px 0px 6px var(--BG2);
}

.copyrightP {
  font-size: 14px;
}

.copyrightLink {
  font-size: 14px;
}

.copyrightLink:hover {
  color: var(--colorBlue1);
}



@media (orientation: portrait) {
  :root {
    --marginMain: 2%;
  }

  body {
    margin: 80px 0 0px;
  }

  .home {
    width: 10%;
  }

  .topBack {
    left: -50vw;
    width: 100vw;
  }

  #topPolygon1 {
    display: none;
  }

  #topPolygon2 {
    display: block;
  }

  .elementForm {
    width: 14vw;
  }

  #formEl1 {
    left: calc(-33vw - 7vw);
  }

  #formEl2 {
    left: calc(-17vw - 7vw);
  }

  #formEl3 {
    left: calc(17vw - 7vw);
  }

  #formEl4 {
    left: calc(33vw - 7vw);
  }

  .homeElementP {
    font-size: 18px;
  }

  .home.fixed .homeElementP {
    font-size: 16px;
  }

  :root {
    --marginView: 10%;
  }

  section {
    padding: 64px var(--marginView) 80px;
  }

  /*.home {
    display: none;
  }

  .bottomBar {
    display: flex;
  }*/

  .topH {
    font-size: 24px;
  }

  .backP {
    font-size: 18px;
  }

  .button1 {
    padding: 4px 8px;
    font-weight: 700;
    font-size: 16px;
  }

  .button2 {
    padding: 4px 8px;
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  :root {
    --marginView: 3%;
  }
}