html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Cuprum', sans-serif;
    background: linear-gradient(to bottom, #ffffcc, #ffcccc, #d9ffcc, #ccffff, #ccd9ff, #f2ccff);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 15px;
}

.add_header {
    background-color: #ccccff;
    padding: 0;
    text-align: center;
}

.slogan {
    font-style: italic;
    font-size: 26px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.button {
    display: inline-block;
    background-color: #aaccee;
    color: white;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
}

.button:hover {
    background-color: #ffbbcc;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ccccff;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

header img {
    height: 50px;
}

header ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

header ul li a {
    text-decoration: none;
    color: #333;
    padding: 8px 14px;
    font-weight: bold;
    font-size: 14px;
    border-radius: 8px;
    background-color: #ffeefc;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);

    margin: 0 10px;
    line-height: 50px;
}

header ul li a:hover {
    background-color: #ffd9ec;
}

header ul li a:active {
    background-color: #d5f5e3;
}

header ul li:last-child a {
    background-color: #aaccee;
    color: white;
}
header ul li:last-child a:hover {
    background-color: #ffbbcc;
}

.content {
    padding: 20px 0;
}

.articles {
    width: 70%;
    float: left; 
    margin: 0 auto;
}

.article {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 20px;
}

.article_text {
    width: 70%;
}

.article .heading {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.article .desc {
    font-size: 14px;
}

.article .date {
    font-size: 12px;
    color: #444;
}

.article_img img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    display: block;
}

.sidebar {
    width: 28%;
    float: right;
    padding: 5px;
}

.sidebar h3 {
    font-size: 14px;
    margin: 10px 0 5px;
}

.sidebar_img {
    width: 100%;
    height: 80px;
    overflow: hidden;
}

.sidebar_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar .desc {
    font-size: 12px;
    color: black;
}

hr {
    border: none;
    border-top: 1px solid #333;
    margin: 10px 0;
}

.write-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.write-container label,
.write-container h2 {
    width: 100%;
    text-align: center;
}

.write-container input[type="text"],
.write-container textarea,
.write-container input[type="file"],
.write-container input[type="submit"] {
    width: 100%;
    max-width: 400px;
    
}

.write-container input[type="submit"] {
    padding: 10px 20px;
    font-size: 16px;
}

.footer {
    clear: both;
    text-align: center;
    padding: 20px;
    background-color: #ffcccc;
    font-size: 16px;
}