:root {
    --font-color: #212529;
    --bg-color: white;
    --font-weight: 400;
    font-size: 15.5px;
}

input[name=text] {
    border: 1px solid;
}

[data-theme="dark"] {
    --font-color: white;
    --bg-color: #212121;
    --font-weight: 400;
}

body {
    font-family: 'Roboto', sans-serif;
    padding-top: 10px;
    color: var(--font-color);
    background-color: var(--bg-color);
    font-weight: var(--font-weight);
    margin-left: auto;
    margin-right: auto;
}


@media screen and (max-width: 599px) {
    body {
        max-width: 93vw;
    }

    input[name=text] {
        width: 60vw;
    }
}

@media screen and (min-width: 600px) {
    body {
        max-width: 75vw;
    }

    input[name=text] {
        width: 40vw;
    }
}

@media screen and (min-width: 900px) {
    body {
        max-width: 50vw;
    }

    input[name=text] {
        width: 40vw;
    }
}

@media screen and (min-width: 1200px) {
    body {
        max-width: 33vw;
    }

    input[name=text] {
        width: 25vw;
    }
}

p {
    white-space: pre-line;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

.dark-mode-label {
    font-size: 15px;
    padding-left: 0.33rem;
    padding-top: 0.1rem;
}


/*Simple css to style it like a toggle switch*/
.theme-switch-wrapper {
  display: flex;
  align-items: center;
}

.theme-switch {
  display: inline-block;
  height: 1.5rem;
  position: relative;
  width: 3rem;
}

.theme-switch input {
  display:none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.slider:before {
  background-color: #fff;
  bottom: .23rem;
  content: "";
  height: 1rem;
  left: .25rem;
  position: absolute;
  transition: .4s;
  width: 1rem;
}

input:checked + .slider {
  background-color: #66bb6a;
}

input:checked + .slider:before {
  transform: translateX(1.5rem);
}

.slider.round {
  border-radius: 1.5rem;
}

.slider.round:before {
  border-radius: 50%;
}

#footer {
    padding-top: 2rem;
    font-size: 0.75em;
}
