
body {
  background:
  /* top, transparent black, faked with gradient */ 
  linear-gradient(
    rgba(0, 0, 0, 0.5), 
    rgba(0, 0, 0, 0.5)
  ),
  /* bottom, image */
  url(images/ameer-basheer-unsplash.jpg);
  background-size: cover;
  font-family: 'Montserrat', sans-serif;
}

/* all images on page get these arguments as default - rounded and with blue shadow */ 
img
{
  max-height:  600px;
  box-shadow: 0px 0px 35px #45070a;
  border-radius: 5%;
  order: 1; /* set the order to 1 to display the image on the right */
}

.img-container-left {
  display: flex;
  justify-content: center; /* horizontally center the content */
  align-items: center; /* vertically center the content */
  order: 0; /* set the order to 0 to display the image on the left */
}

.img-container {
  display: flex;
  justify-content: center; /* horizontally center the content */
  align-items: center; /* vertically center the content */
  margin: 5%; /* add margin around the container */
}

.text {
  margin: 20px;
  padding: 10px;
  color: #ffffff;
  font-size: 18px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 5%;
  /* styling for text content */
}

.text-center {
  margin: 20px;
  padding: 10px;
  color: #ffffff;
  font-size: 28px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 5%;
  /* styling for text content but it is centered*/
}

.twitter-timeline {
  justify-content: center; /* horizontally center the content */
}

.text p {
  margin-bottom: 10px;
}

/* style for header */
header {
  text-align: center; /* Align the text in the center */
  font-family: 'Montserrat', sans-serif; /* Use the 'Montserrat' font family */
  color: #ffffff; /* Set the font color to white */
  background-color: #00000075; /* Set the background color to a semi-transparent black */
  margin: 0 auto; /* Center the header horizontally using auto margins */
  margin-top: 1%; /* Add a top margin of 1% */
  max-width: 50%; /* Set the maximum width of the header to 50% of the available space */
  box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.2); /* Apply a box shadow */
  border-radius: 15px; /* Apply rounded corners with a radius of 15px */
  padding: 2px 0px 2px 0px; /* Add padding to the top and bottom of the header */
}


/* Set height, display, justify-content, and align-items properties for nav */
nav {
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Set list-style, margin, padding, and display properties for nav ul */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

/* Set display, padding, colour, text-decoration, font-size, font-weight, text-transform, and transition properties for nav ul a */
nav ul a {
  display: block;
  padding: 0 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out;
}

/* Set background colour and font colour properties for nav ul a:hover */
nav ul a:hover {
  background-color: #5500ffae;
  color: #f5f5f5;
}

/* Styling footer - Took CSS from header as it's essentially the same */ 
.footer {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  background-color: #00000075;
  padding: 5%;
  margin: 0 auto;
  max-width: 40%;
  box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  padding: 2px 0px 2px 0px;
} 

/* Hide scrollbar for most major browsers */
html {
  overflow: scroll;
  overflow-x: hidden;
}
::-webkit-scrollbar {
  width: 0;  /* Remove scrollbar space */
  background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
  background: #FF0000;
}