:root {
	--nav-width: 2.5%;
	--bg_image: radial-gradient(circle at center, rgb(28, 33, 37) 0%, rgb(13, 16, 18) 100%);
	--bg: #161c20;
	--nav_bar_bg: #0b0e10;
	--nav_bg: rgba(49, 62, 71, 0.35);
	--nav_link_border: rgb(255, 0, 255);
	--nav_btn_bg: rgb(138, 0, 196);
	--section_bg1: #36454f;
	--section_bg2: #313e47;
	--font_color: whitesmoke;
	--font: font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--glass-blur: blur(15px);
}

* {
	/*overflow-x: hidden;*/
	box-sizing: border-box;
	font-family: Inter, system-ui, -apple-system,
	BlinkMacSystemFont, "Segoe UI",
	Roboto, sans-serif;
}

body {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	padding: 0;
	margin: 0;
	background-image: var(--bg_image);
  	background-attachment: fixed;
 	color: whitesmoke;
 	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

main {
	margin-left: var(--nav-width);
}

/*Scroll Bar*/
::-webkit-scrollbar {
	width: 10px;
	height: 10px;
	}

::-webkit-scrollbar-track {
	background: var(--section_bg2);
	backdrop-filter: var(--glass-blur);
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(
		180deg,
		rgba(255, 0, 255, 0.8),
		rgba(0, 255, 255, 0.8)
		);
	border-radius: 10px;
	border: 2px solid rgba(0, 0, 0, 0);
}

::-webkit-scrollbar-thumb:hover {
	box-shadow:
		0 0 5px magenta,
		0 0 10px cyan;

	background: linear-gradient(
		180deg,
		rgba(255, 0, 255, 1),
		rgba(0, 255, 255, 1)
		);
}

::-webkit-scrollbar-corner {
	background: transparent;
}
/*-----*/

.logo {
	max-width: 200px;
	z-index: 999;
	background-color: rgba(255, 0, 255, 0.0);
	animation: logo_glow 5s ease-in infinite;
}

.about_logo {
	max-width: 25%;
	z-index: 999;
	background-color: rgba(255, 0, 255, 0.0);
	animation: logo_glow 5s ease-in infinite;

}

section {
	padding: 2% 0 2% 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px;
}



section > h1, h2, h3, p {
	flex-basis: 100%;
	text-align: center;
}

section > p {
	max-width: 75%;
	margin: auto;
}

.form_card {
	background-color: var(--nav_bg);
	backdrop-filter: var(--glass-blur);
	box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
	animation: card_glow 5s ease-in infinite;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	border-radius: 8px;
	padding: 2.5%;
	width: min(300px, 30%);
	text-align: center;
} 

.card h3 {
	margin: 0;
}

a {
	text-decoration: none;
	color: whitesmoke;
}

.construction {
	max-width: 25%;
}

hr {

	border: 0;
	height: 2px;
	width: 50%;
	box-shadow: 0 8px 6px -6px rgba(0, 255, 255, 0.2);
	animation: glow 5s ease infinite alternate;
	background-color: rgba(0, 255, 255, 0.2);
}

h1 {
	font-family: Consolas, Monaco, monospace;
    font-size: 32px;
    text-transform: uppercase; /* Keeps the technical, clean look uniform */
    letter-spacing: 2px;
  	text-align: center;
  	color: magenta;
	}

h2{
	color: cyan;
}

h3 {
	color: magenta;
}

h2, h3 {
	font-family: Consolas, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", monospace;
}

/*Home Page*/

.home_row {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.hero {
	margin: auto;
	text-align: center;
}

.hero p {
	margin: auto;
	max-width: 75%;
}

/*Contact Page*/
.contact_page h1 {
	color: cyan;
}

.contact_h1 {
	font-size: 30px;
	animation: contact_header 15s ease-in infinite;
	margin: auto;
}

.contact_page {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 15%;
}

.contact_page_header {
	display: inline-block;
	text-align: center;
}

#contact_info {
	text-align: center;
	max-width: 75%;
}

/*Form Styling*/
select {
	border-radius: 6px;
	color: whitesmoke;
	background-color: rgba(255, 255, 255, .25);
	backdrop-filter: var(--glass-blur);
	border: none;
}

option {
	color: whitesmoke;
	background-color: var(--section_bg2);
	backdrop-filter: var(--glass-blur);
	border: none;
}

form {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;

}

input, textarea {
	border-radius: 6px;
	box-shadow: 0 0 20px rgba(0, 255, 255, 00.25);
}

.form_btn {
	margin: 10% auto 2% auto;
	width: 100%;
	background-color: var(--nav_btn_bg);
	box-shadow: 0 0 2px rgba(255, 0, 255, 0.5), 0 0 2px rgba(255, 0, 255, 0.5);
	border: none;
	border-radius: 5px;
	color: whitesmoke;
	font-size: 26px;
}

.form_card {
	min-width: 250px;
    max-width: 300px;
    flex: 1 1 250px;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--nav_bg);
	backdrop-filter: var(--glass-blur);
	box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
	animation: card_glow 5s ease-in infinite;
	margin: 1.5%;
}

/*Portfolio*/

.skillset, .home_row {
	display: flex;
	flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.skill_card, .card {
    min-width: 250px;
    max-width: 300px;
    height: 250px;
    flex: 1 1 250px;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--nav_bg);
	backdrop-filter: var(--glass-blur);
	box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
	animation: card_glow 5s ease-in infinite;
	margin: 1.5%;
}

.skill_card ul {
	text-align: center;
	padding: 0;
	margin: 0;
}

.skill_card li {
    list-style-type: none;
}

/*Nagivation*/
.side_nav {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 2%;
	width: var(--nav-width);
	height: 100vh;
	background-color: var(--nav_bg);
	backdrop-filter: var(--glass-blur);
	box-shadow: 8px 0 6px -6px rgba(255, 0, 255, 0.15);
	transition: .5s;
}

.nav_link {
	margin: 0 auto 0 auto;
	text-align: center;
	font-family: Consolas, Monaco, monospace;
    	font-size: 16px;
    	text-transform: uppercase;
    	letter-spacing: 2px;
	width: 85%;
	text-decoration: none;
	color: rgba(255, 255, 255, 0);
	transition: 1.5s;
	padding-top: 5%;
	letter-spacing: relative;
}


.nav_icon {
	z-index: 3;
}

.nav_btn {
	width: 100%;
	height: 5%;
	background-color: magenta;
	border: none;
}

.nav_btn:hover {
	background-color: rgba(0, 255, 255, 0.8);
	transition: .5s;
}

.browse_btn {
	margin: 2% auto 2% auto;
	background-color: var(--nav_btn_bg);
	box-shadow: 0 0 2px rgba(255, 0, 255, 0.5), 0 0 2px rgba(255, 0, 255, 0.5);
	border: none;
	border-radius: 5px;
	color: whitesmoke;
	font-size: 26px;
}

.browse_btn:hover {
	animation: button_hover 5s ease-in infinite;
}

.browse_btn:hover {
	box-shadow: 0 0 5px rgba(255, 0, 255, 0.5), 0 0 5px rgba(255, 0, 255, 0.5);
}

/*Animations*/
@keyframes glow {
	0% {
		box-shadow: 0 8px 6px -6px rgba(255, 0, 255, 0.2);
	}

	25% {
		box-shadow: 0 8px 6px -6px rgba(255, 0, 255, 0.5);
	}
	50% {
		box-shadow: 0 8px 6px -6px rgba(255, 0, 255, 0.2);
	}

	75% {
		box-shadow: 0 8px 6px -6px rgba(255, 0, 255, 0.5);
	}

	100% {
		box-shadow: 0 8px 6px -6px rgba(255, 0, 255, 0.2);
	}
}

@keyframes card_glow {
	0% {
		box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
	}

	25% {
		box-shadow: 0 0 20px rgba(255, 0, 255, 0.15);
	}
	50% {
		box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
	}

	75% {
		box-shadow: 0 0 20px rgba(255, 0, 255, 0.15);
	}

	100% {
		box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
	}
}

@keyframes button_hover {

	0% {
		background-color: rgba(255, 0, 255, 1.0);
		box-shadow: 0 0 2px rgba(255, 0, 255, 0.5), 0 0 2px rgba(255, 0, 255, 0.5);
	}

	50% {
		background-color: rgba(255, 0, 255, .15);
		box-shadow: 0 0 0 rgba(255, 0, 255, 0.5), 0 0 0 rgba(255, 0, 255, 0.5);
	}

	100% {
		background-color: rgba(255, 0, 255, 1.0);
		box-shadow: 0 0 2px rgba(255, 0, 255, 0.5), 0 0 2px rgba(255, 0, 255, 0.5);
	}
}

@keyframes logo_glow {
	0% {
		filter: drop-shadow(0 0 2px magenta);
	}

	50% {
		filter: drop-shadow(0 0 5px magenta);
	}

	100% {
		filter: drop-shadow(0 0 2px magenta);
	}
}

@keyframes active_tab {
	0% {
		box-shadow: 0 8px 6px -6px rgba(255, 0, 255, .15);
	}

	50% {
		box-shadow: 0 8px 6px -6px rgba(255, 0, 255, 1.0);
	}

	100% {
		box-shadow: 0 8px 6px -6px rgba(255, 0, 255, .15);
	}
}

/*Mobile*/
@media screen and (max-width: 768px) {
        body {
                padding-top: 50px;
        }

        .side_nav {
                position: fixed;
                top: 0;
                left: 0;
                z-index: 3;
                display: flex;
                flex-direction: row;
                align-items: center; 
                justify-content: flex-start;
                box-sizing: border-box;
                padding: 0;
                width: 100%;
                height: 50px;
                background-color: var(--nav_bg);
                backdrop-filter: var(--glass-blur);
                box-shadow: 0 4px 6px -6px rgba(255, 0, 255, 0.15);
                transition: height 0.5s ease;
                overflow: hidden;
        }

        .nav_btn {
                width: 50px;
                height: 50px;
                background-color: magenta;
                border: none;
                flex-shrink: 0;
                transition: width 0.5s ease;
        }

        .side_nav[style*="flex-direction: column"] .nav_btn {
                width: 100%;
        }

        .nav_link {
                display: block;
                width: 100%;
                text-align: center;
                font-size: 1.5rem;
                text-decoration: none;
                padding: 15px 0; 
                box-sizing: border-box;
        }

        .side_nav[style*="flex-direction: column"] {
                justify-content: flex-start;
                gap: 5%;
        }

	.contact_page {
        	display: flex;
        	flex-direction: column;
        	justify-content: center;
	        
	}
	
	.contact_info {
		max-width: 100vw;
		text-align: center;
		padding: none;
		margin: none;
	}
}
