html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #1b1b1b;
    color: white;
}
header, footer {
  display: flex;  
    justify-content: space-between; 
    align-items: center;
    background: #1f008f;
    color: white;
    text-align: center;
    padding: 10px; 
    position: relative;
    font-size: 30px;
    
}

header h1 {
 font-size: 34px;
}

main {
    display: flex;
    justify-content: center; 
    align-items: center;    
    flex: 1;
    padding: 20px;
    flex-direction: column;
}

.post-preview {
    background: #252525;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 10px;
}

.post-preview h2 a {
    text-decoration: none;
    color: #0077cc;
}
.post-Center h2 a {
    text-decoration: none;
    color: #0077cc;
}
.post-Center h2 a:hover {
    text-decoration: underline; 
}
.post-Text {
    background: #252525;
    margin-bottom: 15px;
    padding: 35px;
    font-size: 34px;
    border-radius: 40px;
    box-sizing: border-box;
    
}
.post-Text pre {  
    color: #ffffff;
    white-space: pre-wrap
    
}
.post-Center {
    background: #252525;
    margin-bottom: 15px;
    padding: 25px;
    border-radius: 40px;
    font-size: 23px;
}
.post-IMGT {
    background: #252525;
    margin-bottom: 15px;
    padding: 25px;
    border-radius: 40px;
    display: inline-block;
    font-size: 23px;
    margin: 15px auto
}
.post-IMGT pre {
    color: #ffffff;
    white-space: pre-wrap;
    font-size: 35px;
    text-align: center;  
}
.post-IMGT img {  
    height: 800px;  
    display: block;    
    margin: 0 auto;
}
.post-link {
    display: block;            
    text-decoration: none;     
    color: inherit;      

}

.post-link:hover .post-preview {
    background: #3a3a3a;       
    cursor: pointer;           
}

.post-preview h2 a:hover {
    text-decoration: underline;
}

header img {
    height: 100px;
    position: static; 
}
.post-link {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.post-link:hover {
    text-decoration: underline;
}