/* Importerede to skrifttyper: Abril Fatface og Roboto */
@import url(https://fonts.googleapis.com/css?family=Abril+Fatface);
@import url(https://fonts.googleapis.com/css?family=Roboto:500);

/* Sørger for, at siden altid vil være inden for browservinduets rammer */
html, body {
  width: 100%;
  height: 100%;
}

/* Formattering af tekst i body */
body {
  color: white;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1em;
  background-color: black;
}

/* gør linjebrud større */
br {
  line-height: 250%;
}

#gnome {
  position: absolute;
  right: 1%;
  width: 2%;
  min-width: 20px;
  transform: rotate(45deg);
}

/* "Position: absolute" sørger for, at billedets position ikke er afhængig af noget */
/* Procenterne er billedets placering på siden */
#slides {
  position: absolute;
  top: 8%;
  left: 3%;
  right: 3%;
  bottom: 65%;
  overflow: hidden;
}

#slides ul {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

#slides ul li {
  position: relative;
  width: 100%;
  height: 100%;
}


#slides ul li:nth-child(1) {
  background-image: url("Billeder/robber.png");
  background-color: #262626;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
}
#slides ul li:nth-child(2) {
  background-image: url("Billeder/surveillancepng.png");
  background-color: #262626;
  background-repeat: no-repeat;
  background-size: 30%;
  background-position: 80% 50%;
}
#slides ul li:nth-child(3) {
  background-image: url("Billeder/Virus.png");
  background-color: #262626;
  background-repeat: no-repeat;
  background-size: 30%;
  background-position: 70% 50%;
}
#slides ul li:nth-child(4) {
  background-image: url("Billeder/help.png");
  background-color: #262626;
  background-repeat: no-repeat;
  background-position: 95% 10%;
  background-size: 10%;
}

ul#steps {
  position: absolute;
  top: 20%;
  left: 10%;
  height: 110px;
}
/* "webkit transform" sørger for, at ældre browsere er kompatible med siden */
ul#steps li {
  position: relative;
  height: 100%;
  color: #999;
  font-family: "Abril Fatface", serif;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  -webkit-transition: color 666ms cubic-bezier(0.666, 0, 0.333, 1), font-size 666ms cubic-bezier(0.666, 0, 0.333, 1);
  transition: color 666ms cubic-bezier(0.666, 0, 0.333, 1), font-size 666ms cubic-bezier(0.666, 0, 0.333, 1);
}

ul#steps li.active {
  color: #bf482c;
  font-size: 96px;
}

ul#steps p:hover {
  cursor: pointer;
}

#titles {
  position: absolute;
  top: 40%;
  left: 25%;
  width: 60%;
  padding: 110px 0;
}
#titles ul {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}
#titles li {
  position: relative;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  height: 110px;
  display: block;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  -webkit-transition: visibility 0ms linear 666ms, opacity 666ms cubic-bezier(0.666, 0, 0.333, 1);
  transition: visibility 0ms linear 666ms, opacity 666ms cubic-bezier(0.666, 0, 0.333, 1);
}
#titles li.active {
  visibility: visible;
  opacity: 1;
  -webkit-transition: visibility 0ms linear, opacity 666ms cubic-bezier(0.666, 0, 0.333, 1);
  transition: visibility 0ms linear, opacity 666ms cubic-bezier(0.666, 0, 0.333, 1);
}

#titles li p {
  font-size: 20px;
  line-height: 28px;
  color: #c1c1c1;
  display: inline-block;
}

h6 {
  font-size: 26px;
  line-height: normal;
  color: #bf482c;
  padding: 15px 0px 10px 0px;
}

.roller {
  -webkit-transform: translate3d(0, 0%, 0);
          transform: translate3d(0, 0%, 0);
  -webkit-transition: -webkit-transform 666ms cubic-bezier(0.666, 0, 0.333, 1);
  transition: -webkit-transform 666ms cubic-bezier(0.666, 0, 0.333, 1);
  transition: transform 666ms cubic-bezier(0.666, 0, 0.333, 1);
  transition: transform 666ms cubic-bezier(0.666, 0, 0.333, 1), -webkit-transform 666ms cubic-bezier(0.666, 0, 0.333, 1);
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
  visibility: hidden; /* Hidden by default. Visible on click */
  min-width: 250px; /* Set a default minimum width */
  margin-left: -125px; /* Divide value of min-width by 2 */
  background-color: #d6d6d6; /* Black background color */
  color: black; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 5px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 1; /* Add a z-index if needed */
  left: 50%; /* Center the snackbar */
  bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
  visibility: visible; /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 1.0s 3.5s;
  animation: fadein 0.5s, fadeout 1.0s 3.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}
