#loading {
  z-index: 99;
  position: absolute;
  top: 50vh;
  left: 50vw;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  -webkit-animation: spin 1s linear infinite;
  -moz-animation: spin 1s linear infinite;
  animation: spin 2s linear infinite;  
}
@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#body-wrapper {
    display:none;
background: rgb(199,199,199);
background: linear-gradient(180deg, rgba(199,199,199,1) 0%, rgba(255,255,255,0) 50%, rgba(147,237,255,1) 100%); 
  }

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Radio Canada", sans-serif;
  list-style: none;
  max-width: 100%;
  overflow-x: hidden;
  
}

html {
  height: 100%;
}

html a {
  text-decoration: none;
}

ol,
ul {
  list-style: none;
}

:root {
  /*--<colorname>-color: #hexhex*/
  --havkattred-color: #a90301;
  --isabellinewhite-color: #f9f7f4;
  --middlegrey-color: #858378;
  --onyx-color: #3d3d3d;
  --northernnight-color: #10210c;
  /*colorfuls*/
  --bluegrey-color: #5b92c1;
  --ozanyellow-color: #ffca6a;
  --ozanblue-color: #69bbdf;
  --ozanpeach-color: #ffac6a;
  --ozanorange-color: #ff9269;
  --teagreen-color: #d0fdbc;
  --lightgreen-color: #89ee8c;
  /*messages color*/
  --madderlakered-color: #c43c39;
  --auroragreen-color: #07af3c;
}
body {
  min-height: 100%;
  position: relative;
  justify-content: flex-end;
  align-items: flex-end;
  background: var(--isabellinewhite-color);
}

footer {
  position: relative;
  bottom: 0;
  max-width: 100%;
  min-height: 100px;
  margin: 0 auto;
  margin-top: 36px;
  padding: 20px 20px;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  /*align-items: center;
  justify-content: center;*/
  width: 100%;
  max-width: 1080px;
  margin: 2rem;
  width: min(100% - 2rem);
  margin-inline: auto;
}

footer p {
  color: var(--isabellinewhite-color);
  text-shadow: 2px 1px var(--northernnight-color);
}

footer .social-media,
footer .menu {
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
  display: flex;
  padding: 4px;
  
  /*border: 3px solid green;*/
}

footer .social-media li a,
footer .menu li a {
  font-size: 1.5rem;
  margin: 0 auto;
  padding: 8px;
  display: inline-block;
  justify-content: space-between;
  transition: 0.5s;
  color: var(--isabellinewhite-color) ;
}

footer .social-media li a:hover {
  transform: translateY(-0.8rem);
  font-size: 2rem;
  text-shadow: 2px 3px 2px var(--havkattred-color);
}

footer .menu li a {
  font-size: 1rem;
  margin: 0 auto;
  padding: 8px;
  display: inline-block;
  opacity: 0.8;
  font-weight: bold;
}

footer .menu li a:hover {
  opacity: 1;
  font-size: 1.2rem;
  color: var(--isabellinewhite-color);
  text-shadow: 2px 3px 2px var(--havkattred-color);
}

  .filter-logo-color{
    filter: invert(84%) sepia(1%) saturate(541%) hue-rotate(358deg) brightness(117%) contrast(97%);
    width: 80px;
    left: 50%;
  }

/*Animations START*/
/*animated aurora footer start*/
 .aurora {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /*height: 100px;*/
  background-size: 1000px;
  background: url(./img/aurora-pexels-tobias-bjørkli-1693095-CROPPED.png);
  background-repeat: no-repeat;
  animation: animatedBackground 10s ease-in-out infinite alternate;
  overflow: hidden;
  background-size: 100vw;
  overflow-y: hidden;
}

 .aurora#aurora1 {
  z-index: 0;
  opacity: 0.3;
  bottom: 0;
  animation: animateaurora 22s linear infinite;
}
 .aurora#aurora2 {
  z-index: 0;
  opacity: 0.7;
  bottom: 0;
  animation: animateaurora2 25s linear infinite;
}

 .aurora#aurora3 {
  z-index: 0;
  opacity: 0.8;
  bottom: 0;
  animation: animateaurora3 25s linear infinite;
}
 .aurora#aurora4 {
  z-index: 0;
  opacity: 0.7;
  bottom: 0;
  animation: animateaurora4 20s linear infinite;
}
 
@keyframes animateaurora2 {
    0%
    {
        background-position-x: 1%;
    }
    50%
    {
        background-position-x: 100%;
    }
    100%{
        background-position-x: 1%;
    }
}

@keyframes animateaurora3 {
  0% {
    background-position-y: 100%;
  } 50% {
  background-position-y: 0%;
}
  100% {
    background-position-y: 100%;
  }
}

@keyframes animateaurora4 {
  0% {
    background-position-y: 0%;
  } 50% {
  background-position-y: 100%;
}
  100% {
    background-position-y: 0%;
  }
}
/*animated aurora footer end*/
/*animated aurora header start*/

.animated-background-div {
  background-image: url(http://placehold.it/100x100);
  background-repeat: no-repeat;
  animation: animatedBackground 10s ease-in-out infinite alternate;
  overflow: hidden;
  background-size: 120vw;
}/*SØKE HER HEADER*/

@media screen and (max-width: 500px) {
  .animated-background-div {
    animation: animatedBackground 40s ease-in-out infinite alternate;
    background-size: 250vw;
  }
}
/*90/50/40/90*/
@keyframes animatedBackground {
  from {
    background-position: 100% 10%;
  }
  to {
    background-position: 10% 1%;
  }
}
/*animated aurora banner end*/
/*Animations END*/
/*NAV start*/
nav {
  padding: 1rem 10rem;
  border-left: none;
  border-right: none;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1080px;
  margin: 2rem;
  width: min(100% - 2rem);
  margin-inline: auto;
}

nav ul li.logo {
  flex: 1;
  }
nav ul li.logo img {
  height: 80px;
}
nav ul div.nav-items {
  padding: 0 25px;
  display: inline-flex;
}

nav ul div.nav-items a {
  font-size: 1rem;
  padding: 0 1rem;
  color: #f9f7f4;
  font-weight: bold;
  text-shadow: 2px 2px 2px var(--middlegrey-color);
  white-space: nowrap;
}

nav ul div.nav-items a:hover {
  font-size: 1.1rem;
  /*color: var(--ozanpeach-color);*/
  color: var(--ozanpeach-color);
}

@media screen and (max-width: 1052px) {
  nav {
    padding: 10px 40px 10px 0px;
  }

  nav ul li.logo {
    position: relative;
  }

  /*nav ul li.logo img{
        border: red solid 1px;
    }*/
  nav ul div.items {
    flex: 4;
  }
}

@media screen and (max-width: 500px) {
  nav ul li.logo {
    position: relative;
    left: 33%;
    right: 33%;
    top: 0;
  }

  /*nav ul li.logo img{   
    }*/
}
/*NAV end*/

.container {
  margin: 2rem;
  width: min(100% - 2rem, 600px);
  margin-inline: auto;
}

/*carousel start*/
.carousel {
  position: relative;
  height: 420px;
  width: 80%;
  margin: 0 auto;
}
.carousel a {
  color: inherit;
}

.carousel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__track-container {
  /*background: red;*/
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel__track {
  padding: 0;
  margin: 0;
  position: relative;
  height: 100%;
  transition: transform 250ms ease-in;
}

.carousel__slide {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;

  display: flex;
  justify-content: center;
  margin: 0 auto;
  gap: 8px;
}

.carousel__slide img {
  border-radius: 16px;
  border: 1px solid white;
  display: flex;
  margin: 0 auto;
  padding: 4px;
  height: 200px;
  transition: 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel__images {
  border-radius: 16px;
  border: 1px solid white;
  display: flex;
  margin: 8px auto;
  /*padding: 8px;*/
  height: 200px;
  width: 200px;
  transition: 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-size: cover;
  position: relative;
}

.carousel__images p {
  color: #f9f7f4;
  font-size: 1rem;
  text-shadow: 1px 1px 2px black;
  padding: 6px;
}

h4 {
  position: absolute;
  bottom: 0;
  padding: .25rem;
  color: #f9f7f4;
  font-size: 1rem;
  text-shadow: 1px 1px 5px black;
}
@media screen and (max-width: 495px) {
  h4 {
    position: relative;
    top: 0;
    color: #f9f7f4;
    font-size: 0.8rem;
    text-shadow: 5px 5px 5px black;
  }

  .carousel__images p{
    font-size: 2rem;
    text-shadow: 1px 1px 1px black;
  }
}

@media screen and (min-width: 500px) {
  .carousel__images p {
    color: #f9f7f4;
    text-shadow: 1px 1px black;
    opacity: 0;
    transform: scale(0);
    transition: 0.8s;
  }

  .carousel__images:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 200px rgba(0, 0, 0, 0.5) inset;
  }

  .carousel__images:hover p {
    transform: scale(1);
    opacity: 1;
  }
}

.carousel__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.carousel__button--left {
  left: -24px;
}
.carousel__button--right {
  right: -24px;
}

.carousel__button img {
  width: 24px;
}

.carousel__nav {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.carousel__indicator {
  border: 0;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  background: gray;
  margin: 0 12px;
  cursor: pointer;
}

.carousel__indicator.current-slide {
  background-color: black;
}

.is-hidden {
  display: none;
}

@media screen and (max-width: 500px) {
  .carousel__images {
    height: 130px;
    width: 130px;
    display: flex;
    justify-content: space-around;
    
  }
  .carousel__images p {
    font-size: 0.7rem;
    position: relative;
    white-space: wrap;
    text-shadow: 1px 1px 2px black;
  }
  .carousel__images h4 {
    font-size: 0.8rem;
    position: relative;
    white-space: wrap;
    text-shadow: 0 0 2px black;
  }
  /*
  .carousel__images span {
    white-space: wrap;
    padding: 2px;
  }
  */
}
/*carousel end*/
/* filter / search start*/
.search-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

input {
  font-size: 1rem;
}

.post-cards {
  display: inline-block;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.25rem;
  margin-top: 1rem;
}

.card {
  border: 1px solid var(--onyx-color);
  background-color: var(--isabellinewhite-color);
  padding: 0.5rem;
  width: 100%;
  border-radius: 10px;
}

.card > .header {
  margin-bottom: 0.25rem;
  color: var(--onyx-color);
}

.card > .body {
  font-size: 0.8rem;
  color: var(--middlegrey-color);
}

.card > img {
  max-width: 100px;
}

.hide {
  display: none;
}
/* filter / search end*/
/*contacthtml start*/
.form-header {
  text-align: center;
}

.account-form {
  padding: 4px 8px;
}

.form-control {
  margin-bottom: 10px;
  position: relative;
  text-align: center;
}

.form-control label {
  margin-bottom: 5px;
}

.form-control input {
  border: 2px #f0f0f0;
  border-radius: 4px;
  display: block;
  font-size: 14px;
  padding: 10px;
  width: 50%;
  max-width: 600px;
  margin: 0 auto;
}

/*contact page start*/

.form-control.success input {
  border: 3px solid var(--teagreen-color);
}

.form-control.error input {
  border: 3px solid var(--havkattred-color);
}

.form-control i {
  position: absolute;
  top: 30px;
  right: 10px;
  visibility: hidden;
}

.form-control.success i.fa-check-circle {
  color: var(--teagreen-color);
  visibility: visible;
}

.form-control.error i.fa-exclamation-circle {
  color: var(--havkattred-color);
  visibility: visible;
}

.form-control small {
  visibility: hidden;
  position: relative;
  bottom: 0;
  margin: 0 auto;
}
.form-control.error small {
  color: var(--madderlakered-color);
  visibility: visible;
}
/*contacthtml end*/
/*contact page end*/

/*singlepost-page START*/

.blogpost-container {
  margin: 32px;
  width: min(100% - 2rem, 600px);
  margin-inline: auto;
 align-items: center;
}

.blogpost-container video {
  width: 100%    !important;
  height: auto   !important;
}

.blogpost-container img {
  width: 100%;
  height: auto;
}

.thumbnaildiv {
  max-width: 150px;
}

.mediumpicdiv {
  max-width: 225px;
}

.medium-largepicdiv {
  max-width: 768px;
}

/*MODAL START*/

/*MODAL END*/

/*singlepost-page END*/

/*Aboutpage START*/
.about-container {
  text-align: center;
}
/*Aboutpage END*/

/*allblogposts start*/
#getMorePostsBTN{
  padding: 16px;
  margin: 0 auto;
}

.listcontainer {
  padding: 1rem;
  margin: 0 auto;
}

.morelistcontainer {
  padding: 1rem;
  margin: 0 auto;
}

.listcontainer p {
  padding: 1rem;
  color: var(--northernnight-color);
  font-size: 1rem;
 }

.morelistcontainer p {
  padding: 1rem;
  color: var(--northernnight-color);
  font-size: 1rem;
 }

.listcontainer h3 {
  text-align: center;
  padding: 1rem;
  color: #f9f7f4;
  font-size: 1rem;
  text-shadow: 0px 0px 5px black;
}

.morelistcontainer h3 {
  text-align: center;
  padding: 1rem;
  color: #f9f7f4;
  font-size: 1rem;
  text-shadow: 0px 0px 5px black;
}

.imgdiv{
  width:160px; 
  height:160px; 
  position:relative;
  overflow:hidden;
}

.listcontainer img {
   position:absolute; 
   width:100%;
   top: 50%;
   -ms-transform: translateY(-50%);
   -webkit-transform: translateY(-50%);
   transform: translateY(-50%);

}

.morelistcontainer img {
  position:absolute; 
  width:100%;
  top: 50%;
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}





 
/*allblogposts end*/

a {
  cursor: pointer;
}