@import url('https://fonts.googleapis.com/css2?family=Bitcount+Grid+Double:wght@100..900&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

* {
    margin: 0;
    padding: 0;
}
.google-sans-<uniquifier> {
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "GRAD" 0;
}

body {
    color: #E2E2B6;
    background: #021526;

    font-family: "Google Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "GRAD" 0;
    overflow-x: hidden;
}

a {
    text-decoration: underline #03346E;
    color: #6EACDA;
}

button, input {
    background-color: #6EACDA;
}

h1 {
    font-size: 40px;
    font-family: "Bitcount Grid Double", system-ui;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "CRSV" 0.5,
        "ELSH" 0,
        "ELXP" 0;
}

.header {
    max-width: 1500px;
    width: 80%;
    margin: 25px auto;
}
.footer {
    max-width: 1500px;
    width: 80%;
    margin: 75px auto;
}
h2 {
    font-size: 25px;
    font-family: "Bitcount Grid Double", system-ui;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "CRSV" 0.5,
        "ELSH" 0,
        "ELXP" 0;   
}
.app {
    max-width: 1500px;
    display: flex;
    margin: 0 auto;
    width: 80%;
    gap: 40px;
}
.app .input {
    width: 60%;
}
.app .input p {
    margin-top: 10px;
    margin-bottom: 10px;
}
.app .output {
    width: 40%;
}
textarea {
  width: 100%;
  height: 150px;
  padding: 12px;
  box-sizing: border-box;
  border: 2px solid #6EACDA;
  border-radius: 4px;
  background-color: #03346E;
  font-size: 16px;
  resize: none;
  color: #E2E2B6;
  white-space: pre-line;
}
input[type=submit] {
    border: none;
    padding: 5px;
    margin-left: -100px;
    color: #E2E2B6;
    font-weight: 700;
}

#markdownInputFile {
    background: transparent;
    color: transparent;
}
#markdownInputFile::-webkit-file-upload-button {
  visibility: hidden;
}
#markdownInputFile::before {
  content: 'Upload Markdown file';
  color: #E2E2B6;
  display: inline-block;
  background: #6EACDA;
  padding: 5px 8px;
  outline: none;
  white-space: nowrap;
  -webkit-user-select: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 10pt;
}
#markdownInputFile:hover::before {
  border-color: black;
}
#markdownInputFile:active {
  outline: 0;
}
#markdownInputFile:active::before {
  background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9); 
}

@media screen and (max-width: 775px) {
    .app {
        flex-direction: column;
        width: 90%;
        margin: 0 auto;
    }
    .footer {
        width: 90%;
    }
    .header {
        width: 90%;
    }
    .app .input {
        width: 100%;
    }
    .app .output {
        width: 100%;
    }
}

