/* TYPR */

@import url(https://fonts.googleapis.com/css?family=Paytone+One|Montserrat);
@import url("https://fonts.googleapis.com/css?family=Lato|Raleway&display=swap");

/* --- MENY CSS */
#omossaktiv {
  background-color: #47ebeb;
}
#kontaktaktiv {
  background-color: #ebeb47;
}
#instruksjonaktiv {
  background-color: #47eb47;
}
#indexaktiv {
  background-color: #bd3291;
}

.navbar {
  text-align: center;
  margin: auto;
  padding-top: 20px;
}

button {
  background-color: transparent;
  color: black;
  border: 2px solid black;
  border-radius: 50px;
  padding: 10px 50px;
  position: relative;
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

button > span.bg {
  background: #bd3291;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

button:hover {
  color: black;
}

button:hover > span.bg {
  transition: all 0.3s ease-in-out;
}

/* HØYRE NAV */

button.right > .bg {
  left: 0;
  bottom: 0;
  transform: translateX(100%);
  font-size: 16px;
}

button.right:hover > .bg {
  transform: translateX(0);
}

/* VENSTRE NAV */

button.left > .bg {
  left: 0;
  bottom: 0;
  transform: translateX(-100%);
}

button.left:hover > .bg {
  transform: translateX(0);
}

ul > li {
  display: inline-block;
  padding: 0 20px;
}

/* WAVES FOOTER @https://github.com/Goodkatz/simple-css-waves */

body {
  margin: 0;
}

p {
  font-family: "Lato", sans-serif;
  letter-spacing: 1px;
  font-size: 14px;
  color: #333333;
}

.header {
  position: relative;
  text-align: center;
  background: azure;
  color: white;
}
.logo {
  width: 50px;
  fill: white;
  padding-right: 15px;
  display: inline-block;
  vertical-align: middle;
}

.inner-header {
  height: 65vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

.flex {
  /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px; /*Fix for safari mellomrom*/
  min-height: 100px;
  max-height: 150px;
}

.content {
  position: relative;
  height: 80px;
  text-align: center;
  background-color: white;
}

/* ANIMASJON BØLGER */

.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
  color: blue;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}
/*MOBIL*/
@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
  .content {
    height: 30vh;
  }
  h1 {
    font-size: 24px;
  }
}
/* BØLGER SLUTT @https://github.com/Goodkatz/simple-css-waves */

/*SPILL KNAPP*/
body {
  background: azure;
  fill: transparent;
}

a {
  font-family: "Lato", sans-serif;
  letter-spacing: 1px;
  font-size: 14px;
  color: black;
  text-decoration: none;
}

#spillher {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 35px;
  color: black;
  text-decoration: none;
}
.centered {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
}

.h-button {
  background: azure;
  padding: 20px;
  width: transparent;
  text-align: center;
}
.h-button span {
  display: inline-block;
  min-width: 0.3em;
  text-transform: uppercase;
  transition: 0.25s cubic-bezier(0.5, -1, 0.5, 2);
  opacity: 0;
  transform: translate(0, -20px);
}
.h-button:before {
  content: attr(data-text);
  position: absolute;
  width: 100%;
  left: 0;
  transition: 0.25s cubic-bezier(0.5, -1, 0.5, 2);
  text-transform: uppercase;
  letter-spacing: 3.5px;
  opacity: 1;
  transform: translate(0, 0px);
}
.h-button:hover:before,
.h-button:focus:before {
  opacity: 0;
  transform: translate(0, 2px);
}
.h-button:hover span,
.h-button:focus span {
  opacity: 1;
  transform: translate(0, 0);
}
.h-button:hover span:nth-child(1),
.h-button:focus span:nth-child(1) {
  transition-delay: 0.025s;
}
.h-button:hover span:nth-child(2),
.h-button:focus span:nth-child(2) {
  transition-delay: 0.05s;
}
.h-button:hover span:nth-child(3),
.h-button:focus span:nth-child(3) {
  transition-delay: 0.075s;
}
.h-button:hover span:nth-child(4),
.h-button:focus span:nth-child(4) {
  transition-delay: 0.1s;
}
.h-button:hover span:nth-child(5),
.h-button:focus span:nth-child(5) {
  transition-delay: 0.125s;
}
.h-button:hover span:nth-child(6),
.h-button:focus span:nth-child(6) {
  transition-delay: 0.15s;
}
/*Sirkel rundt knapp*/

/*Generell*/

html {
  background: azure;
}

html,
body {
  height: 100%;
}

body-3 {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}

svg {
  max-width: 200%;
  width: 300px;
  height: auto;
}

svg circle {
  -webkit-animation: trails 2500ms linear infinite;
  animation: trails 2500ms linear infinite;
  fill: transparent;
  stroke: #bd3291;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  stroke-width: 4;
}

svg circle:nth-child(1) {
  stroke: #ebeb47;
  -webkit-animation-delay: 100ms;
  animation-delay: 100ms;
}

svg circle:nth-child(2) {
  stroke: #47eb47;
  -webkit-animation-delay: 200ms;
  animation-delay: 200ms;
}

svg circle:nth-child(3) {
  stroke: #47ebeb;
  -webkit-animation-delay: 300ms;
  animation-delay: 300ms;
}

svg circle:nth-child(5) {
  stroke: transparent;
  -webkit-animation-delay: 500ms;
  animation-delay: 500ms;
}

@-webkit-keyframes trails {
  from {
    stroke-dashoffset: -500;
  }
  to {
    stroke-dashoffset: 500;
  }
}

@keyframes trails {
  from {
    stroke-dashoffset: -500;
  }
  to {
    stroke-dashoffset: 500;
  }
}

/* FOOTER LOGO @https://github.com/sarcadass/granim.js */
.bloc-logo {
  position: relative;
  width: 130px;
  height: 49px;
  float: left;
}

.bloc-logo canvas,
.bloc-logo .logo-mask {
  display: block;
  width: 150px;
  height: 25px;
}

.bloc-logo .logo-mask {
  position: absolute;
  top: 0;
  left: 0;
  background-size: 150px;
  background-image: url("../img/logo_mask.png");

  text-indent: -9999px;
}
/* LOGO END @https://github.com/sarcadass/granim.js*/

.om {
  display: flex;
  background-color: azure;
}

.om > div {
  padding: 40px;
  font-size: 12px;
  column-gap: 1em;
  column-width: 400px;
  flex-direction: column;
  margin: 25px;
  position: relative;
  float: inherit;
}

#left {
  float: right;
  text-align: left;
}
#right {
  float: left;
}

#besk1 {
  font-family: "Raleway", sans-serif;
  color: #bd3291;
  font-size: 40px;
  text-align: center;
}

#besk2 {
  font-family: "Raleway", sans-serif;
  color: #bd3291;
  font-size: 40px;
  text-align: center;
}

.beskrivelse {
  position: absolute;
  font-family: "Lato", sans-serif;
  letter-spacing: 1px;
  font-size: 14px;
  color: #333333;
  text-align: center;
  column-width: 300px;
  column-count: 1;
  left: 200px;
  right: 200px;
}

.malboks {
  border-bottom: 4px dotted #47eb47;
  border-left: 4px dotted #ebeb47;
  border-top: 4px dotted #bd3291;
  border-right: 4px dotted #47ebeb;
}

#kontaktoverskrift {
  font-size: 36px;
  text-align: center;
  font-weight: bolder;
  font-family: "Raleway", sans-serif;
}

.kontakt {
  display: flex;
  background-color: transparent;
  justify-content: center;
}

.kontakt > div {
  background-color: azure;
  padding: 40px;
  font-size: 12px;
  column-gap: 1em;
  column-width: 400px;
  flex-direction: column;
  margin: 25px;
  position: relative;
  float: inherit;
}

h4 {
  font-family: "Raleway", sans-serif;
  font-weight: bold, 300;
  margin: 10px;
  margin-top: 0;
  letter-spacing: 2px;
  font-size: 32px;
  text-align: center;
  color: #bd3291;
}

h5 {
  font-family: "Raleway", sans-serif;
  font-weight: bold, 300;
  margin: 10px;
  margin-top: 0;
  letter-spacing: 2px;
  font-size: 32px;
  text-align: center;
  color: #47eb47;
}

h6 {
  font-family: "Raleway", sans-serif;
  font-weight: bold, 400;
  margin: 10px;
  margin-top: 0;
  letter-spacing: 2px;
  font-size: 32px;
  text-align: center;
  color: #47ebeb;
}

body {
  font-family: "Lato", sans-serif;
  background: transparent;
  display: grid;
  grid-template-rows: 1fr auto;
}

header {
  position: relative;
  margin: 100px 0 25px 0;
  font-size: 2.3em;
  text-align: center;
  letter-spacing: 7px;
}

#form {
  position: relative;
  width: 500px;
  margin: 50px auto 100px auto;
}

input {
  font-family: "Lato", sans-serif;
  font-size: 0.875em;
  width: 470px;
  height: 50px;
  padding: 0px 15px 0px 15px;

  background: transparent;
  outline: none;
  color: black;

  border: solid 1px #b3aca7;
  border-bottom: none;

  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}

input:hover {
  background: #b3aca7;
  color: black;
}

textarea {
  width: 470px;
  max-width: 470px;
  height: 110px;
  max-height: 110px;
  padding: 15px;

  background: transparent;
  outline: none;

  color: black;
  font-family: "Lato", sans-serif;
  font-size: 0.875em;

  border: solid 1px #b3aca7;

  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}

textarea:hover {
  background: #b3aca7;
  color: black;
}

#submit {
  width: 502px;
  padding: 0;
  margin: -5px 0px 0px 0px;
  font-family: "Lato", sans-serif;
  font-size: 0.875em;
  color: #b3aca7;
  outline: none;
  cursor: pointer;
  border: solid 1px #b3aca7;
  border-top: none;
}

#submit:hover {
  color: #e2dedb;
}

.instruksjoner {
  display: flex;
  flex-direction: column;
  background-color: transparent;
  margin: 50px;
  padding: 30px;
  font-size: 15px;
  width: 600px;
  margin: auto;
  border-bottom: 4px dotted #47eb47;
  border-left: 4px dotted #ebeb47;
  border-top: 4px dotted #bd3291;
  border-right: 4px dotted #47ebeb;
}

.kort {
  display: grid;
  grid-template-rows: auto 100px;
  width: 230px;
  height: 370px;
  background-color: #ffffff;
  box-shadow: 0px 20px 30px #00000080;
  border-radius: 25px;
  position: relative;
  cursor: default;
  overflow: hidden;
  float: left;
  margin: 20px;
  align-self: center;
}

.image-box {
  width: 230px;
  border-radius: 25px 25px 0 0;
  position: relative;
}

.profile-image {
  position: absolute;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  transition: var(--long);
}

.bottom {
  display: grid;
  justify-content: center;
  align-content: center;
  width: 230px;
  position: relative;
  color: #363636;
  text-align: center;
}

.name {
  font-weight: bold;
  font-size: 26px;
  line-height: 26px;
  z-index: 1;
}

.infotext {
  margin-top: 5px;
  font-size: 18px;
  line-height: 14px;
  z-index: 1;
}

.name,
.infotext {
  transition: var(--long);
}

.btn {
  padding-top: 4px;
  position: absolute;
  width: 66px;
  height: 22px;
  background: var(--gradient);
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 25px;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  z-index: 2;
  transition: var(--long);
}

.btn-text {
  font-family: "Lato", sans-serif;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr 1fr;
  transition: var(--long);
  font-size: 17px;
}

.profil {
  padding: 0px;
  position: absolute;
  background-color: transparent;
  top: -100%;
  left: 0;
  height: 100%;
  width: 100%;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 0 0 25px 25px;
  z-index: 0;
  transition: var(--long);
}

.score-profil {
  display: flex;
  justify-content: space-between;
}

.score-profil a {
  transition: var(--short);
}

.score-profil img {
  width: 45px;
  height: 45px;
}

.profil p {
  height: fit-content;
  padding: 0 10px;
  border-radius: 20px;
}

.email {
  width: 100px;
  height: 40px;
  text-decoration: none;
  border: 1px solid #ffffff;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  transition: width var(--long), transform var(--short);
}

.kort.active .profil {
  top: 0;
  background-color: #000000cc;
}

.kort.active .name,
.kort.active .infotext {
  transform: translateY(-260px);
  color: #ffffff;
}

.kort.active .profile-image {
  height: 370px;
}

.kort.active .btn {
  transform: translate(-50%, 30px);
}

.score-profil a:hover {
  transform: translateY(-5px);
}

.kort.active .email {
  width: 200px;
  background-color: #ffffff40;
}

.kort.active .email:hover {
  transform: translateY(-5px);
}

.kort.active .btn-text {
  transform: translateY(-20px);
}
#scoretext-high {
  color: white;
  border: 1px solid #ffffff;
}
#scoretext {
  color: white;
  font-size: 25px;
}

.row {
  display: flex;
  justify-content: center;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
:root {
  --gradient: linear-gradient(90deg, #47ebeb 0%, #ebeb47 100%);
  --long: 0.7s;
  --short: 0.2s;
}
