html {
  font-size: 18px;
}

body {
  background-color: #f3f3f3;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4, button.generate {
  font-family: "Abril Fatface", serif;
  font-weight: 400;
  font-style: normal;
}

a {
  color: #007bff;
  text-decoration: underline;
  cursor: pointer;
}

#app {
  display: flex;
  flex-direction: column;
  padding: 15px;
}
#app .video {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  line-height: 0;
}
#app .video video {
  width: 100%;
  max-height: 500px;
  border-radius: 20px;
  -o-object-position: center center;
     object-position: center center;
  -o-object-fit: cover;
     object-fit: cover;
}
#app .main {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  flex-grow: 1;
  border-radius: 30px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  margin-top: -135px;
}
#app .main .devider {
  width: 100%;
  display: grid;
  place-items: center;
  position: relative;
  margin: 50px 0 0;
}
#app .main .devider span {
  display: inline-block;
  background-color: #fff;
  padding: 10px 20px;
  position: relative;
  z-index: 1;
  color: #6c757d;
  font-size: 16px;
}
#app .main .devider:after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #eee;
  position: absolute;
  top: 50%;
  left: 0;
}
#app .main .box {
  padding: 30px 30px 60px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  position: relative;
  z-index: 1;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
}
#app .main .box:before {
  content: "";
  width: 100%;
  height: 105px;
  background: #fff;
  opacity: 0.75;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  position: absolute;
  top: 0;
  left: 0;
}
#app .main .box:after {
  content: "";
  width: 100%;
  height: calc(100% - 105px);
  background: #fff;
  position: absolute;
  top: 105px;
  left: 0;
  z-index: -1;
}
#app .main .box .url,
#app .main .box form.clearCache {
  display: flex;
  gap: 30px;
  width: 100%;
  position: relative;
}
#app .main .box .url input,
#app .main .box form.clearCache input {
  flex-grow: 1;
  padding: 10px 150px 10px 20px;
  border-radius: 100px;
  border: 1px solid #000;
  font-size: 20px;
  font-family: inherit;
  text-overflow: ellipsis;
}
#app .main .box .url input:focus,
#app .main .box form.clearCache input:focus {
  outline: none;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
#app .main .box .url button,
#app .main .box form.clearCache button {
  height: 37px;
  background: #6792aa;
  color: #fff;
  border-radius: 100px;
  padding: 10px 20px 10px 10px;
  border: none;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  position: absolute;
  right: 5px;
  top: 4px;
}
#app .main .box .url button svg,
#app .main .box form.clearCache button svg {
  width: auto;
  height: 28px;
}
#app .main .box .url button:hover,
#app .main .box form.clearCache button:hover {
  background: #444f5f;
}
#app .section-label {
  display: block;
  font-weight: 600;
  color: #6c757d;
  font-size: 18px;
  padding: 40px 0 15px;
}
#app .section-label.first {
  padding-top: 0;
}
#app .controls {
  margin-top: 30px;
}
#app .controls .settings {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 40px;
}
#app .controls .control {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
#app .controls .control.inactive {
  opacity: 0.3;
  pointer-events: none;
}
#app .controls .control .label {
  font-weight: 600;
  font-size: 14px;
  padding-left: 10px;
}
#app .controls .control input {
  height: 18px;
  padding: 10px 20px;
  border-radius: 100px;
  width: 108px;
  font-family: inherit;
  border: none;
  background-color: #f3f3f3;
  font-size: 16px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
#app .controls .control select {
  height: 40px;
  width: 150px;
  padding: 10px 20px;
  border-radius: 100px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background-color: #f3f3f3;
  font-size: 16px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  background-image: url("/dist/images/down.svg");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 14px;
}
#app .controls .control select:focus {
  outline: none;
}
#app .controls .control button.toggle {
  width: 80px;
  height: 40px;
  background: #f3f3f3;
  border-radius: 100px;
  border: none;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  font-weight: 800;
  position: relative;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
#app .controls .control button.toggle .toggler {
  display: inline-block;
  position: absolute;
  left: 5px;
  top: 5px;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 100px;
  transition: all 0.3s;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
#app .controls .control button.toggle.active {
  background: #444f5f;
  color: #fff;
}
#app .controls .control button.toggle.active .toggler {
  left: 45px;
}
#app .shortcuts {
  display: flex;
  gap: 10px;
  flex-direction: column;
  width: 100%;
  margin-bottom: 50px;
}
#app .shortcuts .control {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
#app .shortcuts .control .label {
  font-weight: normal;
}
#app .shortcuts .control button.toggle {
  width: 60px;
  height: 30px;
}
#app .shortcuts .control button.toggle .toggler {
  width: 24px;
  height: 24px;
  top: 3px;
  left: 3px;
}
#app .shortcuts .control button.toggle.active .toggler {
  left: 33px;
}
#app .notice {
  background: #eee;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 30px;
}
#app .notice p {
  margin: 0;
}
#app .api {
  width: 100%;
  text-align: left;
}
#app .api small {
  color: #6c757d;
}
#app .inline-code {
  display: inline-block;
  padding: 5px 10px;
  background: #f3f3f3;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  border-radius: 5px;
  font-size: 14px;
  word-break: break-word;
  margin: 5px;
  font-family: "Source Code Pro", monospace;
  font-optical-sizing: auto;
  font-weight: 600;
}
#app .inline-code.url-preview {
  padding: 10px;
}
#app .param {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}
#app .mini {
  font-size: 14px;
  color: #6c757d;
  width: 100%;
}
#app .cache {
  width: 100%;
  text-align: left;
}
#app .cache small {
  color: #6c757d;
}
#app .cache .cache-msg {
  margin: 0;
  text-align: left;
}
#app .cache form {
  margin: 20px 0;
}
