

/*--====== Global Variables ======--*/
:root {
    --bg-color: #003300;
    --bg-color-2: #669999
    --text-color: #ffffff;
}


/*--====== CSS Reset ======--*/
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    
        width: 100vw; /* Make sure body doesn't exceed viewport width */
        overflow-x: hidden; /* Hide horizontal scroll */
    
    
}
.lead { font-size: 1.5rem; font-weight: 300; }
.container { margin: 150px auto; max-width: 960px; }
a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}


/*--====== Sidebar ======--*/
#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    max-width: 300px;
    width: 80%;
    height: 100%;
    padding: 2rem;
    background-color: var(--bg-color-2);
    box-shadow: 0 10px 20px -4px #000;
    overflow-x: hidden;
    overflow-y: auto;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: opacity 0.3s ease, visibility 0.2s ease, transform 0.3s ease;
}

/* when the sidebar has 'show' class */
#sidebar.show {
    pointer-events: all;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sidebar_content {
    padding: 2.8rem 0;
    pointer-events: none;
        /* so that the Sidebar does not get closed while clicking on sidebar_content */
        color:white;
}

.sidebar_content a {
    pointer-events: all;
    /* so that all the <a> inside sidebar_content are clickable */
}

.sidebar_body {
    border-top: 1px dashed var(--text-color);
    border-bottom: 1px dashed var(--text-color);
}

.side_navlinks ul {
    display: grid;
    gap: 2rem;
}

.side_navlinks li a {
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.side_navlinks a:hover {
    opacity: 1;
}

/*---- Sidebar-Toggler ----*/
.sidebar_toggler {
    position: fixed;
    top: 4vh;
    left: 3vw;
    width: 1.75rem;
    height: 1.3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    overflow: hidden;
}

.sidebar_toggler span {
    background-color: white;
    width: 100%;
    height: 2.4px;
    transition: all 0.3s ease;
    pointer-events: none;
    /* so that it doesn't overlap the sidebar_toggler */
}

/* if the sidebar has 'show' class then their adjacent-sibling (i.e., sidebar_toggler) will... */
#sidebar.show + .sidebar_toggler {
    justify-content: center;
}

#sidebar.show + .sidebar_toggler span {
    margin-top: -1.2px;
    margin-bottom: -1.2px;
}

#sidebar.show + .sidebar_toggler span:first-child {
    transform: rotate(45deg);
}

#sidebar.show + .sidebar_toggler span:nth-child(2) {
    opacity: 0;
    transform: translateX(-100%);
}

#sidebar.show + .sidebar_toggler span:last-child {
    transform: rotate(-45deg);
}
#sidebar 

/* Desktop styles */
@media (min-width: 769px) {
    #sidebar {
        width: 250px; /* Default width for desktop */
        left: 0; /* Show sidebar by default */
    }

    .sidebar_toggler {
        display: none; /* Hide toggler on desktop */
    }
}
/*-------Descktop navigation*/
/* Hidden SVG used for down arrows */
svg[hidden] {
	display: none;
	position: absolute;
}

.site-navigation {
	width: 86%;
	max-width: 782px;
	margin: 100px auto;
	box-shadow: 2px 2px 4px rgba(0,0,0,.2);
	background-color: #eee;
	border-radius: 4px;
}

.clicky-menu {
	justify-content: stretch;
	margin: 0;
	padding: 0
	list-style: none;
}
@media (min-width: 540px) {
	.clicky-menu {
		display: flex;
	}
}
/*end of descktop navigation*/

/* General Link & Button Styles */
.clicky-menu a,
.clicky-menu button {
	margin: .25em;
	padding: 1em;
	background: transparent;
	color: #000;
	font-family: inherit;
	text-decoration: none;
	border-radius: 3px;
}

.clicky-menu a:hover,
.clicky-menu button:hover {
	background: #fff;
}

.clicky-menu a:focus,
.clicky-menu button:focus {
	outline: .125em dotted purple;
	outline-offset: -.125em;
}

/* Top Level Items */
.clicky-menu > li {
	flex: 1 1 auto;
	display: flex;
	justify-content: stretch;
	flex-wrap: wrap;
}

.clicky-menu > li > a,
.clicky-menu > li > button {
	flex: 1 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border: 0;
	font-size: inherit;
	font-weight: 600;
	line-height: 1.5;
	cursor: pointer;
}
@media (min-width: 540px) {
	.clicky-menu > li > a,
	.clicky-menu > li > button {
		justify-content: center;
	}	
}

/* Icon */
.clicky-menu svg {
	width: 1em;
	height: 1em;
	margin-left: .5em;
}

.clicky-menu [aria-expanded="true"] svg {
	transform: scaleY(-1);
}

/* Submenu Styles */
.clicky-menu ul {
	min-width: 100%;
	margin-top: .25em;
	padding: 0;
	list-style: none;
	background-color: #eee;
	border-radius: 3px;
}
.clicky-menu li {
    padding: 10px;
}
/**
 * Clicky Menus 
 */

/**
 * Initial state, hidden off screen
 */
 .clicky-menu ul {
	position: absolute;
	top: 100%;
	left: 0;
	visibility: hidden; /*[1]*/
}

/* Contain position of submenu to parent list item. This is probably the 80% of the 80/20 use case */
.clicky-menu > li {
	position: relative;
}

/**
 * No JS fallback
 *
 * Triggers menus on hover rather than click. Supports keyboard navigation in modern browsers.
 */
.clicky-menu.no-js li:hover > ul {
	visibility: visible;
}
.clicky-menu.no-js li:focus-within > ul { /*[2]*/
	visibility: visible;
}

/**
 * Open/Close Menu Behavior with JS
 */
.clicky-menu ul[aria-hidden="false"] {
	visibility: visible;
}

/* Prevent offscreen-submenus */
.clicky-menu .sub-menu--right {
	left: auto !important;
	right: 0 !important;
}

/**
 * Footnotes
 *
 * [1] Using visibility instead of display allows for easier transitions and animation of submenus
 * [2] Must be a separate ruleset so that hover works in non-modern browsers
 */


/* Mobile styles */
@media (max-width: 480px) {
    #site-navigation{display:none;}
}
/*---Container-animation*/
.container {
    position: relative;
    width: 350px;
   /*margin: 150px auto;*/
    perspective: 1000px;
    padding-top: 1px;
  }
  .rotator {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 55%;
    height: 150px;
    transform-style: preserve-3d;
    animation: roter 17s linear infinite;
  }
  .rotator:hover {
    animation-play-state: paused;
  }
  @keyframes roter {
    from {
      transform: rotateY(0deg);
    }
    to {
      transform: rotateY(360deg);
    }
  }
  .items {
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border: 2px solid #333;
  }
  .items:hover img {
    transform: scale(1.2);
  }
  .items img {
    height: 100%;
    width: 100%;
    transition: all 3s ease;
  }
  .items:first-child {
    transform: rotateY(calc(40deg * 1)) translateZ(300px);
  }
  .items:nth-child(2) {
    transform: rotateY(calc(40deg * 2)) translateZ(300px);
  }
  .items:nth-child(3) {
    transform: rotateY(calc(40deg * 3)) translateZ(300px);
  }
  .items:nth-child(4) {
    transform: rotateY(calc(40deg * 4)) translateZ(300px);
  }
  .items:nth-child(5) {
    transform: rotateY(calc(40deg * 5)) translateZ(300px);
  }
  .items:nth-child(6) {
    transform: rotateY(calc(40deg * 6)) translateZ(300px);
  }
  .items:nth-child(7) {
    transform: rotateY(calc(40deg * 7)) translateZ(300px);
  }
  .items:nth-child(8) {
    transform: rotateY(calc(40deg * 8)) translateZ(300px);
  }
  .items:nth-child(9) {
    transform: rotateY(calc(40deg * 9)) translateZ(300px);
      }
      @media only screen and (max-width: 768px) {
        body {
            overflow-x: hidden; /* Ensure no overflow on small screens */
        }
        img {
            max-width: 100%; /* Ensure images fit within their container */
            height: auto; /* Maintain aspect ratio */
        }
        
    }


/*---end of container animation---*/
/*container-text*/
/* end of container-text*/

    
/*---end of container animation---*/  
/*container-text*/
/* end of container-text*/