* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poiret One", sans-serif;
    font-size: 20px;
    background: #202020;

    font-size: 20px;
    line-height: 26px;
    color: #E7E7E7;
       
}

main, section, aside, footer {
    padding: 10px;
}
nav {
    background-color: #202020;
    /*text-align: center;*/
    position: fixed;
    width: 100%;
    padding: 7px;

    font-family: 'Rufina';
    font-size: 24px;    
    
}
nav ul li {
    display: inline;
    margin-right: 30px;
    margin-left: 10px;
}
nav ul li a {
    color: #ffffff;
}

#banner {
    background-image: url("../img/PM\ 1.png");
    background-size: cover;
    background-position: bottom center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100%;
    height: 90vh;
}

header {
    position: fixed;
    z-index: 1;
}


 main, .grid, #banner, footer {
    max-width: 1600px;

    /**margin: 0 auto;**/
    position: relative;

}

.grid {
    display: grid;


    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    place-items: center;
}

.grid-item {
    text-align: center;
    padding: 25px;
}

.grid-item img {
    width: 100%;
    /* height: 400px; */
    /* object-fit: cover; */
    /* object-position: center; */
}


h1, nav {
    font-family: "Russo One", serif;
}
h1 {
    margin-bottom: 20px;
}
h2, nav {
    font-family: "Russo one", serif;
}
h2 {
    margin-bottom: 20px;
}

#about {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
#recipies {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
.grid-item {
    display: block;
    text-align: center;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.grid-item:hover,
.grid-item:focus-visible {
    transform: scale(1.05);
    opacity: 0.85;
}

.grid-item img {
    width: 100%;
    transition: filter 0.25s ease;
}

.grid-item:hover img,
.grid-item:focus-visible img {
    filter: brightness(1.1);
}
body {
    font-size: clamp(15px, 2.5vw, 20px);
    line-height: 1.4;
}

h1 {
    font-size: clamp(24px, 5vw, 40px);
}

h2 {
    font-size: clamp(20px, 4vw, 32px);
}

nav {
    font-size: clamp(16px, 3vw, 24px);
}

.site-title {
    font-size: clamp(16px, 3.5vw, 24px);
}

.grid-item figcaption {
    font-size: clamp(14px, 2vw, 18px);
}
@media screen and (max-width:2240) {
    #about {
        grid-template-columns: 1fr;
    }
    #banner{
        height: 60vh;
    }
}

