/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

/* Set background image for the entire page */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('background1.jpg'); /* Ensure the path is correct */
    background-size: cover; /* Cover the entire screen */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Do not repeat the image */
    display: flex; /* Make body a flex container */
    flex-direction: column; /* Arrange children in a column */
}

/* Header styling */
header {
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    color: #fff;
    padding: 10px 0;
    text-align: center;
    flex-shrink: 0; /* Prevent the header from shrinking */
}

header .logo {
    width: 50px;
}

/* Side menu styling */
.side-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.side-menu a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.side-menu a:hover {
    color: #f1f1f1;
}

.side-menu .close-btn {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 36px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Main content styling */
.main-content {
    transition: margin-right 0.5s;
    padding: 20px;
    flex: 1; /* Allow main content to grow and fill the available space */
}

/* Open button styling */
.open-btn {
    position: fixed;
    top: 20px;
    right: 20px; /* Place the button on the right side */
    font-size: 20px;
    cursor: pointer;
    background-color: #333;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    z-index: 2; /* Ensure it stays above the side menu */
}

/* Hero Section */
.hero {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 20px;
}

.hero h1 {
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
}

.content {
    padding: 20px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
}

.articles {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.articles article {
    width: 30%;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 5px;
}

/* Footer styling */
footer {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    flex-shrink: 0; /* Prevent the footer from shrinking */
}
