body{
    background-color: #000000;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
    /* height: 100%; */
}

* {
    text-decoration: none;
    color: white;
    margin: 0%;
    padding: 0%;
}


header {
    position: relative;
    z-index: 999;
}

nav {
    position: fixed;
    top: 10px; /* leave some space from top */
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    background-color: rgba(88, 88, 88, 0.22);
    border: 1px solid #ffffff55;
    border-radius: 100px;
    width: 50%;
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    margin-top: 10px; /* spacing */
}



.nav-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

nav ul {
    display: flex;
    justify-content: center;
}

nav ul li {
    list-style: none;
    margin: 0 23px;
    font-size: 1rem;
}

nav ul li a svg {
    width: 23px;
    height: 23px;
    padding: 0;
    transform: scale(1);
    transition: all 0.3s ease;
    border-radius: 30px;
}

nav ul li a:hover svg {
    padding: 0 6px;
    transform: scale(1);
    transition: all 0.3s ease;
    background-color: #ffffff34;
}

.tooltip {
    position: absolute;
    top: 185%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    color: #000;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.nav-icon:hover .tooltip {
    opacity: 0.9;
    transform: translateX(-50%) translateY(0);
}

.tooltip::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}

.vertical {
    display: block;
    width: 1.05px;
    background-color: gray;
    height: 30px;
}

.left {
    font-size: 1.5rem;
}

.firstSection {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 100px 0;
}

.firstSection>div {
    width: 30%;
}

.leftSection {
    font-size: 2rem;
}

.rightSection img {
    width: 90%;
}

.purple {
    color: rgb(148, 114, 190);
}

.gray {
    color: rgb(221, 221, 221);
    text-align: center;
}

.secondSection {
    width: 60%;
    margin: auto;
}

hr {
    border: 0;
    background-color: rgb(148, 114, 190);
    height: 2px;
    margin: 40px 60px;
}

h1 {
    margin: 20px 0;
}

p {
    font-size: 0.85rem;
}

.card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.item,
.item2 {
    margin: 30px;
    padding: 25px;
    background-color: #000000;
    border: 1px solid #ffffff46;
    border-radius: 6px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.item {
    width: 75%;
    height: auto;
}

.item2 {
    width: 30%;
    height: 48vh;
}



@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.item::after,
.item::before,
.item2::after,
.item2::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(from var(--angle),
            rgb(255, 111, 0),
            white,
            rgb(77, 0, 128),
            rgb(255, 111, 0));
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 2px;
    border-radius: 6px;
    animation: 5s spin linear infinite;
}

.item::before,
.item2::before {
    filter: blur(1.5rem);
    opacity: 0.5;
}

@keyframes spin {
    from {
        --angle: 0deg;
    }

    to {
        --angle: 360deg;
    }
}

/* .item:hover,
.item2:hover {
    transform: translateY(-5px) scale(1.01);
} */

/* Glow effect */

.item .hover-glow,
.item2 .hover-glow {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(
    250px circle at var(--x, 50%) var(--y, 50%),
    rgba(255, 255, 255, 0.125), 
    transparent 70%
  );
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.2s ease;
}


.item:hover .hover-glow,
.item2:hover .hover-glow {
  opacity: 1;
}



/* Glow effect ends here */



.item2.data a span {
    background-color: white;
    color: #000;
}

.data {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: #00000000;
    width: fit-content;
    margin-top: 20px;
    padding: 5px;
}

.data span {
    text-align: center;
    font-size: 13px;
    justify-content: center;
    padding: 2px 8px;
    border: 1px solid #fff;
    border-radius: 6px;
    margin: 0 4px;
}

.data span:hover {
    background-color: white;
    color: black;
    cursor: pointer;
}

#but {
    background-color: rgb(255, 255, 255);
    color: #000000;
}

#color {
    stroke: #0000000c;
    background-color: #000000df;
    border-radius: 20px;
}

#but:hover {
    background-color: rgb(218, 218, 218);
}

/* Third section About */
.thirdSection {
    width: 50%;
    background-color: rgb(0, 0, 0);
    margin: auto;
    text-align: center;
    justify-content: center;
    align-items: center;
}

div.intro {
    font-size: 1.3rem;
    text-align: left;
}

.p2 {
    color: rgb(191, 138, 255);
}

.data2 {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.stack.data2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: rgb(255, 255, 255);
    width: 80%;
    margin-top: 20px;
    padding: 5px;
}

.data2 span {
    text-align: center;
    font-size: 13px;
    justify-content: center;
    color: #000;
    padding: 2px 8px;
    background-color: white;
    border: 1px solid #fff;
    border-radius: 6px;
    margin: 0 4px;
}

.data2 span:hover {
    background-color: rgb(218, 218, 218);
    color: black;
    cursor: pointer;
}

/* Fourth section contact info */
.fourthSection {
    width: 50%;
    background-color: rgb(0, 0, 0);
    margin: auto;
    text-align: center;
    justify-content: center;
    align-items: center;
}

/* Button from Uiverse.io */
.cssbuttons-io {
    position: relative;
    font-family: inherit;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.05em;
    border-radius: 0.8em;
    cursor: pointer;
    border: none;
    background: linear-gradient(to right, #58585837);
    color: ghostwhite;
    overflow: hidden;
}

.cssbuttons-io svg {
    width: 1.2em;
    height: 1.2em;
    margin-right: 0.5em;
}

.cssbuttons-io span {
    position: relative;
    z-index: 10;
    transition: color 0.4s;
    display: inline-flex;
    align-items: center;
    padding: 0.8em 1.2em 0.8em 1.05em;
}

.cssbuttons-io:hover {
    background: linear-gradient(to right, #7c25d397);
}

.connect {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 50px 0;
}

/* Footer */
.footer {
    width: 50%;
    background-color: rgb(0, 0, 0);
    margin: auto;
    margin-top: 100px;
    margin-bottom: 60px;
    text-align: left;
    justify-content: center;
    align-items: center;
}


/* Media Queries */

/* for Tablets  */
@media (max-width: 992px) {
    nav {
        width: 80%;
    }

    .firstSection {
        flex-direction: column;
        margin: 80px 0;
    }

    .firstSection > div {
        width: 80%;
        text-align: center;
    }

    .leftSection {
        font-size: 1.5rem;
    }

    .rightSection img {
        width: 100%;
        margin-top: 20px;
    }

    .secondSection,
    .thirdSection,
    .fourthSection,
    .footer {
        width: 80%;
    }

    .item,
    .item2 {
        width: 80%;
        margin: 20px 0;
    }

    .stack.data2 {
        width: 100%;
    }

    .connect {
        flex-direction: column;
    }
}

/* for mobile  */
@media (max-width: 576px) {
    nav {
        width: 95%;
        height: 50px;
        border-radius: 20px;
        font-size: 0.8rem;
    }

    nav ul li {
        margin: 0 10px;
    }

    nav ul li a svg {
        width: 20px;
        height: 20px;
    }

    .leftSection {
        font-size: 1.2rem;
    }

    .tooltip {
        font-size: 10px;
        padding: 2px 6px;
    }

    .secondSection,
    .thirdSection,
    .fourthSection,
    .footer {
        width: 90%;
    }

    .item,
    .item2 {
        width: 100%;
        margin: 10px 0;
    }

    .data span,
    .data2 span {
        font-size: 11px;
        padding: 2px 6px;
    }

    .cssbuttons-io span {
        padding: 0.6em 1em;
        font-size: 0.9rem;
    }
}
