/* button color #6e57e0 */
/* color: #f2f1f3; text color: main ; */
/* second text color exampple for p #bcbac4 */
/* input background color #211d35 */
/* background-color: #191627; */
/* hover color #5a43cb */
/* footer/card  color #100e1b */

/* applicable to all */

:root {
    --background: #191627;
    --footer-card-color: #100e1b;
    --button-color: #6e57e0;
    --hover-color: #5a43cb;
    --text-color: #f2f1f3;
    --subtext-color: #bcbac4;
    --input-background-color: #211d35;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html,
body {
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--background);
    color: var(--text-color);
}

/* navbar section */


.navbar {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 18vh;
    min-height: fit-content;
    /* border: 2px solid red; */
}

.nav-link ul {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.logo a {
    font-size: 24px;
    text-decoration: none;
    color: var(--text-color);
}

.logo a:hover {
    color: var(--hover-color);
}


.hamburger-icon img {
    width: 40px;
}

.nav-link {
    position: absolute;
    top: 5rem;
    right: 3rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    background-color: var(--input-background-color);
}

.nav-link.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    width: 150px;
    height: 170px;
    justify-content: center;
    align-items: center;
    border-radius: 2rem;
}



.nav-link ul li {
    list-style: none;
}


.nav-link ul li a {
    text-decoration: none;
    font-size: 18px;
    color: var(--text-color);
}

.nav-link ul li a:hover {
    color: var(--hover-color);
}

/* introduction section */

.introduction {
    /* border: 2px solid yellow; */
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: fit-content
}

.introduction p:first-of-type {
    font-size: 16px;
    color: var(--subtext-color);
}


.introduction p:last-of-type {
    font-size: 36px;
    color: var(--subtext-color);
    margin-bottom: 12px;
}

.introduction h1 {
    font-size: 45px;
}

.intro-btn {
    display: flex;
    gap: 12px;
}

.intro-btn button {
    font-weight: 600;
    transition: all 300ms ease;
    padding: 16px 18px;
    border-radius: 2rem;
    background-color: var(--button-color);
    color: var(--text-color);
    border: none;
}

.intro-btn button:hover {
    background-color: var(--hover-color);
    transition: all 300ms ease;
    cursor: pointer;
}


.inner-intro {
    text-align: center;
    align-items: center;
}


.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-left: 10px;
    margin-top: 8px;
}


.social-icon img {
    width: 28px;
}

.social-icon img:hover {
    cursor: pointer;
}

/* aboutme section */

.aboutme {
    /* border: 2px solid red; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: 15px;
    min-height: fit-content
}

.aboutme-first {
    text-align: center;
    align-self: center;
}

.aboutme-first p {
    text-align: center;
    margin-bottom: 14px;
    font-size: 16px;
    color: var(--subtext-color);
}

.aboutme-first h2 {
    font-size: 2.5rem;
    text-align: center;
}


.aboutme-second {
    /* border: 2px solid red; */
    height: 80%;
    margin-top: 20px;
}

.aboutme-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.aboutme-para {
    word-spacing: 2px;
    color: var(--subtext-color);
    margin: 0 1rem;
}

.aboutme-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.aboutme-img img {
    width: 180px;
    border-radius: 2rem;
    object-fit: cover;
}

.aboutme-boxes {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 2rem;
}


.aboutme-box1 {
    /* border: 2px solid purple; */
    border-radius: 2rem;
    background-color: var(--input-background-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 90vw;
    height: 30vh;
    margin: auto;
}

.aboutme-box1 p {
    color: var(--subtext-color);
}

.aboutme-box2 {
    /* border: 2px solid purple; */
    border-radius: 2rem;
    background-color: var(--input-background-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 90vw;
    height: 30vh;
    margin: auto;
}


.aboutme-box2 p {
    color: var(--subtext-color);
}


.aboutme-box1 img {
    width: 38px;
}

.aboutme-box2 img {
    width: 38px;
}

.arrow {
    display: none;
}



/* experience section */

.experience {
    /* border: 2px solid red; */
    height: 100%;
    min-height: fit-content;
    padding-top: 30px;
}

.exp-first {
    /* border: 2px solid yellow; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    gap: 6px;
    width: 85vw;
    margin: auto;
}

.exp-first p {
    font-size: 16px;
    color: var(--subtext-color);
    text-align: center;
    align-self: center;
}

.exp-first h2 {
    font-size: 2.5rem;
    text-align: center;
    align-self: center;
}

.exp-sec {
    /* border: 2px solid green; */
    height: 100%;
    width: 100%;
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.exp-box1 {
    background-color: var(--input-background-color);
    height: 100%;
    width: 90vw;
    border-radius: 2rem;
    margin: auto;
    padding-bottom: 1rem;
}

.exp-box2 {
    background-color: var(--input-background-color);
    height: 100%;
    width:90vw;
    border-radius: 2rem;
    margin: auto;
    padding-bottom: 1rem;
}

.exp-name {
    text-align: center;
    font-size: 1.8rem;
    padding-top: 30px;
    align-self: center;
    margin-bottom: 2rem;
    color: var(--subtext-color);
}

.article {
    display: flex;
    text-align: initial;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: space-around;
}

article p {
    color: var(--subtext-color);
}

article {
    display: flex;
    width: 14rem;
    gap: 1rem;

}

article img {
    width: 35px;
    height: 35px;
}

article img:hover {
    cursor: pointer;
}


.exp-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.exp-arrow {
    display: none;
}


/* my project section */

.myproject {
    /* border: 2px solid red; */
    height: 100vh;
    min-height: fit-content;
    margin-top: 3rem;
}


.mypro-first {
    /* border: 2px solid white; */
    text-align: center;
    align-items: center;
}

.mypro-first p {
    font-size: 18px;
    color: var(--subtext-color);
}

.mypro-first h3 {
    font-size: 3rem;
    margin-top: 10px;
}

.mypro-sec {
    /* border: 2px solid purple; */
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.mypro-box {
    /* border: 2px solid white; */
    background-color: var(--input-background-color);
    width: 90vw;
    height: 100%;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    padding-bottom: 2rem;
}


.mypro-img {
    border: 2px solid var(--input-background-color);
    height: 40vh;
    width: 80vw;
    margin-top: 2rem;
    border-radius: 2rem;
}

.mypro-img img {
    width: 100%;
    height: 100%;
    border-radius: 2rem;
    object-fit: cover;
}

.mypro-sec h2 {
    margin-top: 1rem;
    font-size: 1.65rem;
}

.mypro-btn {
    display: flex;
    margin-top: 1.2rem;
    gap: 12px;
}

.mypro-btn button {
    padding: 18px 35px;
    border-radius: 2rem;
    font-weight: 700;
    background-color: var(--button-color);
    border: none;
    color: var(--text-color);
}

.mypro-btn button:hover {
    background-color: var(--hover-color);
    cursor: pointer;
}

.livedemo-btn {
    padding: 18px 25px !important;
    background-color: var(--button-color);
}

.mypro-arrow {
    display: none;
}

/* Contact me section */

.contact {
    /* border: 2px solid blue; */
    min-height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.contact p {
    font-size: 16px;
    color: var(--subtext-color);
}

.contact h3 {
    font-size: 2.5rem;
}

.contact-info-upper-container {
    /* border: 2px solid red; */
    width: 90vw;
    height: 14vh;
    border-radius: 1.5rem;
    margin-top: 2rem;
    display: flex;
    background: var(--input-background-color);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}


.contact-info-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info-container img {
    width: 22px;
}

.contact-info-container img:hover {
    cursor: pointer;
}

.contact-info-container a {
    text-decoration: none;
    color: var(--subtext-color);
    font-size: 16px;
}

.contact-info-container a:hover {
    color: var(--hover-color);
}

/* Footer section */

footer {
    /* border: 2px solid red; */
    height: 46vh;
}

.footer-nav {
    /* border: 2px solid white; */
    display: flex;
    height: 40vh;
    justify-content: center;
    align-items: center;
}

.footer-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.footer-nav ul li a {
    color: var(--text-color);
    font-size: 18px;
    text-decoration: none;

}

.footer-nav ul li a:hover {
    color: var(--hover-color);
}

footer p {
    text-align: center;
    color: var(--subtext-color);
}

