* {
    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;
    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-color: brown;
    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;

    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%;
}


h1, nav {
    font-family: "Russo One", serif;
    position: center;
}
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;
}
#photo {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
.container {
    margin-top: 150px;
    padding: 200px;
   
}

.box {
    text-align: center;
    line-height: 150px;
    display: inline-block;
    width: 150px;
    height: 150px;
    margin: 50px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
    transition: 0.3s ease;
}

.box:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}

@media screen and (max-width:2240) {
    #about {
        grid-template-columns: 1fr;
    }
    #banner{
        height: 60vh;
    }
}

