* {
    margin: 0;
    padding: 0;
   
}


:root {
    --main-bg: #8d918c;
    --main-color: #ffffff;
    --accent-color: #000000;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --max-width: 1200px;
}

header {
    background-color: hsla(0, 0%, 32%, 0.877);
}

header li{
    display:inline ;
    margin: auto 10px;
}


header a{
    color: rgb(255, 249, 249);
    font-size: 30px;
    text-decoration: none;
}


header ul{
    text-align: center;
    padding-top: 21px;
}



body {
    background-color: var(--main-bg);
    color: var(--main-color);
    font-family: var(--font-primary);
    line-height: 1.6;
}

.nav-menu {
    color: #929dda;
    background: var(--accent-color);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}


.nav-menu{
    background: var(--accent-color);
    font-size: 30px;
    text-shadow: none;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}



.header h1 {
    font-size: 2rem;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-menu a {
    color: var(--main-color);
    text-decoration: none;
    font-weight: bold;
}

.main-content {
    padding: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero {
    background-color: #41403e;
    padding: 2rem;
    border-radius: 8px;
}

.story {
    background-color: #232323;
    padding: 2rem;
    border-radius: 8px;
}

.footer {
    background-color: #393a39;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .header {
    flex-direction: column;
    align-items: flex-start;
    }

    .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    }

    .main-content {
    padding: 1rem;
    }

    .hero, .story {
    padding: 1rem;
    }
}

.nav-menu > li:hover{
    transform: translateY(-6px);
    transition: 0.4s;
}

img{
    border-radius: 20px;
    width: 200px;
    height: 200px;
    float: left;

}

a:hover {
    color: rgb(81, 235, 94);
    
}

.pe{
    border-radius: 20px;
    width: 250px;
    height: 250px;
    float: left;
}

.hi{
    font-size: 20px;
}


.im{
    border-radius: 20px;
    width: 300px;
    height: 300px;
    text-align: center;


}

.tx{
    text-align: center;
    
}
