* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #0350a8;
    transform: translate(5%, 5%);
}

h1 {
    text-align: center;
}

h2 {
    text-align: center;
    margin-top: 2%;
}

p {
    text-align: start;
    width: 75%;
    margin-top: 5px;
}

h1, h2 {
    width: 50%;
}

ul {
    width: 60%;
}

#intro {
    margin-top: 2%;
    margin-left: 20%;
    background-color: #ffffff;
    width: 50vw;
    justify-items: center;
    border: black solid 1px;
    border-radius: 20px;
    padding: 10px;
}

#erklæring {
    margin-top: 8vh;
    background-color: #ffffff;
    width: 40vw;
    justify-items: center;
    border: black solid 1px;
    border-radius: 20px;
    padding: 10px;
    position: relative;
    left: 5%;
}

#uu {
    position: absolute;
    left: 46vw;
    top: 20vh;
    background-color: #ffffff;
    width: 40vw;
    justify-items: center;
    border: black solid 1px;
    border-radius: 20px;
    padding: 10px;
}

#hms {
    margin-top: 2vh;
    background-color: #ffffff;
    width: 40vw;
    justify-items: center;
    border: black solid 1px;
    border-radius: 20px;
    padding: 10px;
    position: relative;
    left: 5%;
}

#cc {
    position: absolute;
    left: 46vw;
    top: 48vh;
    background-color: #ffffff;
    width: 40vw;
    justify-items: center;
    border: black solid 1px;
    border-radius: 20px;
    padding: 10px;
}

#aml {
    margin-top: 2vh;
    background-color: #ffffff;
    width: 40vw;
    justify-items: center;
    border: black solid 1px;
    border-radius: 20px;
    padding: 10px;
    position: relative;
    left: 5%;
}

@media only screen and (max-width: 630px) {
    body {
        transform: translate(0, 0);
    }

    main {
        justify-self: left;
    }

    h1, h2 {
        width: 90vw;
    }

    p {
        width: 75vw;
    }

    #intro, #erklæring, #uu, #hms, #cc, #aml {
        width: 90vw;
        margin-top: 5%;
    }

    #intro {
        margin-left: 5%;
    }

    #uu {
        left: 5%;
        top: 100%;
    }

    #cc {
        left: 5%;
        top: 144%;
    }
}