/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */
:root {
  --background-color: #212223;
  --border-color: #333333;
  --text-color: #999999;
  --highlight-color-background: rgb(148, 157, 207);
  --highlight-color-background: #3b70a2;

  --highlight-color-text: #212223;
}

/* ==========================================================================
   BASE STYLES & RESETS
   ========================================================================== */
* {
  box-sizing: border-box;
  overflow: -moz-scrollbars-none;
  scrollbar-width: none;
}

*::selection {
  color: var(--highlight-color-text);
  background: var(--highlight-color-background);
}

body,
html {
  margin: 0;
  overflow: hidden;
}

body {
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  color: var(--text-color);
  font-size: 12px;
  line-height: 1.4em;
  background-color: var(--background-color);
}

/* Custom scrollbars */
body::-moz-scrollbar {
  width: 0.2em;
}

body::-moz-scrollbar-thumb {
  background-color: var(--text-color);
}

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */
.container {
  display: flex;
  height: 100vh;
}

.left {
  padding: 20px 25px 30px 22px;
  /* border-right: 1px solid var(--border-color); */
  width: 231px;
  z-index: 2;
  overflow: auto;
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: 
    linear-gradient(to right, #323232 1px, transparent 1px),
    linear-gradient(to bottom, #323232 1px, transparent 1px);
  background-size: 33px 33px;
  background-position: -1px 0;
  text-align:center;
}

.left::-webkit-scrollbar {
  width: 0.2em;
  background-color: transparent;
}

.left::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.right {
  position: relative;
  padding: 10px 0;
  flex-grow: 1;
  transition: margin 2s;
  z-index: 1;
  background-image: url(../svgs/front-panel.svg);
  background-repeat: no-repeat;
  background-position: 24%;
  background-size: 75%;
}

/* .right.exiting {
    margin-right: 100%;
} */

.bottom-section {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-style: italic;
  z-index: 3;
  background: var(--highlight-color-background);
  color: var(--highlight-color-text);
  overflow: hidden;
}

.js-marquee {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  position: absolute;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ==========================================================================
   LEFT COLUMN STYLES
   ========================================================================== */
a.logo {
  display: block;
  font-size: 0;
  margin-top: 20px;
  width: 190px;
  height: 100px;
  background-image: url(../svgs/logo-gray.svg);
  background-size: auto;
  background-repeat: no-repeat;
  background-position: bottom;
}

.icon {
  width: 90px;
  height: 90px;
  background-image: url("../svgs/eye-of-sysex.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto;
  margin: 0 auto;
}

.waves {
  width: 190px;
  height: 30px;
  background-image: url("../svgs/waves.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 200px;
  margin: 15px 0;
  display: none;
}

.company-info {
  text-transform: uppercase;
}

/* ==========================================================================
   RIGHT COLUMN STYLES
   ========================================================================== */
.right-hand-column {
  position: absolute;
  right: 28px;
  padding-top: 15px;
  padding-bottom: 70px;
  display: flex;
  flex-direction: column;
  height: 100vh;
  align-items: center;
  justify-content: right;
  width: 230px;
}

.right-column-block {
  text-align: right;
  justify-content: right;
  width: 100%;
  margin-right: -15px;
}

.right-column-block.audio-player-container {
  align-self: flex-start;
  height: 300px;
}

.right-column-block.feature-set {
  flex: 1;
  align-self: center;
}

.right-column-block.feature-set > div {
  line-height: 32px;
  border-top: 1px solid var(--border-color);
  white-space: nowrap;
}

.right-column-block.title-block {
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1 {
  font-size: 1.4em;
  font-weight: 600;
  font-family: "Helvetica 55 Medium", sans-serif;
  letter-spacing: 2px;
  line-height: 1.2em;
  padding-bottom: 0;
  margin: 0;
  color: var(--text-color);
}

.title-block h1 {
  display: inline-block;
  font-size: 1.65rem;
  margin-bottom: 8px;
  vertical-align: bottom;
  border-bottom: 2px solid var(--text-color);
  padding-bottom: 5px;
  padding-right: 0;
  width: 140px;
  letter-spacing: 1px;
  margin-right: 4px;
}

.tagline {
  font-size: 13px;
  font-weight: 400;
  padding-right: 6px;
}

/* ==========================================================================
   AUDIO PLAYER STYLES
   ========================================================================== */
.audio-controls *::selection,
.audio-controls::selection {
  background: transparent;
}

.audio-controls {
  font-size: 0;
}

.audio-control {
  display: inline-block;
  width: 35px;
  height: 35px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 20px;
  cursor: pointer;
  transition: 0.1s;
}

.audio-control:hover {
  background-size: 25px;
  opacity: 1;
}

.audio-control#rewind {
    background-image: url("../svgs/rewind.svg");
}

.audio-control#play-pause {
  background-image: url("../svgs/pause.svg");
  background-size: 25px;
}

.audio-control#play-pause:hover {
  background-size: 33px;
}

.audio-control.paused#play-pause {
  background-image: url("../svgs/play.svg");
}

.audio-control#skip {
  background-image: url("../svgs/skip.svg");
}

.trackinfo {
  font-weight: 300;
  font-size: 1.1rem;
  padding-top: 5px;
  letter-spacing: 1px;
}

#trackname {
  display: block;
  padding-bottom: 5px;
}

.waveform {
  width: 130px;
  height: 55px;
  margin-top: 10px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.waveform-controls {
  margin-top: 8px;
  margin-left: auto;
  width: 175px;
  font-size: 10px;
  font-weight: 300;
}

.slider-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.slider-group label {
  min-width: 55px;
  text-align: left;
}

.slider-group input[type="range"] {
  flex-grow: 1;
  margin-left: 8px;
  height: 2px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border-color);
  outline: none;
}

.slider-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 8px;
  background: var(--text-color);
  cursor: pointer;
  border-radius: 0;
}

.slider-group input[type="range"]::-moz-range-thumb {
  width: 8px;
  height: 8px;
  background: var(--text-color);
  cursor: pointer;
  border-radius: 0;
  border: none;
}

/* ==========================================================================
   BUTTON STYLES
   ========================================================================== */
.button {
  display: inline-block;
  padding: 8px 10px;
  border: 1.5px solid var(--text-color);
  color: var(--text-color) !important;
  text-decoration: none;
  margin: 5px 0;
  font-weight: 400;
  vertical-align: middle;
}

.button:hover {
  background-color: var(--text-color);
  color: var(--background-color) !important;
  font-weight: 900;
}

.button.has-arrow {
  padding-right: 29px;
  background-image: url("../svgs/arrow.svg");
  background-position: 95% center;
  background-repeat: no-repeat;
  background-size: 20px;
  transition: padding-right 0.1s;
}

.button.has-arrow:hover {
  padding-right: 34px;
  background-image: url("../svgs/arrow-blue.svg");
}

/* ==========================================================================
   POPUP STYLES
   ========================================================================== */
#popup {
  z-index: 100;
  border: 2px solid var(--text-color);
  position: absolute;
  left: 40%;
  top: 30%;
  height: 260px;
  width: 450px;
  background: var(--background-color);
  padding: 30px 20px;
  opacity: 0;
  display: none;
}

#moveable-header {
  background: var(--text-color);
  height: 30px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.messenger {
  font-weight: 500;
  line-height: 30px;
  color: var(--background-color);
  padding-left: 20px;
  font-size: 13px;
}

#popup-text {
  padding: 20px 0;
}

.x {
  height: 20px;
  width: 20px;
  position: absolute;
  right: 10px;
  top: 3px;
  cursor: pointer;
}

.x:after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: "\d7";
  font-size: 30px;
  color: var(--background-color);
  line-height: 20px;
  text-align: center;
}

.x:hover:after {
  font-size: 33px;
  color: #fff;
}

#signup-button,
#signup-button2 {
  opacity: 0;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
  body {
    font-size: 14px;
    height: 100%;
  }

  .container {
    display: block;
    width: 100%;
  }

  .left {
    border: 0;
    text-align: center;
    min-height: 100%;
    padding: 50px 0 100px 0;
    width: 100%;
  }

  .right {
    display: none !important;
  }

  .right-hand-column {
    display: none;
  }

  a.logo {
    width: 100%;
    height: 160px;
    background-size: auto;
    background-position: center;
  }

  h1 {
    color: #f2f2f2;
  }

  .company-info {
    max-width: 300px;
    margin: 0 auto;
  }
  .icon {
    margin: 0 auto;
    width: 70%;
    height: 80px;
    background-size: auto;
    background-position: center;
  }
  .waves {
    margin: 15px auto;
  }

  #popup {
    display: none;
  }

  .bottom-section {
    display: none;
  }
}

@media (max-height: 600px) {
  .feature-set {
    display: none;
  }
}
