/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%; /* Ensure the body takes full height */
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
   /* background-image: url("../../images/bg.jpeg"); */
    background-size: 100%;
    background-image: conic-gradient(at 85% 55%, white, green, white);
    opacity: 0.9;
    padding: 20px;
    display: flex;
    flex-direction: column; /* Stack children vertically */
   /* text-shadow: 2px 2px 8px #4dff4d; */
}

/* Main content area */
.main-content {
    flex: 1; /* Take up remaining space */
    display: flex;
    flex-direction: column; /* Arrange items in a column */
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text */
    width: 100%; /* Ensure full width */
    margin-top: 20px; /* Optional: add some spacing from the header */
}

/* Header styles */
.site-header {
    display: flex;
    flex-direction: row; /* Arrange items in a row */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center all items horizontally */
    background-color: #99bbff;
    color: #4dffc3;
    padding: 10px;
    position: relative; /* Allow positioning of the menu */
}

.logo {
    display: flex;
    align-items: center; /* Align logo and motto vertically */
    justify-content: center; /* Center logo and motto */
    margin-right: 20px; /* Space between logo and menu */
}

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 10px; /* Space between logo and motto */
}

.motto {
    text-align: center; /* Center align title and motto */
}

.motto h1 {
    font-size: 1.5em;
    margin-bottom: 5px;
}

.motto p {
    font-size: 0.9em;
}

.menu-toggle {
    font-size: 2em;
    display: none; /* Initially hide the toggle */
    cursor: pointer;
    color: white;
    margin-left: 20px; /* Space from the motto */
}

/* Menu styles */
.site-menu {
    display: flex; /* Horizontal layout for menu */
    justify-content: center; /* Center align menu items */
    align-items: center; /* Align menu items vertically */
}

.site-menu ul {
    list-style: none;
    display: flex;
    padding: 0; /* Remove default padding */
}

.site-menu ul li {
    margin: 0;
    padding: 0;
    position: relative; /* Allow positioning of dropdown */
}

.site-menu ul li a {
    color: #4dffc3;
    text-decoration: none;
    font-size: 1.1em;
    display: block;
    padding: 10px 20px;
    background-color: #b3b3ff; /* Ensure background color spans full width */
    white-space: nowrap;
}

.site-menu ul li:hover > a {
    background-color: #0080ff; /* Hover background color */
}

/* Dropdown menu styles */
.site-menu .dropdown {
    display: none;
    position: absolute;
    background-color: #6a6aff; /* Different but similar color for dropdown */
    padding: 10px 0;
    list-style: none;
    z-index: 1000; /* Ensure dropdown is above other elements */
}

.site-menu .dropdown li {
    display: block;
    padding: 10px 0;
}

.site-menu .dropdown li a {
    color: white;
}

/* Show dropdown on hover */
.site-menu ul li:hover .dropdown {
    display: block; /* Show dropdown when parent is hovered */
}

/* Responsive styling for small screens */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show the toggle button on small screens */
        margin-left: 20px; /* Space from the motto */
    }

    .site-menu {
        display: none; /* Initially hide the menu on small screens */
        flex-direction: column; /* Stack menu items vertically */
        background-color: #4d4dff; /* Background color for dropdown */
        position: absolute;
        width: 100%; /* Ensure full-width dropdown */
        left: 0;
        top: 100%; /* Position just below the header */
        z-index: 999;
    }

    .site-menu.active {
        display: flex; /* Show the menu when active */
    }

    .site-menu ul {
        flex-direction: column; /* Make menu items stack vertically */
        width: 100%; /* Ensure full width for menu */
    }

    .site-menu ul li {
        width: 100%; /* Ensure each menu item takes full width */
    }

    .site-menu ul li a {
        padding: 15px; /* Add more padding for vertical items */
        text-align: center; /* Center the text */
    }
}

/* Button styles */

button, input {
            padding: 10px 20px;
            font-size: 16px;
            cursor: pointer;
            margin-top: 10px;
            text-align: center;
           /* text-shadow: 2px 2px 5px red; */
        }

/* Footer styles */
.site-footer {
    text-align: center;
    background-color: #4d4dff;
    color: white;
    padding: 10px;
}

/* unvisited link */
a:link {
  text-decoration: none;
}

/* visited link */
a:visited {
  text-decoration: none;
}

/* List */

li {
    color: white;
    text-shadow: 2px 2px 8px yellow;
}


/* Two columns starts */

.column {
  float: left;
  width: 50%;
  padding: 10px; /* Should be removed. Only for demonstration */
}

.container{
    display: flex;
}
.col{
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
}

/* Two columns ends */


/* Collapse Rule */

.collapsible {
  background-color: #777;
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
}

.active, .collapsible:hover {
  background-color: #555;
}

.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;
}

/* Rules Collapse Ends */ 