/* Import Font */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&display=swap');
body {
    font-family: 'Inter', sans-serif;
    background: #121e33;
    /* Dark navy blue background */
    color: #ffffff;
    margin: 0;
    padding: 0;
    text-align: center;
}


/* Header */

header {
    background: #2677bf;
    /* Lighter blue */
    padding: 15px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tt-logo {
    width: 50px;
    height: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #eaf2ff;
    /* Softer white-blue text */
}


/* Project Details Section */

.project-detail {
    padding: 50px 20px;
}

h1,
h2 {
    color: #4fa3d1;
}

p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin: auto;
}


/* Image Gallery */

.image-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
    flex-wrap: wrap;
}

.image-gallery img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    image-rendering: crisp-edges;
}

.image-gallery img:hover {
    transform: scale(1.1);
}


/* Code Block */

pre {
    background: #1e1e1e;
    color: #4fa3d1;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
    overflow-x: auto;
    max-width: 90%;
    margin: auto;
}

code {
    font-family: 'Courier New', monospace;
}


/* Technologies List */

ul {
    list-style: none;
    padding: 0;
    font-size: 1.2rem;
}

ul li {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    margin: 10px auto;
    border-radius: 5px;
    width: 50%;
    transition: 0.3s;
}

ul li:hover {
    background: #4fa3d1;
    color: #ffffff;
}


/* Footer */

footer {
    margin-top: 50px;
    background: #2677bf;
    padding: 15px;
    color: #eaf2ff;
}


/* Back Button */

.back-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #4fa3d1;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.back-btn:hover {
    background: #66b8e6;
}


/* LOADING SCREEN - PING PONG BALL EFFECT */

.loading-screen {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #121e33;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}


/* Ping Pong Ball */

.ping-pong {
    width: 30px;
    height: 30px;
    background: #e0e7eb;
    border-radius: 50%;
    position: absolute;
    animation: pingPongAnimation 1.5s ease-in-out infinite;
}

@keyframes pingPongAnimation {
    0% {
        transform: translateX(-150px);
    }
    50% {
        transform: translateX(150px);
    }
    100% {
        transform: translateX(-150px);
    }
}