:root {
    --main-background: #bcbcbc;
    --secondary-background: #e6e6e6;
    --secondary-background-hover: #d8d8d8;
    --main-blue: #57422a;
    --button-color: #e6e6e6;
    --button-background-link-color: #a35b0e;
    --button-background-link-color-on-dark: #d8853c;
    --border-color: #afafaf;
    --dark-color: #252525;
    --less-dark-color: #474747;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--main-background);
}

* {
    font-family: "Fira Sans Condensed", sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: var(--button-background-link-color);
}

a:hover {
    color: var(--button-background-link-color);
}

p, h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

button {
    cursor: pointer;
}

button:hover, a:hover {
    opacity: 0.85;
}

.display-none {
    display: none;
}

.display-none-imp {
    display: none !important;
}


.container {
    width: 100%;
    margin: 0 auto;
    max-width: 1320px;
}

#navigation {
    background-color: var(--secondary-background);
    height: 118px;
    display: flex;
    align-items: center;
}

#navigation img {
    height: 54px;
    width: auto;
}

#navigation #navigation_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#navigation #navigation_content #nav_links {
    display: flex;
    align-items: center;
}

#navigation #navigation_content #nav_links a {
    margin-left: 35px;
}

#base_content {
    min-height: calc(100vh - 118px - 140px); /* navbar and part of footer */
}

#footer {
    background-color: var(--secondary-background);
    padding: 50px 0;
    position: relative;
    z-index: 1001; /* so fixed cta button on details page stay behind footer */
}

#footer #footer_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

#footer #footer_content img {
    height: 54px;
    width: auto;
}

#footer #footer_content #footer_links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#footer #footer_content #footer_links a {
    margin-left: 35px;
}

#footer p {
    line-height: 1.8;
  color: var(--dark-color);
  font-size: 14px;
    text-align: center;
}

@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 990px) {
    .container {
        max-width: 720px;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }

    #footer #footer_content {
        flex-wrap: wrap;
        justify-content: center;
    }

    #footer #footer_content #footer_links {
        margin: 15px 0 5px 0;
        align-items: inherit;
        width: 100%;
        flex-wrap: wrap;
    }

    #footer #footer_content #footer_links a:first-child {
        margin-left: 0;
    }

    #navigation {
        height: 80px;
    }
}

@media (max-width: 567px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    #footer #footer_content #footer_links a {
      width: 100%;
      margin-bottom: 10px;
      margin-left: 0;
      text-align: center;
    }
}
