body {
    margin: 0px;
    background: linear-gradient(180deg, rgb(36, 36, 36) 0%, rgb(26, 26, 26) 100%);
    background-color: rgb(26, 26, 26);
    background-repeat: no-repeat;
}

.container {
    width: 70%;
    min-width: 700px;
    max-width: 1500px;
    margin: 0px auto;
    box-shadow: 0px 0px 15px #000000;
}

h1,
h2,
h3 {
    /* varför */
    font-family: "Permanent Marker";
    font-weight: normal;
}

h1,
h2,
h3,
p,
li {
    color: whitesmoke;
}

li>span {
    font-weight: bold;
}

p,
a,
li {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
}

h1 {
    font-size: 60px;
    margin: 0px;
}

h2 {
    font-size: 50px;
    margin: 10px 20px;
}

h3 {
    font-size: 40px;
    margin: 10px 20px;
}

.center {
    text-align: center;
}

hr {
    margin: 30px 0px;
    border: 1px solid #1C1F2E;
    background-color: #1C1F2E;
}

header {
    background-color: rgb(37, 41, 46);
    padding: 0px 35px;
}

nav {
    background-color: rgb(37, 41, 46);
    margin: 0px;
    padding: 10px 25px;
}

nav a {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: rgb(37, 41, 46);
    font-size: 24px;
    margin: 0px 0px;
    padding: 10px 20px;
    font-weight: 500;
}

a:link,
a:visited {
    color: whitesmoke;
    text-decoration: none;
}

a:hover {
    color: rgb(168, 168, 168);
    transition: 100ms;
}

main {
    /*oops*/
    background-color: rgb(13, 17, 23);
    min-height: 800px;
    padding: 15px;
}

.image,
.image-large,
.image-huge {
    margin: 10px;
    border: 2px solid rgb(44, 44, 49);
    border-radius: 4px;
    box-shadow: 2px 3px 7px black;
}

.image {
    width: 475px;
    max-width: 80%;
}

.image-large {
    width: 600px;
    max-width: 60%;
}

.image-huge {
    width: 800px;
    max-width: 80%;
    box-shadow: 0px 0px 30px rgb(88, 88, 131);
}

img.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.left {
    float: left;
}

.right {
    float: right;
}

footer {
    background-color: rgb(37, 41, 46);
    padding: 5px 50px;
}

.footer-hr {
    border: none;
    height: 3px;
    margin: 0px;
}

#patternCanvas {
    z-index: -1;
    position: fixed;
    width: 100vw;
    height: 100vh;
}


.contacts-list {
    width: 1000px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.contacts-list>div {
    text-align: center;
    margin: 10px 0px;
    width: 250px;
}

i {
    background-color: whitesmoke;
    width: 48px;
    height: 48px;

    display: block;
    mask-size: cover;
    margin: 0px auto;
}

.contacts-list p,
.contacts-list a:link,
.contacts-list a:visited {
    color: whitesmoke;
}

.icon-mail {
    mask-image: url(img/icon-mail2.png);
}

.icon-phone {
    mask-image: url(img/icon-phone.png);
}

.icon-twitter {
    mask-image: url(img/icon-twitter.png);
}

.icon-facebook {
    mask-image: url(img/icon-facebook.png);
}

.description-flex,
.description-flex-reverse {
    display: flex;
    align-items: center;
}

.description-flex {
    flex-direction: row;
}

.description-flex-reverse {
    flex-direction: row-reverse;
}

.description {
    padding: 0px 30px;
}

@media screen and (min-width: 499px) {
    .visible-narrow {
        display: none;
    }
}

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

    h1,
    h2,
    h3 {
        text-align: center;
    }

    .image {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 25px;
    }

    h3 {
        font-size: 20px;
    }

    nav a {
        font-size: 16px;
        padding: 10px 15px;
    }

    p,
    li,
    a {
        font-size: 15px;
    }

    .image-large {
        max-width: 80%;
    }

    .container {
        width: 100%;
        min-width: auto;
        max-width: none;
    }

    .description-flex,
    .description-flex-reverse {
        flex-direction: column-reverse;
    }
}