/* Import Roboto font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
	font: 15px/1.5 Arial, Helvetica, san-serif;
	padding: 0;
	margin: 0;
	background-color: #f4f4f4;
	min-height: 100vh;
}

.center {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin: 30px 0;
	width: 100%;
}

.center .purple {
	width: 100%;
	max-width: 800px;
	margin: 0;
}

.center .purple img {
	width: 100%;
	height: auto;
	display: block;
}

section {
	margin: auto;
	align-content: center;
}

.navbar {
	/*background-color: #3b5998;*/
	overflow: hidden;
	height: 63px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.navbar a {
	float: left;
	display: block;
	color: #FFFFFF;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 18px;
}

.navbar ul {
	margin: 8px 0 0 0;
	list-style: none;
}

.navbar a:hover {
	background-color: #ddd;
	color: #000;
	font-size: 18px;
}

/*
.side-nav{
	text-align: left;
} */

.side-nav {
	height: 60%;
	width: 0;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 5;
	background-color: #111;
	opacity: 0.8;
	overflow-x: hidden;
	padding-top: 40px;
	transition: 0.5s;
	text-align: left;
}

.side-nav a {
	padding: 10px 10px 10px 30px;
	text-decoration: none;
	font-size: 15px;
	color: #FFFFFF;
	display: block;
	transition: 0.3s;
}

.side-nav a:hover {
	color: #fff;
}

.side-nav .btn-close {
	position: absolute;
	top: 0;
	right: 26px;
	font-size: 16px;
	margin-left: 50px;
}

/*#main{
	transition: margin-left 0.5s;
	padding: 20px;
	overflow: hidden;
	width: 100%;
}*/

/*Global */
.container {
	width: 95%;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
}

div.container {
  /*text-align: left; */
  text-align: auto;
  align-content: auto;
}

.line{
	width:80%
}

ul {
	margin:0;
	padding:10;
}

.button_1{
	height:38px;
	background:#e8491d;
	border:0;
	padding-left:20px;
	padding-right:20px;
	color:#ffffff;
}

.purple{
	padding:15px;
	background:#9370DB;
	color:#ffffff;
	margin-top:10px;
	margin-bottom:8px;
}

.navy{
	padding:15px;
	background:#181256;
	color:#ffffff;
	margin-top:10px;
	margin-bottom:8px;
}

/* Header */
header {
	/*background: #181256;*/
	color:#ffffff;
	padding-top:15px;
	min-height:5px;
	border-bottom:#308866 3px solid;
	background-image:url("../img/iimg99.jpg");
	background-size: 100% 100%;
}

header a{
	color:#ffffff;
	text-decoration:none;
	text-transform:uppercase;
	font-size:18px;
}

header .container{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

header li{
	float:left;
	display:inline;
	padding:0 20px 0 20px;
}

header #branding{
	float: left;
}

header .branding{
	color:#00FF00;
	text-transform:uppercase;
	font-size:24px;
}

header nav {
	float:right;
	margin-top:15px;
}

header .highlight, header .current a{
	color: #00FF00;
	font-weight:bold;
	font-size:18px;
}

header a:hover{
	color:#00f9f2;
	font-weight:bold;
	font-size:18px;
}

#showcase {
	min-height:100px;
	/*background-image:url("../img/iimg3.jpg"); */
	/*min-height:400px;*/
	background-repeat:no-repeat;
    background-size: 30% 30%;
	text-align: center;
	color: #00FF00;
	border-bottom: #308866 5px solid;
}

/* insert here */
.slideshow{
    width: 100%;
    height: 60vh;
    position: relative;
    overflow: hidden;
}

.slideshow-item{
    width: inherit;
    height: inherit;
    position: absolute;
    opacity: 0;
    animation: cycleImages 61s infinite;
}

.slideshow-item img{
    width: 100%;
    height:100%;
    object-fit: cover;
    animation: zoom 62s infinite;
}

.slideshow-item:nth-child(1),
.slideshow-item:nth-child(1) img{
    animation-delay: 0s;
}

.slideshow-item:nth-child(2),
.slideshow-item:nth-child(2) img{
    animation-delay: 10s;
}

.slideshow-item:nth-child(3),
.slideshow-item:nth-child(3) img{
    animation-delay: 20s;
}

.slideshow-item:nth-child(4),
.slideshow-item:nth-child(4) img{
    animation-delay: 30s;
}

.slideshow-item:nth-child(5),
.slideshow-item:nth-child(5) img{
    animation-delay: 40s;
}

.slideshow-item:nth-child(6),
.slideshow-item:nth-child(6) img{
    animation-delay: 50s;
}

.slideshow-item-text{
    max-width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    padding: 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.slideshow-item-text h5{
    font-size: 28px;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.slideshow-item-text p{
    font-size: 22px;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 1px;
    font-weight: 300;
}

@keyframes cycleImages {
    25%{
        opacity: 1;
    }
    40%{
        opacity: 0;
    }
}

@keyframes zoom{
    100%{
        transform: scale(1.0);
    }
}

/*
@media screen and (max-width: 1000px){
    .slideshow-item-text{
    max-width: 70%;
    padding: 5rem 1rem;
    }

    .slideshow-item-text h5{
        font-size: 2rem;
    }
}
*/

@media screen and (max-width: 767px){
    .slideshow-item-text{
        max-width: 90%;
        padding: 15px;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .slideshow-item-text h5{
        font-size: 20px;
    }

    .slideshow-item-text p{
        font-size: 16px;
    }
}


/* end insert here */

/*
#showcase h1{
	margin-top:60px;
	font-size:36px;
	margin-bottom:10px;
	color:#00FF00;
	text-align: center;
}

#showcase h2{
	font-size:24px;
	color:#00FF00;
	text-align: center;
}
*/

/* Boxes */
#boxes {
	width: 95%;
	margin: 0 auto;
	padding: 20px;
	box-sizing: border-box;
}

#boxes h1 {
	text-align: center;
	font-size: 22px;
	color: #008B8B;
	margin-bottom: 30px;
}

#boxes .container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	justify-content: center;
}

#boxes .box {
	margin: 0;
	text-align: center;
	padding: 5px;
	border: 10px solid #B0E0E6;
	background-color: #FFFFFF;
	height: 280px;
	box-sizing: border-box;
}

#boxes .box img {
	width: 100%;
	height: 170px;
	object-fit: cover;
}

h1 {
    text-align:center;
    font-size: 22px;
    color: #008B8B;
    margin-top: 0.67em;
}

.page-title {
    margin-top: 0 !important;
}

/* Sidebar */
aside#sidebar{
	float:right;
	width:30%;
	margin-top:40px;
}

aside#sidebar input,
aside#sidebar button,
aside#sidebar textarea{
	width:80%;
	margin-bottom:5px;
}

/* Main-col*/
article#main-col{
	float:left;
	width:65%;
	margin-left: auto;
	margin-right: auto;
}

hr {
height: 5px;
background-color: #308866;
border: none;
}

pre {
	width: 100%;
	padding: 0;
	margin: 0;
	overflow: auto;
	overflow-y: hidden;
	font-size: 12px;
	line-height: 20px;
	background: #F0FFF0;
	border: 1px;
	text-align: left;
    white-space: pre-line;
}

pre code {
	padding: 10px;
	color: #333;
}

footer {
	padding:5px;
	margin-top:5px;
	margin-bottom:0px;
	color:#ffffff;
	background-color:#308866;
	text-align:center;
}

/* Media Queries */
@media(max-width: 480px) {
    .navbar-nav {
        display: none;
    }
    
    #boxes .container {
        grid-template-columns: 1fr;  /* 1 box per row on very small screens */
        gap: 15px;
    }
    
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    header nav {
        width: 100%;
    }
}

/* Portrait mode for modern phones */
@media(min-width: 481px) and (max-width: 767px) {
    .navbar-nav {
        display: none;
    }
    
    #boxes .container {
        grid-template-columns: repeat(2, 1fr);  /* 2 boxes per row */
        gap: 15px;
    }
    
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    header nav {
        width: 100%;
    }
}

/* Landscape mode for modern phones */
@media(min-width: 768px) and (max-width: 932px) {
    #boxes .container {
        grid-template-columns: repeat(3, 1fr);  /* 3 boxes per row */
        gap: 15px;
    }
    
    #boxes .box {
        height: 250px;  /* Slightly smaller height for landscape */
    }
}

@media(min-width: 933px) {
    #boxes .container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
}

/* Navigation */
.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav li {
    padding: 0 20px;
}

.navbar-nav a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav a:hover {
    color: #00FF00;
    font-size: 20px;  /* Ensure consistent font size on hover */
}

header .current a {
    color: #00FF00;
    font-weight: 700;
    font-size: 20px;  /* Ensure consistent font size for current page */
}

/* Override any conflicting header styles */
header a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 500;
}

header a:hover {
    color: #00FF00;
    font-size: 20px;
    font-weight: 500;
}

header .highlight, header .current a {
    color: #00FF00;
    font-weight: 700;
    font-size: 20px;
}
