/*
Theme Name: Mercury Orbit Music
Theme URI: https://mercuryorbitmusic.com
Author: Mercury Orbit Music
Author URI: http://mercuryorbitmusic.com
Description: A theme to host the application of Mercury Orbit Music
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mercuryorbit
*/

@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:100,300,400|Lato:100,200,300,300i,400,400i,700,700i,800,900|Cormorant+Garamond');

body {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: white;
    margin: 0;
    background-color:  #0b2634;
    background-attachment: fixed;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 21;
    font-size: 15px;
    height: 48px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
nav #logo img {
    height: 18px;
    margin: 0 11px;
}
nav #logo span {
    text-decoration: none;
    font-weight: 100;
    color: #fff;
}
nav div, nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}
nav ul li button {
    margin-left: 40px;
}
nav ul {
    width: 340px;
    display: flex;
    justify-content: space-between;
}
nav div input {
    min-width: 320px;
}

main {
      position: relative;
    margin: 48px auto 0 auto;
    max-width: 1550px;
    min-height: calc(100vh - 96px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    display: block;
}

.dropdown-element:hover .dropdown {
    visibility: visible;
    opacity: 1;
}
.dropdown {
    visibility: hidden;
    opacity: 0;
    display: block;
    position: absolute;
    background: #fffffff0;
    z-index: 10;
    transition: visibility 0.4s, opacity 0.6s, transform 0.6s ease;
    top: 40px;
    right: 20px;
    padding: 16px;
    width: 130px;
    box-shadow: 0 2px 52px 0 rgba(0,0,0,0.13);
    border-radius: 5px;
}
.dropdown ul {
    margin: 0;
    padding: 0;
    width: 100%;
    display: block;
    max-height: 280px;
    overflow-y: scroll;
}
.dropdown ul li {
    margin-bottom: 15px;
}
.dropdown ul li:last-child {
    margin-bottom: 0;
}
.dropdown a {
    color: var(--black);
    display: flex;
}

section.control-panel {
    background: #ffffff52;
    border-radius: 5px 5px 5px 5px;
    margin: 0 auto;
    position: relative;

  
    position: relative;
    display: flex;
    padding:57px 74px;    
    flex-direction: column;
    /* border:solid 2.53px #FFFFFF61; */
}
section.control-panel .control-panel-col {
    /* min-height: 23vh; */
}
section.control-panel form {
    flex-grow: 0.8;
    margin: 18px 0;
    align-items:stretch;
}
section.control-panel a {
    color: #fff;
    text-decoration: underline;
    font-weight: 400;
}
button.round-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 59px;
    height: 59px;
    border-radius: 35px;
    background-color: #fff0;
    border: 1px solid #fff;
    cursor: pointer;
    background-repeat: no-repeat;
    z-index: 1;
}
button.no-border {
    border: none !important;
}
button.round-btn-small {
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 38px;
    height: 38px;
    border-radius: 35px;
    background-color: #fff0;
    border: 1px solid #fff;
    cursor: pointer;
    background-repeat: no-repeat;
}
section.control-panel .control-btns button.round-btn:after {
    content: '';
    background: #ffffff52;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    width: 80px;
    height: 40px;
    display: block;
    position: relative;
    bottom: -21px;
    left: -19px;
    z-index: 0;
}
section.control-panel .control-btns button.round-btn-small:after {
    content: '';
    background: #ffffff52;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    width: 56px;
    height: 28px;
    display: block;
    position: relative;
    bottom: -15px;
    left: -17.5px;
    z-index: 0;
}
section.control-panel .control-btns {
   position: absolute;
    bottom: -28px;
    left: calc(50% - 120px);
    width: 260px;
}

button.play {
    background-image: url(../images/play.svg);
    background-position: 57% 50%;
    background-size: 34%;
}
button.pause {
    background-image: url(../images/pause.svg);
    background-position: 57% 50%;
    background-position: 50%;
}
button.gen {
    background-image: url(../images/refresh.svg);
    background-position: 53% 40%;
    background-size: 56%;
}
button.download {
    background-image: url(../images/download.svg);
    background-position: 50%;
    background-size: 40%;
}

button.generations{
    background-image: url(../images/open.svg);
    background-position: 50%;
    background-size: 80%;
}

button.generations-dis{
    background-image: url(../images/open-dis.svg);
    background-position: 50%;
    background-size: 80%;
    border: 1px solid #929BBA !important;
}

button#download a {
    position: absolute;
     top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    z-index:20;
}
button:focus{
    outline: none;
}

button.download-dis {
    background-image: url(../images/download-dis.svg);
    background-position: 50%;
    background-size: 40%;
    pointer-events: none;
    border: 1px solid #929BBA !important;
}

button.play-dis {
    background-image: url(../images/play-dis.svg);
    background-position: 57% 50%;
    background-size: 34%;
    pointer-events: none;
    border: 1px solid #929BBA !important;
}

button.gen-dis {
    background-image: url(../images/refresh-dis.svg);
    background-position: 53% 40%;
    background-size: 56%;
    pointer-events: none;
    border: 1px solid #929BBA !important;
}

/* Modal */
.modal {
    background: inherit;
    position: fixed;
    top: 0;
    right: 0;
    display:none;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: 20;
}
.modal .panel {
    background-color: #ffffff5e;
    border-radius: 5px;
    padding: 60px 40px;
    text-align: center;
    position: absolute;
    top: 48px;
    left: 20px;
    right: 20px;
    bottom: 48px;
    height: calc(100% - 96px);
    box-sizing: border-box;
}
.modal .panel p {
    margin: 4px auto;
    text-align: left;
}
.modal:before {
    content: "";
    position: absolute;
    top: 50px;
    left: 22px;
    right: 22px;
    bottom: 50px;
    background: inherit;
    background-size: 120vw 120vh;
    background-position: -20px -48px;
    filter: blur(10px);
}
.close-btn {
    position: absolute;
    right: 16px;
    top: 0px;
    font-size: 36px;
    color: #ffffff;
    cursor: pointer;
}

.modal.active{
    display:block;
}

.display-name {
    margin-right: 10px;
}
.atag {
    top: 5px;
    /*pointer-events: none;*/
    cursor: default;
}
#play {
    /* pointer-events: none; */
    /* cursor: default; */
}
#download {
    /*pointer-events: none;*/
    cursor: default;
}

/* Loader */
#loader-dots {
    display: block;
    display: flex;
    flex-direction: row;
    margin-top: 200px;
    justify-content: center;
    height: 100vh;
    width:100%;
}

#loader-dots.hidden{
    display:none;
}

#loader-dots span {
  display: inline-block;
  height: 15px;
  width: 15px;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  border-radius: 50%;
  opacity: 1;
}
#loader-dots span:nth-child(1) {
  -webkit-animation: scale 1s 0.1s infinite cubic-bezier(0.6, -0.28, 0.735, 0.045);
          animation: scale 1s 0.1s infinite cubic-bezier(0.6, -0.28, 0.735, 0.045);
}
#loader-dots span:nth-child(2) {
  -webkit-animation: scale 1s 0.2s infinite cubic-bezier(0.6, -0.28, 0.735, 0.045);
          animation: scale 1s 0.2s infinite cubic-bezier(0.6, -0.28, 0.735, 0.045);
}
#loader-dots span:nth-child(3) {
  -webkit-animation: scale 1s 0.3s infinite cubic-bezier(0.6, -0.28, 0.735, 0.045);
          animation: scale 1s 0.3s infinite cubic-bezier(0.6, -0.28, 0.735, 0.045);
}
#loader-dots span:nth-child(4) {
  -webkit-animation: scale 1s 0.4s infinite cubic-bezier(0.6, -0.28, 0.735, 0.045);
          animation: scale 1s 0.4s infinite cubic-bezier(0.6, -0.28, 0.735, 0.045);
}
#loader-dots span:nth-child(5) {
  -webkit-animation: scale 1s 0.5s infinite cubic-bezier(0.6, -0.28, 0.735, 0.045);
          animation: scale 1s 0.5s infinite cubic-bezier(0.6, -0.28, 0.735, 0.045);
}

@keyframes scale {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  25% {
    -webkit-transform: scale(0.9, 0.9);
            transform: scale(0.9, 0.9);
    background: #ffffff4f;
  }
  50% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
    margin: 0 5px;
    background: #ffffff9c;
  }
  100% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
}

/* Helper classes */
.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
}
.flex-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}
.flex-col-rev {
    display: flex;
    flex-direction: column-reverse;
}
.flex-col-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.w-200 {
    width: 200px !important;
}
.w-160 {
    width: 160px !important;
}
.w-120 {
    width: 120px !important;
}
.h-100 {
    height: 100px !important;
}

.h-120{
    height:120px !important;
}
.h-250 {
    height: 250px !important;
}

.w50p{
    flex: 1 1 50%;
}

.hidden{
    display:none;
}


.pills-wrapper{
    display:flex;
    justify-content: flex-start;
    align-items:center;
    flex-wrap:wrap;
    gap:0.7rem;
    list-style:none;
    margin:0;
    padding:0;
}

.pills-col{
    width:50%;
}

.notes-col{
      width: 15%;
}

.text-col{
    /* padding:2rem; */
    display:flex;
    font-size:18px;
    flex-grow:1;
    display:flex;

    justify-content: center;
    align-items:center;
}

@media screen and (max-width:780px){
    font-size:16px;   
}
}