
img {
    max-width: 100%;
    height: auto;
}

.centered-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Header styling */
header {
    background-color: #333; /* Dark background for the header */
    padding: 20px;
    text-align: center;
    color: #fff; /* White text color for header */
}

section .link-icons img {
    width: 20px;
    height: 20px;
    margin-right: 10px; /* Adds spacing between icons */
  }

section .link-icons {
    display: inline-block; /* Ensures icons are on the same line */
}

/* Navigation bar styling */
nav {
    display: inline-block; /* Center the navigation bar */
}

/* Link styling within the navigation bar */
nav a {
    color: #fff; /* White text color */
    text-decoration: none; /* Remove underline */
    padding: 10px 15px; /* Add padding to links */
    margin: 0 5px; /* Add margin between links */
    display: inline-block; /* Ensure links are inline-block */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

/* Hover effect for links */
nav a:hover {
    background-color: #575757; /* Darker background on hover */
}

section {
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;    
}

code {
    font-family: Consolas,"courier new",monospace;
    padding: 2px;
    font-size: 60%;
  }

footer {
    padding: 10px;
    text-align: center;
    width: 100%;
    bottom: 0;
}

@media (max-width: 600px) {
    nav {
        display: block;
    }
    nav a {
        display: block;
        margin: 10px 0;
    }
    header {
        padding: 10px;
    }
}
