body {
    font-family: "Roboto", sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.content-wrapper {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.content-box {
    width: 90%;
    max-width: none;
    height: auto;
    min-height: 80vh;
    margin: 5vh auto;
    padding: 20px;
    overflow-wrap: break-word;
    background-color: black;
    color: white;
    border: 1px solid white;
    position: relative;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .content-wrapper {
        width: 95%;
    }

    .content-box {
        width: 95%;
        padding: 15px;
        min-height: 75vh;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }



    .nav-links a {
        margin-bottom: 5px;
    }



    .profile-container {
        flex-direction: column;
        align-items: center;
    }

    .profile-text, .profile-section {
        width: 100%;
    }
}

.logo-placeholder {
    font-size: 1.5rem;
    color: white;
}

.nav-links {
    margin-bottom: -0.5rem;
    color: white;
    font-family: monospace;
    font-size: 1.2rem;
    display: flex;
    gap: 10px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

.nav-links a:hover {
    text-decoration: underline;
}

.nav-links a.active {
    color: #00ff41 !important;
    pointer-events: none !important;
    text-decoration: none !important; /* Ensure no underline */
}
canvas#Matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#greeting:after {
    content: '|';
    animation: blink-animation 1s steps(2, start) infinite;
}

#greeting {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal; 
    font-size: 38px; 
    width: 100%; 
    max-width: 90vw; 
}

@media (max-width: 768px) {
    #greeting {
        font-size: 0.9rem;
    }
}


@keyframes blink-animation {
    from, to { color: transparent }
    50% { color: black }
}

.logo-placeholder img {
    max-width: 100%;
    max-height: 125px;
}

@media (max-width: 698px) {
    .logo-placeholder img {
        max-height: 40px;
    }
}

.profile-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
}

.profile-text {
    width: 45%;
    padding: 20px;
    color: #fff;
    background-color: #333;
}

.profile-section {
    width: 45%;
    background-color: #1a1a1a;
    color: #fff;
    padding: 10px;
}

.profile-image {
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 20px;
}

.skills-list {
    list-style-type: none;
    padding: 0;
}

.skill {
    margin-bottom: 10px;
}

.skill label {
    display: block;
    margin-bottom: 5px;
    color: whitesmoke;
}

.skill-level {
    background-color: transparent;
    height: 10px;
    position: relative;
    width: 100%;
}

.skill-bar {
    height: 100%;
    position: absolute;
    left: 0;
    background-color: #099FFF;
    box-shadow: 0 0 10px #099FFF;
    transition: width 2s ease;
}

.java { width: 90%; }
.html, .css { width: 90%; }
.python { width: 80%; }
.javascript { width: 60%; }
.cpp, .r { width: 40%; }

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 2px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 2px;
}

input:checked + .slider {
    background-color: #46b96c;
}

input:focus + .slider {
    box-shadow: 0 0 1px #46b96c;
}

input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

.switch + label {
    font-size: 12px;
}

/* .honey-pot {
    display: none !important;
} */


.fixed-size {
    width: 350px; /* Fixed width */
    height: 350px; /* Fixed height */
}

@media (max-width: 768px) {
    .fixed-size {
        width: 100%; 
        height: 50%; 
    }
}

.carousel-inner img {
    width: 100%;         
    height: 400px;       
    object-fit: cover;   
}


.footer {
    background-color: #f8f9fa;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 80%;
    margin: 20px auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-name-year {
    font-family: monospace;
    color: black;
    font-size: 16px;
    flex-grow: 1;
    text-align: center;
}

.footer-links {
    display: flex;
    align-items: center;
}

.footer-links img {
    width: 30px;
    height: 30px;
    margin-left: 10px;
}
