@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;700&family=Press+Start+2P&family=Ubuntu+Condensed&display=swap');

:root {
    --index-backgound: rgb(15, 32, 64);
    --color1: rgb(21, 50, 115);
    --color2: rgb(50, 113, 171);
    --color3: rgb(114, 211, 255);
    --color4: rgb(53, 96, 177);
    --color5: rgb(1, 21, 38);
    --color6: rgb(2, 72, 115);
    --color7: rgb(2, 83, 115);
    --color8: rgb(115, 198, 217);
    --color9: rgb(191, 78, 78);
    --color10: rgb(2, 6, 89);
    --color11: rgb(201, 203, 242);
    --color12: rgb(174, 185, 242);
    --color13: rgb(9, 166, 3);
    --color14: rgb(191, 242, 5);
    --font-title: 'Press Start 2P', cursive;
    --font-content: 'Oswald', sans-serif;
    --font-other: 'Ubuntu Condensed', sans-serif;
    --text-color: rgb(201, 203, 242);
}
* {
    box-sizing: border-box;
}

/* General Styles */
body {
    font-family: var(--font-content);
    margin: 0 auto;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: var(--index-backgound) !important;
    color: var(--text-color) !important;
    
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 10vh;
    width: 80%;
    
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background-color: var(--index-backgound);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 1em;
    height: 10vh;
    font-family: var(--font-other);
}

.landing-content {
    width: 100%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--index-backgound);
}

.landing-content h1 {
    position: relative;
    display: inline-block;
    font-size: xx-large;
    color: var(--color3);
    text-shadow: 4px 4px var(--color2), 8px 8px var(--color4);
    font-weight: bold;
    font-family: var(--font-title);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    overflow: hidden; /* Hides the overflow to manage the typing effect */
    animation: typing 4s steps(40, end) forwards; /* Typing effect only */
}

.landing-content h1:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 0.15em;
    background-color: transparent; /* Ensures the cursor starts transparent */
    animation: blink-caret 0.75s step-end infinite; /* Cursor blink animation */
}


/* Typing Animation */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* Cursor Blink Animation */
@keyframes blink-caret {
    from, to { background-color: transparent; }
    50% { background-color: orange; }
}

.landing-content span {
    color: aliceblue;
}

/* Navbar */
.navbar {
    box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--index-backgound);
    padding: 10px 20px;
    z-index: 2;
}

.navbar-brand {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
}

.navbar-nav {
    list-style: none;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 1.8rem;
}

.navbar-nav .nav-item {
    margin-right: 15px;
}

.navbar-nav .nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    padding: 1.4rem;
}

.navbar-nav .nav-link:hover {
    color: #ddd;
    font-weight: bold;
}

.navbar-toggler {
    display: none;
    background-color: #fff;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }

    .navbar-toggler {
        display: block;
    }
}

/* Resume Section */
.resume-section {
    margin-bottom: 2rem;
}

.resume-section-title {
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

.resume-section-title i {
    margin-right: 10px;
}

.resume-image {
    text-align: center;
    padding-top: 2rem;
}

.card-img-top {
    max-height: 250px;
    object-fit: cover;
}

footer{
    background-color:var(--index-backgound);
    font-family: var(--font-other);
}
/* Footer icons */
footer i {
    color: #fff;
}

/* fronend and backend */
.showcase-img {
    max-width: 100%;
    max-height: 150px;
    object-fit: cover;
}
.jumbotron{
    background-color: var( --color4) !important;
    font-family: var(--font-title);
    text-shadow: 4px 4px var(--color2), 8px 8px var(--color14);
    font-size: large;
}
.table{
    font-family: var(--font-other);
    color: var(--text-color);
}
.table tbody td{
    color: var(--text-color);
}
.table thead{
    color: var(--color14);
    font-size: large;
}

/* contract */
.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-container {
    background-color: var(--color2);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    justify-content: center;
    align-items: center;
    
}

.contact-email {
    font-size: 1.25rem;
    margin-top: 10px;
}

.contact-email a {
    color: #333;
    text-decoration: none;
}

.contact-email a:hover {
    color: #007bff;
    text-decoration: underline;
}

.inptFld, .btn {
    width: 100%;
}

.inptFld {
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ddd;
}

.btn {
    background-color: #007bff;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #0056b3;
}

a{
    text-decoration: none;
    color:var(--color5)
}
/* Responsive Styles */
@media only screen and (max-width: 768px) {
    body {
    width: 100%;
    margin: 0;
    }
    main {
        margin-top: 5vh;
        width: 100%;
    }
    
    .landing-content {
        height: 50vh;
    }
    
    .landing-content h1 {
        font-size: medium;
    }
    
    .navbar {
        padding: 10px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 20px;
        padding: 1rem;
    }
    
    .resume-section-title {
        font-size: 1.5rem;
    }
    
    .card-img-top {
        max-height: 200px;
    }
    
    .jumbotron{
        font-size: medium;
    }
    
    .table thead {
        font-size: medium;
    }
    
    .contact-container {
        padding: 20px;
    }
    
    .inptFld {
        padding: 10px;
    }
    
    .btn {
        padding: 8px;
    }

}