/*------------------------------------*\
****************************************


INDHOLDSFORTEGNELSE:
********************


1. @font-face & Variabler
2. Layout
3. Typografi
4. Header
5. Footer
6. Knapper
7. Form Styling
8. Styling af specifikke sider
9. Media Queries


****************************************
\*------------------------------------*/



/*------------------------------------*\
@font-face & Variabler
\*------------------------------------*/




/* Inter Black benyttes kun til at den anvendte typografi i Tema 1 */
@font-face {
    font-family: 'Inter', Arial, Helvetica, Roboto, sans-serif;
    font-style: normal;
    font-weight: 900;
    src: url('fonts/Inter/Inter-Black.woff2') format('woff2'),
        url('fonts/Inter/Inter-Black.woff') format('woff');
}

@font-face {
    font-family: 'Inter', Arial, Helvetica, Roboto, sans-serif;
    font-style: normal;
    font-weight: 400;
    src: url('fonts/Inter/Inter-Regular.woff2') format('woff2'),
        url('fonts/Inter/Inter-Regular.woff') format('woff');
}


/* Variabler */

:root {
    --baseColor: #1a1a1a;
    --colorTwo: #9059FF;
    --colorThree: #9059FF;
    --text-two: #999;
    --colorFive: rgb(221, 221, 221);

}

/*------------------------------------*\
1. @font-face & Variabler - SLUT
\*------------------------------------*/




/*------------------------------------*\
2. LAYOUT
\*------------------------------------*/

* {
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-color: white;
    overflow-wrap: break-word;
    hyphens: auto;
}

img {
    width: 100%;
    height: auto;
    max-width: 800px;

}

main {
    max-height: 100vh;

}


section {
    width: 100%;
    padding: 1rem 0;

}

.section_header {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0 0;
}



.section_header h2 {}




.article_header {
    color: var(--baseColor);
    border-top: 2px solid var(--colorFive);
    padding: 1rem 0;
    margin: 1rem;
}

/*Header uden border*/
.header_minus {
    border-top: none;
}


.article_header h4 {
    padding: 0;
}


.underoverskrift_header h5 {
    border-top: 1px solid var(--colorFive);

}

.opgave_to {
    /*    background-color: rgb(244, 244, 244);*/
}

.opgave_tre {}


.sectionwrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0;
}

.social-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
}



.col {
    /*    max-width: 600px;*/
    flex-grow: 1;
    flex-basis: 300px;
    height: 100%;
    width: 100%;
    min-width: 300px;
    /*    margin: 0 auto;*/

}


.ressourcer {
    margin: 1rem 0;
    background-color: beige;
}

summary {
    font-family: "kontrapunkt_mikibold";
    font-weight: normal;
    padding: 0 1rem;
}

/*------------------------------------*\
2. LAYOUT SLUT
\*------------------------------------*/



/*------------------------------------*\
3. TYPOGRAFI
\*------------------------------------*/



h1 {
    font-family: "Inter";
    font-weight: 700;
    font-size: calc(2rem + 1vw);

}

h2 {
    font-family: "Inter";
    font-weight: 700;
    font-size: 1.8rem;
}

h3 {
    font-family: "Inter";
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--baseColor);
    text-decoration: underline;
}

h4 {
    font-family: "Inter";
    font-weight: 700;
    margin: 0;
    color: #999;

}

h1,
h2,
h3 {
    margin: 0;
    padding: 1rem;
    line-height: 1.25;
}

h5 {
    font-family: "Inter";
    font-size: 0.9rem;
    color: var(--baseColor);
    padding: 1rem 1rem 0;
    margin: 0;
    line-height: 1.25;
}

p {
    font-family: 'Inter';
    font-weight: normal;
    color: var(--baseColor);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 650px;
    padding: 1rem 1rem 1.5rem;
    margin: 0;
}

ul,
dl {
    list-style: none;
    margin: 0;
    padding: 0;
}


li,
dt,
dd {
    font-family: 'Inter';
    font-weight: 400;
    color: var(--baseColor);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    /*    padding: 1rem;*/
}




/* Links */

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

a:hover {
    cursor: pointer;
}

a {
    font-family: 'Inter';
}

/* Denne animation er inspireret af artiklen "Having fun with link hover effects" fra CSS-Tricks. Link: https://css-tricks.com/having-fun-with-link-hover-effects/ */
.hover_link {
    background: linear-gradient(to bottom, var(--colorTwo) 0%,
            var(--colorTwo) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 5% 12.5%;
    color: var(--baseColor);
    text-decoration: none;
    transition: background-size .2s;
    /*    padding: 0 0.05em;*/


}

.hover_link:hover {
    background-size: 5% 100%;
    cursor: pointer;
}


/* Links Slut */

/*------------------------------------*\
3. TYPOGRAFI SLUT
\*------------------------------------*/






.icon_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1400px;
    margin: auto;

}




address,
.menu {
    display: flex;
}

address .footer-menu {
    flex-grow: 1;
    flex-basis: 300px;
}


address {
    font-style: normal;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: space-between;
    padding: 0rem 2rem;
    margin: 0 auto;
}

address ul {
    padding: 1rem;
}

address a {
    text-decoration: none;
    color: inherit;
}



.footer-menu li {
    cursor: pointer;
}

.find {
    flex-grow: 1;
    flex-basis: 300px;
    flex-direction: column;
    padding: 2rem 0;
}

.find a {
    text-decoration: none;
    text-transform: uppercase;
    -webkit-transition: .3s;
    transition: .3s;
}

.find a:hover {
    color: var(--one-color);
}

a.map {
    font-weight: 700;
    text-transform: uppercase;
    padding: 0;
    margin: 0 2rem;
}



footer li,
footer li a {
    color: var(--one-color);
    font-size: 1rem;
    line-height: 1.6;
}

footer li a {
    text-decoration: none;
}

footer span.navn {
    font-weight: 700;
    text-transform: uppercase;
}

footer .find a,
footer .footer-menu ul li:first-child,
footer .footer-menu ul li:first-child a,
footer .lokalitet :first-child {
    font-family: futura-pt, Arial, Helvetica, Roboto, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--one-color);
    text-transform: uppercase;
}

.overblik {
    display: flex;
    flex-wrap: nowrap;
}

.dage ul,
.tider ul {
    padding: 0;
}

.tider {
    padding-left: 20px;
}



/*    ikoner    */

.social-icons {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
    flex-basis: auto;
    padding: 0;
    margin: 0.5rem 2rem;
}


.social-item {
    width: 1.75rem;
    cursor: pointer;
    margin: 1rem;
}

.social-item img:hover,
.social-item img:focus .social-item a:hover,
.social-item a:focus {
    filter: invert(33%) sepia(100%) saturate(1363%) hue-rotate(239deg) brightness(100%) contrast(103%);
}


a.pinterest {
    background-image: url(files/svg_icons/pinterest.svg);
}

a.facebook {
    background-image: url(files/svg_icons/facebook.svg);
}



/*------------------------------------*\
5. Footer - Slut
\*------------------------------------*/



/*------------------------------------*\
6. Knapper 
\*------------------------------------*/


/* Fade-in animation*/

.fade-one {
    animation: fadeIn 2.5s ease-in-out both;
}

.fade-two {
    animation: fadeIn 3.5s ease-in-out both;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Fade-in animation - SLUT*/



/*Hover animation */



address li > a.underline {
    position: relative;
    text-decoration: none;
}

address li > a.underline:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--colorTwo);
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;
    width: 100%;
}



/*
.menu-wrapper li > a.underline:before {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
}
*/

address li > a.underline:hover:before {
    visibility: visible;
    transform: scaleX(1);

}


/* Hover Animation slut*/

/*------------------------------------*\
6. Knapper - Slut
\*------------------------------------*/


@media only screen and (min-width: 600px) {

    section {

        margin: 20vh 0 0;
    }

    address {
        padding: 0rem 4rem;

    }


}
