/* CSS Reset */

html {
  box-sizing: border-box;
  font-size: 16px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
  height: 100%;
  width: 100%;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-family: 'Roboto Condensed', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  font-weight: bold;
  font-style: italic;
  color: #fff;
  margin-bottom: 2rem;
}

a {
  color: #fff;
}

ol,
ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

:root {
  --background-color: #333;
  --background-color-alt: #fafafa;
  --hologram-first: #efd1df;
  --hologram-second: #dbd4f1;
  --hologram-third: #d3efdf;
  --hologram-fourth: #e3eecf;
  --hologram-fifth: #cfe1f1;
  --hologram-sixth: #dbd4f1;
}

html {
  --scrollbarBG: #222;
  --thumbBG: #555;
}
body::-webkit-scrollbar {
  width: 10px;
}
body {
  scrollbar-width: thin;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}
body::-webkit-scrollbar-track {
  background: var(--scrollbarBG);
}
body::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG);
  border-radius: 6px;
  border: 3px solid var(--scrollbarBG);
}

/* Default Styles */

body {
  padding: 0;
  margin: 0;
  background: var(--background-color);
}

body.light {
  background: var(--background-color-alt);
}

body.no-scroll {
  height: 100vh;
  overflow-y: hidden;
  padding-right: 15px;
}

.panel {
  /* padding: 1rem; */
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin-bottom: 0.5rem;
  transition: 200ms ease;
}

.panel:hover {
  background: rgba(255, 255, 255, 0.95);
}

.panel-info {
  display: grid;
  grid-template-columns: 4fr 3fr 1fr;
  grid-gap: 3px;
  min-height: 40px;
  line-height: 40px;
  cursor: pointer;
  align-items: center;
  font-size: 14px;
}

.logo {
  max-width: 40px;
  vertical-align: middle;
  background: white;
  border-radius: 50%;
  border: 1px solid #f51f41;
  box-shadow: inset 0 0 1px #f51f41;
}

.model {
  font-size: 20px;
  text-transform: uppercase;
  font-style: italic;
  color: #fff;
  position: fixed;
  top: 20px;
  right: 20px;
}

body.light .model {
  color: var(--background-color);
}

.currently-selected {
  font-size: 14px;
  margin-left: 10px;
  text-align: right;
  justify-self: end;
}

.current-color {
  background: transparent;
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  justify-self: end;
}

.color-options {
  margin-top: 0.5rem;
  display: none;
  grid-column: 1 / 9;
}

.active {
  display: block;
}

.fas {
  vertical-align: middle;
  width: 20px;
  transform-origin: 50% 50%;
}

header,
footer {
  height: 30px;
  color: #fff;
  line-height: 30px;
  margin: 0;
  padding: 10px;
  position: absolute;
  text-align: center;
  width: 100%;
}

footer {
  position: relative;
  bottom: 20px;
  padding: 0 50px;
}

footer span,
footer span a {
  color: rgb(145, 145, 145);
  font-size: 10px;
  line-height: 14px;
}

footer span {
  max-width: 100%;
  display: inline-block;
  position: relative;
}

.feedback {
  text-decoration: underline;
  cursor: pointer;
}

main {
  /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-template-columns: 1fr 4fr;
    grid-gap: 1rem; */
  width: 100%;
  min-height: 50vh;
}

main.welcome {
  margin-top: 100px;
  display: inline-block;
  text-align: center;
  height: auto;
  padding: 1rem;
}

.models-wrap {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 0;
}

ul.models {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
}

@media (max-width: 1023px) {
  ul.models {
    grid-template-columns: 1fr 1fr;
  }
}

ul.models li {
  background: #fff;
  padding: 1rem;
  border-radius: 5px;
}

ul.models li a {
  color: #111;
  font-weight: bold;
  text-decoration: none;
  font-style: italic;
  text-transform: uppercase;
}

.sidebar {
  background: #222;
  /* display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1rem; */
  padding: 1rem;
  width: 350px;
  position: fixed;
  z-index: 1;
  left: -310px;
  top: 0;
  height: 100%;
  padding-right: 50px;
  cursor: pointer;
  transition: 200ms ease;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.sidebar-toggle {
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  /* background-image: linear-gradient(to right, #222 , #333); */
  background-color: #222;
  color: #eee;
}

.sidebar-toggle span {
  writing-mode: sideways-lr;
  text-orientation: mixed;
  line-height: 40px;
  text-transform: uppercase;
  font-style: italic;
  margin-top: 20px;
}

.sidebar-toggle:after {
  content: '\f0d0';
  color: #eee;
  font-family: 'Font Awesome 5 Pro';
  font-size: 20px;
  position: absolute;
  right: 10px;
  top: 50%;
  cursor: pointer;
  transition: 500ms ease;
  transform: rotate(0);
}

.sidebar.open {
  left: 0;
  overflow-y: scroll;
}

.sidebar.open .sidebar-toggle:after {
  transform: rotate(-360deg);
}

.canvas {
  display: inline-block;
  padding: 3rem;
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 100vh;
  max-width: 850px;
  margin: 0 auto;
}

.embroidery {
  position: relative;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  grid-gap: 10px;
  align-items: center;
  justify-items: center;
  margin: 10px auto;
  color: #fff;
  font-size: 12px;
  text-align: center;
  max-width: 250px;
}

body.light .embroidery {
  color: var(--background-color);
}

@media only screen and (min-width: 600px) {
  .embroidery {
    position: absolute;
    right: 40px;
  }
}

.embroidery-title {
  text-transform: uppercase;
  font-weight: bold;
  font-style: italic;
}

.embroidery-entered {
  font-family: sui-generis, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 30px;
}

.controls {
  position: fixed;
  width: 70px;
  height: 200px;
  color: #fff;
  right: 10px;
  top: calc(50% - 100px);
}

.controls-wrap {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  font-size: 25px;
  height: 100%;
}

.controls-wrap a {
  cursor: pointer;
}

label.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  vertical-align: middle;
  transform: none;
  border: none;
}
label.switch:hover {
  transform: none;
}
label.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.5);
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: '';
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  content: '\f673';
  font-family: 'Font Awesome 5 Pro';
  color: rgb(94, 94, 94);
  font-size: 14px;
  text-align: center;
  line-height: 22px;
}

input:checked + .slider {
  background-color: #777;
}

input:focus + .slider {
  /* box-shadow: 0 0 1px #2196F3; */
}

input:checked + .slider:before {
  -webkit-transform: translateX(30px);
  -ms-transform: translateX(30px);
  transform: translateX(30px);
  content: '\f672';
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

#top-profile,
#side-profile {
  padding: 40px;
}

input[type='radio'] {
  visibility: hidden;
  left: -9000px;
  position: absolute;
}

label {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 3px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.8;

  border: 1px solid #111;
  transition: ease-in 0.1s;
  text-align: center;
}

label.submitType {
  color: #eee;
  border: none;
  width: auto;
  font-size: 14px;
  display: block;
  text-align: left;
}

label.submitType::before {
  content: '\f111';
  font-family: 'Font Awesome 5 Pro';
  font-size: 14px;
  padding-right: 5px;
  text-align: left;
}

label:hover {
  transform: scale(1.2);
}

label.submitType:hover {
  transform: none;
}

input[type='radio']:checked + label {
  border: 2px solid black;
  opacity: 1;
  transform: scale(1.2);
}

input[type='radio']:checked + label.submitType {
  border: none;
  opacity: 1;
  transform: scale(1);
  color: #fff;
}

input[type='radio']:checked + label.submitType::before {
  content: '\f058';
  font-family: 'Font Awesome 5 Pro';
  color: lightgreen;
}

input[type='text'],
input[type='email'] {
  display: block;
  width: 100%;
  color: #fff;
  border: 1px solid #fff;
  background: transparent;
  font-size: 16px;
  padding: 10px;
  border-radius: 5px;
}

::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #ddd;
  font-size: 14px;
}
::-moz-placeholder {
  /* Firefox 19+ */
  color: #ddd;
  font-size: 14px;
}
:-ms-input-placeholder {
  /* IE 10+ */
  color: #ddd;
  font-size: 14px;
}
:-moz-placeholder {
  /* Firefox 18- */
  color: #ddd;
  font-size: 14px;
}

#submission-type {
  display: none;
  padding: 20px 0 0;
}

#submission-type p {
  color: #fff;
  font-size: 16px;
  margin-bottom: 1rem;
}

#submission-type.show {
  display: block;
}

button,
.button {
  display: block;
  padding: 10px;
  cursor: pointer;
  background: #f51f41;
  color: #fff;
  width: 100%;
  border: 1px solid rgb(155, 12, 12);
  text-transform: uppercase;
  font-size: 20px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: bold;
  border-radius: 5px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.disabled {
  cursor: none;
  border-color: #555;
  background: rgb(75, 67, 67);
}

.hologram__first {
  stop-color: var(--hologram-first);
}

.hologram__second,
.hologram__ninth {
  stop-color: var(--hologram-second);
}

.hologram__third,
.hologram__seventh {
  stop-color: var(--hologram-third);
}

.hologram__fourth,
.hologram__eighth {
  stop-color: var(--hologram-fourth);
}

.hologram__fifth,
.hologram__tenth {
  stop-color: var(--hologram-fifth);
}

.hologram__sixth {
  stop-color: var(--hologram-sixth);
}

.baby-blue {
  background-color: #81b3e4;
}
.black,
.shiny-black {
  background-color: #0a0a0a;
}
.blue {
  background-color: #293b8d;
}
.brown {
  background-color: #3a2a1d;
}
.cheeky-pink {
  background-color: #ff3e78;
}
.dreamwash-lilac {
  background-color: #bbb5cb;
}
.ap-blue {
  background-color: #168ef3;
}
.gamma-blue {
  background-color: #1fafe3;
}
.gold {
  background-color: #9c873e;
}
.green-leather {
  background-color: #7fb82c;
}
.green {
  background-color: #285c29;
}
.hot-pink {
  background-color: #d43593;
}
.laser-orange {
  background-color: #f79021;
}
.light-blue {
  background-color: #629ed9;
}
.lime-green {
  background-color: #7db338;
}
.matte-black {
  background-color: #212121;
}
.matte-gold {
  background-color: #9c873e;
}
.matte-white {
  background-color: #ebeff2;
}
.mega-crimson {
  background-color: #ff3828;
}
.metallic-blue {
  background-color: #046be9;
}
.metallic-gold {
  background-color: #cb9f3e;
}
.metallic-silver {
  background-color: #a0a8a9;
}
.midnight,
.midnight-blue {
  background-color: #002d74;
}
.my-baby-blue {
  background-color: #81b3e4;
}
.neon-yellow {
  background-color: #c7d235;
}
.orange {
  background-color: #f87e21;
}
.orange-leather {
  background-color: #f35e01;
}
.shiny-pearl-white,
.pearl-white {
  background-color: #d0d9df;
}
.pink {
  background-color: #e5959d;
}
.purple {
  background-color: #34295c;
}
.purple-heart {
  background-color: #5a3a75;
}
.red {
  background-color: #911810;
}
.shiny-gold {
  background-color: #cfb359;
}
.shiny-red {
  background-color: #cd2028;
}
.silver {
  background-color: #979d98;
}
.siren-red {
  background-color: #fe171d;
}
.super-yellow {
  background-color: #dfe21e;
}
.totally-lime {
  background-color: #62d526;
}
.shiny-white,
.white {
  background-color: #f4f4f4;
}
.yellow {
  background-color: #d2c20e;
}
.ghost {
  background-color: #999999;
}
.havoc {
  background-color: #444444;
}
.hologram {
  background-image: linear-gradient(
    to right,
    var(--hologram-first),
    var(--hologram-third),
    var(--hologram-fourth),
    var(--hologram-sixth)
  );
}
.no-embroidery,
.no-color {
  background-color: transparent;
}
.no-embroidery:before,
.no-color:before {
  color: #111;
  content: '\f00d';
  font-family: 'Font Awesome 5 Pro';
  font-size: 24px;
  line-height: 26px;
  text-align: center;
  vertical-align: top;
}

#chat-button { 
  right: 1rem !important;
  bottom: 1rem !important;
  left: auto !important;
}

#chat-window {
  right: 1rem !important;
  bottom: 1rem !important;
  left: auto !important;
}

#chat-campaigns {
  right: 1rem !important;
  bottom: 1rem !important;
  left: auto !important;
}
