/* ===================
      REUSABLE - COMPONENTS
======================*/
.defaultBg {
    border: 2px solid #2d304a;
    background: linear-gradient(124deg, #090f39, #0c0e23);
}
.btn-primary {
    font-size: 1rem;
    padding: 0.98rem 1.8rem;
    border-radius: 0.6rem;
    color: var(--color-white);
    font-weight: 500;
    border: 2px solid #2d304a;
    background: linear-gradient(124deg, #090f39, #0c0e23);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 400ms ease;
}
.btn-primary img {
    width: 0.7rem;
    margin-left: 0.6rem;
}
.btn-primary:hover {
    animation: btnAnimate 300ms 100ms;
    box-shadow: 0 0 13px -1px #723a3aab;
}
.btn-primary:hover img {
    animation: arrowAnimate 700ms 200ms ease-in-out;
}

@keyframes arrowAnimate {
    0%, 100% {
        transform: translate(0);
    }
    25% {
        transform: translate(3px,-3px)
    }
    75% {
        transform: translate(-1px,1px)
    }
}

@keyframes btnAnimate {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}


/* ===================
      MOBILE-HEADAR
======================*/
.header {
    padding: 1rem 0;
    z-index: 100;
    transition: 400ms ease-out;
}
.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 0 17px -6px #b7b7b7;
    background: linear-gradient(124deg, #090f39, #0c0e23);
}
.logo {
    z-index: 99;
}
.logo img {
    width: 55px;
    transition: 400ms ease;
}
.scrolled .logo img {
    width: 50px;
}
.menuBtn {
    position: relative;
    height: 20px;
    width: 35px;
}
.menuBtn span {
    position: absolute;
    top: 0;
    width: 100%;
    display: block;
    height: 2px;
    transition: 350ms ease-out;
    background: var(--color-off-white);
}
.menuBtn span:nth-child(2) {
    top: 10px;
}
.menuBtn span:last-child {
    top: 20px;
}
.menuBtn.animate span:nth-child(2) {
    opacity: 0;
}
.menuBtn.animate span:first-child {
    transform: rotate(45deg);
    top: 10px;
}
.menuBtn.animate span:last-child {
    transform: rotate(-45deg);
    top: 10px;
}


/** Mobile Menu **/
.navbar {
    position: fixed;
    height: 100vh;
    width: 100%;
    top: 0;
    left: 0;
    padding-top: 5.5rem;
    transition: 400ms ease-out;
    transform: translateX(-100%);
    background: linear-gradient(124deg, #090f39, #0c0e23);
}
.navbar.active {
    transform: translateX(0);
}
.navbar-items li:first-child .navbar-link {
    border-top: 1px solid rgb(73 67 96 / 68%);
}
.navbar-link {
    font-weight: 500;
    position: relative;
    padding: 1rem 2.1rem;
    display: block;
    color: var(--color-off-white);
    font-size: clamp(16px, 1.25vw, 17px);
    border-bottom: 1px solid rgb(73 67 96 / 68%);
}
.navbar-link.active {
    color: var(--color-white);
}
.navbar-link.active::before {
    content: '';
    position: absolute;
    height: 0.2rem;
    width: 0.2rem;
    background: #fff;
    border-radius: 50%;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}


/* ===================
        HERO
======================*/
.hero-pills li {
    padding: 0.3rem 0.825rem;
    font-size: 0.7rem;
    border-radius: 2rem;
    color: #fff;
    border: 1px solid rgb(145, 145, 145);
}

/* ===================
    PERSONAL - ABOUT
======================*/
.personal-box {
    padding: 0.75rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    background: linear-gradient(135deg, #303a50c9 0%, #1c1f46 100%);
}
.info-tag {
    color: #afafaf;
    letter-spacing: 1px;
    font-size: 0.75rem;
    text-transform: uppercase;
}
.info-title {
    line-height: 1.3em;
    margin: 0.6rem 0 0.8rem;
}
.infoVideo {
    margin-top: 1.25rem;
    object-fit: cover;
    object-position: top;
    height: 12rem;
    width: 100%;
    border-radius: 0.45rem;
}

.stack-list li {
    color: #fff;
    font-size: 0.875rem;
    padding: 0.85rem 0.9rem;
    border-radius: 0.4rem;
    position: relative;
    background: #303a50c9;
}
.stack-list li::after {
    content: '';
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    height: 0.35rem;
    width: 0.35rem;
    background: #ae27d0;
    border-radius: 50%;
    animation: pulse 1.5s infinite linear;
}

.codeBox {
    font-weight: 300;
    font-family: 'Times New Roman', Times, serif;
}
.timeZones li {
    background: #303a50c9;
    color: #fff;
    font-size: 0.75rem;
    border-radius: 2rem;
    padding: 0.4rem 1.25rem;
}

/* ===================
      WORK EXPERIENCE
======================*/
.project-card {
    padding: 0.6rem;
    transition: 250ms ease-out;
    border-radius: 0.8rem;
    border: 2px solid #2d304a;
    background: linear-gradient(124deg, #090f39, #0c0e23);
}
.skillIcon {
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    border: 1px solid #2d304a;
    background: linear-gradient(124deg, #090f39, #0c0e23);
    display: flex;
    align-items: center;
    justify-content: center;
}
.skillIcon:not(:first-child) {
    margin-left: -5px;
}
.skillIcon img {
    max-width: 0.85rem;
}
.skillIcon.css img {
    max-width: 1rem;
}
.external-link {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-light-purple);
}
.external-link img {
    margin-left: 0.5rem;
    width: 0.7rem;
}

/* ===================
      WORK EXPERIENCE
======================*/
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 1px;
    background: rgba(139,92,246,0.25);
    transform: translateX(-50%);
}

/* ===================
      MY-APPROACH
======================*/

.approachBox {
    border-radius: 1rem;
    padding: 6rem 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    background: linear-gradient(135deg, #c56dd28c 0%, #1c1f46 100%);
}

/* ===================
        FOOTER
======================*/
.social-icons a {
    transition: 200ms ease;
    transform: scale(1);
}
.social-icons a:hover {
    transform: scale(1.05);
}


/* ===================
        WORK PAGE
======================*/
.filterBtn {
    font-size: 0.9rem;
    border-radius: 0.3rem;
    padding: 0.9em 1em;
    color: #e16e6e;
    background: transparent;
    border: 1px solid #e16e6e;
    transition: 300ms ease;
    cursor: pointer;
}
.filterBtn.active, 
.filterBtn:hover {
    background: #e16e6e;
    color: #fff;
}
.viewText-mob {
    color: #fcaa3e;
    font-size: 0.8rem;
    text-align: center;
    font-weight: 500;
    text-decoration: underline;
    position: relative;
    top: 0.6rem;
    margin-top: 0.4rem;
}
.modal-wrapper {
    z-index: 999;
    transition: 200ms ease;
    opacity: 0;
    pointer-events: none;
    background: #464646;
}
.modal-wrapper.active {
    opacity: 1;
    pointer-events: auto;
}
.template-img {
    width: 600px;
    max-width: 100%;
}
.closeModal {
    position: fixed;
    top: 1rem;
    right: 0.25rem;
    cursor: pointer;
    height: 1.8rem;
    width: 1.8rem;
    display: flex;
    background: #fff;
    padding: 0.15rem;
    border-radius: 0.4rem;
}