@import url("https://fonts.googleapis.com/css?family=Open Sans&display=swap");
@import url("https://fonts.googleapis.com/css?family=Kanit&display=swap");
body,
html {
  background-color: #1f1f1f;
  color: rgb(206, 206, 206);
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
  margin: 0;
  padding: 0;
  height: 100vh;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
* {
  box-sizing: border-box;
}
:root {
  --button-main-bg: #74b5ff;
  --button-hover-text: #fff;
  --container-section-bg: #222222;
  --container-section-border: #525252;
}
@media only screen and (max-width: 700px) {
  div.container {
    display: flex;
    justify-content: normal !important;
    align-items: normal;
    padding: 0px;
  }
  main {
    padding: 0;
    border-radius: 0 !important;
    border-top: 1px solid #4c4c4c;
    width: 100%;
    height: 100%;
    justify-content: normal !important;
  }
  div.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: calc(100px - 445%);
  }
  a.button dwn_cnt span {
    font-size: 80%;
  }
  .sections {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    width: 100%;
    gap: 20px;
  }
  .win {
    border-right: 0 !important;
  }
  .logo {
    margin-bottom: 0px !important;
  }
  .logo-container {
    padding: 40px;
  }
}

div,
span,
input,
pre,
a,
main,
i {
  margin: 0;
  padding: 0;
}
.container {
  width: 100%;
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: 20px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  width: auto;
  background: #303030;
  border-radius: 20px;
  min-height: 0;
}
.win,
.linux {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;
  width: 100%;
  height: 100%;
  min-width: 200px;
}

.name {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  gap: 10px;

  font-style: normal;
  font-size: 24px;
  line-height: 16px;

  color: #ffffff;
  user-select: none;
  -webkit-user-select: none;
  -webkit-app-region: no-drag;

  /* Inside auto layout */

  flex: none;
  order: 0;
  flex-grow: 0;
}
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  gap: 10px;
  width: 100%;
  height: 100%;
}
.sections {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  border-radius: 15px;
  padding: 10px;
  background-color: var(--container-section-bg);
  border: 1px solid var(--container-section-border);
}
.win {
  border-right: 1px solid var(--container-section-border);
  height: 100%;
}
a,
div.notes-msg-2 {
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-app-region: no-drag;
}
a.button {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  padding: 15px;
  gap: 25px;
  font-size: 20px;
  height: 60px;

  background: #74b5ff;
  color: #000;
  border-radius: 12px;
  cursor: pointer;
  justify-content: center;
  transition: 0.3s all cubic-bezier(0, 0.82, 0.58, 1);
}
a.button:hover {
  background-color: #2f7fdb;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
  width: calc(100% - 5%);
  color: var(--button-hover-text);
}
a.button:hover dwn_cnt span {
  color: var(--button-hover-text);
}
a.button dwn_cnt {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  width: 100%;
}
a.button dwn_cnt span {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  color: #000;
}
a.button dwn_cnt i {
  font-size: 1.3em;
}
.notes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  background-color: var(--container-section-bg);
  border: 1px solid var(--container-section-border);
  padding: 15px;
  border-radius: 12px;
  width: 100%;
}
div.notes div.code {
  background: #0b294b;
  border: 1px solid #5695df70;
  border-radius: 7px;
  padding: 5px 10px;
  cursor: pointer;
  width: 100%;
}
pre {
  margin: 0;
  white-space: break-spaces;
}
div.code-text {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #5695df;
  user-select: all; /* because my script doesn't work for android yet */
}
.code-text ::selection {
  background-color: #4987ce9c;
  color: #fff;
  text-shadow: none;
  padding: 5px;
}
.logo-container {
  /* min-height: 0; */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  justify-content: center;
  max-height: 80px;
  padding: 20px;
}
.logo {
  font-family: Kanit;
  font-style: normal;
  font-weight: 800;
  font-size: 38px;
  user-select: none;
  letter-spacing: 0.1em;

  background: linear-gradient(92.21deg, #7952e5 35.6%, #ac3ae6 83.79%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.copy-popup {
  position: absolute;
  top: 0;
  margin-top: 0;
  background-color: #0e0e0e;
  padding: 10px 15px;
  border-radius: 25px;
  font-size: 18px;
  transition: 0.3s all cubic-bezier(0.37, 0.22, 0, 0.97);
  opacity: 1;
}
.copy-icon {
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  border-radius: 5px;
  transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
  z-index: 1;
}
.copy-icon:active {
  background: var(--button-main-bg);
  color: #000;
}

.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.transition {
  margin-top: 20px;
  opacity: 1;
}

div.notes-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
div.notes-msg-2 {
  margin-right: 2.5em;
}
