
Header alanımı fixed yapıyorum ve üstten boşluk veriyorum fakat scrool yapınca içerik üstteki boşluktan gözükmekte bunu nasıl önlerim ? Resim ektedir.

Ben header alanının altından itibaren gözükmesini istemiyorum.
nav{
background-color: rgb(39, 35, 34);
position: fixed;
width: 80%;
border-top-left-radius: 37px;
border-bottom-left-radius: 37px;
top: 40px;
height: 80px;
z-index: 100;
right: 0;
display: flex;
align-items: center;
}
.yazi{
background-color: blueviolet;
height: auto;
width: 100%;
}