/* Setting the background color for the body */
body {
    background-image: url(BGRational.jpg);
    background-color: #f0f0f0; /* Light grey background */
    font-family: "Lato", sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
}

span {
    display: float;
    font-size: 40px;
    cursor: pointer;
    background-color: grey;
    border-radius: 10px;
    
}

/* Styling for sidenav */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #333; /* Dark grey for contrast */
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: white; /* White text */
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1; /* Light grey on hover */
}

.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: #333; /* Dark grey for headings */
    display: block;
    margin: 20px auto;
    width: 80%; /* Restrict width for better readability */
    background-color: #ffffff; /* White background for contrast */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
    transition: transform 0.3s; /* Smooth scaling effect */
}

h1:hover, h2:hover, h3:hover, h4:hover, ol:hover, ul:hover {
    transform: scale(1.1); /* Scale up to 1.1 on hover */
}

p, img {
    display: block;
    margin: 20px auto;
    width: 80%; /* Restrict width for better readability */
    background-color: #e0e0e0; /* Light grey background for paragraphs */
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
    transition: transform 0.3s; /* Smooth scaling effect */
}

p:hover, img:hover {
    transform: scale(1.1); /* Scale up to 1.1 on hover */
}

/* Styling for paragraphs */
p {
    font-size: 18px;
    line-height: 1.6;
    color: #333; /* Dark grey text */
    text-align: justify;
}

/* Button styling */
.start-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 20px;
    color: white;
    background-color: #007BFF; /* Blue button */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.start-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}