* {
    box-sizing: border-box;
}

body {
    margin: 2em;
    font-family: "Courier New", serif;
}

h1 {
    color: darkgoldenrod;
    text-align: left;
    padding: 1em;
}

h2, h3, h4, h5, h6 {
    color: darkgoldenrod;
    text-align: center;
    padding-top: 1em;
}

ul {
    margin: -1.5em;
}

/*Index sidan
.index-image {
    background-image: url("skog.JPG");
    background-color: white;
    height: 35em;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.index-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

button:link, button:visited {
    background-color: white;
    color: darkgoldenrod;
    padding: 1em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

button:hover, button:active {
    background-color: goldenrod;
}
/*---------------*/

/*About me sidan*/
ul#about-menu li{
    display: inline;
    color: white;
    padding: .5em;
    background-color: darkgoldenrod;
    float: left;
}

.about-image {
    max-width: 100%;
    padding-top: 2em;
}
/*---------------*/

/*Courses sidan*/
table, th, td {
    border: .5em solid white;
    padding: .5em;
    border-collapse: collapse;
}

th, td {
    background-color: darkgoldenrod;
    color: white;
}

.kurser {
    width: 100%;
}

@media only screen and (max-width: 678px) {
    .kurser {

    }
}

.skol-btn {
    border: transparent;
    font-style: italic;
    color: #ffffff;
    background-color: darkgoldenrod;
    text-decoration: none;
}
/*----------------*/

/*Blog sidan*/
img {
    max-width: 100%;
}

form {
    margin: -1.5em;
    padding-bottom: 2em;
}

.comment {
    width: 40%;
    height: 100px;
    padding: 1em;
    background-color: white;
    color: darkgoldenrod;
    margin: 2em;
}

input {
    display: block;
    margin: 2em;
}
/*----------------*/

/*Products sidan*/

.item-a {
    grid-area: cup-a;
    height: auto;
    width: auto;
    align-items: center;
}

.item-b {
    grid-area: text-b;
    height: auto;
    width: auto;
    align-items: center;
}

.item-c {
    grid-area: text-c;
    height: auto;
    width: auto;
    align-items: center;
}

.item-d {
    grid-area: phonecase-d;
    height: auto;
    width: auto;
    align-items: center;
}

.item-e {
    grid-area: notepad-e;
    height: auto;
    width: auto;
    align-items: center;
}

.item-f {
    grid-area: text-f;
    height: auto;
    width: auto;
    align-items: center;
}

.product-text h1 {
    margin: 0 0 0 .75em;
    padding-top: 2em;
    font-family: "Courier New", sans-serif;
}

.product-text p {
    margin: 2em 1em 1em 3em;
    font-family: "Courier New", serif;
}

.price-btn {
    height: 9em;
    width: 20em;
    position: relative;
}

.price-btn p {
    display: inline-block;
    position: absolute;
    height: 3em;
    font-family: "Courier New", serif;
    margin: 3em;
    font-size: 1em;
    font-weight: lighter;
    color: darkgoldenrod;
}
.price-btn button {
    float: right;
    display: inline-block;
    height: 3em;
    width: 10em;
    margin: 2em;
    border: transparent;
    font-family: "Courier New", sans-serif;
    font-size: 1em;
    letter-spacing: .2em;
    color: white;
    background-color: darkgoldenrod;
}

.price-btn button:hover {
    background-color: goldenrod;
}

img {
    margin-bottom: 2em;
    padding: 2em;
    max-width: 100%;
}

/*mobile*/
.container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
            "cup-a"
            "text-b"
            "text-c"
            "phonecase-d"
            "notepad-e"
            "text-f";
    overflow: hidden;
    box-shadow: 20px 10px 10px gray;
    margin-right: .5em;
    margin-bottom: 2em;
}

/*tablet and desktop*/
@media only screen and (min-width: 678px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
            "cup-a text-b"
            "text-c phonecase-d"
            "notepad-e text-f";
    }
}

/*---------------*/


/*Other sidan*/
iframe {
    border: 1px darkgoldenrod solid;
    width: 100%;
    height: 300px;
    margin-top: 1em;
}

@media only screen and (min-width: 678px) {
    iframe {
        height: 500px;
    }
}

/*--------------*/

/*Footer*/
footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: white;
    color: darkgoldenrod;
    font-family: "Courier New", serif;
    font-size: .7em;
    text-align: center;
    padding-top: 5em;
}
/*--------------------*/