header {
    z-index: 200;
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
    max-width: 100%;
    min-width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: white;
    padding: 0.5em;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

header>* {
    display: flex;
    align-items: center;
}

header .icon {
    width: 2.5em;
    height: 2.5em;
}

header .icon>* {
    width: 2.5em;
}

.header-title {
    font-family: "Din Black Alternate", "Din Bold";
    font-size: 1.8em;
    text-transform: uppercase;
    color: #706f6f;
    text-decoration: none;

} 

.header-settings {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 50%;
}

.header-language {
    display: inline-block;
    margin: 0 1em;
}

.header-language-selected {
    border-bottom: 2px solid #706f6f;
}

header button {
    border: none;
    background-color: transparent;
    color: #706f6f;
    font-family: "Din Medium";
    font-size: 1.3em;
    cursor: pointer;
    margin: 0.2em;

    animation-duration: 1s;
    animation-iteration-count: infinite;
    transform-origin: bottom;
}

header button:hover {
    animation-name: bounce;
    animation-timing-function: ease;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.rotate, .scale {
    transition: all 1s ease;
}

.rotate:hover {
    animation: rotate 1s forwards alternate linear;
}

.scale:hover {
    animation: scale 0.5s forwards alternate linear;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes scale {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

@media only screen and (hover: none) and (pointer: coarse) {
    header button:hover {
        animation: none;
    }
}