:root {
    --hf-clr: #380054;
    --f-clr: #190025;
    --bg-clr: #111111;
    --txt-clr: white;
    --blk-clr: black;
    --link-clr: #ccc;
    --clr-wite: white;
    --primary-pad: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Maven Pro", sans-serif;
}

html,
body {
    font-family: "Maven Pro", sans-serif;
    overflow-x: hidden;
}

body {
    width: min(1600px, 100%);
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
}

main {
    width: min(1600px, 100%);
    min-height: calc(100vh - 55px - 55px - 146px);
    min-height: calc(100dvh - 55px - 55px - 146px);
    margin: 0 auto;
    background: var(--bg-clr);
}

header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--primary-pad);
    width: 100%;
    height: 55px;
    background-color: var(--hf-clr);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
    z-index: 5;
}

header .logo {
    text-decoration: none;
    color: var(--txt-clr);
    font-size: 18px;
    font-weight: 800;
    transform: scaleY(1.2);
    padding: 3px 8px;
    padding-left: 0;
    border-right: 2px solid transparent;
    border-left: 2px solid transparent;
    border-radius: 5px;
    cursor: default;
}

nav ul {
    display: flex;
}

nav ul li {
    list-style: none;
    margin: 0 5px;
}

nav ul li a {
    text-decoration: none;
    color: var(--txt-clr);
    padding: 2px 5px;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    border-radius: 5px;
    font-size: clamp(14px, 2vw, 16px);
}

nav ul li a:last-child {
    margin-right: -3px;
}

nav ul li a:hover {
    color: var(--link-clr);
}

header .menu-btn {
    display: none;
    font-size: 24px;
    padding: 5px;
    color: var(--txt-clr);
    cursor: pointer;
}

.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 55px);
    min-height: calc(100dvh - 55px);
    padding: 0 var(--primary-pad);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.hero h5 {
    color: var(--txt-clr);
    font-weight: 700;
    font-size: clamp(14px, 2vw, 16px);
}

.hero .main-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.hero .main-name h1,
.hero .main-name strong {
    /* flex-wrap: wrap; */
    color: var(--txt-clr);
    font-weight: 500;
    font-size: clamp(52px, 5vw, 62px);
    text-wrap: wrap;
    line-height: 0.8;
    margin-bottom: 5px;
    transform: scaleY(1.1);
}

.hero h1:nth-child(3) {
    color: var(--txt-clr);
    font-weight: 500;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.2;
    transform: scaleY(1.2);
    margin-bottom: 5px;
}

.hero .main-name strong,
.hero strong {
    font-weight: 900;
}

.hero p {
    color: var(--txt-clr);
    font-size: clamp(16px, 3vw, 22px);
    text-align: center;
    width: 770px;
    max-width: 100%;
    margin-bottom: 10px;
}

.hero .btns {
    display: flex;
    gap: 10px;
}

.hero .btns a {
    border: 1px solid var(--txt-clr);
    border-radius: 5px;
    padding: 7px 15px;
    text-decoration: none;
    color: var(--txt-clr);
    background: var(--hf-clr);
    font-size: clamp(16px, 3vw, 22px);
    font-weight: 400;
    transition: 300ms;
}

.hero .btns a:nth-child(1) {
    background: var(--hf-clr);
}

.hero .btns a:nth-child(2) {
    background: transparent;
}

.hero .btns a:nth-child(2):hover {
    background: var(--hf-clr);
}

.hero .btns a:active,
.hero .btns a:nth-child(2):active {
    background: color-mix(in srgb, var(--hf-clr) 80%, transparent);
    transition: 0s;
}

.hero .social {
    display: flex;
    margin: 10px 0px;
}

.hero .social a {
    padding: 7px;
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;
    border-top: 1px solid var(--txt-clr);
    border-bottom: 1px solid var(--txt-clr);
    border-radius: 10x;
    background: var(--hf-clr);
    color: var(--txt-clr);
    margin: 5px;
    transition: 500ms all, clr 300ms;
}

.hero .social a:hover {
    border-right: 1px solid var(--txt-clr);
    border-left: 1px solid var(--txt-clr);
    border-top: 1px solid var(--txt-clr);
    border-bottom: 1px solid var(--txt-clr);
    border-radius: 10px;
    background-color: var(--txt-clr);
    color: var(--blk-clr);
}

.hero .social a:nth-child(1) {
    margin: 5px 5px 5px 0px;
}

.down-arrow {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.down-arrow i {
    font-size: 20px;
    transform: scaleX(1.5);
    color: var(--link-clr);
    opacity: 0.95;
    display: inline-block;
    will-change: transform, opacity;
    animation: float-down-up 1.1s ease-in-out infinite;
}

@keyframes float-down-up {
    0% {
        transform: scaleX(1.5) translateY(0);
        opacity: 1;
    }

    50% {
        transform: scaleX(1.5) translateY(3px);
        opacity: 0.9;
    }

    100% {
        transform: scaleX(1.5) translateY(0);
        opacity: 1;
    }
}

/* ########## Footer CSS ########## */
.f-container {
    width: 100%;
    min-height: 170px;
    max-height: fit-content;
    background: var(--f-clr);
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    padding: 18px var(--primary-pad);
}

.f-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.f-left .socials {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.f-left .socials h4 {
    color: var(--txt-clr);
    font-size: clamp(14px, 2vw, 18px);
    cursor: default;
}

.f-left .socials .social {
    display: flex;
}

.f-left .socials .social a {
    padding: 5px;
    border-right: 1px solid rgba(0, 0, 0, 0);
    border-left: 1px solid rgba(0, 0, 0, 0);
    border-top: 1px solid var(--txt-clr);
    border-bottom: 1px solid var(--txt-clr);
    border-radius: 10x;
    background: var(--hf-clr);
    color: var(--txt-clr);
    margin: 5px;
    transition: 500ms all, clr 300ms;
}

.f-left .socials .social a:hover {
    border-right: 1px solid var(--txt-clr);
    border-left: 1px solid var(--txt-clr);
    border-top: 1px solid var(--txt-clr);
    border-bottom: 1px solid var(--txt-clr);
    border-radius: 10px;
    background-color: var(--txt-clr);
    color: var(--blk-clr);
}

.f-left .socials .social a:nth-child(1) {
    margin: 5px 5px 5px 0px;
}

.f-left a {
    color: var(--link-clr);
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    padding: 5px 5px 0px 0px;
}

.f-left a:hover {
    color: var(--txt-clr);
    font-weight: 600;
}

.f-right {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 25px;
}

.f-right .f-links {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: flex-end;
    gap: 10px;
    min-width: 130px;
}

.f-right .f-links a {
    display: inline-block;
    text-align: end;
    text-decoration: none;
    font-size: clamp(12px, 2vw, 16px);
    font-weight: 400;
    color: var(--link-clr);
}

.f-right .f-links a:hover {
    text-decoration: underline;
    font-weight: 500;
    color: var(--txt-clr);
}

.f-main {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 55px;
    padding: var(--primary-pad);
    text-align: center;
    background: var(--hf-clr);
    color: var(--txt-clr);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(12px, 2vw, 16px);
    font-weight: 500;
    cursor: default;
}

.f-main p {
    color: var(--txt-clr);
}

/* About Page */
.about-container {
    padding: 15px var(--primary-pad);
}

.about-container h4 {
    text-align: center;
    color: var(--txt-clr);
    cursor: default;
}

/* Portfolio Page */
.portfolio-container {
    padding: 15px var(--primary-pad);
}

.portfolio-container h4 {
    color: var(--txt-clr);
    text-align: center;
    cursor: default;
}

/* Portfolio Page */
.portfolio-container {
    padding: 15px var(--primary-pad);
}

.portfolio-container h4 {
    color: var(--txt-clr);
    text-align: center;
    cursor: default;
}

/* Resume Page */
.resume-container {
    padding: 15px var(--primary-pad);
}

.resume-container h4 {
    color: var(--txt-clr);
    text-align: center;
    cursor: default;
}

/* Contact Page */
.contact-container {
    padding: 15px var(--primary-pad);
}

.contact-container h4 {
    color: var(--txt-clr);
    text-align: center;
    cursor: default;
}

.contact-container a {
    color: var(--txt-clr);
    display: block;
    text-decoration: underline;
    text-align: center;
}

.contact-container a:hover {
    text-decoration: none;
}

/* ====== Top Button ======= */
.click-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    background: var(--hf-clr);
    color: var(--txt-clr);
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-right: 1px solid var(--txt-clr);
    border-left: 1px solid var(--txt-clr);
    border-radius: 0px;
    font-size: 18px;
    font-weight: 600;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: 300ms;
    z-index: 99;
}

.click-top:hover {
    color: var(--link-clr);
    border: 1px solid var(--link-clr);
    border-radius: 7px;
    transition: 300ms;
}

.click-top:active {
    background: var(--txt-clr);
    color: var(--blk-clr);
    border: 2px solid var(--hf-clr);
    transition: 100ms;
}

/* ====== Selector ======= */
::selection {
    color: black;
    background-color: #eeeeee;
}

/* ====== Custom Scrollbar ======= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-clr);
}

::-webkit-scrollbar-thumb {
    background: var(--hf-clr);
    border-left: 2px solid var(--bg-clr);
}