@charset "UTF-8";
@import url("../plugins/mcfhighlight/code.css");
/* 桌面端配置在74行 */
* {
  font-size: 64px;
}

:root {
  color-scheme: dark;
}

body {
  background: #555;
  /* background: url() no-repeat fixed; */
  color: #fff;
}

div#mcf {
  outline: none;
  border: 2px solid #fff;
  padding: 12px;
  width: 100vw;
  min-height: 25vh;
  border-radius: 10px;
  background: #444;
  color: #fff;
  caret-color: #ff0;
  box-shadow: #00000040 0px 14px 28px, #00000038 0px 10px 10px;
}
div#mcf:empty::before {
  content: attr(placeholder);
  color: #808080;
}
#mcf:is(:focus, :hover) {
  border-color: #ff0;
}

button {
  border: 2px solid #fff !important;
  padding: 12px;
  font-size: 55px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  position: absolute;
  background: #203088;
  top: 12px;
  right: 0;
  box-shadow: #00000040 0px 14px 28px, #00000038 0px 10px 10px;
  transition: background 0.2s ease-in-out, border 0.4s ease-in-out;
}
button:is(:hover, :focus) {
  border-color: #ff0 !important;
  background: #2030885d;
}
button:active {
  background: #20308817;
}

footer {
  position: fixed;
  text-align: center;
  bottom: 0;
  width: 100vw;
}

#resultBox {
  border: 2px solid transparent;
  padding: 20px;
  background: #a9a9a9;
  border-radius: 10px;
  width: 100%;
  min-height: 25vh;
  color: #000;
  box-shadow: #00000040 0px 14px 28px, #00000038 0px 10px 10px;
}
#resultBox:is(:focus, :hover) {
  border-color: #fff;
}
code {
  font-family: "fira code" "lucida console" consolas;
  font-size: 48px;
}

#resultBox, #mcf {
  transition: border 0.4s ease-in-out;
}

.mainWindow {
  display: flex;
  width: 80vw;
  flex-direction: column;
}

.fa-solid {
  text-shadow: #f02eaa66 5px 5px, #f02eaa4d 10px 10px, #f02eaa33 15px 15px, #f02eaa1a 20px 20px, #f02eaa0d 25px 25px;
}

/* 适配桌面端 */
@media screen and (min-width: 1024px) {
  body {
    /* background: url() no-repeat fixed; */
  }
  * {
    font-size: 20px;
  }
  .mainWindow {
    /* display: inline-flex; */
    flex-direction: row;
    justify-content: space-evenly;
    width: 100vw;
  }
  .fa-solid {
    margin-left: 8px;
    margin-right: 8px;
    font-size: 32px;
  }
  #resultBox {
    /* margin-top: -1px; */
    width: 40vw;
  }
  code {
    font-size: 22px;
  }
  button {
    font-size: 24px;
    right: 5vw;
  }
  div#mcf {
    width: 40vw;
    min-height: 25%;
  }
}
