:root {
  font-size: 10px;
}

@font-face {
  font-family: "Jakarta";
  src: url("PlusJakartaSans-Bold.woff") format('woff');
  font-weight: bold;
}

@font-face {
  font-family: "Jakarta";
  src: url("PlusJakartaSans-Regular.woff") format('woff');
}

@font-face {
  font-family: "Jakarta";
  src: url("PlusJakartaSans-Italic.woff2") format('woff2');
  font-style: italic;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}

body,
html {
  font-family: "Jakarta";
  background-color: #121212;
  text-align: center;
  color: white;
  font-weight: 900;
  height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
}

h1 {
  font-size: 4.5rem;
}

h3 {
  font-size: 2.8rem;
}

.config {
  appearance: none;
  -webkit-appearance: none;
  width: calc(100% - 6.7rem) !important;
  display: inline !important;
  height: 0.7rem;
  border-radius: 0.5rem;
  background: #1ed760;
  outline: none;
  margin-bottom: 2rem;
  opacity: 0.7;
  transition: opacity .2s;
  cursor: pointer;
}

.config:hover {
  opacity: 1;
  background: #1ed760;
}

.config::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

.config::-moz-range-thumb {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

output,
label,
select#genres,
.modal ol {
  font-weight: 400;
}

output {
  display: inline;
  font-size: medium;
  color: white;
}

label {
  white-space: pre;
}

a.btn.btn-primary {
  font-size: 1.8rem;
  font-weight: 900;
  color: #121212;
  background-color: #1ed760;
  display: inline-block;
  border: none;
  margin: 0.3rem 0rem 0rem 0rem;
}

a.btn.btn-primary:hover,
a.btn.btn-primary:focus {
  background-color: #1ed760;
  color: white;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #121212;
  margin: auto;
  position: relative;
  max-height: 60rem;
  overflow: auto;
  padding: 2rem;
  border: 0.2rem solid;
  width: 62%;
}

@media screen and (max-width: 800px) {
  .modal-content {
    width: 80%;
  }
}

@media screen and (min-width: 500px) {
  p.inline-text {
    display: inline;
  }
}

@media screen and (min-height: 500px) {
  .modal-content {
    top: 50%;
    transform: translateY(-50%);
  }  
}

@media screen and (max-width: 600px),
screen and (max-height: 650px) {
  body, html {
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
  }

  .modal-content {
    width: 90%;
  }

  a,
  p,
  button,
  label,
  ol {
    font-size: medium;
  }

  label[for="app"], label[for="browser"] {
    font-size: 1.3rem;
  }

  h1 {
    font-size: 3.3rem;
    margin-top: 1.1rem;
  }

  h3 {
    margin-top: 1rem;
    font-size: 2rem;
    margin-bottom: 0.6rem;
  }

  img {
    width: 10rem;
    height: 10rem;
    margin-bottom: 0.7rem;
  } 
}

@media screen and (max-width: 360px) {
  a.btn.btn-primary {
    font-size: 1.5rem;
  }
}

.inner-container {
  width: 100%;
}

@media screen and (min-width: 370px) {
  .container {
    display: flex;
    overflow: auto;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
}

@media screen and ((max-width: 430px) or (max-height: 600px)) {
  .container {
    align-items: flex-start;
  }
}

input[type="file"] {
  display: none;
}

.close {
  color: white;
  border-color: white;
  float: right;
  font-size: 3rem;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #f0f0f0;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.modal-btn:hover {
  color: black;
  background-color: white;
  border-color: white;
}

input[type='radio'] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
}

input[type='radio']:focus {
  outline: none;
}

input[type='radio']:after {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  top: 0.2rem;
  left: -0.1rem;
  position: relative;
  background-color: white;
  content: '';
  display: inline-block;
  border: 2px solid white;
  margin-right: 0.8rem;
}


input[type='radio']:checked:after,
input[type='radio']:hover:after,
input[name='appbrowser']:checked:after,
input[name='appbrowser']:hover:after {
  background-color: #1ed760;
}

input[name='appbrowser']:after,
input[name='appbrowser']:checked:after,
input[name='appbrowser']:hover:after {
  width: 1.3rem;
  height: 1.3rem;
  top: 0.3rem;
}

img {
  margin: 1.5rem;
}

p {
  font-size: 1.8rem;
}


select#genres {
  background-color: white;
  color: black;
  font-size: 1.5rem;
  border: 0.2rem solid white;
  border-radius: 0.2rem;
  cursor: pointer;
}

label {
  cursor: pointer;
}

label[for="genres"] {
  font-size: 1.8rem;
  font-weight: 900;
}

select {
  cursor: pointer;
}

label[for="app"], label[for="browser"] {
  color: white;
  font-size: 1.5rem;
  font-style: italic;
  margin-left: -0.4rem;
}

div.radio-inline {
  display: inline-block;
  vertical-align: top;
}

a.btn.btn-primary.primary-btn {
  margin-left: 0.1rem;
  margin-bottom: 0.8rem;
  white-space: nowrap;
}

.primary-btn-group {
  display: inline-block;
  white-space: nowrap;
}


.modal-btn {
  font-size: 1.8rem;
  background-color: #121212;
  border-color: white;
  border-radius: 0.5rem;
  border-style: solid;
  padding: 0.5rem 0.8rem;
  margin-bottom: 0.1rem;
  margin-top: 0.8rem;
}


.modal form,
.modal p,
.modal ol,
.modal label {
  color: white;
  text-align: left;
  font-size: medium;
}

.modal p {
  font-weight: normal;
  margin-top: 1rem;
}

.modal p+div {
  margin-top: 0;
}


.modal p.config-header {
  font-weight: bold;
}

.modal form div {
  display: inline;
}

.modal form div label {
  margin-left: 1.3rem;
  margin-right: 0.5rem;
}


.modal hr {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  width: 20rem;
  margin-left: 0;
}

.modal p+hr {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
  border-color: rgb(219, 219, 219);
}

.modal input[type="range"] {
  margin-bottom: 0;
}

br {
  display: block;
  content: '';
}

.promptmessage,
.filedisplay,
.hiddenbr,
#import-btn,
.error-message {
  display: none;
}


.promptmessage {
  font-size: 15px;
  font-style: italic;
  font-weight: normal;
}

.error-message {
  color: #ff4444;
  margin: 1rem 0;
  font-size: 1.8rem;
  font-style: italic;
}

.custom-file-upload {
  border: 0.2rem solid white;
  font-weight: bold;
  border-radius: 0.5rem;
  display: inline-block;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
}

.custom-file-upload:hover {
  color: black;
  background-color: white;
}

.filedisplay {
  margin-top: 0.5rem;
}