body {
    background-color: #f8f8ff;
    font-family: 'Courier New', Courier, monospace;
}

header {
    min-height: 8em;
    background-color: #c7b095;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 0.15em solid #343434;
    z-index: 2;
    padding-left:0.5em;
}

header div {
    line-height: 8em;
}

header span {
    width: unset!important;
}

footer {
    background-color: #c7b095;
    height: 4em;
    padding-left: 20%;
    font-weight: bold;
    border-top: 0.15em solid #343434;
}

.main-container {
    min-height:100vh;
    padding-left: 0;
    padding-right: 0;
}

#logo {
    max-height: 8em;
}

header a, header a:hover {
    color: inherit;
    text-decoration:none; 
    font-size: 0.9rem;
    -webkit-text-size-adjust:none;
}

#link-chisiamo, #link-contatti {
    color: #343434;
}

hr {
    max-width: 4em;
    border-color: #343434;
    border-width: 0.15em;
    margin: auto;
    margin-top:0.4em;
    opacity: 0.7;
}

h3 {
    font-family: 'Courier Prime', monospace;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 1200px) {
    .main-container {
        padding-top: 5em;
    }
}

@media (max-width: 767px) {
    footer {
        padding-left: unset;
        justify-content: center;
    }

    header {
        flex-direction: column;
        align-content: center;
        padding-left:0;
        position: unset;
    }

    header .link:last-of-type {
        margin-bottom: 1em;
    }

    header .link:nth-of-type(2) {
        margin: 0.25em 0;
    }

    header .link:nth-of-type(4) {
        margin-bottom: 0.25em;
    }

    .main-container {
        padding-top: unset;
    }

    header img {
        margin-top: 0.5em;
    }
}

@media (min-width: 796px) {

    header a, header a:hover {
    font-size: 1rem;
    -webkit-text-size-adjust:none;
    }

}

@media (max-width: 767px) {

    header a, header a:hover {
    font-size: 1rem;
    -webkit-text-size-adjust:none;
    }

}