@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/*---------------------------------------------------------------*/
/*----------------------------------burger*/

.burger {
    display: none;
}

ul li {
    display: inline-block;
}

/*----------------------------------burger*/
/*---------------------------------------------------------------header*/

.head {
    background-image: url(baggrund-nav/dark.png);
    background-size: cover;
    /*---------------------------HeaderCover*/
    max-width: 100%;
    background-repeat: no-repeat;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.header1 {
    display: flex;
    align-items: center;
}

.header1 img {
    border-radius: 20%;
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.header1 h1 {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 2px;
    font-size: 3em;
    font-weight: bold;
    margin: 0;
}

.header1 a img:hover {
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    transform: scale(1.2);
}

.header1 img {
    width: 50px;
    height: 50px;
    border-radius: 20%;
}

.header2 a {
    margin-right: 10px;
}

.header2 a img:hover {
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    transform: scale(1.2);
}

.header2 img {
    width: 50px;
    height: 50px;
    border-radius: 20%;
}


/*---------------------------------------------------------------header*/
/*---------------------------------------------------------------nav*/

nav {
    background-color: #E0C9A6;
}

nav {
    max-width: 100%;
    display: flex;
    justify-content: center;
}

nav a {
    font-family: 'Bebas Neue', cursive;
    padding-left: 0.2em;
    padding-right: 0.2em;
    letter-spacing: 2px;

    color: #fff;
    display: inline-block;
    margin: 0 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 3em;
}

span {
    border-bottom: 6px solid white;
}

nav a:hover {
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    transform: scale(1);

}

span:hover {
    border-bottom: none;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    transform: scale(1);
    border-bottom: 6px solid #b6ab96;
}

/*---------------------------------------------------------------nav*/
/*---------------------------------------------------------------main*/

.sec1 {
    background-image: url("baggrund/mx-kreutzmann-kontor.jpg");
    /*----------------MainBaggrundImg*/
    background-size: cover;
    background-position: center;
}

.div1 {
    background-color: rgba(226, 115, 11, 0.5);
    padding: 3em 3em 1.5em 3em;

}

article {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    max-width: 60em;
    margin-left: auto;
    margin-right: auto;
    gap: 1em;
}

article img {
    max-width: 100%;
    border-radius: 10px;
}

article h2 {
    color: #fff;
    font-family: 'Bebas Neue', cursive;
    font-size: 3em;
    text-align: center;
}

article p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5em;
    color: #fff;
}

/*<!--------------------------------------------------------------------------------------Card-->*/

/*<!--------------------------------------------------------------------------------------Card-->*/
/*---------------------------------------------------------------main*/

/*---------------------------------------------------------------footer*/
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: url(baggrund-nav/dark2.png);
    background-size: cover;
    border-top: solid 1em #E0C9A6;
    padding: 2em;
    padding-left: 2.5em;
    padding-right: 2.5em;
}

.footp {
    color: #ffffff;
    font-size: 1em;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

small {
    color: #ffffff;
    font-size: 1em;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

/*---------------------------------------------------------------footer*/
/*---------------------------------------------------------------mobil*/

@media screen and (max-width : 960px) {

    /*----------------------------------burger*/
    nav {
        position: relative;
        text-align: start;
        display: block;
    }

    .burger {
        display: inline-block;
    }

    ul {
        display: none;
    }

    ul.visible {
        display: block;
    }

    nav li {
        display: block;
    }

    nav {
        width: 100%;
        padding-left: 1.3em;
    }

    nav button {
        color: #ffffff;
        background: transparent;
        cursor: pointer;
        border: none;
    }

    .burger {
        font-size: 4em;
        font-weight: bold;
        padding-bottom: 0.1em;
    }

    nav a {
        display: flex;
        font-size: 4em;
    }

    /*----------------------------------burger*/
    .head {
        flex-direction: column;
        display: block;
    }

    .header1 {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1em;
    }
    
    .header1 img {
        width: 50px;
        height: 50px;
    }
    
    .header1 h1 {
        font-size: 2em;
    }

    .header2 {
        display: flex;
        justify-content: space-between;
    }
    .header2 img {
        width: 80px;
        height: 80px;
    }

    
    article {
        display: flex;
        flex-direction: column-reverse;
    }
    
    figure img {
        width: 15em;
        /*--------------------------------------------------JimmySize*/
    }

    .card {
        display: flex;
        flex-direction: column;
    }

    footer {
        display: flex;
        flex-direction: column;
        display: block;
    }

    address {
        margin-bottom: 1em;
    }

    .div1 {
        padding-left: 0;
        padding-right: 0;
    }
    .sec2 h2 {
        font-size: 2em;
        margin-bottom: 1em;
    }
    
    .sec2 h3 {
        font-size: 2em;
        margin-bottom: 1em;
    }
    
    .sec2 p {
        font-size: 1.5em;
    }
}