@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;

    margin:0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

a {
    color:#222;
}

a.button{
    background:gray;
    color:white !important;
    padding:.5rem 1.5rem;
    font-weight: 600;
    border-radius: .3rem;
}

a.button:hover{
    text-decoration: underline;
}

a.button.green{
    background:#024022;
}

.hidden{
    display: none !important;
}

body {
    display:flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    background: #fcf7ed;
}

.offer{
    display:flex;
    align-items: center;
    justify-content: center;
    gap:1rem;
    width:100%;
    height:5em;
    transition: opacity 1s ease-out;
}

.offer .content{
    display:flex;
    align-items: center;
    justify-content: center;
    gap:1rem;
}

.offer .content strong{
    font-weight: bolder;
    color:deepskyblue;
}

.offer .close{
    font-size: 1.5rem;
}

.offer.hide{
    opacity:0;
}

nav.main{
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    position:absolute;
    z-index: 99999;
    top:0;
    width:100%;
    background:transparent;
}

nav.main.sticky{
    background: #fcf7ed;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

h1.logo{
    display:block;
    aspect-ratio: 3/1;
    height: 60px;
    text-indent: -99999px;
    background: url(cnj-logo.png);
    background-size: cover;

    -webkit-filter: brightness(0) invert(1);
    -moz-filter: brightness(0) invert(1);
    -o-filter: brightness(0) invert(1);
    -ms-filter: brightness(0) invert(1);
    filter:brightness(0) invert(1);
}

nav.main.sticky h1.logo{
    height:40px;
    -webkit-filter: none;
    -moz-filter: none;
    -o-filter: none;
    -ms-filter: none;
    filter:none;
}

nav.main ul{
    display:flex;
    align-items: center;
    justify-content: center;
    gap:1rem;
}

nav.main ul li a {
    font-weight: 500;
    color:white;
    text-shadow: -1px 1px 2px black;
}

nav.main.sticky ul li a {
    color:initial;
    text-shadow: none;
}

main .hero{
    position: relative;
    height:100vh;
    
}

main .hero video {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    left: 0;
    top: 0;
    display: block;
    background-color: #fff;
    overflow-clip-margin: content-box;
    overflow: clip;
}

main .hero .content{
    position:absolute;
    z-index: 1;
    top:0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding:4rem;
}

main .hero .content h2,
main .hero .content h4,
main .hero a.button{
    color:white;
    text-shadow: -1px -1px 2px black;
    font-size: 250%;
}

main .hero .content h2{
    font-weight: 700;
    font-size: 400%;
}

main .hero a.button{
    font-weight: 300;
    padding:1rem 2rem;
    font-size: 200%;
}


.restaurants{
    margin: auto;
    background:linear-gradient(#e6f1dd 0,transparent 50%);
    padding: 3rem 7rem;
    width: 100%;
}

.restaurants h2{
    font-weight: 700;
    font-size: 300%;
}

.restaurants .filters{
    display: flex;
    gap:1rem;
}

.restaurants .filters a{
    color:green;
    border:solid 1px green;
    padding:.5rem 1rem;
    border-radius: 2rem;
}

.restaurants .filters a:hover{
    color:white;
    background: green;
}

.restaurants .list{
    width:100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:3rem;
}

.restaurants .list .item{
    display:flex;
    flex-direction: column;
    gap:1rem;
}

.restaurants .list .item img{
    max-width:100%;
}

.restaurants .list .item h5{
    font-weight: 600;
    font-size: 1.2rem;
}

.restaurants .list .item .kind{
    font-weight: 600;
}

.restaurants .list .item .kind strong{
    font-weight: 300;
}

footer{
    background-color: #024022;
    color:white;
    padding: 7rem 2rem;
    display: flex;
    gap: 2rem;
}

footer ul{
    flex:2;
    display:flex;
    flex-direction: column;
    gap:.5rem;
    border-left: solid 1px rgba(255,255,255,.1);
    padding: 0rem 0rem 0rem 3rem;
}

footer div.text{
    flex:3;
}

footer div.text img{
    -webkit-filter: brightness(0) invert(1);
    -moz-filter: brightness(0) invert(1);
    -o-filter: brightness(0) invert(1);
    -ms-filter: brightness(0) invert(1);
    filter:brightness(0) invert(1);
}

footer div.text p{
    font-size: 1.3rem;
    line-height: 1.5rem;
    font-weight: 200;
}

footer ul.concact{
    flex:1;
}

footer ul li {
    font-weight: 600;
    font-size: 1.3rem;
}

footer ul li a{
    color:white;
}
