* {
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
}
body {
font-family: verdana, sans-serif;
}
img {
max-width: 100%;
}
blockquote {
font-style: italic;
margin: 0;
}
.error {
color: #DD2222;
}
.container {
display: flex;
flex-direction: column;
margin: auto;
max-width: 800px;
min-height: 100vh;
padding: 15px;
}
.header__link {
color: black;
text-decoration: none;
}
.btn {
background-color: rgb(40, 96, 144);
border: 1px solid #222;
border-radius: 5px;
color: #ffffff;
cursor: pointer;
font-size: 20px;
padding: 0.5em 0.5em;
text-decoration: none;
}
.btn:hover {
background-color: rgb(30, 85, 135);
}
.btn--small {
font-size: 14px;
}
.btn--prev {
margin-right: 1em;
}
.center {
text-align: center;
}
.auth {
align-items: center;
display: flex;
font-size: 14px;
justify-content: space-between;
}
.auth__copy {
margin: 0;
}
.auth__username {
font-weight: bold;
}
.footer {
border-top: 1px solid black;
font-size: 12px;
margin: 20px 0;
}
.form {
display: flex;
flex-direction: column;
margin: 2em auto;
width: 100%;
}
.form__search {
border: 1px solid #999;
border-radius: 5px;
font-size: 20px;
padding: 0.5em;
}
.form .filters {
margin: 1em 0;
}
.filters__section {
display: flex;
padding: .5em 0;
}
.filters__subsection--sort {
visibility: hidden;
}
.filters__subsection--sort.open {
visibility: visible;
}
.filters__subsection {
flex: 1;
}
.filters__subsection--static {
flex: 1;
}
.filters__subsection:nth-child(2) {
padding: 0 1em;
}
.form__field {
margin: 10px 0;
}
.form__text-field {
border: 1px solid #000000;
border-radius: 4px;
font-size: 16px;
padding: 5px;
width: 100%;
}
.form__submit {
font-size: 16px;
}
.form--login {
margin-top: 0;
}
.form--login .form__label {
display: block;
margin: 10px 0;
}
.results-container {
padding-bottom: 1em;
}
.results__subheader {
border-bottom: 1px solid black;
margin: 1.5em 0;
padding: 5px 0;
}
.results__result {
background: #efefef;
border: 1px solid black;
border-radius: 5px;
margin: 1em 0;
padding: 0.5em;
}
.results__result.threads .result__info {
margin-bottom: 0;
}
.result__info {
display: flex;
font-size: 12px;
justify-content: space-between;
}
@media (max-width: 500px) {
.result__info {
flex-direction: column;
}
.result__info span {
display: inline-block;
margin: 5px 0;
}
.filters__section {
flex-direction: column;
}
.filters__subsection:nth-child(2) {
padding: 0;
}