*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

/*innhold index*/

div.innhold{
    border: 15px solid rgb(65, 62, 62);
    width: 400px;
    margin: auto;
    justify-content: center;
    background-color: white;
    margin-top: 200px;
}

h5{
    padding-top: 20px;
    padding-left: 25px;
    font-size: 20px;
}

div.innholdtekst{
    padding: 25px;
}

body{
    background-color: rgba(128, 128, 128, 0.568);
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/*logginn*/

div.logginn{
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    z-index: 1;
    background: white;
    opacity: 99%;
    max-width: 260px;
    margin: 200px auto 100px;
    padding: 10px 45px 30px 45px;
    text-align: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    border-radius: 10px;
}

.logginn p{
    text-align: center;
    font-size: 15px;
    padding: 20px;
}

.logginn input{
    outline: 0;
    border-radius: 10px;
    background: #f2f2f2;
    width: 100%;
    border: 0;
    margin: 0 0 15px;
    padding: 15px;
    box-sizing: border-box;
    font-size: 14px;
}

.logginn input:hover{
    background-color: #d3f8f9;
    transition: all 1s ease 0s;
}

.logginn input:focus{
    background-color: #d3f8f9;
    transition: all 1s ease 0s;
}

.logginn button{
    text-transform: uppercase;
    outline: 0;
    border-radius: 10px;
    background: rgb(41, 111, 168, 0.699);
    width: 100%;
    border: 0;
    padding: 15px;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.logginn button:hover, .logginn button:active, .logginn button:focus{
    background-color: rgba(41, 111, 168, 0.356);
    transition: all 1s ease 0s;
}
.logginn .ikke{
    margin: 15px 0 0;
    color: rgb(41, 111, 168, 0.699);
    font-size: 13px;
}

/*registrering*/

div.registrer{
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    z-index: 1;
    background: white;
    opacity: 99%;
    max-width: 260px;
    margin: 200px auto 100px;
    padding: 10px 45px 30px 45px;
    text-align: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    border-radius: 10px;
}

.registrer p{
    text-align: center;
    font-size: 15px;
    padding: 20px;
}

.registrer input{
    outline: 0;
    border-radius: 10px;
    background: #f2f2f2;
    width: 100%;
    border: 0;
    margin: 0 0 15px;
    padding: 15px;
    box-sizing: border-box;
    font-size: 14px;
}

.registrer input:hover{
    background-color: #d3f8f9;
    transition: all 1s ease 0s;
}

.registrer input:focus{
    background-color: #d3f8f9;
    transition: all 1s ease 0s;
}

.registrer button{
    text-transform: uppercase;
    outline: 0;
    border-radius: 10px;
    background: rgb(41, 111, 168, 0.699);
    width: 100%;
    border: 0;
    padding: 15px;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.registrer button:hover, .registrer button:active, .registrer button:focus{
    background-color: rgba(41, 111, 168, 0.356);
    transition: all 1s ease 0s;
}

/*nominering*/

div.nominering{
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    z-index: 1;
    background: white;
    opacity: 99%;
    max-width: 260px;
    margin: 200px auto 100px;
    padding: 10px 45px 30px 45px;
    text-align: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    border-radius: 10px;
}

.nominering p{
    text-align: center;
    font-size: 15px;
    padding: 20px;
}

.nominering input{
    outline: 0;
    border-radius: 10px;
    background: #f2f2f2;
    width: 100%;
    border: 0;
    margin: 0 0 15px;
    padding: 15px;
    box-sizing: border-box;
    font-size: 14px;
}

.nominering input:hover{
    background-color: #d3f8f9;
    transition: all 1s ease 0s;
}

.nominering input:focus{
    background-color: #d3f8f9;
    transition: all 1s ease 0s;
}

.nominering button{
    text-transform: uppercase;
    outline: 0;
    border-radius: 10px;
    background: rgb(41, 111, 168, 0.699);
    width: 100%;
    border: 0;
    padding: 15px;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.nominering button:hover, .logginn button:active, .logginn button:focus{
    background-color: rgba(41, 111, 168, 0.356);
    transition: all 1s ease 0s;
}
.nominering .ikke{
    margin: 15px 0 0;
    color: rgb(41, 111, 168, 0.699);
    font-size: 13px;
}

/*avstemming*/
div.avstemminginnhold{
    padding-top: 40px;
    text-align: center;
}

div.avstemming{
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    z-index: 1;
    background: white;
    opacity: 99%;
    max-width: 260px;
    margin: 200px auto 100px;
    padding: 10px 45px 30px 45px;
    text-align: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    border-radius: 10px;
}

.avstemming button{
    text-transform: uppercase;
    outline: 0;
    border-radius: 10px;
    background: rgb(41, 111, 168, 0.699);
    width: 100%;
    border: 0;
    padding: 15px;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.avstemming button:hover, .avstemming button:active, .avstemming button:focus{
    background-color: rgba(41, 111, 168, 0.356);
    transition: all 1s ease 0s;
}

.stemming {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
  

.stemming input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
  

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}
  

.stemming:hover input ~ .checkmark {
    background-color: #ccc;
}
  

.stemming input:checked ~ .checkmark {
    background-color: #2196F3;
}
  

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
  

.stemming input:checked ~ .checkmark:after {
    display: block;
}
  
  
.stemming .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*nominering*/

div.nominering{
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    z-index: 1;
    background: white;
    opacity: 99%;
    max-width: 260px;
    margin: 200px auto 100px;
    padding: 10px 45px 30px 45px;
    text-align: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    border-radius: 10px;
}

.nominering p{
    text-align: center;
    font-size: 15px;
    padding: 20px;
}

.nominering input{
    outline: 0;
    border-radius: 10px;
    background: #f2f2f2;
    width: 100%;
    border: 0;
    margin: 0 0 15px;
    padding: 15px;
    box-sizing: border-box;
    font-size: 14px;
}

.nominering input:hover{
    background-color: #d3f8f9;
    transition: all 1s ease 0s;
}

.nominering input:focus{
    background-color: #d3f8f9;
    transition: all 1s ease 0s;
}

.nominering button{
    text-transform: uppercase;
    outline: 0;
    border-radius: 10px;
    background: rgb(41, 111, 168, 0.699);
    width: 100%;
    border: 0;
    padding: 15px;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.nominering button:hover, .nominering button:active, .nominering button:focus{
    background-color: rgba(41, 111, 168, 0.356);
    transition: all 1s ease 0s;
}
.nominering .ikke{
    margin: 15px 0 0;
    color: rgb(41, 111, 168, 0.699);
    font-size: 13px;
}

/*navigasjon*/

.logo{
    color: whitesmoke;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 20px;
}

h4 a:link, h4 a:visited{
    text-decoration: none;
    color: whitesmoke;
}

nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(41, 111, 168, 0.699);
}

.nav-links{
    display: flex;
    justify-content: space-around;
    width: 30%;
}

.nav-links a{
    color: whitesmoke;
    text-decoration: none;
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 14px;
}

.nav-links li{
    list-style: none;
}

.burger div{
    width: 25px;
    height: 3px;
    background-color: whitesmoke;
    margin: 5px;
    transition: all 0.3s ease;

}
.burger{
    display: none;
    cursor: pointer;
}

@media screen and (max-width:1661px){
    .nav-links{
        width: 40%;
    }
}

@media screen and (max-width:1248px){
    .nav-links{
        width: 50%;
    }
}

@media screen and (max-width:1011px){
    .nav-links{
        width: 50%;
    }
}

@media screen and (max-width:960px){
    .nav-links{
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        background-color: rgb(41, 111, 168, 0.699); 
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 2;
    }

    body{
        overflow-x: hidden;
    }

    .nav-links li{
        opacity: 0;
    }

    .burger{
        display: block;
    }

}
    
.nav-active{
    transform: translateX(0%);
}

@keyframes navLinkFade{
    from{
        opacity:0;
        transform: translateX(50px);
    }
    to{
        opacity:1;
        transform: translateX(0px);
    }
}
 
.toggle .line1{
    transform: rotate(-45deg) translate(-5px,6px);

}

.toggle .line2{
    opacity: 0;

}

.toggle .line3{
    transform: rotate(45deg) translate(-5px,-6px);

}

