@font-face {
  font-family: "Londrina";
  src: url("../fonts/LondrinaSolid-Black.ttf") format("truetype");
  font-weight: 900;
}
@font-face {
  font-family: "PT";
  src: url("../fonts/PT Root UI_Medium.ttf") format("truetype");
  font-weight: 400;
}

:root {
  --main-blue: hsl(214deg 98% 58%)
}

* {
  list-style: none;
  margin: 0;
  outline: none;
  padding: 0;
  text-decoration: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'PT';
  text-rendering: optimizeLegibility;
  font-size: 20px;
  background: #fff9f8;
  font-weight: 400;
}
a{
  color:inherit;
  cursor: pointer;
}
.btn {
  width: auto;
  height: 40px;
  font-family: "PT";
  border-radius: 10px;
  font-weight: 400;
  border: 2px #f2f2f2 solid;
  min-width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 12px;
  cursor: pointer;
  color: black;
  font-size: 16px;
  transition: opacity .2s ease;
  user-select: none;
}
.btn.active{
  background: #e2e3e8;
  border-color:#e2e3e8;
  color: black;
}
.brownwarm.active{
  background: #fff9f8;
  color: black;
}
.brownwarm{
  border-color:#cfbdba !important;
}
.btn a{
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn:hover {
  opacity:0.5
}
.btn:active {
  opacity:0.3
}

.btn img {
  width: 22px;
}
.socialIconsWrap{
  display: flex;
}
.socialIcon{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  padding-top: 6px;
}
.socialIcon img{
  width: 20px;
  opacity: 0.5;
}
.socialIcon:hover img{
  opacity:0.3
}
.socialIcon:active img{
  opacity:0.6
}
.arrows_wrap{
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 0 16px;
}
.arrows_wrap.disabled button{
  color: rgb(211, 211, 211);
  cursor: not-allowed;
  pointer-events: none;
}
.arrows_wrap.disabled button:hover{
  color: rgb(211, 211, 211);
}
.playControls_arrows{
  display: flex;
}
.arrow{
  padding: 0;
  transform:translateY(0);
  padding-top: 1px;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background-size: revert;
  background-repeat: revert;
  font-size: large;
  border-radius: 50%;
  color: black;
  background-color: whitesmoke;
  font-weight: 700;
  font-family: system-ui;
  cursor: pointer;
  user-select: none;
  opacity:0;
  animation: dropIn .6s ease forwards;
  animation-delay: calc(var(--order) * 80ms);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 5px;
}

.arrow:hover{
  color: rgb(92, 91, 91);
  background-color: white;
}
.arrow:active{
  color: rgb(211, 211, 211);
}
#songTitle{
  font-size: 16px;
  opacity:0;
  animation: dropIn .6s ease forwards;
  animation-delay: calc(var(--order) * 80ms);
  color: rgba(0, 0, 0, 0.39);
}
.controlsInfo{
  font-size: 14px;
  text-align: center;
}
.infoIcon {
  border-radius: 50%;
  height: 17px;
  width: 17px;
  font-size: 12px;
  margin-right: 5px;
  font-weight: 400;
  background: #bdbcc4;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.flex {
  display: flex;
}

header {
  width: 100%;
  height: 150px;
  padding: 20px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header_logo {
  height: 90px;
  display: flex
}

.header_btnswrap {
  display: flex;
  z-index: 1000;
}

.header_btnswrap .btn {
  margin-right: 10px;
}

main {
  height: calc(100vh - 150px);  /* background-color: beige; */
  padding: 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 60px;
}
.main-title{
  font-family: "Londrina";
  font-weight: 900;
  font-size: 90px;
  line-height: 90px;
}
.playground_controls_wrap {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 60px 0;
  margin-right: 70px;
  opacity:0;
  animation: dropIn .6s ease forwards;
  animation-delay: calc(var(--order) * 40ms)
}
.welcome{
  opacity:0;
  animation: dropIn .6s ease forwards;
  animation-delay: 140ms
}
.description_minititle {
  font-size: 30px;
  color: grey;
  font-family: "Londrina"

}

.description_title {
  font-family: "Londrina";
  font-weight: 900;
  font-size: 90px;
  height: 100px;
}

.description_title_info {
  width: 420px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 14px;
  cursor: pointer;
}
.description_title_info:hover {
  color: red;
}

.description_title_info:hover .infoIcon {
  background: red;
}

.description_title_info a {
  font-size: 16px;
  margin-left: 5px;
}

.description_p {
  font-family:"PT";
  margin-top: 20px;
  margin-bottom: 20px;
  opacity:0;
  animation: dropIn .6s ease forwards;
  animation-delay: calc(var(--order) * 80ms)
}
.description_p_title{
  font-size: 28px;
  margin-bottom: 10px;

}
.brandedlink{
  color: #d63c5e;
  text-decoration: underline;
}
.shortcutswrap{
  font-size: 14px;
  color:rgba(0, 0, 0, 0.39);
  padding: 0px 10px;
  opacity:0;
  animation: dropIn .6s ease forwards;
  animation-delay: calc(var(--order) * 40ms)
}
.shortcuttitle{
  display: flex;
}
.showShortcuts{
  cursor: pointer;
  padding: 12px 0;
}
.showShortcuts:hover + div{
  display: block;
}
.shortcuts{
  display: none;
  margin-left: 22px;

}
.playControls_wrap {
  display: grid;
  padding-top: 30px;
  grid-template-columns: 1fr 1fr;
}

.playControls_buttons_wrap {
  width: fit-content;
  height: 71%;
  flex-wrap: wrap;
  height: 130px;
}


.playControls_btn {
  height: 54px;
  border-radius: 18px;
  min-width: 120px;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  cursor: pointer;
  font-weight: 600;
  color: white;
  margin: 5px;
  user-select: none;
  opacity:0;
  animation: dropIn .6s ease forwards;
  animation-delay: calc(var(--order) * 40ms);
  transform: translateY(0);
}

.playControls_btn:hover {
  opacity: 0.7 !important;
}
.playControls_btn.disabled{
  pointer-events: none;
  opacity: 0.1 !important;
}
.recording{
  background: hsl(0,100%,50%);
  pointer-events: none;
}
.recordingBackground{
  width: 100vw;
  height:100vh;
  position: fixed;
  top: 0;
  z-index: -1;
  user-select: none;
  padding: 20px;
  display: none;
}
.glasses_wrap{
  letter-spacing: -0.1rem;
  animation: fade 1000ms 0ms infinite linear;
  color: red;
}
.glasses_wrap:nth-child(1){
  position: absolute;
  top:20px;
  left:20px;
}
.glasses_wrap:nth-child(2){
  position: absolute;
  top:20px;
  right:20px;
}
.glasses_wrap:nth-child(3){
  position: absolute;
  bottom:20px;
  left:20px;
}
.glasses_wrap:nth-child(4){
  position: absolute;
  bottom:20px;
  right:20px;
}
.main-home{
  display: grid;
  background:rgb(225, 215, 213);
}
.main-wrap{
  padding: 80px 80px 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: fit-content;
  height: 500px;
  max-width: 1500px;
  background:rgb(225, 215, 213);
  margin: auto;
  overflow:hidden;  
}
.homenounwrap{
  position: relative;
  display: flex;
  justify-content: flex-end;
  height: 100%;
}
.homenoun{
  position: absolute;
  bottom: 0px;
  height: 500px;
  image-rendering: pixelated;
  margin: auto;
  opacity: 0;
  animation: 0.6s ease 100ms 1 normal forwards running dropIn;
  margin-right: -120px;
}
.faq-wrap{
  max-width: 800px;
  margin-bottom: 100px;
  opacity:0;
  animation: dropIn .6s ease forwards;
  animation-delay: 400ms;
  margin: 40px auto;
}
.faq{
  position: relative;
  border: 1px solid #dcdada;
  border-radius: 3px;
  overflow-y: hidden;
  max-height: 80px;
  transition: max-height .2s ease ;
  margin-bottom: 5px;
  cursor:pointer;
  font-family:"PT";
  text-align: center;
}
.faq:hover{
  background: #f4f4f8;
}
.expanded{
  max-height: 100vh;
  transition: max-height 2s cubic-bezier(0.74, 1.56, 0.64, 1); 
  }
  .faq:hover .faq-btn{
    transform: rotate(180deg);
  }
    .faq-btn{
      position: absolute;
      right: 24px;
      top: 34px;
      cursor: pointer;
    }
    .faq-faq{
      font-size: 44px;
      margin-bottom: 20px;
      font-family: "Londrina";
      text-align: center;
    }
    .faq-title{
      font-size: 28px;
      padding: 24px;
      user-select: none;
    }
    .faq-p{
      font-size: 18px;
      padding: 5px 24px 20px;
    }
@keyframes fade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

#play {
  background: hsl(146deg 90% 28%);
}


#randomize {
  background: hsl(214deg 98% 58%);
}

#export {
  background:  rgb(255, 27, 10);
}
#export.recording{
  background: white;
  color: red;
}

.sequencer_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sequencer {
  width: 100%;
  border-radius: 5px;
  max-height: 100%;
  min-width: 50%;
  display: grid;
  grid-template-rows: 1fr;
  border: 1px solid #e2e3e8;

  opacity:0;
  animation: dropIn .6s ease forwards;
  animation-delay: calc(var(--order) * 40ms)
}
@keyframes dropIn {
  from {opacity:0;transform: translateY(20px);}
  to {opacity:1;transform: translateY(0px)}
}
.loadingCanvas{
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: #e1d7d5;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 6%;
  opacity: 0;
  transition: opacity .9s ease;
}
.loadingCanvas.show{
  transition: none;
  opacity: 1;
}
.canvas {
  display: flex;
  justify-content: center;
  image-rendering: pixelated;
  opacity:0;
  animation: dropIn .8s ease forwards;
  animation-delay: calc(var(--order) * 100ms)
}

.canvas img {
  border-radius: 40px;
  width: 90%;
}

canvas {
  width: 100%;
  border-radius: 6%;
}
#canvas::before{
  position: absolute;
  content:"x"
}

.sequencer_channel {
  display: flex;
  width: 100%;
  padding: 10px;
  border-bottom: 1px solid #e2e3e8;
}

.sequencer_channel:last-child {
  border: none;
}

.sequencer_title {
  position: relative;
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Londrina";
  font-size: 25px;
  display: flex;
}

.sequencer_mute {
  position: absolute;
  bottom: 0;
  font-family:"PT";
  font-size: 14px;
  cursor: pointer;
  width: 36.8%;
  height: 19px;
  text-align: center;
  border: 1px rgba(0, 0, 0, 0.39) solid;
  border-radius: 7px;
  color: rgba(0, 0, 0, 0.39);
}

.sequencer_mute:hover {
  color: red;
  border: 1px red solid;
}

.sequencer_mute:active {
  opacity: 0.4;
}

.sequencer .muted {
  color: red;
  border: 1px red solid;

  opacity: 1;
}

.sequencer_options_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.sequencer_option {
  width: 19%;
  aspect-ratio: 1/1;
  border: 3px rgba(0, 0, 0, 0.39) solid;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-right: 5px;
  opacity: 0.3;
}

.sequencer_option:hover {
  border-color: hsl(0, 97%, 76%);
}

.sequencer_option.active {
  border-color: red;
  opacity: 1;
}

.backgrounds {
  background: rgb(213, 215, 225);
}

.backgrounds:nth-child(odd) {
  background: rgb(225, 215, 213)
}
#firstTimeModalWrap{
  position: fixed;
  top:0;
  left: 0;
  background: rgba(0, 0, 0, 0.1);
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.firstTimeModal{
  background: #d5d7e1;
  border-radius: 10px;
  padding: 40px 60px;
  max-width: 500px;
  text-align: center;
}
.titleGrey{
  color: #79809c;
}
.titleR{
  color: black;
  font-size: 34px;
  font-family: "Londrina"
}
.p{
  margin-top: 10px;
  font-size: 16px;
}
.recordModal_wrap{
  position: fixed;
  top:0;
  background: rgba(0, 0, 0, 0.485);
  width: 100vw;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
}
  .recordModal{
    width: 330px;
    height: 270px;
    background: white;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
  }

  #recordModal_button {
    height: 90px;
    width: 90px;
    background-color: red;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor:pointer;
    font-weight: 400;
    color: white;
  }
    #recordModal_button:hover{
      color:pink
    }
    #recordModal_button:active{
      opacity:0.8
    }

    #messageModal_wrap{
      position: fixed;
      top:0;
      background: rgba(0, 0, 0, 0.485);
      width: 100%;
      height: 100%;
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }
    .messageModal{

      background: white;
      border-radius: 14px;
      padding: 20px 30px;
      display: flex;
      position: relative;
    }
    #messageModal_message{
      font-size: 16px;
    }
#recordCountDownwrap{
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
}
#recordCountDown{
  font-size: 70px;
  color: red;
  background: white;
  padding: 60px 70px;
  font-family: "Londrina";
  background: red;
  color: white;
}

footer{
  height: 60px;
  width: 100%;
  background: #d5d7e1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

@media (max-width: 1300px) {
  header {
    flex-direction: column;
  }

  .header_logo {
    margin-bottom: 20px;
  }

  canvas img {
    max-width: 380px;
  }

  main, .main-wrap {
    display: flex;
    flex-direction: column;
    height: unset;
    text-align: center;
  }
  .main-wrap{
    flex-direction: column-reverse;
    padding: 70px 80px 0 80px;
  }

  .homenoun{
    position: relative;
    margin-right: -80px;
  }

  .playground_controls_wrap {
    margin-right: unset;
  }

  .description_p {
    max-width: 560px;
    margin:auto;
    padding-top: 30px;
  }
  .description_title{
    height: auto;
  }
  .description_title_info{
    width: 420px;
    justify-content: flex-end;
    margin: auto;
    padding-top: 20px;
  }

  .sequencer {
    height: unset;
  }

  .sequencer_channel {
    padding: 16px 10px;
  }
  .shortcutswrap{
    display: none;
  }
}



@media (max-width:800px) {
  .socialIcon img{
    width: 20px;
  }
  header {
    padding: 15px;
  }
  .homenoun{
    margin-right: unset;
    height: unset;
    width: 100%;
  }
  .recordingBackground{
    display: none !important;
  }
  .header_btnswrap{
    flex-wrap: wrap;
    justify-content: center;
  }
  .header_btnswrap .btn{
    margin-right: 5px;
  }
  .main-home{
    padding: 20px 0 0 0;
  }
  .main-title{
    line-height: 43px;
    font-size: 50px;
    margin-top: 40px;
  }
  .faq-title{
    font-size: 20px;
    user-select: none;
  }
  .faq-p {
    font-size: 16px;
  }
  .btn{
    font-size: 14px;
    height: 30px;
    width: fit-content;
    padding: 0 11px;
    margin-bottom: 6px;
  }
  .btn img{
    display: none;
  }

  main{
    padding: 15px;
  }
  .main-wrap{
    padding: 20px 20px 0 20px;
    max-width: 100vw;
  }
  .description_title{
    font-size: 60px;
  }
  .description_title_info{
    width: unset;
    justify-content: center;
    margin: unset;
    padding-top: 0;
  }
  .description_p{
    font-size: 14px;
    max-width: 500px;
    
  }
  .playControls_wrap{
    display: flex;
    padding-top: 30px;
    justify-content: center;
    flex-wrap: wrap-reverse;
  }
  .canvas{
    margin-bottom: 10px;
  }
  .sequencer{
    margin-bottom: 50px;
  }
  .sequencer_option{
    border-radius: 8px;
    border-width: 2px;
  }
  .sequencer_title{
    font-size: 16px;
    width: 120px;
  }
  .sequencer_mute{
    bottom: -10px;
    font-size: 12px;
    padding: 0px 6px;
    width: fit-content;
  }

  .main-wrap .description_p{
    margin-bottom:-40px
  }
}
