@font-face {
    font-family: Roboto;
    src: url(font/Roboto/Roboto-Regular.ttf);
}
@font-face {
    font-family: Roboto-thick;
    src: url(font/Roboto/Roboto-Black.ttf);
}
.font{
    font-family: 'Roboto', Verdana, sans-serif;
}


.background{
    background-color: rgb(0, 0, 0);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    overflow-y:scroll;
    overflow-x: hidden; 
}
.menu{
    display: flex;
    width: 100%;
    background-color: white;
    justify-content: center;
    padding: 10px;

}
.logo{
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: black;
    padding-right: 100px;
}
.logotekst{
    font-family: 'Roboto-thick', Verdana, sans-serif;
    padding-left: 12px;
    font-size: 50px;  
}
.list{
    list-style: none;
    padding-inline-start: 0;
    margin: 0;
}
.listitems{
    background-color: rgb(64, 64, 64);
    border-radius: 10px;
    color: white;
    padding: 30px;
    margin-top: 4px;
    font-size: 30px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}
.dropbtn{
    background-color: rgb(64, 64, 64);
    border-radius: 10px;
    color: white;
    padding: 30px;
    font-size: 30px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}
.dropdown{
    position: relative;
    display: inline-block;
}
.dropdown-content{
    visibility: hidden;
    position: absolute;
    font-size: 20px;    
    min-width: 300px;
    z-index: 1;
    border-radius: 10px;
}
.listitems a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    display: block;
}

.listitems:hover {
    background-color: #9200d1;
}

.dropdown:hover .dropdown-content {
  visibility: visible   ;
  display: block;
  perspective: 1000px;
  transform-origin: bottom center;
}
.dropdown .dropdown-content{
    display: none;
    perspective: 1000px;
    transform-origin: bottom center;
}
.dropdown:hover .list:nth-child(1){
    animation: animatein 500ms ease-in-out forwards;
    opacity: 1;
    animation-delay: 0ms;
    transform-origin: top;
}
.dropdown .list:nth-child(1){
    animation: animateout 300ms ease-in-out forwards   ;
    animation-delay: 0ms;
    transform-origin: top;
}

@keyframes animatein {
    0%{
        opacity: 0;
        transform: rotateX(-100deg);
    }
}
@keyframes animateout {
    0%{
        visibility: visible;
        opacity: 1;
    }
    100%{
        visibility: hidden;
        opacity: 0;
    }
}
.dropdown:hover .dropbtn {
  background-color: #9200D1;
}

.bottominfo{
    position: relative;
    bottom: 0;
    text-align: center;
    background-color: black;
    font-size: 15px;
    width: 100%;
    color: white;
    padding-top: 15px;
}
.disclaimer{
    color: rgb(153, 153, 153);
    font-size: 10px;
}
.content-area{
    display: block;
    background-color: #9200D1;
    padding-top: 30px;
    padding-bottom: 30px;
}
.content-box{
    padding-top: 40px;
    padding-bottom: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    background-color: white;
    border-radius: 10px;
}
.content-box-padding{
    width: 100%; 
    overflow: hidden;
    display: flex;
    justify-content: center;

}
.tilbaketilstartside{
    text-align: center;
    background-color: #9200D1;
    font-size: 15px;
    color: black;
    padding: 7px;
    border-top: 10px;
    border-radius: 5px;
    text-decoration: none; 
}
.tekstboks{
    width: 500px;
    text-align: justify;
    float: left;
    margin-right: 5%;
    line-height: 27px;
}
.bildeboks{
    float: right;
}
.slides{
    animation: fade 2000ms ease-in-out forwards
}
.fade{
    animation:fading 8s infinite
}

@keyframes fading{
    0%{opacity:0}
    30%{opacity:1}
    70%{opacity:1}
    100%{opacity:0}
}
