/* CSS Reset*/
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: #fff;
}

img {
    display: block;
    max-width: 100%;
}

h1, h2, h3 {font-weight: bold;}
h1 {font-size: 2rem;}
h2, h3 {font-size: 1rem;}
p {font-size: 1rem; color: rgba(255,255,255,0.7); line-height: 1.8}

:root {
    --p-font-size: 1rem;
}

/* Mobile Navbar */
nav {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    padding: 1.25rem 2%;
    transition: all 0.5s;
    z-index: 1000;
}

nav.scrolled {
    height: 4rem;
    padding: 0.75rem 2%;
    background-color: #1b1b1b;
}

nav .logo {
    max-height: 2.5rem;
}

nav .nav-links {
    display: flex;
}

nav .nav-links a {
    color: #fff;
    margin-left: 1rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 2%;
}

/* Header Content */
.header-content {
    margin: 1rem auto 0 auto;
    width: 100%;
}

/* Header - Text */
.header-text {
    text-align: center;
}

.title {
    font-weight: 200;
    opacity: 0.7;
    letter-spacing: 2px;
}

.intro p {
    font-size: 3rem;
    font-weight: bold;
    opacity: 1;
    background: linear-gradient(to bottom, #dc5653, #b03277);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header - Profile Picture */
.pfp-container {
    max-width: 350px;
    width: 80%;
    height: auto;
    margin: 1rem auto 0 auto;
    border-radius: 0.6rem;
}

.profile-pic {
    width: 100%;
    height: auto;
    border-radius: 0.6rem;
}

/* About */
.section {
    padding-top: 4rem;
}

.section h1::after {
    content: ".";
    color: #ee3255;
}

.section p {
    margin-bottom: 1em;
}

.anscenter {
    color: #fff;
    opacity: 1;
}

.btn {
    display: inline-block;
    padding: 0.3rem;
    background-color: rgba(238, 50, 85, 0.65);
    opacity: 0.8;
    color: #fff;
    border-radius: 0.3rem;
    font-size: var(--p-font-size);
}

/* Portfolio */
.project-container {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

.project-misc {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.project-skills {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.skill {
    font-size: var(--p-font-size);
    background-color: rgba(238, 50, 85, 0.4);
    border-radius: 1rem;
    color: rgb(255, 207, 216);
    padding: 0.2rem 0.5rem;
}

.project-links {
    display: flex;
    gap: 10px;
}

.icon-link {
    color: #fff;
    opacity: 0.7;
    font-size: 2rem;
    transition: all 0.4s;
}

.icon-link:hover {
    color: #ee3255;
    opacity: 0.9;
    cursor: pointer;
    transform: scale(1.1);
}

.project-image-container {
    width: 96%;
    max-width: 30rem;
    margin: 1rem auto 0 auto;
}

.project-image {
    height: 100%;
    display: block;
    border-radius: 10px;
}

.overlay {
    display: none;
}

/* Contact */
.mobile-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.email {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-top: 0.5rem;
}

.email p {
    margin-bottom: 0.4rem;
}

.email-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.email-copy .fa-paper-plane {
    color: #ee3255;
}

.email-copy .copy-icon {
    cursor: pointer;
    color: #fff;
    opacity: 0.7;
    transition: color 0.3s;
}

.copy-icon:hover {
    color: #ee3255;
}

.email-btn {
    text-align: center;
}

/* Footer */
footer {
    text-align: center;
    margin-bottom: 4rem;
}

footer p {
    transition: 0.4s;
}

footer p:hover {
    color: #ee3255;
}

/* Scroll and social bar*/
.scroll {
    display: none;
}

.desktop-socials {
    display: none;
}