@charset "UTF-8";

/*
## Copyright (C) 2018 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
## Copyright (C) 2022 Hans (Whonix 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');
}

/* 2. Elements */

body {
	background: #f6f3f4;
	font-family: "Roboto", "Helvetica", "Verdana", "Tahoma", "Liberation Sans", sans-serif;
	color: #333;
	padding: 40px 10px 0;
}

/* 3. Named elements */

.page-wrapper {
  max-width: 960px;
  margin: auto;
}

.logo {
	text-align: center;
	width: 100%;
	max-width: 600px;
	margin: auto;
	display: block;
}

.logo img {
  width: 100%;
}

.claim {
  font-size: 28px;
  text-align: center;
  padding: 5px;
  margin: 35px 0;
  background: #fafafa;
}

/* 4. Section Main Links */

.main-links {
  text-align: center;
  font-size: 0;
}

.main-links > a {
  margin: 10px;
  display: inline-block;
  text-decoration: none;
  transition: transform .1s;
}

.main-links > a:hover {
  transform: scale(1.1);
}

.main-links > a img {
  height: 100px;
}

.main-links > a span {
  font-size: 20px;
  margin-top: 10px;
  display: block;
  color: #333;
}

/* 5. Section News Links */

.news-links {
  margin: 45px auto;
  width: max-content;
}

.news-links a {
  display: block;
  font-size: 20px;
  text-decoration: none;
  color: #333;
  margin: 20px 0;
  transition: transform .1s;
}

.news-links > a:hover {
  transform: scale(1.1);
}

.news-links a i {
  display: inline-block;
  width: 35px;
  text-align: center;
  margin-right: 5px;
}

.news-links a img {
  height: 24px;
  vertical-align: middle;
}

.news-links a span {
  vertical-align: middle;
}

/* 7. Section Search Docs */

.search-docs {
  background: #fafafa;
  margin: 40px 0px;
  padding: 15px 0;
  text-align: center;
}

.search-docs input {
  display: block;
  width: 94%;
  max-width: 700px;
  margin: 10px auto;
  font-size: 20px;
  padding: 2px 9px 4px;
  background: transparent;
  border-radius: 6px;
  border: 1px solid #bbb;
  text-align: center;
}

.search-docs input::placeholder {
  color: #999;
}

.search-docs .buttons {
  margin-bottom: 10px;
}

.search-docs button {
  font-size: 20px;
  border: none;
  background: #eee;
  border-radius: 6px;
  padding: 7px 11px;
  cursor: pointer;
}

.search-docs button:hover {
  background: #ccc;
}

/* 6. Section Search Links */

.search-links {
  text-align: center;
  padding-top: 10px;
}

.search-links > div {
  display: inline-block;
  position: relative;
  font-size: 20px;
  transition: transform .1s;
}

.search-links > div:hover {
  transform: scale(1.1);
}

.search-links > div > a {
  padding: 15px;
  color: #333;
  text-decoration: none;
  display: block;
}

.search-links img {
  height: 60px;
}

.search-links a span {
  display: block;
  margin-top: 10px;
  text-align: center;
}

.search-links div .transparency-tooltip {
  display: none;
  width: 160px;
  background: #fffad2;
  color: #333;
  position: absolute;
  text-align: justify;
  left: 50%;
  top: 0;
  font-size: 12px;
  transform: translateY( calc( -100% - 11px ) ) translateX( -50% );
  padding: 5px 10px 7px;
  filter: drop-shadow( 1px 1px 2px #0004 );
}

.search-links div:hover .transparency-tooltip,
.search-links div .transparency-tooltip:hover {
  display: block;
}

.search-links div .transparency-tooltip::before,
.search-links div .transparency-tooltip::after {
  content: " ";
  display: block;
  position: absolute;
}

.search-links div .transparency-tooltip::before {
  border: 10px solid transparent;
  border-top-color: #fffad2;
  bottom: -20px;
  left: 50%;
  transform: translateX( -50% );
}

/* This enlarges the tooltip so the hover effect can be maintained to reach the tooltip link */
.search-links div .transparency-tooltip::after {
  height: 11px;
  bottom: -11px;
  width: 100%;
  left: 0;
}

.search-links div .transparency-tooltip a {
  color: #2975b8;
}


/* 7. Section Legal */

.legal {
  max-width: 280px;
  text-align: justify;
  margin: 40px auto;
  color: #888;
  font-size: 14px;
}

.legal a {
  text-decoration: none;
  color: #008CBA;
}

.legal a:hover {
  text-decoration: underline;
}

/* Section Info Local */

.info-is-local {
  font-size: 20px;
  text-align: center;
  margin-bottom: 85px;
}
