body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3e6ff;
}
header {
    background-color: #8a2be2;
    color: white;
    padding: 10px 0;
    text-align: center;
}
nav {
    display: flex;
    justify-content: center;
    background-color: #5a1a8b;
}
nav a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    text-align: center;
}
nav a:hover {
    background-color: #FFFF00;
    color: black;
}
.container {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}
.content {
   
   flex:3;
    padding: 20px 5px 10px;
    width: 80%;
}
.sidebar {
    flex: 1;
    padding: 20px;
}



.post p, h2 {
    display: none;
    padding: 10px 5px 10px 5px;
    width: 90%;
    margin: auto 0;
    margin-left: 5%;
    font-size: larger;
    line-height: 2em;
    text-align: justify;
}
.post, .sidebar-post {
    background-color: white;
    margin-bottom: 20px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.post img, .sidebar-post img {
    width: 100%;
    height: auto;
}
.post h2, .sidebar-post h3 {
    margin-top: 0;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #8a2be2;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
.btn:hover {
    background-color: #7a1eb2;
}
@media (max-width: 800px) {
    .container {
        flex-direction: column;s
    }
}

footer {
    background-color: #5a1a8b;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

footer p {
    margin: 5px 0;
}
footer a {
    color: white;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}


.button-container {
text-align: center;
}
.confirm-button {
background-color: #8a2be2;
color: white;
border: none;
padding: 15px 30px;
font-size: 16px;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
}
.confirm-button:hover {
background-color: #7b24c4;
transform: scale(1.05);
}
.confirm-button:active {
background-color: #691f9d;
transform: scale(0.95);
}
.message {
margin-top: 20px;
font-size: 18px;
color: #333;
}

.message {
font-size: 18px;
color: #333;
text-align: center;
margin-top: 20px;
display: none;
}
.like-button {
background-color: #8a2be2;
color: white;
border: none;
padding: 10px 20px;
font-size: 16px;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
}
.like-button:hover {
background-color: #7b24c4;
transform: scale(1.05);
}
.like-button:active {
background-color: #691f9d;
transform: scale(0.95);
}
.like-count {
font-size: 12px;
color: #8b8b8b;
text-align: center;
margin-top: 10px;


}
.like-button:disabled {
background-color: #ccc;
cursor: not-allowed;
}

.viewer {
font-size: 12px;
color: #8b8b8b;
text-align: center;
margin-top: 10px;
}


.visit {
font-size: 12px;
color: #8b8b8b;
text-align: center;
margin-top: 10px;
}



@media (max-width: 800px) {
.menu-toggle {
display: flex;
}

.nav-list {
flex-direction: column;
display: none;
width: 100%;
background-color: #8a2be2;
position: absolute;
top: 60px;
left: 0;
}

.nav-list li {
margin: 10px 0;
}

.nav-list.active {
display: flex;
}
}

