/* ==================== VARIABLES ==================== */
:root {
    --clr-body: hsl(213, 43%, 96%);
    --clr-section: hsl(50, 50%, 100%);
    --clr-card: hsl(0, 0%, 98%);
    --clr-accent: hsl(213, 79%, 50%);
    --clr-text-primary: hsl(213, 48%, 12%);
    --clr-text-secondary: hsl(213, 24%, 36%);
}

/* ==================== CUSTOM FONTS ==================== */
/* Poppins */
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/poppins/Poppins-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/poppins/Poppins-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/poppins/Poppins-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
/* GoogleSans */
@font-face {
  font-family: 'GoogleSans';
  src: url('assets/fonts/google-sans/GoogleSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ==================== RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    font-family: "Poppins", sans-serif;
}
::-webkit-scrollbar {
    display: none;
}
.seo-content {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
a {
    text-decoration: none;
    color: var(--clr-accent);
    font-family: "GoogleSans", sans-serif;
}

/* ==================== BASE STYLES ==================== */
body {
    background-color: var(--clr-body);
}
.profile__name,
.card__year,
.card__title {
    font-family: "GoogleSans", sans-serif;
}

/* ==================== COMPONENTS & LAYOUT ==================== */
/* ----------------------
    Parent DIV Styling
-------------------------*/
aside,
main {
    padding: 30px 20px;
}
main {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* -------------------
    Section Styling
----------------------*/
section {
    background-color: var(--clr-section);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Section Padding (For All Sections) */
    padding: 20px;
    padding-top: 30px;
}
/* Section Padding (Profile, About, Contact) */
section#profile {
    padding: 40px;
}
section#about {
    padding: 30px;
    padding-bottom: 45px;
}
section#contact {
    padding: 30px;
    gap: 30px;
}
section#footer {
    padding: 20px;
}
/* Section-Header */
.section__header {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 10px;
    /* Section-Header Padding (For All Sections) */
    padding-left: 10px;
}
/* Section-Header Padding (About, Contact) */
#about .section__header,
#contact .section__header {
    padding: 0;
}
/* Section-Heading */
.section__heading {
    font-size: 28px;
    font-weight: 600;
    color: var(--clr-text-primary);
    line-height: 1;
}
/* Section-Header Icon */
.section__header i {
    font-size: 32px;
    color: var(--clr-accent);
}
/* Card Icon */
.card i {
    font-size: 28px;
    color: var(--clr-accent);
    margin-bottom: 15px;
}

/* -----------------
    Cards Styling
--------------------*/
.card-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.card {
    background-color: var(--clr-card);
    border-radius: 15px;
    padding: 20px;
}
.card__year {
    font-size: 14px;
    font-weight: 500;
    color: var(--clr-accent);
    line-height: 1;
    margin-bottom: 10px;
}
.card__title {
    font-size: 20px;
    font-weight: 500;
    color: var(--clr-text-primary);
    line-height: 1.25;
    margin-bottom: 5px;
}
.card__subtitle {
    font-size: 16px;
    font-weight: 400;
    color: var(--clr-text-secondary);
    line-height: 1.5;
}
section#education .card__title {
    margin-bottom: 10px;
}
section#education .card__subtitle {
    line-height: 1;
}

/* ==================== SECTION: Profile ==================== */
.profile__img {
    /* width: 100%; */
    aspect-ratio: 1/1;
    border-radius: 30px;
    background-color: var(--clr-card);
}
.profile__name {
    font-size: 28px;
    font-weight: 500;
    color: var(--clr-text-primary);
    line-height: 1;
    text-align: center;
}

/* ==================== SECTION: About ==================== */
.about__description {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.about__description p {
    font-size: 16px;
    font-weight: 400;
    color: var(--clr-text-secondary);
    line-height: 1.5;
}

/* ==================== SECTION: Contact ==================== */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact__form input,
.contact__form textarea {
    width: 100%;
    height: 56px;
    line-height: 1;
    padding: 20px;
    outline: none;
    border: 2px solid var(--clr-card);
    border-radius: 15px;
    background-color: var(--clr-card);
    transition: border-color 0.3s ease;
    font-size: 16px;
    font-weight: 400;
    color: var(--clr-text-primary);
}
.contact__form textarea {
    resize: none;
    height: calc(56px*3);
    line-height: 1.5;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder {
    font-size: 16px;
    font-weight: 400;
    color: var(--clr-text-secondary);
    opacity: 0.5;
}
.contact__form input:focus,
.contact__form textarea:focus {
    border: 2px solid var(--clr-accent);
}
.contact__form button {
    border: none;
    outline: none;
    cursor: pointer;
    width: 100%;
    height: 56px;
    border-radius: 500px;
    background-color: var(--clr-accent);
    font-size: 16px;
    font-weight: 500;
    color: var(--clr-section);
}
.contact__form button:focus{
    outline: 2px solid var(--clr-accent);
    outline-offset: 2px;
}

/* ==================== SECTION: Footer ==================== */
.copyright-statement {
    font-size: 16px;
    font-weight: 400;
    color: var(--clr-text-secondary);
    line-height: 1;
    text-align: center;
}

/* ==================== RESPONSIVE MEDIA QUERIES ==================== */
/* Mobile Styles (Small) */
@media screen and (max-width: 350px) {
    .section__header{
        align-items: center;
    }
    .section__heading{
        font-size: 24px;
    }
    .section__header i{
        font-size: 28px;
    }
}
/* Tablet Styles */
@media screen and (min-width: 768px) {
    .page-wrapper {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
        padding: 0 30px;
    }
    aside,
    main {
        padding: 30px 0;
    }
    aside{
        padding-top: 0;
        position: sticky;
        top: 30px;
        width: 40%;
    }
    main{
        width: 60%;
    }

}
/* Desktop Styles */
@media screen and (min-width: 1024px) {
    aside{
        width: 30%;
    }
    main{
        width: 70%;
    }

}


