/*
  ========================================
  COLORS
  ========================================
*/ 
:root {
    --color-white: #FFFFFF;
    --color-black: #1F2937;
    --color-dark-black: #1C1C1C;
    --color-purple-gradient: linear-gradient(246.26deg, #585DFE 0%, #FB3796 100%);
    --color-light-blue: #d0ebff;
}

/*
  ========================================
  GENERIC SITE STYLES
  ========================================
*/
html {
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}
body {
    background-color: var(--color-dark-black);
    margin: 0 auto;
    padding: 0;
    text-align: center;

    overflow-x: hidden;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-width: none;
}
html {
    scroll-behavior: smooth;
}
.body-container {
    margin-left: 25px;
    margin-right: 25px;

    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;   
}

/*
  ========================================
  TYPOGRAPHY
  ========================================
*/
body {
    font-family: 'Inter', sans-serif;
    color: var(--color-white);
}
h1, 
h2,
h3,
p,
a {
    margin: 0;
    padding: 0;
}
h1 {
    font-weight: 600;
    font-size: 1.75rem;
}
h2 {
    font-weight: 500;
    font-size: 1.50rem;
}
h3,
.projects a {
    font-weight: 400;
    font-size: 1.25rem;
}
p {
    font-weight: 300;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: var(--color-white);
}

/*
  ========================================
  HEADER
  ========================================
*/
.intro {
    flex-basis: 100%;
    margin-top: 25px;
    margin-bottom: 40px;

    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;
}
.intro h1,
.intro h2 {
    flex-basis: 100%;
}
.intro-paragraphs {
    max-width: 500px;
}
.intro p {
    margin-top: 10px;
    text-align: left;
}
.intro a {
    color: var(--color-light-blue);
}

/*
  ========================================
  PROJECTS SECTION
  ========================================
*/
.projects {
    min-width: 250px;
    max-width: 400px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;
}
.counter-sec,
.calculator-sec,
.metric-conversion-sec,
.blackjack-sec,
.fruit-sorter-sec,
.password-generator-sec {
    flex-basis: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;
    margin-bottom: 10px;
} 
.counter-sec a,
.calculator-sec a,
.metric-conversion-sec a,
.blackjack-sec a,
.fruit-sorter-sec a,
.password-generator-sec a {
    flex-basis: 100%;
    padding: 20px;
    background-color: var(--color-black);
    border: none;
    border-radius: 5px;
}
a:hover {
    transform: scale(1.1);
    transition: 0.5s;
}

/*
  ========================================
  FOOTER
  ========================================
*/
.footer {
    flex-basis: 100%;
    margin-top: 50px;
    margin-bottom: 30px;
}
.footer,
.socials {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}
.socials-list {
    flex-basis: 100%;
    list-style-type: none;
    padding: 0;
    margin: 0;

    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}
.socials-list a {
    font-size: 2rem;
}
.socials-list a i:hover,
.socials-list a img:hover {
    transform: scale(1.1);
    transition: 0.5s;
}
.footer p {
    margin-top: 10px;
    flex-basis: 100%;
}
.footer img {
    width: 27px;
}