/* Setting the background image for the body */
body {
    background-image: url(BGRational.jpg); /* Ensure the image URL is correct */
    background-size: cover;  /* Ensures the image covers the whole page */
    background-position: center; /* Centers the background image */
    font-family: "Lato", sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    height: 100vh;
}

/* Styling for sidenav */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }
    .sidenav a {
        font-size: 18px;
    }
}

/* Content styling */
.content {
    margin-left: 30px;
    padding: 20px;
}

h1, h2, h3, h4, ol, ul{
    color: black;
    display: block;
    margin: 20px auto;
    width: 80%; /* Restrict width for better readability */
    background-color: rgba(255, 255, 255, 0.8); /* Light background for contrast */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */

}

p, img {
    display: block;
    margin: 20px auto;
    width: 80%; /* Restrict width for better readability */
    background-color: rgba(255, 255, 255, 0.8); /* Light background for contrast */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
}

/* Styling for paragraphs */
p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    text-align: justify;
}

/* Button styling */
.start-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 20px;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.start-button:hover {
    background-color: #0056b3;
}
