*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

a {
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    color: #160D0A;
    text-transform: uppercase;
    font-family: "Source Code Pro", monospace;
}

ul,
ol,
li {
    list-style: none;
}

img {
    vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    font-family: "Source Code Pro", monospace;
}

html,
body {
    font-weight: normal;
    font-size: 18px;
    font-family: "Open Sans", sans-serif;
    color: #160D0A;
    background: #F9F9F7;
}

html {
    height: 100%;
    overflow-y: scroll;
    scroll-behavior: smooth; 
}

main {
    padding-top: 60px;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #160D0A;
    border-radius: 2px;
}

::-webkit-scrollbar-track {
    background: #F9F9F7;
}

::selection {
    background: #999691;
}

:root {
    color-scheme: light dark;
}

video {
    margin: 0;
    padding: 0;
    display: block;
}

.logo {
    pointer-events: none;
}

.logo>a {
    color: grey;
}

.no-click-button {
    pointer-events: none;
    cursor: default;
    color: grey;
    font-size: 24px;
    text-transform: uppercase;
    font-family: "Source Code Pro", monospace;        
    background-color: #F9F9F7;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Header ------------------------------------------------------------------------------------*/
.header {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    height: 60px;
    width: 100%;
    align-items: center;
    z-index: 7;
    background-color: #F9F9F7;
    border-bottom: 1px solid #160D0A;
}

.inactive {
    color: grey;
    pointer-events: none;
}

.language-switcher a:not(.disabled-link):hover {
    border: 1px solid #160D0A;
    border-top: none;
    border-bottom: none;
    transition: border 0.3s;
}

.language-switcher {
    grid-column: 1/2;
    margin: 0;
    position: relative;
    height: 100%;
}

.lang-click {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 100%;
}

.language-switcher a {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.nav-item {
    position: relative; 
    height: 100%;
    width: 100%;
    color: #160D0A;
}

.nav-link:not(.disabled-link):hover {
    outline: 1px solid #160D0A;
    border-top: none;
    border-bottom: none;
    transition: border 0.3s;
}

.nav {
    grid-column: 3/7;
    margin: 0;
    position: relative;
    height: 100%;
}

.nav-link {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.nav-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 100%;
    list-style: none;
}

.burger-menu {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.disabled-link {
    pointer-events: none;
    color: grey;
}

#menu {
    height: 0;
    background-color: #F9F9F7;
    position: absolute;
    top: 100%;
    left: 0;
    overflow: hidden;
    transition: border 0.3s;
    width: 100%;
}

#menu.open {
    height: auto;
    color: #160D0A;
    border: 1px solid #160D0A;
}

.menu-link {
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    border: 1px solid transparent;
}

.menu-link:hover {
    border: 1px solid #160D0A;
    border-left: none;
    border-right: none;
    transition: border 0.3s;
}

.menu-item:first-child .menu-link:hover {
    border-top: 1px solid #F9F9F7;
}

.menu-item:last-child .menu-link:hover {
    border-bottom: 1px solid #F9F9F7;
}

.menu {
    display: none;
}
  
.menu.show {
    display: block;
}

/* Container-posters ------------------------------------------------------------------------------------*/
.container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.img-width {
    grid-column: span 2;
}

/* Container-longread ------------------------------------------------------------------------------------*/
.img-height {
    grid-row: span 2;
}

.content-block-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Container-foodquest ------------------------------------------------------------------------------------*/
.sidebar {
    display: flex;
    flex-direction: column;
    grid-column: 1/3;
    border: 1px solid #160D0A;
    justify-content: space-between;
    border-top: none;
}

.sidebar-info-1 {
    margin: 20px;
}

.sidebar-info-2 {
    margin: 20px;
}

#foodquest {
    color: #160D0A;
    margin-bottom: 20px;
    font-size: 42px;  
    line-height: 110%;
    font-weight: 500;
    font-family: "Source Code Pro", monospace;
}

#foodquest:hover {
    color: #999691;
    transition: border 0.3s;
}

.title {
    margin-bottom: 20px;
    font-size: 42px;  
    line-height: 110%;
}

.description {
    margin-bottom: 60px;
    line-height: 150%;
}

.tag {
    text-transform: uppercase; 
}

.arrow-button {
    font-size: 24px;
    text-transform: uppercase;
    font-family: "Source Code Pro", monospace;
    border: none;         
    background-color: #F9F9F7;
    color: #160D0A;
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    border: 1px solid transparent;
    justify-content: flex-end;
    align-items: center;
}

.arrow-button:hover {
    border-top: 1px solid #160D0A;
    transition: border 0.3s;
}

.arrow {
    display: flex;
    font-size: 24px;
    padding-right: 10px;
}

.main-content {
    grid-column: 3/7;
}

.content-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.img-column {
    overflow: hidden;
    border: 1px solid #160D0A;
    border-top: none;
    border-left: none;
}

.image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Media------------------------------------------------------------------------------------*/
@media (max-width: 690px) {
    .header {
        grid-template-columns: repeat(3, 1fr);
    }

    .language-switcher {
        grid-column: 1/3;
    }

    .nav {
        grid-column: 3/4;
    }

    .nav-list {
        display: none; 
        grid-template-columns: 1fr;
        position: absolute;
        top: 60px; 
        background-color: #F9F9F7;
        width: 100%;
        height: auto;
        border: 1px solid #160D0A;
        border-top: none;
    }

    .nav-list.active {
        display: grid; 
    }

    .nav-item {
        height: 60px;
    }

    .nav-link:not(.disabled-link):hover {
        border: none;
    }

    .burger-menu {
        color: #160D0A;;
        display: block;
        padding: 10px;
        text-align: center;
        height: 100%;
        width: 100%;
    }

    .burger-menu.active {
        color: #160D0A;
    }

    #menu.open {
        outline: 1px solid #160D0A;
        border: none;
    }
}

@media (max-width: 900px) {
    .sidebar {
        grid-column: 1/7;
    }

    .main-content {
        grid-column: 1/7;
    }
}

@media (max-width: 1080px) {
    .img-column {
        grid-column: 1/3;
    }

    .img-block {
        grid-column: 1/3;
    }
}

/* Media color-scheme------------------------------------------------------------------------------------*/
@media (prefers-color-scheme: dark) {
    ::-webkit-scrollbar-thumb {
        background-color: #F5F1E8;
    }
    
    ::-webkit-scrollbar-track {
        background: #191919;
    }
    
    ::selection {
        background: #999691;
    }

    body {
        background-color: #191919;
        color: #F5F1E8;
    }

    a {
        color:  #F5F1E8;
        border: #999691;
    }

    .no-click-button {    
    background-color: #191919;
    }

    .header {
        background-color: #191919;
        border-bottom: 1px solid #999691;
    }

    .nav-item {
        color: #F5F1E8;
    }
    
    .nav-link:not(.disabled-link):hover {
        outline: 1px solid #999691;
        background-color: #191919;
        border-top: none;
        border-bottom: none;
    }

    #menu {
        background-color: #191919;
    }

    #menu.open {
        border: 1px solid #999691;
    }

    .menu-link:hover {
        border: 1px solid #999691;
        border-left: none;
        border-right: none;
        transition: border 0.3s;
    }
    
    .menu-item:first-child .menu-link:hover {
        border-top: 1px solid #191919;
    }
    
    .menu-item:last-child .menu-link:hover {
        border-bottom: 1px solid #191919;
    }

    .sidebar {
        border: 1px solid #999691;
        border-top: none;
    }

    .arrow-button {
        background-color: #191919;
        color: #F5F1E8;
    }
    
    .arrow-button:hover {
        border-top: 1px solid #999691;
    }

    .img-column {
        border: 1px solid #999691;
        border-top: none;
        border-left: none;
    }

    .language-switcher a:not(.disabled-link):hover {
        border: 1px solid #999691;
        background-color: #191919;
        border-top: none;
        border-bottom: none;
    }

    #foodquest {
    color: #F5F1E8;
    }

    @media (max-width: 690px) {
        .nav-list.active {
            background-color: #191919;          
            border: 1px solid #999691;
            border-top: none;
        }

        #burgerMenu {
            color: #F5F1E8;
        }
    
        #burgerMenu.active {
            color: #F5F1E8;
        }

        #menu.open {
            outline: 1px solid #999691;
            border: none;
        }

        .nav-link:not(.disabled-link):hover {
            border: none;
        }
    }
}