
body {
    font-family: 'Fira Code', monospace; 
    background-color:#000000;; 
    color: #ffffff; 
    line-height: 1.6; 
   
}

header {
    background-color: #000000; 
    color: #fff; 
    padding: 10px 0;
    position: fixed;
    top: 0; /
    z-index: 1000; 
    width: 100%
}

header nav ul {
    list-style-type: none; 
    padding: 0; 
    text-align: center; 
}

header nav ul li {
    display: inline; 
    margin: 0 15px; 
}

header nav ul li a {
    color: #ffcc00; 
    text-decoration: none; 
    
}

header nav ul li a:hover {
    text-decoration: underline; 
}


.container {
    width: 80%;
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 60px;
}

.intro, .about {
    margin: 50px 0;
    display: flex; 
    align-items: center; 
}
.education, .experience, .skills .languages {
    margin: 50px 0;
}


.photo {
    flex: 1; 
    min-width: 250px; 
    max-width: 400px; 
    margin: 0 auto; 
}

.photo img {
    width: 100%; 
    height: auto; 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); 
    object-fit: cover; 
}

.info, .details {
    flex: 2; 
    margin-left: 20px; 
}

h1, h2{
    color: #ffcc00;
}

a {
    color: cadetblue;
}
.allp{
        text-align: justify;
    }
.allp1{
        text-align: justify;
        color: rgb(255, 255, 255);
        white-space: pre-line; 

    }
.allp2{
        
        color: rgb(243, 247, 240);
        white-space: pre-line; 

    }

.bold-text{
        font-weight: bold;
        line-height: 1.8;
        
    }
footer {
        text-align: center;
        padding: 20px 0;
        color: #ffffff;
        background-color: #000000;
        position: fixed;
        bottom: 0;
        width: 100%;
    }
    
footer p {
        margin: 0;
        font-size: 14px;
        
    }
    .experience-content {
        /*opacity: 0;
        transition: opacity 1s ease-out;  Forcing experience to be visible */
        opacity: 1 !important;  
        transition: none;  
        color: #ffcc00; 
    }
    
    .experience-content.visible {
        opacity: 1;
    }

.cursor {
    display: inline-block;
    width: 1px;
    background-color: #0dea05; 
    height: 1em; 
    margin-left: 2px; 
    animation: blink 1s step-start infinite; 
   
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #ffcc00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 10;
}

.loading-message {
    font-family: 'Fira Code', monospace;
    font-weight: bold;
}

.case-study {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #1e1e1e;
    border-radius: 8px;
    color: #ffffff;
}

.case-study h3 {
    color: #ffcc00;
}

.image-placeholder {
    margin-top: 15px;
    text-align: center;
    color: #cccccc;
    font-style: italic;
}

.image-placeholder img {
    max-width: 100%;
    border-radius: 5px;
    margin-top: 10px;
}

/*  screens below 768px */
@media (max-width: 768px) {

    
    .container {
        width: 90%;
        padding: 10px;
        padding-top: 70px; 
        padding-bottom: 20px;
    }
    header {
        position:static;
        padding: 10px 0;
        top: auto; 
    }
    header nav ul {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    header nav ul li {
        display: block;
        margin: 10px 0;
        text-align: center;
    }

    /* Stack intro and about sections vertically */
    .intro, .about {
        flex-direction: column; /* Stack items vertically */
        align-items: center;
        text-align: center;
    }

    .photo {
        max-width: 250px; /* Adjust max-width for mobile */
        margin: 0 auto;
    }

    .info, .details {
        margin-left: 0; /* Remove left margin */
        margin-top: 15px; /* Add spacing between text and photo */
    }

    /* Adjust font sizes for mobile readability */
    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.5em;
    }
    p, a, li {
        font-size: 1em;
        line-height: 1.4;
    }

    /* Footer adjustments to prevent overlap */
    footer {
        position: relative;
        padding: 15px 0;
    }
}
