@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

@font-face {
    font-family: 'CommitMono';
    src: url('fonts/CommitMono.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'spacemono';
    src: url('fonts/spacemono.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Figtree';
    src: url('fonts/Geist-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GiestMono';
    src: url('fonts/GeistMono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    font-size: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Figtree', sans-serif;
    color: white;
    background-color: #0c0c0c;
    letter-spacing: -.1px;
    text-transform: uppercase;
    font-weight: 400;
    word-spacing: 1px;
}

.container {
    max-width: 850px;
    border: 0em solid #171717;
    min-height: 100vh;
    margin: 80px auto 100px auto;
}

.saymyname {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: .3em;
}

.saymyname img {
    border-radius: 100%;
}

.grey {
    color: #737373;
    font-weight: 400;
    font-size: 14px;
    font-family: 'GiestMono';
}


.link:hover {
    color: #007bff;
    font-weight: 700;
}

section {
    padding: 1.3em;
    line-height: 2em;
    border-bottom: 0px solid #171717;
}

section>p>ul {
    line-height: 1.3em;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    color: #007bff;
}

table {
    margin-top: 15px;
    line-height: 1.3em;
    /* Overrides section line-height for table */
}

ul li {
    text-transform: initial;
    margin-left: 10px;
    list-style: none;
    line-height: 1.5em;
    color: #ddddde;
}

.bulletpoints {
    list-style: none;
    padding-left: 0;
}

.bulletpoints li {
    background: url('images/icons/bulletpoint.gif') no-repeat 0 6px;
    background-size: 10px 10px;
    padding-left: 20px;
    min-height: 15px;
    display: flex;
    align-items: flex-start;
}


.codecase {
    background-color: #1e417a;
    font-family: 'GiestMono', 'Figtree', sans-serif;
    color: #e3f1ff;
    font-weight: 600;
    padding: 0em 0.25em;
    border-radius: .33em;
    display: inline-block;
    margin: .04em 0;
}

.aboutmecodecase {
    font-family: 'GiestMono', 'Figtree', sans-serif;
    background-color: #1e7a2d;
    color: #e4ffe3;
    font-weight: 600;
    padding: 0em 0.25em;
    border-radius: .33em;
    display: inline-block;
    margin: .04em 0;
}

.tagscodecase {
    font-family: 'GiestMono', 'Figtree', sans-serif;
    background-color: #601e7a;
    color: #ffe3ff;
    font-weight: 600;
    padding: 0em 0.8em;
    border-radius: .33em;
    display: inline-block;
    margin: .1em -.03em;
}

.logo {
    height: 3em;
}

.icons {
    height: 1.3em;
    margin: 0 .2em;
    vertical-align: sub;
    /* Try middle, baseline, or sub */
}


.techicons {
    padding: 0 2em;
    text-align: center;
    line-height: 1.3;
    font-size: .93em;
    text-transform: initial;
}

.about {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-bottom: 20px;
    /* Add some space at the bottom if needed */
}

.about-text {
    flex-grow: 1;
}

.aboutmelogo {
    width: 100px;
    /* Adjust as needed */
    height: auto;
    position: absolute;
    bottom: 0;
    right: 0;
}

.tags {
    line-height: 2em;
}

.highlight {
    color: #a2cbf8;
}

.projects-section {
    margin: 0 auto;
    line-height: 1em;
}

.projects-heading {
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
    padding-top: 20px;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
}

.project-card {
    border: 0em solid #171717;
    width: 50%;
    aspect-ratio: 3/2;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    transition: background-color 0.3s ease;
}

.project-card:hover .project-overlay {
    background-color: rgba(0, 0, 0, .01);
}

.project-name {
    position: absolute;
    top: 10px;
    left: 10px;
    text-transform: initial;
    background: rgba(0, 0, 0, 0);
    /* Light translucent background */
    backdrop-filter: blur(10px);
    /* Blur effect */
    padding: 3px 6px;
    border-radius: 5px;
    /* Optional: makes the edges smoother */
}


.project-link {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #2b2b2b;
    padding: 3px 7px;
    border-radius: 3px;
    text-align: center;
}

.project-live {
    position: absolute;
    top: 10px;
    right: 70px;
    background-color: #2b2b2b;
    padding: 3px 7px;
    border-radius: 3px;
    text-align: center;
    text-transform: lowercase;
}

.project-link:hover,
.project-live:hover {
    background-color: #373f4d;
}

.tech-tags {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    z-index: 2;
}

.tech-tag {
    color: #939393;
    font-size: .9em;
    background-color: #171717;
    padding: 3px 6px;
    border-radius: 3px;
}

.original {
    text-transform: initial;
}

.currentdatetime {
    font-family: 'GiestMono';
    display: flex;
    gap: 10px;
    text-align: center;
    color: white;
    padding: 10px 20px;
    width: max-content;
    margin: 20px auto;
    text-transform: inherit;
    font-weight: 500;
}

/* Media query for smaller screens */

@media (max-width: 700px) {
    .logo {
        height: 2.7em;
    }

    .techicons {
        padding: 0;
    }
}

@media (max-width: 600px) {
    .project-card {
        width: 100%;
    }

    .aboutmelogo {
        width: 80px;
    }
}

@media (max-width: 500px) {
    .aboutmelogo {
        width: 60px;
    }

    .logo {
        height: 2.4em;
    }
}


.techicon-tooltip {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

.techicon-tooltip .logo {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: transform 0.2s;
}

.techicon-tooltip:hover .logo {
    transform: scale(1.1);
}

.tooltip-content {
    visibility: hidden;
    opacity: 0;
    width: 150px;
    background: #090909;
    color: #fff;
    text-align: left;
    border-radius: 8px;
    padding: 10px 14px;
    position: absolute;
    z-index: 10;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.2s;
    font-size: 0.92em;
    box-shadow: 0 4px 16px rgba(97, 84, 238, 0.351);
    pointer-events: none;
}

.techicon-tooltip:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

.tooltip-content strong {
    display: block;
    margin-bottom: 3px;
    font-size: 0.98em;
    /* Smaller title */
    color: #fff;
    background: #1E417A;
    padding: 2px 6px;
    border-radius: 4px;
    width: fit-content;
}