/*font frå google
<weight>: Use a value from 400 to 700*/
.dancing-script{
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 80px;
    margin-top: inherit;
    padding-left: 48px;
    margin-bottom: 24px;
    cursor: pointer;
}
body{
    background-color: #1F2833;
}
main{
    max-width: 940px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: aquamarine;
}
header{
    margin: auto;
    background-color: darkslategray;
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: white;
    padding: 12px;
    padding-right: 48px;
    border-radius: 5px;
}
h1, h2, h3, p, div{
    grid-column: 1/2;
}
#info{
    grid-column: 2/2;
    text-align: end;
    color: cadetblue;
}
.svaralternativ{
    border: 2px solid;
    border-radius: 5px;
    border-top-color: aquamarine;
    border-left-color: aquamarine;
    border-bottom-color: aqua;
    border-right-color: aqua;
    background-color: dimgray;
    cursor: pointer;
    max-width: 296px;
    min-height: 30px;
    margin: 2px;
    padding: 6px;
}
.svaralternativ:hover{
    background-color: darkgray;
    color: black;
    box-shadow: 1px 1px 2px gray;
    animation-name: vaggle;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

#bilete{
    grid-column: 2/3;
    grid-row: 2/20;
    padding: 1px;
    margin: 1px;
    text-align: right;
}
img{
    max-width: 100%;
    max-height: 400px;
    border-radius: 5px;
}
#sporsmaaltekst{
    grid-column: 1/4;
}
.siffer{
    max-width: 96px;
    height: 30px;
    text-align: center;
    font-size: 25px;
    margin-left: 5px;
    margin-right: 5px;
    
}
#eksternInnhald{
    grid-column: 1/4;
    height: 100vh;
    margin: -10px;
    margin-bottom: -100px;
    padding: 0px;
}
iframe{
    border-radius: 5px;
    width: 100%;
    height: 100%;
    margin-top: inherit;
    /*box-shadow: 3px 3px 30px 5px black;*/
    background: linear-gradient(to bottom right,
    rgba(255, 255, 255, 0.05) 0%,  /* Lys hvit øverst */
    rgba(200, 200, 255, 0.1) 25%, /* Litt lysere hvit i midten */
    rgba(100, 100, 200, 0.2) 50%,   /* Litt mørkere svart i midten */
    rgba(25, 25, 50, 0.3) 75%,   /* Mørkere svart */
    rgba(2, 2, 5, 0.5) 100%); /* Mørkest svart nederst til høyre */
    animation: bolge 12s infinite;
}
@keyframes bolge {
    0% {
        box-shadow: 0 0 5px 2px rgba(50, 50, 150, 0.5);
    
    }
    25% {
        box-shadow: 5px 2px 5px 2px rgba(50, 10, 100, 0.5);
    }
    50% {
        box-shadow: 2 0 30px 2px rgba(10, 50, 200, 0.5);
    }
    75% {
    box-shadow: 0px 2px 20px 2px rgba(50, 10, 200, 0.5);
    }
    100% {
        box-shadow: 0 0 5px 2px rgba(50, 50, 150, 0.5);
    
    }
}
video{
    width: 100%;
}
.rist{
    animation-name: vaggle;
    animation-duration: 0.1s;
    animation-iteration-count: infinite;
}
.goymd{
    display: none;
}
#annanas{
	animation-name: flyte;
	animation-duration: 10s;
	animation-iteration-count: infinite;
}
#annanas:hover{
	cursor: pointer;
}
@keyframes flyte {
    0%   {transform: rotate(-1deg); margin-left: 80px; margin-top: 20px;}
    25%  {transform: rotate(5deg); margin-left: 600px; margin-top: 60px;}
    50%  {transform: rotate(-20deg); margin-left: 300px; margin-top: -30px;}
    75%  {transform: rotate(40deg); margin-left: 400px; margin-top: 80px;}
    100% {transform: rotate(-1deg); margin-left: 80px; margin-top: 20px;}
}
@keyframes vaggle {
    0%   {transform: rotate(-1deg);}
    25%  {transform: rotate(1deg);}
    50%  {transform: rotate(-1deg);}
    75%  {transform: rotate(1deg);}
    100% {transform: rotate(-1deg);}
}
@keyframes vaggleflip {
    0%   {transform: rotate(-1deg);}
    5%   {transform: rotate(1deg);}
    10%   {transform: rotate(-1deg);}
    15%   {transform: rotate(1deg);}
    20%   {transform: rotate(-1deg); background-color: plum}
    25%   {transform: rotate(1deg);}
    30%   {transform: rotate(-1deg);}
    35%   {transform: rotate(1deg);}
    40%   {transform: rotate(-1deg); background-color: darkorange}
    45%   {transform: rotate(1deg);}
    50%   {transform: rotate(360deg);}
    55%  {transform: rotate(361deg);}
    60%  {transform: rotate(359deg); background-color: hotpink}
    65%  {transform: rotate(361deg);}
    70%  {transform: rotate(359deg);}
    75%  {transform: rotate(361deg);}
    80%  {transform: rotate(359deg); background-color: cornflowerblue}
    85%  {transform: rotate(361deg);}
    90% {transform: rotate(359deg);}
    95% {transform: rotate(361deg);}
    100% {transform: rotate(-1deg);}
}
@media(max-width:800px){
    body{
        grid-template-columns: 1fr;
    }
    header{
        grid-template-columns: 1fr;
    }
    h1, h2, p, div, #bilete, .svaralternativ{
        grid-column: 1/2;
        width: 100%;
        max-width: 312px;
        margin: auto;
        margin-top: 3px;
    }
    #bilete{
        text-align: center;
    }
    #bilete{
        grid-row: 20;
    }
}