/* Loading fonts */

@font-face {
  font-family: 'NewsCycle-Bold';
  src: url('/assets/font/NewsCycle-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'NewsCycle';
  src: url('/assets/font/NewsCycle-Regular.ttf') format('truetype');
}

* {
  font-family: 'NewsCycle';
}

.reveal-viewport {
  background-color: #F8F5F1;
}

.slide {
  height: 90vh;
  z-index: 0;
}

.progress {
  top: 0;
  color: #FF7A00!important;
}

nav {
  background-color: #fff;
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  height: 10vh;
  padding: 0 5vw;
}

.brand-container {
  display: flex;
  align-self: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.home-container {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #FF7A00;
  box-sizing: border-box;
  border-radius: 8px;
  width: 45px;
  height: 45px;
  text-decoration: none;
}

.home-container:hover {
  background-color: #FF7A00;
}

.home-container:hover .home-icon {
  color: #fff;
}

.home-container .home-icon {
  color: #FF7A00;
}

.back-container {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid #FF7A00;
  box-sizing: border-box;
  border-radius: 8px;
  width: 45px;
  height: 45px;
  text-decoration: none;
}

.back-container:hover {
  background-color: #FF7A00;
}

.back-container:hover .back-icon {
  color: #fff;
}

.back-container .back-icon {
  color: #FF7A00;
}

.infoboxbutton-container {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #FF7A00;
  box-sizing: border-box;
  border-radius: 8px;
  width: 45px;
  height: 45px;
  text-decoration: none;
}

.infoboxbutton-container:hover {
  background-color: #FF7A00;
}

.infoboxbutton-container:hover .infoboxbutton-icon {
  color: #fff;
}

.infoboxbutton-container .infoboxbutton-icon {
  color: #FF7A00;
}

nav .langchooser {
  line-height: 10vh;
  color: #FF7A00;
}

.progress-bar {
  width: 100hw;
  height: 2px;
  background-color: #FF7A00;
  opacity: .25;
}

/* Different kinds of text blocks */

.intro {
  font-size: 1.5rem;
}

.info {
  font-size: 1.5rem;
  border: 1px solid #01BAEF;
  background-color: rgb(1, 186, 239, 5%);
  color: #01BAEF;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.info img{
  margin-right: 1em;
}

.warning {
  font-size: 1.5rem;
  border: 1px solid #FF7A00;
  background-color: rgb(255, 122, 0, 5%);
  color: #FF7A00;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.warning img{
  margin-right: 1em;
}

.question {
  font-size: 2.5rem;
  background-color: #FFF;
  border-radius: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 30px;
}

.site-header {
  font-family: 'NewsCycle-Bold';
  font-size: 2rem;
}

.site-sub-header {
  font-family: 'NewsCycle';
  font-size: 1.5rem;
}

body:not(.hide-menubar) .reveal.ready .menubar {
  top: 0;
  opacity: 1;
}

.reveal .lowercase {
  text-transform: none;
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.row .col {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.reveal .flags {
  display: block;
  position: relative;
  margin-bottom: -80px !important;
  margin-top: 80px;
}

.reveal .flags label {
  display: inline-block;
}

.reveal .flags [type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.reveal .flags img {
  border-radius: 40px;
  border: 4px solid #1a1626;
  margin: 0;
  width: 60px;
  height: 60px;
  margin-left: 10px;
  margin-right: 10px;
  cursor: pointer;
  opacity: 0.5;
}

.reveal .flags img:hover {
  opacity: 1;
}

.reveal .flags [type=radio]:checked+img {
  pointer-events: none;
  opacity: 1;
  border: 4px solid white;
}
.reveal p{
  margin: 20px 10px;
}

/* EXAMPLE DROPDOWN WITH LANGUAGE CHOOSER 
*/

nav .dropdown {
  /* position: relative; */
  display: inline-block;
  font-size: 16px;
  line-height: 50px;
  width: 25%;
  text-align: right;
}

nav input[type=checkbox] {
  display: none;
}

nav input[type=checkbox]+label {
  background: none;
  border: 1px solid white;
  border-radius: 6px;
  cursor: pointer;
}

nav input[type=checkbox]+label:hover {
  opacity: 1;
}

nav input[type=checkbox]:checked+label {
  border-radius: 6px 6px 0 0;
}

nav input[type=checkbox]:checked~.langchooser {
  display: block;
  z-index: 2;
}

nav .nav-left {
  display: flex;
  width: 25%;
}

nav .nav-left a {
  margin: 0 0.3em;
}

nav label {
  display: inline-block;
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

nav [type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

nav .dropdown .langchooser {
  position: absolute;
  list-style: none;
  text-align: left;
  right: 0;
  top: 10vh;
  margin-top: 2px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.5);
  z-index: 1;
  padding: 0;
  display: none;
  border: none;
  background-color: #fff;
  border: 1px solid white;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  font-family: 'NewsCycle-bold';
}

.language-label {
  color: #FF7A00;
  font-family: 'NewsCycle-Bold';
}

nav .dropdown .langchooser label {
  display: block;
  padding: 0;
}

nav .langchooser [type=radio]+span {
  display: block;
  padding: .75em 2em;
  cursor: pointer;
}

nav .langchooser span:hover {
  opacity: 0.75;
}

nav .langchooser [type=radio]:checked+span {
  pointer-events: none;
  font-weight: bold;
  opacity: 1;
  position: relative;
}

nav .langchooser [type=radio]:checked+span:before {
  content: '*';
  display: block;
  position: absolute;
  left: 1em;
}

.btc-color {
  color: #f2a900;
}

.button {
  list-style: none!important;
  /* TODO: remove !important */
  display: flex!important;
  justify-content: center;
  flex-wrap: wrap;
}

.button li {
  border: 1px solid black;
  color: #fff;
  border: 1px solid #BF5C00;
  box-sizing: border-box;
  border-radius: 8px;
  text-align: center;
  background-color: #FF7A00;
  padding: 10px;
  margin: 0 10px 10px 10px;
}

.button li.external {
  background-color: #00BFA4;
  border: 1px solid #017B6A;
}

.button li a {
  color: #fff;
}

/* Modal */

/* The Modal (background) */

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 99;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Content */

.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: 1em auto;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation-name: animatetop;
  animation-duration: 0.4s;
  padding: 2em;
  line-height: 1.3;
  font-family: "Lato", sans-serif;
  font-size: 30px;
  font-weight: normal;
  color: #000;
}
.modal-content a{
  color: #01BAEF;
}

/* Add Animation */

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }
  to {
    top: 0;
    opacity: 1
  }
}

/* The Close Button */

.close {
  color: #aaa;
  float: right;
  font-size: 40px;
  font-weight: bold;
  margin: 0.3em;
}

.close:hover, .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Button to open infobox */

#infoboxbutton {
  display: none;
  /* Hidden by default */
}

section .infobox {
  display: none;
  /* Hidden by default */
}