/*Space Background*/

body {
    background-color: #0a1020;
    background-image: 
        radial-gradient(white 1px, transparent 1px),
        radial-gradient(white 1px, transparent 1px);
    background-size: 50px 50px, 100px, 100px;
    background-position: 0 0, 25px 25px;
    font-family: 'Courier New', monospace;
    color: #cdd6f4;
    margin: 0;
    padding:0;
    text-align: center;
}

header{
    background: rgba(13, 27, 62, 0.9);
    backdrop-filter:blur(10px);
    border-bottom: 2px solid #5d87ff;
    padding: 20px;
    position:sticky;
    top: 0;
}

header h1{
    color: #5d87ff;
    letter-spacing: 4px;
    margin: 0;
}

nav a {
    color: #89b4fa;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    border: 1px solid transperent;
    padding: 5px 10px;
}

nav a:hover {
    border: 1px solid #5d87ff;
    background: rgva(93, 135, 255, 0.2);
    color: white;
}

/*Main Panel*/

.hero{
    width: 80%;
    margin: 50px auto;
    background: linear-gradient(135deg, #1e3a8a, #0f1a3d);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #5d87ff;
    box-shadow: 0 0 30px rgba(93, 135, 255, 0.4);
}

#main-heading {
    font-size: 45px;
    color: white;
    text-shadow: 0 0 10px #5d87ff;
}

.intro {
    background: rgba(255,255, 255, 0.95);
    color: #0a1020;
    width: 85%;
    margin: 20px auto;
    padding: 20px;
    border-radius: 12px;
    font-family: Arial, sans-serif;
}

.subtitle {
    color: #5d87ff;
    font-size: 14px;
    margin-top: 20px;
}

/*All Sections*/

section {
    background: rgba(30, 50, 138, 0.6);
    border: 1px solid #5d87ff;
    width: 80%;
    margin: 30px auto;
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

section h2 {
    color: #89b4fa;
    border-bottom: 1px dashed #5d87ff;
    padding-bottom: 10px;
}

/* Project GrId*/

.project-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.project-card {
    background: rgba(10,16,32, 0.8);
    border: 1px solid #5d87ff;
    width: 250px;
    padding: 15px;
    border-radius: 15px;
}

.project-card h3 {
    color: white;
}

section img {
    border-radius: 50%;
    border: 3px solid #5d87ff;
    box-shadow: 0 0 20px rgba(93, 135, 255, 0.6);
}

section a {
    display: inline-block;
    background: #5d87ff;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 10px;
    font-weight: bold;
}

section a:hover {
    background: white;
    color: #0a1020;
}

.log-entry {
    text-align: left;
    background: rgba(0,0,0,0.3);
    padding: 10px 20px;
    border-left: 3px solid #5d87ff;
    margin: 15px 0;
    border-radius: 0 10px 10px 0;
}

.footer {
    margin-top: 36px;
    font-size: 12px;
    opacity: 0.6;
}
.project-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-card.horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
    text-align: left;
}

.project-card.horizontal .text {
    flex: 1;
    padding-right: 20px;
}

.project-card.horizontal img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}
