/*
 * SPDX-FileCopyrightText: 2017-2022 Pleroma Authors <https://pleroma.social>
 * SPDX-License-Identifier: CC-BY-4.0
 */

@import "fontello/css/fontello.css";

body {
  font-family: sans-serif;
}

.navbar-header-container {
  width: 100%;
  background-color: #000;
  min-height: 50px;
}

.navbar-header {
  max-width: 864px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  height: 50px;
}

.navbar-header i {
  color: #fff;
}

.navbar-header a {
  color: #fff;
}

.navbar-link {
  height: 50px;
  display: flex;
  align-items: center;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
  background-color: #000;
  box-sizing: border-box;
}

.navbar-link:hover {
  background-color: #4d4d4d;
}


.navbar-brand {
  margin-right: auto;
  display: flex;
  align-items: center;
}

.navbar-brand-logo {
  background-image: url(/images/pleroma-banner-vector-light-text-nopad-notext.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 124.8px;
  height: 30px;
  margin-left: 15px;
}

.navbar-liberapay-logo {
  background-image: url(/images/liberapay_logo_white-on-yellow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
}

.navbar-header i {
  margin-right: 10px;
}

.desktop-menu {
  display: none;
  flex-direction: row;
}

button {
  background-color: unset;
  color: unset;
  padding: unset;
  margin: unset;
  border: unset;
  display: inline-block;
  box-sizing: unset;
}

.hamburger-menu {
  position: relative;
  max-width: 100%;
  height: 50px;
  width: 50px;
  padding-left: 60px;
  display: flex;
  cursor: pointer;
}

.hamburger-menu .icon-menu {
  margin: auto;
  font-size: 20px;
}

.hamburger-content {
  flex-direction: column;
  position: absolute;
  width: 18rem;
  max-width: 90vw;
  top: 50px;
  right: 0;
  display: flex;
  visibility: hidden;
  z-index: 1;
}

.nojs-menu:hover .hamburger-content {
  visibility: visible;
}

@media (min-width: 800px) {
  .hamburger-menu {
    display: none;
  }

  .desktop-menu {
    display: flex;
  }
}

.navbar-link.selected {
  box-shadow: inset 0 -5px 0 #ffab40;
}

a {
  cursor: pointer;
  text-decoration: none;
}

body {
  background-color: #f5f5f5;
}

footer {
  color: #444;
  margin-bottom: 15px;
}

footer a {
  color: #444;
}

footer a:hover {
  text-decoration: underline;
}

.section, article {
    margin: 40px auto;
    max-width: 800px;
    line-height:1.2em;
    color:#444;
    font-family: sans-serif;
    line-height: 1.5em;
    word-break: break-word;
    word-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    background-color: #fff;
    border-radius: 0.375rem;
    padding: 2rem;
}

.section h2 {
    margin: 0;
    line-height: 1.2em;
    font-family: sans-serif;
}

.section a, article a {
  color: #444;
  text-decoration: underline;
}

a.no-style:hover {
  border-bottom: none;
  box-shadow: none;
}

.section :not(.buttons-container) a:hover, article a:hover {
  border-bottom: 2px solid rgba(255, 171, 64, 0.5);
  box-shadow: 0px -8px 0px rgba(255, 171, 64, 0.5) inset;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #282828;
  }
  .section, article {
    background-color: #222;
    color: #aaa;
  }

  .section a, article a {
    color: #ccc;
  }

  footer a {
    color: #777;
  }
}