﻿*{
    box-sizing: border-box;
    transition: all ease-in-out 0.02s;
}

html, body{
    overflow-x: hidden;
}

/* Top Menu Bar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    background-color: #1e293b;
    font-family: 'Inter', 'Open Sans', sans-serif;
    position: fixed;
    color: #EEEEEE;
    left: 0;
    top: 0;
    width: 100%;
    min-width: 100%;
    height: 70px;
    transition: top 0.3s;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 0 5%;
}

@media (min-width: 550px){
	.navbar {
	    overflow: hidden;
	    width: 100%;
	}
}

.navbar .button {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #EEEEEE;
    text-align: center;
    padding: 0;
    margin: 0;
    text-decoration: none;
    font-family: inherit;
    height: 70px;
}

.navbar .button a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 24px;
}

.navbar .button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar .logo {
    text-decoration: none; 
    font-family: 'Space Mono', 'Courier New', monospace;
    font-size: 2rem;
    color: #60a5fa;
    letter-spacing: -0.02em;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    margin-right: 8rem;
}

.navbar .logo:hover,
.navbar .logo :hover{
	color: #3b82f6;
	transition: 0.3s;
	transform: scale(1.05);
}

.navbar .logo, .navbar .logo *, .navbar .logo a, .navbar .logo h1 {
    font-family: 'Space Mono', 'Courier New', monospace !important;
    font-weight: 700 !important;
    margin: 0;
    padding: 0;
    line-height: 1;
}

@media (max-width: 768px) {
    .navbar .logo {
        font-size: 1.5rem;
        margin-right: 1.5rem;
    }
}

/* Heading weights - detailed typography in modern.css */


.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 70px;
}

.dropdown .dropbtn {
    font-size: 15px;    
    border: none;
    outline: none;
    color: #e6e6e6;
    padding: 0 24px;
    background-color: transparent;
    font-family: inherit;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dropdown:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropbtn {
    color: #60a5fa;
}

.button:hover a, 
.dropbtn:hover {
    color: #60a5fa;
}

.dropdown-content {
    font-size: 15px; 
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    background-color: #1e293b;
    min-width: 320px;
    box-shadow: 0px 8px 24px 0px rgba(0,0,0,0.4);
    z-index: 1001;
    border-top: 3px solid #3b82f6;
}

.dropdown-content a {
    float: none;
    color: #EEEEEE;
    padding: 14px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: rgba(59, 130, 246, 0.2);
    color: #FFFFFF;
    padding-left: 24px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Navigation link hover effects */
.navbar a {
    transition: color 0.2s ease;
}

.navbar a:hover {
    color: #60a5fa !important;
}

/* Body - Base styles (responsive typography in modern.css) */
body {
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Inter', 'Open Sans', sans-serif;
    width: 100%;
    color: #EEEEEE;
    background-color: #1a2639;
    margin: 0;
    padding: 0;
}

p {
    color: inherit;
    line-height: 1.65;
}

li {
    color: inherit;
    line-height: 1.6;
}

a {
    color: inherit;
}

a:hover {
    color: #ffbfbf;
    text-decoration: none;
}


/* Intro Box */
.box {
    width: 500px;
    background: rgba(25, 26, 26, 0.507);
    padding: 20px;
    text-align: center;
    margin: auto;
    margin-top: 5%;
    margin-bottom: 5%;
    color: white;
    font-family: 'Century Gothic', sans-serif;
    opacity: 1;
    border: 5px groove white;
}
.box-img {
    border-radius: 5%;
    max-width: 100%;
    max-height: 100%;
    width: 300px;
    height: auto;
    margin-top: 40px;
}
.box h1 {
    font-size: 40px;
    letter-spacing: 3px;
    font-weight: 100;
}
.box h5 {
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: 100;
}
.box p {
    text-align: justify;
    color: white;
}
.box p a {
    text-decoration: none;
    color: #ffbfbf; 
    padding: 0;
}
.box p a:hover {
    text-decoration: underline;
    color: #ffbfbf; 
    padding: 0;
}
.box ul {
    margin: 0;
    padding: 0;
}
.box li {
    display: inline-block;
    margin: 6px;
    list-style: none;
}
.box li a {
    color: white;
    text-decoration: none;
    font-size: 60px;
    transition: all ease-in-out 0.1s;
}
.box li a:hover {
    color: #b9b9b9;
}
.box button {
    background-color: #4A4A4A;
    width: 95px;
    padding: 10px;
    margin-left: 6px;
    margin-right: 6px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 15px;
    text-decoration: none;
    color: #2d2d2d;
    cursor: pointer;
}
.box a {
    color: white;
    text-decoration: none;
    padding: 5px;
}
.box button:hover {
    background-color: #686868;
}


/* Footer */
.footer { 
    overflow: hidden;
    float: left;
    left: 0;
    display: block;
    position: absolute;
    font-size: 13px;
    color: white;
    background-color: #1a1a1a;
    width: 100%;
    min-width: 600px;
}


/* Social Media Icons */
.socialmedia{
    display: inline-block;
    float: right;
    position: relative;
    right: 35px;
    bottom: 35px;
}

.socialmedia a i{
    font-size: 25px;
    padding: 3px;
    color: #AAAAAA;
    transition: all ease-in-out 0.1s;
}
.socialmedia a i:hover{
    color: #CCCCCC;
}


/* Portfolio Clickable Images - Simplified (Grid layout in modern.css) */
.desc{
    position: absolute;
    z-index: 100;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    color: white; 
    background: rgba(0,0,0,0.8);
    padding-bottom: 10px;
    transition: 0.3s ease;
    transform: translateY(150%);
}

.desc p{
    margin: 1em;
}

.item:hover .desc{
    transform: translateY(0%);
}

/* Table of Contents */
#toc_container {
    background: #f9f9f9 none repeat scroll 0 0;
    border: 1px solid #aaa;
    display: table;
    font-size: 95%;
    padding: 20px;
    margin: 20px;
    width: auto;
    float: right;
}

.toc_title {
    font-weight: 700;
    text-align: center;
}

#toc_container li, #toc_container ul, #toc_container ul li{
    list-style: outside none none !important;
}

