body {
    padding: 0;
    border: 0;
    margin: 0;
    overflow-x: hidden;
    background-color: #3c3c3c;
}
.navbar {
    display: flex;
    width: 100vw;
    height: 90px;
    border-bottom: 1px solid black;
    justify-content: space-around;
    align-items: center;
    background-color: #202020;
    position: sticky;
    top: 0;
    z-index: 2;
}
.navbar div {
    font-size: 22px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: white;
    height: 100%;
    width: 100%;
}
.navbar div a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
}
.navbar div a:hover {
    user-select: none;
    text-decoration: underline;
    text-decoration-color: red;
}
.logga {
    height: 90px;
}
.current-page {
    text-decoration: underline;
    text-decoration-color: red;
}
.footer {
    text-align: center;
    color: white;
    font-family: sans-serif;
    margin-top: 80px;
    margin-bottom: 60px;
}
hr {
    border: 1px solid red;
    margin-left: 15vw;
    margin-right: 15vw;
}
/*Allt ovan är CSS kod för den navbar som ska vara på alla sidor och footern på alla sidor*/
h1 {
    color: white;
    font-family: sans-serif;
    text-align: center;
    font-size: 40px;
    text-decoration: underline;
    text-decoration-color: red;
    text-underline-offset: 6px;
}
.grid-form {
    background-color: #202020;
    height: 600px;
    width: 60vw;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 70px;
    border-radius: 20px;
    font-family: sans-serif;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
    "ett tva"
    "tre fyr"
    "fem fem"
    "sex sex";
}
.grid-form div {
    margin-top: 20px;
}
.ett { grid-area: ett; }
.tva { grid-area: tva; }
.tre { grid-area: tre; }
.fyr { grid-area: fyr; }
.fem { grid-area: fem; }
.sex { 
    grid-area: sex;
    background-color: #3c3c3c;
    color: white;
    font-size: 20px;
    width: 10vw;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 40px;
}
.fem textarea {
    height: 150px;
    max-width: 88%;
    min-width: 100px;
    display: flex;
    margin-left: 40px;
    margin-top: 20px;
    color: white;
    background-color: #3c3c3c;
    resize: horizontal;
}
label {
    margin-left: 4vw;
    font-size: 30px;
    text-decoration: underline;
    text-decoration-color: red;
    text-underline-offset: 7px;
}
input {
    display: block;
    margin-left: 40px;
    margin-top: 20px;
    padding-right: 5vw;
    height: 50px;
    width: 22vw;
    font-size: 20px;
    background-color: #3c3c3c;
    color: white;
    line-height: normal;
    box-sizing: border-box;
}
@media only screen and (max-width: 750px) {
    .navbar div {
        font-size: 12px;
    }
    .logga {
        height: 60px;
        width: auto;
    }
    .footer {
        font-size: 15px;
    }
    .grid-form {
        grid-template-columns: 1fr;
        grid-template-areas: 
    "ett"
    "tva"
    "tre"
    "fyr"
    "fem"
    "sex";
    height: 940px;
    width: 70vw;
    }
    .grid-form div {
        margin-left: 3vw;
        margin-right: auto;
        margin-top: 40px;
    }
    input {
        width: 40vw;
    }
    .sex {
        width: 22vw;
    }
}