* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
a{
    text-decoration: none;
    
    color: white;
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-image: url(images/dark-purple-background-black-magenta-plum-colors-gradient-with-grain-texture-effect-abstract-web-banner-design_284753-2283.avif);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;  /* This is key - it keeps the background fixed while scrolling */
    color: #FFFFFF;
    animation: fadeIn 0.5s forwards;
}
.container {
	height: 100vh;
	background-image: url(images/dark-purple-background-black-magenta-plum-colors-gradient-with-grain-texture-effect-abstract-web-banner-design_284753-2283.avif);
	background-repeat: no-repeat;
	background-size: cover;
	color: antiquewhite;
	box-shadow: 0 0px 4px rgba(0, 0, 0, 0.1);
}


body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-image: url(images/dark-purple-background-black-magenta-plum-colors-gradient-with-grain-texture-effect-abstract-web-banner-design_284753-2283.avif);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; /* This keeps the background fixed */
    color: #FFFFFF;
    
    min-height: 100vh; /* Ensures the body is at least the height of the viewport */
    overflow-y: scroll; /* Allows scrolling */
}

.container {
    min-height: 100vh;
    color: antiquewhite;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    
    background: transparent; /* Transparent so the fixed background shows */
    overflow-y: scroll; /* Enables scrolling inside the container */
}



/* Navigation bar styling */
.nav {
	display: flex;
    justify-content: space-between;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.6);
	padding: 10px;
	border-radius: 10px;
    position: sticky;
}

/* Navigation list styling */
.ullist {
	list-style-type: none;
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 0;
	margin: 0;
	font-size: 18px;
	z-index: 100;
}

/* Style for buttons in the nav */
.ullist button {
	background: none;
	border: none;
	font-size: 16px;
	cursor: pointer;
	transition: color 0.3s ease, background-color 0.3s ease,
		box-shadow 0.3s ease;
	color: antiquewhite;
	padding: 5px 10px;
	border-radius: 5px;
	position: relative;
}

/* Hover effect for buttons with glowing background */
.ullist button:hover {
	background-color: rgba(255, 255, 255, 0.2);
	color: #ececff;
	box-shadow: 0 0 10px #7aa6d5, 0 0 20px #7baadc, 0 0 30px #86b9f0;
}

/* Style for the search icon */
.search-icon {
	cursor: pointer;
	height: 24px;
	width: 24px;
	margin-left: 10px;
	transition: transform 0.2s ease;
	stroke: antiquewhite;
}

/* Rotate search icon on hover */
.search-icon:hover {
	transform: rotate(20deg);
}

/* Style for the search bar */
.search-bar {
	padding: 7px 12px;
	border-radius: 20px;
	border: 1px solid #ddd;
	width: 200px;
	transition: width 0.3s ease, opacity 0.3s ease;
	display: none; /* Initially hidden */
	opacity: 0;
	background: #fff;
	color: #000;
	margin-left: 10px;
}

/* When the search bar is visible */
.search-bar.show {
	display: block;
	opacity: 1;
}



.fade-in{
    animation: fadeIn 0.5s forwards;
}
.fade-out {
    animation: fadeOut 0.5s forwards;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}


.icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icons input {
    padding: 0.4rem;
    border: none;
    border-radius: 5px;
    background-color: #FFFFFF;
    color: #000;
}

.icons button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: #FF69B4; /* Neon Pink */
}



main {
    display: flex;
    margin: 2rem;
}

/* Sidebar styles */
aside {
    width: 250px;
    height: 600px;
    background-color: rgba(46, 0, 71, 0.8); /* Transparent background */
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 10px; /* Sticky position with 10px from the top */
}


aside h2 {
    color: #FF588D; /* Pink */
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section label {
    display: block;
    margin-bottom: 0.5rem;
}

/* Styled Dropdown */
.styled-select {
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    background-color: #FF69B4;
    color: #FFFFFF;
    transition: background-color 0.3s ease;
}

.styled-select:hover {
    background-color: #FF588D; /* Pink */
}

/* Radio Button Styles */
.radio-container {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #FFFFFF;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.radio-container:hover input ~ .checkmark {
    background-color: #FF69B4; /* Neon Pink */
}

.radio-container input:checked ~ .checkmark {
    background-color: #FF588D; /* Pink */
}

/* Hackathon Cards */
.hackathon-cards {
    flex: 1;
    margin-left: 2rem;
}

.hackathon-cards h2 {
    color: #FF588D; /* Pink */
}

.card {
    background-color: rgba(46, 0, 71, 0.85);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.card h3 {
    color: #FF69B4; /* Neon Pink */
}

.card p {
    margin: 0.5rem 0;
}

.card .cta {
    padding: 0.6rem 1.2rem;
    background-color: #FF588D; /* Pink Button */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: #FFFFFF;
    transition: background 0.3s ease;
}

.card .cta:hover {
    background-color: #FFB07C; /* Orange */
}


footer {
    height: 50px;
    width: 100vw;
    color: #FFFFFF;
    position:static;
    display: flex;
    justify-content: center;
    align-items: end;
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    text-align: center;
    font-size: 14px;
    bottom: 0px;
    border-top: 1px solid #333;
}
