/*HEADER*/

header {
    height: 0rem;
    font-size: 2.5em;
    background-color: rgb(255, 255, 255);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
}

.header-container {
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
    height: 1em;
    font-size: 1em;
    display: flex;
    width: 80vw;
    text-align: center;
}

.header-container a {
    margin: auto 1em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    font-size: 0.3em;
}

/*HEADER TRANSITION*/

header,
header * {
    transition: 0.2s ease-out;
    transition-property: color, height;
}

header.header-shown {
    line-height: 1;
    height: 1lh;
}

.header-shown a:link,
.header-shown a:visited {
    color: #21242c;
}

#header-title {
    font-weight: 600;
    font-size: 0.6em;
}

.header-margin {
    height: 100px;
}

/*MAIN*/

.container {
    margin-left: auto;
    margin-right: auto;
    padding-top: 0px;
    margin-top: 0px;

    width: 60vw;
}

.wide-container {
    width: 90vw;
}

.cc {
    margin-left: 0px;
    margin-right: 0px;
    background-size: cover;
}

body {
    margin: 0px;
    background: linear-gradient(180deg, rgb(27, 27, 27) 0%, rgb(18, 22, 24) 100%);
    display: grid;
}

.top-segment {
    background-image: url("../bilder/export.jpg");
    padding-top: 7px;
    padding-left: 30px;
    padding-right: 30px;
    height: 800px;
}

.devs-segment {
    background: linear-gradient(180deg, rgb(27, 27, 27) 0%, rgb(18, 22, 24) 100%);
}

.devs-container {
    padding-top: 7px;
    background-color: rgba(77, 80, 83, 0);
}

.devs-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.dev-button {
    /*margin är varför de blir smala*/
    margin: 1rem 2rem;
    width: 400px;
    height: 7rem;
    padding: 8px;
    border-radius: 5px;
    background-color: #212124;
    box-shadow: 0px 2px 4px rgb(0, 0, 0);
}

.dev-button:hover {
    transition: background-color 0.1s ease-out;
    background-color: #35353d;
}

.dev-button-wide {
    float: left;
    width: 100px;
    height: 100px;
}

.dev-button>h2 {
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: underline;
    text-align: center;
}

.dev-button>p {
    text-align: center;
    margin: 0px;
}

.proj-button {
    padding: 15px;
    background-color: #212124;
    border-radius: 5px;
    border-width: 0px;

    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.25rem;

    transition: 0.1s;
}

.proj-button:hover {
    background-color: #35353d;
}

.wp-container {
    padding-top: 7px;
    padding-left: 30px;
    padding-right: 30px;
    height: 500px;
    background-color: rgba(0, 0, 0, 0.5);
}

.wp-segment {
    background-image: url("../bilder/wp_background.jpg");
}

.wp-button {
    padding: 15px;
    background-color: #3858E9;
    border-radius: 5px;
    border-width: 0px;

    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.25rem;

    transition: 0.1s;
}

.wp-button:hover {
    background-color: #2b45b8;
}

/*MISC*/

.center-wrapper {
    display: flex;
    justify-content: center;
}

hr {
    margin: 0px;
    height: 5px;
    background-color: #212325;
    border-width: 0px;
}

hr.small {
    height: 3px;
}

hr.margined {
    margin-top: 10px;
    margin-bottom: 10px;
}

/*FOOTER*/

footer {
    height: 50px;
    margin: 0px;
    padding: 0px;
    background-color: #1a1a1a;
}

.footer-notes,
a.footer-notes:link,
a.footer-notes:visited {
    font-size: 0.66rem;
    color: rgb(156, 156, 156);
    float: left;
    margin-top: 14px;
    margin-bottom: 14px;
    margin-left: 20px;
    margin-right: 20px;
}

/* Default: Largest devices such as desktops (1280px and up) */
#header-title::before {
    /*content: "DS "*/
}

/* Default: Large devices such as laptops (greater than 1280) */
@media only screen and (max-width: 1280px) {
    #header-title::before {
        /*content: "LP "*/
    }

    html {
        font-size: 18px;
    }
}

/* Medium devices such as tablets (1024px or lesser) */
@media only screen and (max-width: 1024px) {
    #header-title::before {
        /*content: "TB "*/
    }

    html {
        font-size: 16px;
    }
}

/* Small devices such as phones (768px or lesser) */
@media only screen and (max-width: 768px) {
    #header-title::before {
        /*content: "PH "*/
    }

    html {
        font-size: 16px;
    }

    .dev-button {
        width: 30%;
        height: 11rem;
    }
}

/* Extra-small devices such as small phones (less than 640px) */
@media only screen and (max-width: 640px) {
    #header-title::before {
        /*content: ""*/
    }

    html {
        font-size: 16px;
    }

    header {
        font-size: 32px;
    }

    .container {
        width: 80vw;
    }

    .header-container {
        width: 100vw;
    }

    .dev-button {
        width: 100%;
        height: 9rem;
    }

    .devs-container {
        width: 90vw;
    }
}