@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

* {
    padding: 0;
    margin: 0;
    outline: none;
    border: none;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
}

.logo {
    display: none;
}

canvas {
    position: fixed; /* Fixed position to cover the whole screen */
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    z-index: -1; /* Behind other content */
}

img {
    width: 100%;
    display: flex;
}

a {
    text-decoration: none;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #18181b;
}

nav {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

ul {
    display: flex;
}

.nav-logo img {
    max-width: 200px;
    max-height: 200px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.link a {
    position: relative;
    padding-bottom: 0.75rem;
    color: #fff;
}

.link a::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 0;
    bottom: 0;
    left: 0;
    background-color: #77ec76ff;
    transition: all 0.3s ease;
}

.link a:hover::after {
    width: 70%;
}

/* Mobile Menu */

.menu {
    display: none;
    width: 40px;
    height: 40px;
    font-size: 1.75rem;
    color: #77ec76ff;
    background-color: transparent;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        width 0s linear 0.3s;
    z-index: 1;
}

@keyframes rgb-effect {
    0% {
        border-color: red;
    }
    33% {
        border-color: green;
    }
    66% {
        border-color: blue;
    }
    100% {
        border-color: red;
    }
}

@keyframes rgb-text {
    0% {
        color: red;
    }
    33% {
        color: green;
    }
    66% {
        color: blue;
    }
    100% {
        color: red;
    }
}

#btn {
    padding: 1rem;
    margin-right: 1rem;
    font-size: 1rem;
    color: #fff;
    border-radius: 5px;
    background-color: transparent;
    border: #77ec76ff solid 2px;
    animation: rgb-effect 4s linear infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 30px 20px 12px -4px #131315;
}

#btn2 {
    padding: 1rem;
    margin-right: 1rem;
    font-size: 1rem;
    color: #fff;
    border-radius: 5px;
    background-color: transparent;
    border: #77ec76ff solid 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 30px 20px 12px -4px #131315;
}

.btn {
    padding: 1rem;
    margin-right: 1rem;
    font-size: 1rem;
    color: #fff;
    border-radius: 5px;
    background-color: #77ec76ff;
    border: transparent solid 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 30px 20px 12px -4px #131315;
}

.btn:hover {
    background-color: transparent;
    border: #77ec76ff solid 2px;
}

#btn2:hover {
    background-color: #77ec76ff;
    border: transparent solid 2px;
}

#btn:hover {
    background-color: #77ec76ff;
    border: white solid 2px;
    animation: none;
    color: #fff;
    box-shadow: 0px 0px 26px #77ec76ff;
}

#contact-btn:hover {
    background-color: #77ec76ff;
    border: white solid 2px;
    animation: none;
    color: #fff;
    box-shadow: 0px 0px 26px #77ec76ff;
}

.clicked {
    box-shadow: 0 0 0 #000;
    transform: scale(1.03);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 5rem 2rem;
}

header {
    width: 100%;
    padding: 100%;
}

#typewriter {
    overflow: hidden;
    border-right: 2px solid #fff;
    white-space: nowrap;
    margin: 0 auto;
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent;
    }
    50% {
        border-color: #fff;
    }
}

ol li span {
    font-size: 40px;
    color: #fff;

    white-space: nowrap;
    border-right: 0.4rem solid #77ec76ff;
    animation:
        cursor 0.8s step-end infinite,
        type 3s infinite alternate;

    display: inline-block;
    width: 0%;
}

.blur {
    position: absolute;
    box-shadow: 0 0 1000px 50px #77ec76ff;
    z-index: -100;
}
.blur::before {
    display: none;
}

.btn:hover .blur::before {
    display: block;
    content: "</>";
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10rem;
    font-weight: 100;
    line-height: 20rem;
    color: #77ec76ff;
    opacity: 0.2;
    z-index: -100;
    border-radius: 5px;
}

header {
    position: relative;
    padding-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
}

header .content h4 {
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 1rem;
    font-weight: 600;
}

header .content h1 {
    color: #fff;
    margin-bottom: 0;
    font-size: 3rem;
    font-weight: 700;
    line-height: 4rem;
    padding: 0;
}

header .content h1 span {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2.3px #77ec76ff;
}

header .content p {
    margin: 1rem 0 4rem 0;
    color: #ccc;
}

header .image {
    position: relative;
    top: -100px;
    border-radius: 5px;
    filter: drop-shadow(40px 20px 5px #000);
}

header .image::before {
    content: "Allllex";
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10rem;
    font-weight: 400;
    line-height: 20rem;
    color: #77ec76ff;
    opacity: 0.2;
    z-index: -100;
    border-radius: 5px;
}

header #articleImg::before {
    content: "Bloooogs";
    font-size: 10rem;
    top: -45%;
}

header #articleImg img {
    max-width: 350px;
    margin: auto;
}

header #podcast::before {
    content: "Podcast";
    font-size: 10rem;
    top: -45%;
}

header #podcast img {
    max-width: 350px;
    margin: auto;
}

header .image img {
    max-width: 400px;
    margin: auto;
}

.hero-btns {
    display: flex;
    flex-direction: row;
}

@media screen and (width < 357px) {
    .hero-btns {
        flex-direction: column;
        gap: 20px;
    }

    #btn,
    #btn2 {
        text-align: center;
    }
}

section .header {
    margin-bottom: 1rem;
    color: #fff;
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
}

.text {
    display: block; /* Ensures the text content is displayed as block-level */
    width: 100%; /* Ensures full width */
}

.text h1 {
    margin-bottom: 10px; /* Optional: Adds space between the h1 elements */
}

.features {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    background-color: transparent;
}

.skills {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    background-color: transparent;
    color: #fff;
}

.features .card {
    background-color: #27272a;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
    min-width: 100%;
}

.features .card:hover {
    background-color: #323232;
    border-color: #fff;
}

.features .card span {
    display: inline-block;
    background-color: #77ec76ff;
    padding: 2px 9px;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    color: #fff;
    border-radius: 5px;
}

.features .card h4 {
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.features .card p {
    color: #ccc;
    margin-bottom: 1rem;
}

.features .card a {
    color: #fff;
    transition: all 0.3s ease;
}

.features .card a:hover {
    color: #77ec76ff;
}

.sub-header {
    max-width: 600px;
    margin: auto;
    text-align: center;
    color: #ccc;
}

/* Project Divs code */

.header {
    margin: 4rem 0 0 0;
    padding: 0;
}

.pricing {
    margin-top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pricing .card .content {
    /*padding: 3rem 2rem;*/
    background-color: #27272a;
    display: inline-flex;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.btns {
    display: flex;
    justify-content: space-between;
}

#skills .card {
    padding: 3rem 2rem;
    background-color: #27272a;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.card,
#skills .card:hover {
    background-color: #323232;
    border-color: #fff;
}

#skills .tag i {
    color: #77ec76ff;
}
.cards,
.card:hover {
    background-color: #323232;
    border-color: #fff;
}

.pricing .card .content {
    flex: 1;
    margin-bottom: 2rem;
}

.content .content-image {
    width: 100%;
    height: 40%;
    margin: 20% 10px 0 0;
    padding: 0;
}

.pricing .card h4 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
}

.pricing .card,
#skills .card h3 {
    color: #fff;
    padding-bottom: 0rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 2px dashed #fff;
}

/* Updated CSS */
.content {
    display: flex;
    align-items: center;
}

.left-section {
    flex: 1; /* This will take up the entire left side */
    margin-right: 0px; /* Adjust the spacing between the image and text */
}

.left-section img {
    width: 200%; /* Ensure the image takes the full width of its container */
    height: auto; /* Maintain aspect ratio */
    max-width: 200%; /* Ensure the image doesn't exceed its original size */
}

.right-section {
    flex: 2; /* This will take up the larger portion on the right */
}

/* Ensure each tag takes up full width */
.desc {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.desc .tag {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin-bottom: 5px; /* Add some spacing between tags */
}

.pricing .card p {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 100;
    margin: 0;
    width: 50%;
}

.pricing .card p i {
    color: #ccc;
    font-size: 1.2rem;
    margin-right: 0.3rem;
}

.pricing .card p i:hover {
    background-color: #77ec76ff;
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
}

.pricing .card a {
    color: #fff;
    background-color: transparent;
    border: 2px solid #fff;
}

.pricing .card a:hover {
    background-color: #77ec76ff;
    border-color: #77ec76ff;
}

footer {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-direction: row;
}

footer .column .logo {
    max-width: 100px;
    margin-bottom: 2rem;
}

footer .column p {
    color: #ccc;
    margin: 2rem 0 0.5rem 0;
}

footer .column .socials {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

footer .column .socials a {
    color: #ccc;
    border: 1px solid #ccc;
    padding: 5px 10px;
    font-size: 1.25rem;
    border-radius: 100%;
    transition: all 0.3s ease;
}

footer .column .socials a:hover {
    color: #fff;
    background-color: #77ec76ff;
    border-color: #77ec76ff;
}

footer .column h4 {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
}

footer .column > a {
    display: block;
    color: #ccc;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

footer .column > a:hover {
    color: #77ec76ff;
}

@media screen and (width < 900px) {
    footer {
        flex-direction: column;
    }
}

.copyright {
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
}

.contact-form {
    max-width: 200px;
    margin: 50px 0 0 0;
    padding: 0px;
}

.form-input,
.form-textarea,
.form-submit {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
}

.form-input,
.form-textarea {
    background-color: #fff;
}

.form-submit {
    background-color: #77ec76ff;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.form-submit:hover {
    background-color: #6dd06cff;
}

/* Tablet/Phone section */

/* NOTE */

@media (width < 900px) {
    .nav-links {
        display: none;
        font-size: 0.75rem;
    }

    .link {
        padding: 0.5rem 0;
    }

    .menu {
        display: block;
    }

    header {
        grid-template-columns: repeat(1, 1fr);
    }
    header .image {
        grid-area: 1/1/2/2;
    }
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing {
        grid-template-columns: repeat(2, 1fr);
    }
    footer {
        grid-template-columns: 1fr 200px;
    }
}

@media (width < 600px) {
    header .image::before {
        display: none;
    }

    .features,
    .skills {
        grid-template-columns: repeat(1, 1fr);
    }

    .pricing {
        grid-template-columns: repeat(1, 1fr);
    }

    #contact-btn {
        white-space: nowrap;
    }
}

/* Projects */

.list {
    display: flex;
    margin: 10px 0;
    margin-top: 5px;
    flex-wrap: wrap;
}

.list .tag {
    margin: 0 5px;
    margin-bottom: 15px;
}

.list .tag i {
    color: #106df6;
}

.Project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 5rem;
    gap: 5rem;
    margin: 4.5rem 0;
    color: #eee;
    width: 98%;

    box-shadow: 0px 0px 1rem 0 rgba(0, 0, 0, 0.2);

    box-shadow: 15px 20px 2rem #000;
    border-radius: 5px;
    background-color: rgba(14, 14, 14, 0.5);

    backdrop-filter: blur(5px);
    transition: all 0.2s ease;
}

.Project:hover {
    box-shadow: 0 0 0 #000;
    transform: scale(1.03);
}

@media (width >= 1024px) {
    .Project {
        border: solid #eee 2px;
        padding: 70px 30px;
        border-radius: 10px;
    }

    .Project__info {
        transform: translateY(-8px);
        order: 1;
    }

    .even .Project__info {
        order: 2;
    }

    .even .Project__screens {
        order: 1;
    }
}

@media (max-width: 1023px) {
    .Project {
        grid-template-columns: 80vw;
        grid-template-rows: auto auto;
        grid-gap: 4rem;
        gap: 4rem;
        justify-content: center;
        margin: 10rem 0;
    }
}

.Project__screens {
    position: relative;
}

@media (max-width: 1032px) {
    .Project__screens {
        order: 1;
    }
}

.Project__desktopImg {
    position: relative;
    z-index: 2;
    width: 100%;
}

.lower-img {
    bottom: -50px;
}

.Project__desktopImg,
.Project__mobileImg {
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.4);
}

.Project__mobileImg {
    position: absolute;
    z-index: 3;
    bottom: 30px;
    right: 0;
    width: 20%;
    border-radius: 10px;
}

.Project__background {
    position: absolute;
    opacity: 0.2;
}

.Project__header {
    margin-bottom: 1rem;
}

@media (max-width: 450px) {
    .Project__header {
        font-size: 1.75rem;
    }
}

.Project__content {
    margin-bottom: 2rem;
    line-height: 1.3;
}

.Project__siteBtn {
    display: inline-block;
    color: #fff;
    padding: 0.5rem 1.5rem;
    font-weight: 450;
    border: solid 3px transparent;
    background-color: #106df6;
    opacity: 1;
    transform: none;
    transition: ease-in-out 0.5s all;
}

#afrosoft .Project__siteBtn {
    background-color: #81689e;
    color: #fff;
}

#afrosoft .tag i {
    color: #81689e;
}

#internetai .Project__siteBtn {
    background-color: #feb748;
}

#internetai .tag i {
    color: #feb748;
}

#rez .Project__siteBtn {
    background-color: #39811d;
}

#rez .tag i {
    color: #39811d;
}

#rez .Project__siteBtn:hover {
    background: transparent;
    border-color: #39811d;
}

#phemy .Project__siteBtn {
    background-color: #34b84d;
}

#phemy .tag i {
    color: #34b84d;
}

#phemy .Project__siteBtn:hover {
    background: transparent;
    border-color: #34b84d;
}

#afrosoft .Project__siteBtn:hover {
    background: transparent;
    border-color: #81689e;
    color: #81689e;
}

#sound .Project__siteBtn {
    background-color: yellow;
    color: #000;
}

#sound .tag i {
    color: yellow;
}

#internetai .Project__siteBtn:hover {
    background: transparent;
    border-color: #c70000;
}

#sound .Project__siteBtn:hover {
    background: transparent;
    border-color: yellow;
    color: #fff;
}
.Project__figmaBtn,
.Project__githubBtn,
.Project__siteBtn {
    border-radius: 10px;
    margin-right: 0.5rem;
    box-shadow: 0 4px 12px -2px #131315;
}

.Project__figmaBtn,
.Project__githubBtn {
    background-color: #8e8f8e;
    display: inline-flex;
    justify-content: center;
    border-radius: 10px;
    align-items: center;
    padding: 0.5rem;
    height: 3rem;
    width: 2.22222rem;
    transform: translateY(3px);
    box-shadow: 0 4px 12px -2px #131315;
    color: #000;
}

.Project__icon {
    height: 1rem;
}

.Project__linkWrapper {
    display: inline-block;
}

/* Spark Micro-animation */
canvas {
    border: 2px solid #000;
}

/* -------------------------- Article Cards --------------------------- */

#matchmaker {
    border: none;
}

#matchmaker:hover {
    background-color: transparent;
}
