@font-face {
    font-family: "articulat-cf", sans-serif;
    font-weight: 400;
    font-style: bold;
    src: url(https://use.typekit.net/adj5zgd.css);
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

html,
body {
    height: 100%;
    background-color: #0a0a0a;
    color: #fff;
    -ms-overflow-style: none;
    font-family: "articulat-cf";
    padding: 0;
    margin: 0;
}

body::-webkit-scrollbar {
    display: none;
}

.hidden {
    opacity: 0;
    transition: all 1.5s ease;
}

.show {
    opacity: 1;
}

.footer {
    padding: 200px;
    padding-bottom: 5px;
}

.footer-container {
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.socials {
    display: flex;
}

.socials li {
    list-style: none;
}

.socials a {
    padding-left: 20px;
    color: #fff;
    font-size: 2.5rem;
    transition: all 0.2s ease;
}

.socials a:hover {
    color: #cccccc;
}

.landing-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh; 
}

.landing-text p {
    font-size: 2rem;
    padding: 0;
    margin: 30px;
}

.landing-text span {
    font-size: 8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d698c4 0%, #f495b6 25%, #f37361 75%, #f0515e 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientAnimation 3s ease infinite;
}

.about-container {
    padding: 20px;
    background-color: #0e0e0e;
    font-weight: 500;
    margin-bottom: 50px;
}

.a1-content {
    text-align: center;
    font-size: 3rem;
}

.a1-content span, .a2-content span, .footer span {
    font-weight: 600;
    background: linear-gradient(135deg, #d698c4 0%, #f495b6 25%, #f37361 75%, #f0515e 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientAnimation 3s ease infinite;
}

.timeline {
    width: 100%;
}

.a2-content {
    font-size: 3rem;
    text-align: center;
}

.project-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 50px; 
    margin-bottom: 50px; 
}

/* Project Cards */
.card-holder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr 1fr ; 
    row-gap: 20px;
    column-gap: 70px;
    grid-template-areas:
      "p-head p-head"
      "i1 i2"
      "i3 i3"; 
    width: 50%; 
    justify-content: center;
    align-items: center;
}

.p-head {
    grid-area: p-head;
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    margin: 50px 0;
}

.i1 {
    grid-area: i1;
    width: 100%;
    height: 100%;
    background-color: #fc90a2;
    display: flex;
    flex-direction: column;
}

.i2 {
    grid-area: i2;
    width: 100%;
    height: 100%;
    background-color: #6b97f7;
}

.i3 {
    grid-area: i3;
    width: 100%;
    height: 70%;
    background-color: #363636;
}

.card {
    border-radius: 25px;
    color: #fff;
    padding: 25px;
    box-sizing: border-box; 
}

.i-head {
    font-size: 2rem;
    font-weight: 600;
}

hr {
    border-top: 1px solid #fff;
    width: 100%;
}

.i-content, .i-tech {
    font-size: 1.2rem;
}

.i-tech {
    padding-top: 10px;
    font-weight: 600;
}

.tech-container {
    display: flex;
}

.tech-container li {
    list-style: none;
    font-size: 2.5rem;
    padding: 10px;
    padding-top: 0;
}

.i1-learn {
    border-radius: 25px;
    margin-top: 20%;
    text-align: center;
    display: flex;
    line-height: 1.2;
}

.i1-learn a {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    background-color: #88535c;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    transition: all 0.5s ease;
}

.i1-learn a:hover {
    background-color: #f76e85;
    cursor: pointer;
}

/* Second */
.i2-learn {
    border-radius: 25px;
    margin-top: 20%;
    text-align: center;
    display: flex;
    line-height: 1.2;
}

.i2-learn a {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    background-color: #427cf8;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    transition: all 0.5s ease;
}

.i2-learn a:hover {
    background-color: rgb(131, 163, 231);
    cursor: pointer;
}

/* Third */
.tech-container li {
    padding: 0;
}

.tech-container img {
    max-width: 35px;
    max-height: 35px;
}

.tech-container {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    width: 100%; 
}

@media only screen and (max-width: 870px) {
    .landing-text {
        color: #fff;
    }

    .about-container {
        position: relative;
        margin-bottom: 10vh;
    }
    .about-container p {
        font-size: 2rem;
    }

    .project-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 50px; 
    }

    .card-holder {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%; 
    }

    .p-head {
        order: -1;
        margin: 0;
    }

    .card {
        text-align: center;
        width: 70%; 
    }

    .i1-learn, .i2-learn {
        justify-content: center;
    }

    .tech-container {
        justify-content: center;
    }

    .footer{
        padding-left: 10%;
        padding-right: 10%;
    }
}
