@charset "UTF-8";

/*
## Copyright (C) 2018 - 2023 ENCRYPTED SUPPORT LP <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;
}

.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 65%;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 5em;
  border-bottom: 1px solid white;
  display: block;
}

.navigation .main-links {
  text-align: center;
}

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

.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: 400px) {
  .news-links {
    width: calc( 100% - 5em );
  }
}

.news-links a {
  color: white;
  display: block;
  font-size: 2em;
  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 Links */

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

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

.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: 18%;
  margin-right: 1%;
}

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

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

.search-links a span {
  display: block;
  font-size: 1.4em;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Legal */

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

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

.legal .about-image {
  display: block;
  font-size: .8em;
}

@media (max-width: 500px) {
  .legal {
    font-size: 10px;
  }
}