


/*.container::after{
	 content: "";
	display: table;
	clear: both;
}
*/


.column {
    float: left; /* or right, depending on desired direction */
    width: 25.33%; /* Assuming three equal-width columns, adjust as needed */
    /* Add padding, margins, borders as needed */
	border:1px solid red;
	height:200px;
	display:inline
}
img {
  max-width: 100%;
  max-height: 80%;
  /*object-position: center top;*/
}

h1 {
	
}

h2 {
	
}

h3 {
	
}

h4 {
	
}

h5 {
	
}

h6 {
	
}

p {
  
}

a {

}

.page-container {
  width: 80%;
  margin: auto;
  padding: 20px;
  border: 2px solid #ccc;
  overflow: hidden;
}

.main-content {
background-color: #add8e6;
padding: 20px;
margin-bottom: 20px;
}

/* Styles for the header section */
.pages_header {
  /*background: url("https://edube.org/uploads/media/default/0001/03/sunflowers_sunset_full.jpg") top right / cover no-repeat lightblue;*/
  background-image: url("https://edube.org/uploads/media/default/0001/03/sunflowers_sunset_full.jpg");
  background-size: cover;
  background-clip: border-box;
  background-position: center;
  background-repeat: no-repeat;
  height: 450px;
  background-color: #333;
  object-fit: cover;
  margin:auto;
  width:80%;
}

.welcome{
	text-align: center;
	 color: white;
	border:2px solid green;
	text-align:center;
	margin-top:180px;
}

.rounded-box {
  background-color: lightblue;
  background-image: url('https://edube.org/uploads/media/default/0001/04/red-flower.png');
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 15px; /* Adding rounded corners */
  padding: 70px;
  margin: 10px;
  width: 300px;
  height: 200px;
}

.header_div {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 1.5); /* Adds a shadow to give a 3D effect */
  width: 200px; /* Sets the width of the div */
  height: 100px; /* Sets the height of the div */
  background-color: lightgray; /* Sets the background color */
  margin: 50px; /* Adds space around the div */
  text-align: center; /* Centers the text horizontally */
  line-height: 100px; /* Centers the text vertically */
}

.background-size-box {
  background-color: #add8e6;
  background-image: url('https://edube.org/uploads/media/default/0001/04/flowers-banner.png');
  background-size: cover; /* Ensuring the background covers the entire element */
  background-clip: border-box; /* Defines how far the background extends */
  padding: 120px;
  border: 5px solid black;
  margin: 90px;
}
/* Styles for the navigation menu */



/* Styles for the main content */
.main-content {
  font-size: 16px;
  line-height: 1.5;
  padding: 20px;
}

/* Styles for the footer section */
.footer {
  background-color: #f4f4f4;
text-align: center;
padding: 10px;
}

/* Combining Selectors */
h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto", Arial, sans-serif;
}

/*ID Selectors*/
#header {
  font-size: 24px;
  color: green;
}

/*Attribute Selectors*/
/*Attribute selectors allow you to target elements based on their attributes. 
They're like filters for elements with specific attributes. 
For example, to target all elements with a data-highlight attribute, you can use the following rule:
*/

[data-highlight] {
  background-color: yellow;
}

/* Unvisited Link */
a:link {
  color: #0000EE; /* Standard link color */
  text-decoration: underline; /* Underlined by default */
}

/* Visited Link */
a:visited {
  color: #551A8B; /* Typically a darker shade */
}

/* Link when hovered */
a:hover {
  color: #FF0000; /* Changes color to red */
  background-color: #F0F0F0; /* Adds a light gray background */
  text-decoration: none; /* Removes underline */
}

/* Active Link (while being clicked) */
a:active {
  color: #F00; /* Typically a bright color */
  font-weight: bold; /* Makes the text bold */
}

/* Uniformly rounded corners */
.unifrom_corner{
	border-radius: 20px;
}

/* Different radii for horizontal and vertical corners */
.two_corner{
	border-radius: 10px 30px;
}

/* Define radii for all four corners */
.all_corners{
	border-radius: 5px 15px 10px 20px;
}

/*shadow properties*/
.box-shadow {
  width: 600px;
  height: 300px;
  background-color: green;
  box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.5);
}

/*The Z-Index Property: When images or elements overlap, the z-index property determines their stacking order.*/
.box {
  width: 100px;
  height: 100px;
  position: absolute;
}

.box1 {
  background-color: red;
  z-index: 1;
}

.box2 {
  background-color: green;
  z-index: 2;
  top: 1rem;
  left: 1rem;
}

/*Overflow properties and use case*/
.container {
  width: 80%;
  height: 100px;
  background-color: lightblue;
  border: 1px solid #333;
  /*overflow: scroll;*/ /* Add scrollbars when content overflows */
  /*overflow: hidden;*/
  /*overflow: visible;*/
   overflow: auto;
}

.content {
  width: 250px; /* Wider than the container */
  height: 150px; /* Taller than the container */
}

/*display properties this does not take up space, it removes the white spaces*/
.hidden {
    display: none; /*will remove the element from the document layout entirely*/
}

.hidden-element {
    visibility: hidden; /*visibility: hidden keeps the element in the layout.*/
}

/*Inline display*/
.menu-item {
    display: inline;
    background-color: yellow;
    margin-right: 10px;
    padding: 5px;
}

/*
display: none vs. visibility: hidden

When deciding between these two CSS properties:

    Use display: none if you want an element to disappear entirely from the page layout, making it invisible and removing it from the document flow.
    Use visibility: hidden when you want to hide an element while keeping its space allocated in the document layout.

Remember these distinctions when choosing which one to use.
*/

/*Absolute position*/
.container {
    position: relative;
    width: 300px;
    height: 200px;
    background-color: lightgray;
    margin: 20px auto;
}
.absolute-box {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: skyblue;
    padding: 10px;
}

/*Relative position*/
.container {
    width: 300px;
    height: 200px;
    background-color: lightgray;
    margin: 50px auto;
}
.relative-box {
    position: absolute;
    top: 20px;
    left: -10px;
    background-color: lightgreen;
    padding: 10px;
}

/*fixed position*/
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    background-color: navy;
    color: white;
    padding: 10px;
    width: 80%;
	margin:auto;
}

.content {
    margin-top: 50px; /* Ensure content starts below the fixed navigation */
    padding: 20px;
}

/*Sticky-nav*/
.sticky-nav {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0; /* Set to stick at the top of the viewport */
    background-color: #333;
    color: white;
    padding: 10px;
    width: 100%;
	margin:auto;
}
.content {
padding: 20px;
}


/*Table customisation*/
.basic-table {
    width: 80%;
    border-collapse: collapse; /* Eliminates the space between borders */
	margin:auto;
}

.basic-table th, .basic-table td {
    border: 1px solid #ddd; /* Light gray border */
    padding: 8px; /* Padding for cell content */
    text-align: left; /* Aligns text to the left */
}

.basic-table th {
    background-color: #f2f2f2; /* Light gray background for headers */
    color: #333; /* Dark text color for contrast */
}

.basic-table tr:hover {
    background-color: red; /* Lighter shade for hover effect */
}

/* Optional: Alternate row background */
.basic-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

@media screen and (max-width: 600px) {
    /* CSS rules for screens smaller than or equal to 600px */
}

.column_media {
    float: left;
    width: 50%;
	background-color:red;
}

@media screen and (max-width: 600px) {
    .column_media {
        width: 100%;
        float: none;
		background-color:green;
    }
}

.column {
    float: left;
    width: 33.33%;
}

/*Adjusting Column Layout for Tablet*/
@media screen and (max-width: 768px) {
    .column {
        width: 50%;
    }
}

/*Adjusting Column Layout for Mobile*/
@media screen and (max-width: 480px) {
    .column {
        width: 100%;
        float: none;
    }
}

.gcontainer {
    overflow: hidden; /* Clearing floats */
}

.grid-item {
    float: left; /* Float items to align side by side */
    width: 50%; /* 2 columns, hence 50% width */
    box-sizing: border-box; /* Includes padding and border in width calculation */
    padding: 10px; /* Optional padding for spacing */
    background-color:red;
	border:2px solid green;
}

@media screen and (max-width: 600px) {
    .grid-item {
        width: 100%; /* Stack items vertically on smaller screens */
    }
}

.flex-container {
    display: flex;
    background: #f7f7f7;
    padding: 10px;
}
.item {
padding: 20px;
border: 1px solid #ccc;
margin: 5px;
flex-grow: 1; /* Items will grow equally */
}


.flex-container {
    display: flex;
    background: #f7f7f7;
    padding: 10px;
    max-width: 500px; /* Container max-width to force shrinking */
}
.item {
padding: 20px;
border: 1px solid #ccc;
margin: 5px;
width: 200px; /* Set initial width /
flex-shrink: 1; / Items will shrink at an equal rate */
}

.flex-container {
    display: flex;
    background: #f7f7f7;
    padding: 10px;
}
.item {
padding: 20px;
border: 1px solid #ccc;
margin: 5px;
flex-basis: 100px; /* Set initial size before growing or shrinking */
flex-grow: 1;
}
