@import "./colors.scss";

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Actual styles */

body {
  line-height: 1;
  margin: 0;
  font-family: "Roboto", monospace !important;
  font-style: normal;
  font-weight: 400;
  background-color: #282c34 !important;
  color: #fff;
}

#root {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-start;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

#content {
  width: 100%;
  max-width: 1280px;
  margin: 48px auto 12px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  flex-grow: 1;
  font-family: "Roboto", monospace !important;

  h1,
  h2,
  h3,
  h4,
  p {
    font-family: "Roboto", monospace !important;
  }

  h1 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 16px;
    text-align: center;
  }

  h2 {
    font-size: 28px;
    color: $blue;
    margin-bottom: 12px;
  }

  h3 {
    font-size: 22px;
    color: $raspberry;
    margin-bottom: 8px;
  }

  h4 {
    font-size: 18px;
    margin-bottom: 4px;
  }

  p {
    margin-bottom: 16px;
  }
}

h1,
h2,
h3,
h4,
.ui.button {
  font-family: "Roboto", monospace;
  font-weight: bold;
}

p,
ul,
ol,
a,
.ui.form input {
  font-family: "Roboto", monospace;
  font-weight: 500 !important;
}

button,
.button,
.ui.button {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background-color: #fc9906;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: background-color 0.2s ease, color 0.2s ease, border 0.2s ease;

  i {
    margin: 0 8px 0 -4px !important;
  }
}

button:hover,
.button:hover,
.ui.button:hover {
  border: 2px solid $black;
  background-color: $black;
  cursor: pointer;
  color: #fff;
}

button.disabled,
button:disabled,
.ui.button:disabled {
  border: 2px solid #fff;
  background-color: transparent !important;
  color: #fff;
  cursor: default;
}

.ui.modal button:hover {
  border: none;
}

input[type="text"],
input[type="password"],
input[type="number"],
textarea {
  transition: border 0.4s ease !important;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus {
  border: 1px solid $blue !important;
}

@media screen and(max-width: 980px) {
  .back-button {
    display: none;
  }
}
