@charset "UTF-8";

/*
## Copyright (C) 2018 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@kicksecure.com>
## Copyright (C) 2022 Hans (Kicksecure dev team)
## See the file COPYING for copying conditions.
*/

/* ---------- */
/* 1. General */

@font-face {
	font-family: 'Roboto';
	src: url('/usr/share/fonts-roboto-fontface/fonts/roboto/Roboto-Regular.woff');
}

a {
  transition: transform .3s;
}

a:hover {
  transform: scale(1.1);
}

body {
  font-family: 'Roboto';
  font-size: 2vmin;
}

@media (max-width: 500px) {
  body {
    font-size: 2.4vmin;
  }
}

.clearfix {
  width: 100%;
  overflow: auto;
  clear: both;
}

/* ------- */
/* 2. Page */

.page-wrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url('img/background.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 52% 0;
}

/* Navigation */

.navigation {
  background-image: linear-gradient( rgb( 0 0 0 / 40% ) 20%, rgb( 0 0 0 / 0% ) );
}

.navigation .banner {
  background-image: url('img/welcome-banner.png');
  background-size: auto 85%;
  background-repeat: no-repeat;
  background-position: center 100%;
  width: 100%;
  height: 4em;
  display: block;
  filter: drop-shadow(.02em .02em .07em rgb(255, 255, 255)) drop-shadow(.02em .02em .07em rgba(255, 255, 255, 1));
}

.navigation .main-links {
  text-align: center;
  margin-top: .9em;
  border-top: 1px solid white;
}

.navigation .main-links > a {
  font-style: italic;
  display: inline-block;
  font-size: 1.6em;
  color: white;
  text-decoration: none;
  margin-top: .2em;
  text-shadow: 2px 2px 3px rgb(0 0 0 / 40%);
  display: inline-block;
}

@media (max-width: 500px) {
  .navigation .main-links > a {
    font-size: 1.4em;
  }
}

.navigation .main-links > a img {
  height: 1em;
  width: auto;
  filter: brightness(2);
  margin-right: .2em;
  margin-left: .6em;
  position: relative;
  top: .2em;
}

/* News Links */

.news-links {
  float: right;
  width: max-content;
  margin-top: 5em;
  margin-right: 2.5em;
}

@media (max-width: 500px) {
  .news-links {
    width: calc( 100% - 5em );
  }
}

.news-links a {
  color: white;
  display: block;
  font-size: 1.6em;
  text-decoration: none;
  letter-spacing: -.05em;
  background: rgb(0 0 0 / 40%);
  margin-bottom: 0.3em;
  padding: 0.3em 0.7em 0.3em;
  text-shadow: 2px 2px 3px rgb(0 0 0 / 40%);
}

.news-links a img {
  height: 1em;
  margin-right: .2em;
  position: relative;
  top: .15em;
  filter: invert(1);
}

/* Search Docs */

.search-docs {
  position: absolute;
  bottom: 13.7em;
  right: 2.5em;
  background: rgb( 0 0 0 / 40% );
  padding: 1em;
}

@media (max-width: 500px) {
  .search-docs {
    width: calc( 100% - 7em );
    bottom: 14.9em;
  }
}

.search-docs input {
  background: none;
  border: 1px solid white;
  border-radius: 6px;
  width: 34em;
  display: inline-block;
  font-size: 1em;
  color: white;
  text-align: center;
  height: 1.73em;
  font-weight: bold;
  text-shadow: .07em .07em .1em rgba(0, 0, 0, 1);
}

@media (max-width: 500px) {
  .search-docs input {
    width: calc( 100% - 12em );
  }
}

.search-docs button {
  background: none;
  font-size: 1em;
  border: 3px solid white;
  border-radius: 6px;
  padding: .1em .5em .15em;
  color: white;
  text-shadow: .07em .07em .1em rgba(0, 0, 0, .5);
  cursor: pointer;
}

.search-docs button:hover {
  background-color: rgb( 255 255 255 / .4);
  text-shadow: .07em .07em .1em rgba(0, 0, 0, 1);
}

@media (max-width: 500px) {
  .search-docs button {
    float: right;
  }
}

/* Search Links */

.search-links {
  position: absolute;
  bottom: 7.5em;
  right: 2.5em;
  width: calc( 100% - 5em );
  text-align: right;
}

@media (max-width: 500px) {
  .search-links {
    width: calc( 100% - 10em );
    bottom: 8.5em;
  }
}

.search-links a {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  color: white;
  background: rgb( 0 0 0 / 40% );
  padding: .5em 1em;
  text-shadow: 2px 2px rgb( 0 0 0 / 30% );
  font-weight: bold;
  width: 14%;
  min-width: 10%;
  margin-right: 1%;
}

.search-links a:last-child {
  margin-right: 0;
}

.search-links a img {
  height: 2.6em;
}

.search-links a span {
  display: block;
  font-size: 1em;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-top: .3em;
}

/* Footer */

.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: white;
  background: rgb(0 0 0 /50%);
  padding: .7em .6em .8em;
  font-size: 1em;
  text-align: center;
  font-weight: bold;
}

@media (max-width: 500px) {
  .footer {
    font-size: .92em;
  }
}

.footer a {
  color: white;
  display: inline-block;
}

.footer .legal {
  display: block;
  margin: .3em 0;
}

.footer .about-image {
  display: block;
  font-weight: normal;
  font-size: .75em;
}

@media (max-width: 500px) {
  .footer .about-image {
    font-size: .85em;
  }
}
