/* start kode for calgulator quiz */

.quiz-header {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.question {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.input-field {
    padding: 10px;
    margin-bottom: 10px;
    width: calc(30% - 22px); /* Justering for padding og border */
    box-sizing: border-box;
}

.submit-btn {
    background-color: #5cb85c; /* Grøn */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.1em;
    cursor: pointer;
    display: block;
    width: 50%;
}

.submit-btn:hover {
    background-color: #4cae4c;
}

#feedback {
    margin-top: 20px;
    padding: 10px;
    color: white;
    text-align: center;
    font-size: 1.2em;
}


.feedback.correct {
    color: green;
}

.feedback.incorrect {
    color: red;
}

/* slut kode for calgulator quiz */

.border  {
    border: 5px; rgba(whitesmoke) blur(40px);
    height: 50vmin;
}


.box {
    background-color: whitesmoke;
    border-radius:  20px 20px 20px 20px;
    padding:10px;
    height: 900px;
}

.box9 {
    background-color: rgba(201, 182, 162, 0.75);
    border-radius:  20px 20px 20px 20px;
    padding:10px;
    height: 900px;
}
@media screen and (max-width: 800px) {
    .box {
        width: 100%;
        height: 1900px;
    }
}
@media screen and (max-width: 800px) {
    .boxfagnav {
        width: 100%;
        height: 1900px;
    }
}

.box2 {
    background-color: whitesmoke;
    border-radius:  20px 20px 20px 20px;
    padding:10px;
    height: 700px;
}

@media screen and (max-width: 800px) {
    .box2 {
        width: 100%;
        height: 900px;
    }
}

@media screen and (min-width: 800px) {
    div.scalehjerteklapper {
        width: 40%;
    }
}


.flex-container {
    display: flex;
    flex-direction: row;
    text-align: center;
}
.flex-containerColumn {
    display: flex;
    flex-direction: column;

}

.flex-item-left {
    padding: 10px;
    flex: 50%;
}

.flex-item-left3 {
    padding: 10px;
    flex: 50%;
}

.flex-item-right {
    padding: 20px;
    flex: 50%;
}


.flex-container2 {
    display: flex;
    flex-direction: row;
    text-align: center;
    width: 90%;
}

.flex-item-left2 {
    padding: 20px;
    flex: 30%;
}

.flex-item-right2 {
    padding: 20px;
    flex: 30%;
}






.left {
    float: left;
    position: center;
    display: inline-block;
    width: 31%;
    margin-left: 1.165%;
    margin-right: 1.165%;
    margin-top: 3%;
}

.main {
    float: left;
    position: center;
    display: inline-block;
    width: 31%;
    margin-top: 3%;
    margin-left: 1.165%;
    margin-right: 1.165%;
}
.right {
    float: left;
    position: center;
    display: inline-block;
    width: 31%;
    margin-left: 1.165%;
    margin-right: 1.165%;
    margin-top: 3%;
}

.left2 {
    float: left;
    position: center;
    display: inline-block;
    width: 22%;
    margin-left: 1.165%;
    margin-right: 1.165%;
    margin-top: 3%;
}
.main2 {
    float: left;
    position: center;
    display: inline-block;
    width: 22%;
    margin-top: 3%;
    margin-left: 1.165%;
    margin-right: 1.165%;
}
.right2 {
    float: left;
    position: center;
    display: inline-block;
    width: 22%;
    margin-left: 1.165%;
    margin-right: 1.165%;
    margin-top: 3%;
}






.left3 {
    float: left;
    position: center;
    display: inline-block;
    width: 18%;
    margin-left: 1%;
    margin-right: 1%;
    margin-top: 3%;
}
.main3 {
    float: left;
    position: center;
    display: inline-block;
    width: 18%;
    margin-top: 3%;
    margin-left: 1%;
    margin-right: 1%;
}
.right3 {
    float: left;
    position: center;
    display: inline-block;
    width: 18%;
    margin-left: 1%;
    margin-right: 1%;
    margin-top: 3%;
}



.left4 {
    float: left;
    position: center;
    display: inline-block;
    width: 18%;
    margin-left: 10%;
    margin-right: 1%;
    margin-top: 3%;
}
.main4 {
    float: left;
    position: center;
    display: inline-block;
    width: 23%;
    margin-top: 3%;
    margin-left: 1%;
    margin-right: 1%;
}
.right4 {
    float: left;
    position: center;
    display: inline-block;
    width: 18%;
    margin-left: 1%;
    margin-right: 1%;
    margin-top: 3%;
}

.left5 {
    float: left;
    position: center;
    display: inline-block;
    width: 31%;
    margin-left: 1.165%;
    margin-right: 1.165%;
    margin-top: 5%;
}
.main5 {
    float: left;
    position: center;
    display: inline-block;
    width: 31%;
    margin-top: 5%;
    margin-left: 1.165%;
    margin-right: 1.165%;
    margin-bottom: 5%;
}
.right5 {
    float: left;
    position: center;
    display: inline-block;
    width: 31%;
    margin-left: 1.165%;
    margin-right: 1.165%;
    margin-top: 5%;

}



.left7 {
    float: left;
    position: center;
    display: inline-block;
    width: 45.9%;
    margin-left: 2%;
    margin-right: 2%;
    margin-top: 2%;
}
.main7 {
    float: left;
    position: center;
    display: inline-block;
    width: 45.9%;
    margin-left: 2%;
    margin-right: 2%;
    margin-top: 2%;
}
.right7 {
    float: left;
    position: center;
    display: inline-block;
    width: 45.9%;
    margin-left:2%;
    margin-right: 2%;
    margin-top: 2%;

}
div.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
    text-align: center;
    border-radius: 15px 15px 15px 15px;
    font-weight: bold;
    min-width: 300px;
    margin-top: 2%;
}

div.header {
    padding: 10px;
    font-size: calc(10px + 0.5vw);
    border-radius: 15px 15px 15px 15px;
    float: left;
    min-width: 60px;
    max-width: 60px;
    min-height: 70.8px;
    max-height: 70.8px;
}

div.container {
    padding: 5px;
    max-height: 70px;
    min-height: 70px;
    border-radius: 15px 15px 15px 15px;
    text-align: center;
    vertical-align: center;
    width: 100%;
    min-width: 300px;
}




div .card2 {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
    text-align: center;
    border-radius:  15px 15px 15px 15px;
    font-weight: bold;
    min-width: 300px;
    margin-top: 2%;
}

div .header2 {
    padding: 10px;
    font-size: calc(10px + 0.5vw);
    border-radius: 15px 15px 15px 15px;
    float:left;
    min-width: 60px;
    max-width: 60px;
    min-height: 70.8px;
    max-height: 70.8px;
}

div .container2 {
    padding: 5px;
    max-height:70px;
    min-height:70px;
    border-radius: 15px 15px 15px 15px;
    text-align: center;
    vertical-align: center;
    width: 100%;
    min-width: 300px;
}







div.card3 {

    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    text-align: center;
    border-radius:  15px 15px 15px 15px;
    font-weight: bold;
    color:white;
}

div.header3 {
    color: white;
    padding: 10px;
    font-size: calc(14px + 0.5vw);
    border-radius: 15px 15px 0px 0px;
    min-height: 150px;
    max-height: 150px;
    min-width: 300px;
}

div.container3 {
    padding: 10px;
    min-height: 180px;
    max-height: 180px;
    border-radius: 0px 0px 15px 15px;
    min-width: 300px;
}









div .card6 {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.41);
    text-align: center;
    border-radius:  15px 15px 15px 15px;
    font-weight: bold;
    color:white;
}

div .header7 {
    color: white;
    padding: 10px;
    font-size: calc(14px + 0.5vw);
    border-radius: 15px 15px 0px 0px;
    min-height: 100px;
    max-height: 200px;
}

div .container7 {
    padding: 10px;
    min-height: 100px;
    max-height: 200px;
    border-radius: 0px 0px 15px 15px;
}

div .card7 {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.41);
    text-align: center;
    border-radius:  15px 15px 15px 15px;
    font-weight: bold;
    color:white;
}

div .container7 {
    padding: 10px;
    min-height: 100px;
    max-height: 200px;
    border-radius: 0px 0px 15px 15px;
}

div .header6 {
    color: white;
    padding: 10px;
    font-size: calc(14px + 0.5vw);
    border-radius: 15px 15px 0px 0px;
    min-height: 90px;
    max-height: 90px;
}

div .container6 {
    padding: 10px;
    min-height: 80px;
    max-height: 90px;
    border-radius: 0px 0px 15px 15px;
}

div.cardfarm {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
    text-align: center;
    border-radius:  15px 15px 15px 15px;
    font-weight: bold;
    min-width: 300px;
    margin-top: 2%;
}

div.headerfarm {
    padding: 10px;
    font-size: calc(10px + 0.5vw);
    border-radius: 15px 15px 15px 15px;
    float:left;
    min-width: 60px;
    max-width: 60px;
    min-height: 70.8px;
    max-height: 70.8px;
}

div.containerfarm {
    padding: 5px;
    max-height:70px;
    min-height:70px;
    border-radius: 15px 15px 15px 15px;
    text-align: center;
    vertical-align: center;
    width: 100%;
    min-width: 300px;
}




div.cardhjertet {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.41);
    text-align: center;
    border-radius:  05px 05px 05px 05px;
    font-weight: bold;
    color:white;
}

div.headerhjertet {
    color: white;
    padding: 10px;
    font-size: calc(14px + 0.5vw);
    border-radius: 05px 05px 0px 0px;
    min-height: 90px;
    max-height: 90px;
}

.containerhjertet {
    padding: 10px;
    min-height: 300px;
    border-radius: 0px 0px 05px 05px;
}








div.cardkom {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.41);
    text-align: center;
    border-radius:  30px 05px 30px 05px;
    font-weight: bold;
    color:white;
}

div.headerkom {
    color: white;
    padding: 10px;
    font-size: calc(14px + 0.5vw);
    border-radius: 30px 5px 0px 0px;
    min-height: 90px;
    max-height: 90px;
}

.containerkom {
    padding: 10px;
    min-height: 300px;
    border-radius: 0px 0px 30px 05px;
}


div.cardkom2 {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.41);
    text-align: center;
    border-radius:  30px 05px 30px 05px;
    font-weight: bold;
    color:white;
}

div.headerkom2 {
    color: white;
    padding: 10px;
    font-size: calc(14px + 0.5vw);
    border-radius: 30px 5px 0px 0px;
    min-height: 90px;
    max-height: 90px;
}

.containerkom2 {
    padding: 10px;
    min-height: 220px;
    border-radius: 0px 0px 30px 05px;
}


div.cardkom3 {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.41);
    text-align: center;
    border-radius:  30px 05px 30px 05px;
    font-weight: bold;
    color:white;
}

div.headerkom3 {
    color: white;
    padding: 10px;
    font-size: calc(14px + 0.5vw);
    border-radius: 30px 5px 0px 0px;
    min-height: 90px;
    max-height: 90px;
}

.containerkom3 {
    padding: 10px;
    min-height: 140px;
    border-radius: 0px 0px 30px 05px;
}


div.cardgame {

    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
    text-align: center;
    border-radius: 20px 20px 20px 20px;
    font-weight: bold;
    min-width: 250px;
    margin-top: 2%;
    max-width: 250px;
}



div.headergame {
    padding: 10px;
    font-size: calc(10px + 0.5vw);
    border-radius: 15px 15px 15px 15px;
    float: left;
    min-width: 250px;
    max-width: 250px;
    min-height: 150px;
    max-height: 150px;
}

div.containergame {
    padding: 5px;
    max-height: 150px;
    min-height: 150px;
    border-radius: 20px 20px 20px 20px;
    text-align: center;
    vertical-align: center;
    width: 100%;
    min-width: 250px;
    max-width: 250px;
}








.new-video-youtube-big-iframe {
    display: block;
    margin: 0 auto;
    height: 500px;
    width: 100%;
}


.new-video-youtube-medium-iframe {
    display: block;
    margin: 0 auto;
    height: 500px;
    width: 70%;
}




footer {
    font-family: Montserrat, sans-serif;
    background-color: #eadfd3;
    color: black;
    overflow-x: hidden;
}

#footer {
    position:relative;
    bottom:0;
    width:100%;
}

.float-right-footer {
    float: right;
}




table {
    font-family: arial, sans-serif;
    width: 50%;
    border-bottom: 1px solid #eadfd3;
    border-top: 1px solid #eadfd3;
    font-size: 12px;
}

td, th {
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #eadfd3;
}



* {
    box-sizing: border-box;
}
.tekst  {
    line-height: 25px;
    margin-left: 5px;
    margin-right: 5px;
}

p {
    font-size: 14px;
}
.tekst2  {
    line-height: 25px;
    margin-left: 5%;
    margin-right: 5%;
    width: 85%;
}


.text-hover:hover {
    color: grey; !important;
}



.myDesign {
    display: block;
    position: relative;
    color:black;
    font-size:calc(12px + 1.5vw);
    margin-left: 30px;
}

.mySecondDesign {
    display: block;
    margin-left: 30px;
    position: relative;
    color:black;
    font-size:calc(15px + 0.5vw);
}

.scale {
    font-size:calc(12px + 0.3vw);
}

.scale2 {
    font-size:calc(12px + 0.2vw);
}

.scale3 {
    font-size:calc(15px + 0.2vw);
}

body {
    background-color:  #eadfd3;
    overflow-x: hidden;
    padding-right: 40px;
    padding-left: 40px;
}

header {
    font-family: Montserrat, sans-serif;
    background-color: #eadfd3;
}



.topnav {
    font-family: Montserrat, sans-serif;
    overflow: hidden;
    display: inline;
    width:100%;
}
.topnav a {
    color: black;
    text-decoration: none;
    font-size: 19px;
}

.topnav a:hover {
    color:grey;
}

.topnav a.active {
    color: black;
}







/* Responsive layout - makes a one column-layout instead of two-column layout */
@media (max-width: 800px) {
    .flex-container {
        flex-direction: column;
    }
}

/* Responsive layout - makes a one column layout instead of a two-column layout */
@media (max-width: 800px) {
    .flex-item-right, .flex-item-left {
        flex: 100%;
    }
}

/* Use a media query to add a break point at 800px: */
@media screen and (max-width: 800px) {
    .left, .main, .right {
        width: 100%; /* The width is 100%, when the viewport is 800px or smaller */
    }
}

/* Use a media query to add a break point at 800px: */
@media screen and (max-width: 800px) {
    .left2, .main2, .right2 {
        width: 100%; /* The width is 100%, when the viewport is 800px or smaller */
    }
}

/* Use a media query to add a break point at 800px: */
@media screen and (max-width: 800px) {
    .left3, .main3, .right3 {
        width: 100%; /* The width is 100%, when the viewport is 800px or smaller */
    }
}
/* Use a media query to add a break point at 800px: */
@media screen and (max-width: 800px) {
    .left4, .main4, .right4 {
        width: 100%; /* The width is 100%, when the viewport is 800px or smaller */
    }
}

/* Use a media query to add a break point at 800px: */
@media screen and (max-width: 800px) {
    .left5, .main5, .right5 {
        width: 100%; /* The width is 100%, when the viewport is 800px or smaller */
    }
}


@media only screen and (max-width: 600px) {

    .flex-item-left{
        scale: 55%;
        margin-top: -35%;
        margin-bottom: -35%;
        width: 130%;
        margin-left: -25%;


    }
    body{
        margin: 2px;
        padding-right: 0px; !important;
        padding-left: 0px; !important;
        overflow-x: hidden; !important;
    }

}

 .dot {
     height: 7px;
     width: 7px;
     background-color: rgba(0, 0, 0, 0.34);
     border-radius: 50%;
     display: inline-block;
 }


/* Use a media query to add a break point at 800px: */
@media screen and (max-width: 800px) {
    .scale4 {
        scale: 55%;
        float: right;
        margin-right: -10%;
    }
}

@media screen and (max-width: 800px) {
    .scale5 {
        scale: 30%;
    }
}





