body{
  padding: 25px;
}
.title {
	color: #5C6AC4;
}
/* ==================== GLOBAL STYLES & VARIABLES ==================== */
:root {
    --header-height: 3.5rem;

    /* Colors */
    --first-color: #00aaff;
    --first-color-alt: #0088cc;
    --title-color: #f0f0f0;
    --text-color: #cccccc;
    --body-color: #1a1a1a;
    --container-color: #2c2c2c;

    /* Fonts */
    --body-font: 'Roboto', sans-serif;
    --title-font: 'Poppins', sans-serif;
    --biggest-font-size: 2.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    
    /* Font Weight */
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
}

h1, h2, h3 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    font-family: var(--title-font);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.section {
    padding: 4.5rem 0 2rem;
}

.section__title {
    font-size: var(--h1-font-size);
    margin-bottom: 2rem;
    text-align: center;
}

.container {
    max-width: 968px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.button {
    display: inline-block;
    background-color: var(--first-color);
    color: #fff;
    padding: 1rem 1.75rem;
    border-radius: .5rem;
    font-weight: var(--font-medium);
    transition: .3s;
}

.button:hover {
    background-color: var(--first-color-alt);
}

/* ==================== HEADER & NAV ==================== */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo, .nav__link {
    color: var(--title-color);
    font-weight: var(--font-medium);
}

.nav__logo:hover, .nav__link:hover {
    color: var(--first-color);
}

.nav__list {
    display: flex;
    column-gap: 2rem;
}

.active-link {
    color: var(--first-color);
}

/* ==================== HERO SECTION ==================== */
.hero__container {
    padding-top: 2rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__title {
    font-size: var(--biggest-font-size);
    margin-bottom: .25rem;
}

.hero__subtitle {
    font-size: var(--h2-font-size);
    color: var(--first-color);
    margin-bottom: 1rem;
}

.hero__description {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ==================== ABOUT SECTION ==================== */
.about__container {
    text-align: center;
}

.about__heading {
    font-size: var(--h2-font-size);
    margin-bottom: 1rem;
}

.about__description {
    padding: 0 1rem;
    margin-bottom: 2.5rem;
}

.about__info {
    display: flex;
    justify-content: space-evenly;
}

.about__info-title {
    display: block;
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
}

.about__info-name {
    font-size: var(--small-font-size);
}

/* ==================== PROJECTS SECTION ==================== */
.projects__container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project__card {
    background-color: var(--container-color);
    padding: 2rem 1.5rem;
    border-radius: .75rem;
    text-align: center;
    border: 2px solid transparent;
    transition: .3s;
}

.project__card:hover {
    border-color: var(--first-color);
    transform: translateY(-8px);
}

.project__icon {
    font-size: 2.5rem;
    color: var(--first-color);
    margin-bottom: 1rem;
}

.project__title {
    font-size: var(--h3-font-size);
    margin-bottom: .5rem;
}

.project__tags {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}

.project__tags span {
    background-color: rgba(0, 170, 255, 0.1);
    color: var(--first-color);
    padding: .25rem .75rem;
    border-radius: .25rem;
    font-size: var(--small-font-size);
}

/* ==================== SKILLS SECTION ==================== */
.skills__container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skills__content {
    background-color: var(--container-color);
    padding: 2rem;
    border-radius: .75rem;
}

.skills__title {
    font-size: var(--h3-font-size);
    text-align: center;
    margin-bottom: 1.5rem;
}

.skills__group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.skills__name {
    background-color: var(--body-color);
    color: var(--title-color);
    padding: .5rem 1rem;
    border-radius: .25rem;
    font-weight: var(--font-medium);
}

/* ==================== CONTACT SECTION ==================== */
.contact__container {
    text-align: center;
}

.contact__description {
    margin-bottom: 2rem;
}

.contact__social {
    display: flex;
    justify-content: center;
    column-gap: 2rem;
}

.contact__social-link {
    font-size: 1.5rem;
    color: var(--text-color);
    transition: .3s;
}

.contact__social-link:hover {
    color: var(--first-color);
}

.contact__social-link i {
    margin-right: .5rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--container-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer__container {
    text-align: center;
}

.footer__copy {
    font-size: var(--small-font-size);
    color: var(--text-color);
}


/* ==================== MEDIA QUERIES (FOR RESPONSIVENESS) ==================== */
@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        bottom: 2rem;
        left: 0;
        right: 0;
        margin: 0 auto;
        background-color: rgba(44, 44, 44, 0.8);
        backdrop-filter: blur(10px);
        width: 90%;
        border-radius: .75rem;
        padding: 1rem;
    }
    .nav__list {
        justify-content: center;
    }
}
