/*--Generell Start--*/
* {
    margin: 0;
}

body {
    height: 100vh;
}
/*--Generell Slutt--*/

/*--------------------------------------*/

/*--Header Start--*/
header {
    background-color: rgb(47, 54, 119);
}

h1 {
    text-align: center;
    color: rgb(216, 213, 255);
    padding-top: 50px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 50px;
}

h2 {
    text-align: center;
    color: rgb(255, 255, 255);
    margin-top: 50px;
    padding-bottom: 50px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
}
/*--Header Slutt--*/

/*--------------------------------------*/

/*--Video Start--*/
.VideoBox {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: 3px solid rgb(226, 226, 226);
    border-radius: 10px;
    background-color: rgb(47, 54, 119);
    width: fit-content;
    margin: auto;
    margin-top: 40px;
  }

  .VideoBox video {
    width: 1000px;
    height: auto;
  }
/*--Video Slutt--*/

/*--------------------------------------*/

/*--Innhold Start--*/
.TextTitle {
    font-size: 28px;
    margin: 60px 0 20px 0px;
    padding: 40px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #ffffff;
    background-color: rgb(47, 54, 119);
    text-align: left;
}

.infoSection {
    display: flex;
    width: 100vw;
    min-height: 300px;
    align-items: stretch;
}

/* Veksler bilde/tekst retning */
.infoSection.reverse {
    flex-direction: row-reverse;
}

/* Bildeboksen */
.imageBox {
    flex: 1;
    background-color: rgb(47, 54, 119);
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.imageBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tekstboksen */
.textBox {
    flex: 1;
    padding: 40px;
    background-color: white;
    display: flex;
    flex-direction: column;
    margin-top: 60px;
}

.textBox h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #2f3677;
}

.textBox p {
    font-size: 16px;
    line-height: 1.6;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #333;
}
/*--Innhold Slutt--*/

/*--------------------------------------*/

/*--Footer Start--*/

/*--Footer Slutt--*/

/*--------------------------------------*/

/*--Responsiv Start--*/
@media (max-width: 1024px) {
    .VideoBox video {
        width: 100%;
        height: auto;
    }

    .infoSection {
        flex-direction: column;
        width: 100%;
    }

    .infoSection.reverse {
        flex-direction: column;
    }

    .imageBox, .textBox {
        width: 100%;
        padding: 20px;
        margin: 0;
    }

    .TextTitle {
        font-size: 22px;
        text-align: center;
        padding: 20px;
    }

    h1 {
        font-size: 36px;
        padding-top: 30px;
    }

    h2 {
        font-size: 18px;
        margin-top: 20px;
        padding-bottom: 30px;
    }

    .textBox h3 {
        font-size: 20px;
    }

    .textBox p {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .TextTitle {
        font-size: 20px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 16px;
    }

    .textBox h3 {
        font-size: 18px;
    }

    .textBox p {
        font-size: 13px;
    }
}
/*--Responsiv Slutt--*/