body {
	background: url('img/pattern2.gif') repeat;
	background-color: #1e004b;
	font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard', 'Comic Neue';
	margin: 20px;
	color: #ffffff;
	text-align: center;
	background-attachment: fixed;
    overflow-x: hidden;

}

.friends{
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.floating-container {
  position: relative;
  width: 100%;
  height: 1vh;
  z-index: 10;
}

.floating-image {
  position: absolute;
  top: -30px;
  left: -100px; /* Start slightly off-screen to the left */
  width: 50px;
  height: auto;
  transform: translateY(-50%) rotate(40deg); /* Center the image vertically */
  animation: float-across 45s linear infinite; /* Apply the animation */
  z-index: -1;
  pointer-events: auto;
}

/* Define the animation */
@keyframes float-across {
  from {
    left: -100px; /* Start off-screen on the left */
  }
  to {
    left: 100vw; /* Move across to off-screen on the right */
  }
}


/* Set defaults for Desktop and mobile */
img {
	max-width: 100%;
	height: auto;
	display: block;
}

.badges{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.badges img {
   width: 88px;
    height: 31px;
  transition: transform .2s;
}

.badges img:hover {
  transform: scale(1.1);
}

.ufo-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.projects-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.projects-header img{
  width: 100px;
  height: auto;
}

.mirrored {
  transform: scaleX(-1);
}

h1 {
	font-size: 2rem;
	margin-top: 0rem;
	margin-bottom: 0rem;
}

h1 img {
	max-width: 100%;
	height: auto;
}

h2 {
	font-size: 1.5rem;
	margin-top: 0rem;
}

h3 {
	font-size: 1.17em;
    margin-top: 0rem;
}

p {
	text-align: justify;
}

.container {
	max-width: 800px;
	margin: 0 auto;
	background-color: #1e004b;
	padding: 20px;
	border: 5px solid #00ff00;
	box-shadow: 10px 10px 10px #888888;
	margin-bottom: 30px;
	text-align: justify;
	position: relative;
	z-index: 1;
}

.nav {
	background-color: #000010;
	color: #00ff00;
	padding: 10px;
	text-align: center;
	margin-top: 20px;
	margin-bottom: 20px;
	box-shadow: 5px 5px 5px #888888;
	border: 2px solid #00ff00;
}

.nav a {
	color: #00ff00;
	text-decoration: none;
	margin: 0 10px;
	font-weight: bold;
	text-shadow: 2px 2px #000010;
}

.menu-bar {
    display: none;
}

.dropdown-menu {
        display: none;
}

@media only screen and (max-width: 600px) {

    .hide-on-mobile {
        display: none;
    }
    .mobile-spacer{
        margin-top 70px;
        }

    .container{
        max-width: 800px;
        margin: 0 auto;
        margin-top: 70px;
        background-color: transparent;
        padding: 5px;
        border: 5px solid transparent;
        box-shadow: 10px 10px 10px transparent;
        text-align: justify;
    }

    .menu-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: rgba(30, 0, 75, 0.85);
        color: white;
        padding: 10px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 50px;
        z-index: 1000;
    }

    .menu-header {
        display: flex;
        align-items: center;
        flex-grow: 1;
        justify-content: center;
    }

    .ufo-icon {
        width: 50px;
        height: auto;
    }

    .hamburger {
        cursor: pointer;
        width: 30px;
        height: 30px;
    }

    .hamburger img {
        width: 100%;
        height: auto;
    }

    .dropdown-menu {
        display: none;
        background-color: rgba(45, 0, 107, 0.95);
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        z-index: 999;
    }

    .dropdown-menu a {
        display: block;
        padding: 10px 15px;
        color: white; /* Fully opaque text color */
        text-decoration: none;
    }

    .dropdown-menu a:hover {
        background-color: rgba(85, 85, 85, 0.8);
    }

	h1 {
		font-size: 1.5rem;
	}

	h1 img {
		display: none;
	}

	h2 {
		font-size: 1.5rem;
		margin-top: 0px
	}

	p,
	ul {
		text-align: left;
	}


	img {
		display: block;
		margin: 0 auto;
		max-width: 100%;
		height: auto;
	}

	.nav {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 50px;
		width: 100%;
		background-color: #000010;
		color: #00ff00;
		padding: 10px;
		margin: 0;
		box-shadow: none;
		border: none;
		z-index: 1;
	}

	.menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 10px;
        z-index: 9999; /* High z-index to stay above the menu */
        position: relative;
	}

	.menu-toggle.active+.nav {
		display: flex;
	}
}

.table-container {
	overflow-x: auto;

	table {
		width: 100%;
		border-collapse: collapse;
	}

	table th {
		padding: 8px;
		text-align: center;
	}

	table td {
		padding: 8px;
	}

}

/* ^^^ Set defaults for Desktop and mobile ^^^ */

#hitCounter {
	padding: 10px;
	width: fit-content;
	margin: 0 auto;
	text-align: center;
}

@keyframes ticker {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

.ticker {
	display: inline-block;
	animation: ticker 2s ease-in-out;
	color: #ffcc00;
}

.card {
	background-color: #2d006b;
	padding: 20px;
	margin-bottom: 20px;
	border-radius: 8px;
	border: 2px solid #00ff00;
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
	text-align: center;
}

.about_card {
	background-color: #2d006b;
	padding: 20px;
	margin-bottom: 20px;
	border-radius: 8px;
	border: 2px solid #00ff00;
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
	text-align: justify;
}

.date {
	color: #bbbbbb;
	font-size: 0.9em;
	margin-top: -10px;
}

.degree {
	margin-bottom: 15px;
}

.degree-title {
	font-weight: bold;
	color: #ffcc00;
	font-size: 1.2em;
	margin-bottom: 0px;
}

.institution {
	color: #ffffff;
	font-style: italic;
	margin-bottom: 5px;
	margin-top: 0px;
}

hr {
	border: 1px solid #00ff00;
	margin: 15px 0;
}

.skills ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: inline-block;
	width: 100%;
}

.skills li {
	background-color: #1e004b;
	padding: 10px;
	margin-bottom: 5px;
	border-radius: 5px;
	color: #ffffff;
}

.teaching-table {
	width: 100%;
	border-collapse: collapse;
}

.teaching-table th {
	background-color: #1e004b;
	color: #ffcc00;
	border: 1px solid #00ff00;
	padding: 8px;
	text-align: center;
}

.teaching-table td {
	background-color: #2d006b;
	color: #ffffff;
	border: 1px solid #00ff00;
	padding: 8px;
	text-align: left;
}

.presentation {
	background-color: #1e004b;
	padding: 10px;
	margin-bottom: 5px;
	border-radius: 5px;
}

.presentation p {
	margin: 5px 0;
}

.publications {
	background-color: #1e004b;
	padding: 10px;
	margin-bottom: 5px;
	border-radius: 5px;
}

.awards {
	background-color: #1e004b;
	padding: 10px;
	margin-bottom: 5px;
	margin-top: 5px;
	border-radius: 5px;
}

em {
	font-style: italic;
	color: #ffcc00;
}


h1 {
	color: #00ff00;
	text-shadow: 3px 3px #000010;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

h2,
h3 {
	color: #00ff00;
	margin-bottom: 10px;
	margin-top: 5px;
	text-align: left;
}

article {
	text-align: left;
}

.construction {
	margin: 0 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

p,
ul {
	color: #ffffff;
	margin-bottom: 10px;
	margin-top: 0px;
	list-style-type: none
}

.footer {
	max-width: 222px;
	margin: 0 auto;
	text-align: center;
	margin-top: 20px;
	padding: 10px;
	box-shadow: 5px 5px 5px #888888;
	background-color: #000010;
	color: #00ff00;
	border: 2px solid #00ff00;
	z-index: 11;
	position: relative;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.socials a {
  font-size: 24px; /* Adjust icon size */
  color: #00ff00; /* Default icon color */
  text-decoration: none; /* Remove underline from links */
  transition: color 0.3s ease, transform 0.3s ease; /* Smooth hover effects */
}

.socials a:hover {
  color: #ffcc00; /* Change color on hover */
  transform: scale(1.2); /* Slight zoom effect on hover */
}

a:link {
	color: #00ff00;
	background-color: transparent;
	text-decoration: none;
}

a:visited {
	color: #00ff00;
	background-color: transparent;
	text-decoration: underline;
}

a:hover {
	color: #ffcc00;
	background-color: transparent;
	text-decoration: underline;
}

a:active {
	color: #00ff00;
	background-color: transparent;
	text-decoration: underline;
}