@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700&family=Roboto:wght@100;300;400;500;700;900&family=Source+Serif+Pro:wght@200;300;400;600;700;900&display=swap');

/* ---------------ROOT VARIABLES------------------ */
:root {
    /* COLORS */
    --primary: #2a2e34;
    --blue: #007bff;
    --purple: #6f42c1;
    --red: #dc3545;
    --yellow: #ffc107;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #697076;
    --gray-dark: #343a40;
    --light: #EDEADE;
    --dark: #1d1e20;
  
    /* TRANSITON */
    --transition: all 350ms ease;

    /*FONT-FAMILY*/
    --ff1: 'Roboto', sans-serif;
    --ff2: 'Source Serif Pro', serif;
    --ff3: 'Roboto Slab', serif;
}
/* --------------------------------- */

/* ---------------GENERALS------------------ */
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    box-sizing: border-box;
    letter-spacing: .25px;
}

::selection {
    color: white;
    background: var(--yellow);
}

body {
    background: var(--light);
}

/* Style the header: fixed position (always stay at the top) */
.header {
    position: fixed;
    top: 0;
    z-index: 1;
    width: 100%;
}
  
/* The progress container */
.progress-container {
    width: 100%;
    height: 8px;
    background: var(--gray);

}
  
/* The progress bar (scroll indicator) */
.progress-bar {
    height: 8px;
    background-image: linear-gradient(to right , #fd7e14, #dd9300, #baa400, #95b010, #6cb83e, #60be4a, #51c557, #3ccb64, #58d457, #72dc48, #8de434, #a8eb12);
    background-color: var(--blue);

    width: 0%;
} 

.binder {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    padding: 2rem 0;
    font-family: var(--ff1);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff2);
    color: var(--primary);
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
    font-size: clamp(1.3rem, 3vw ,1.6rem);
}

p {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

img {
    max-width: 40rem;
    width: 100%;
}

.title {
    text-transform: capitalize;
    margin: 1rem 0;
}

.heading span {
    margin-right: .5rem;
}

.meta-information {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    color: var(--gray);
}

.name,
.date-time {    
    font-size: clamp(.7rem, 1vw, .85rem);
}


.writer {    
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
    color: var(--gray);
}

.writer .image {
    object-fit: cover;
    width: 2rem;
    aspect-ratio: 1;
    border-radius: 50%;
}

.intro-para {
    margin-top: 2rem;
    text-align: justify;
}

.wrapper {
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;

}

.individua-li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .5rem;
    padding: 1rem;
    text-align: left;
    -webkit-box-shadow: 1px 0px 18px -5px rgba(105,112,118,1);
    -moz-box-shadow: 1px 0px 18px -5px rgba(105,112,118,1);
    box-shadow: 1px 0px 18px -5px rgba(105,112,118,1);
    border-radius: 10px;
    width: 100%;
    max-width: 40rem;
    overflow: hidden;
}

.description {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.text-container {
    text-align: justify;
}

.detail-link a {
    text-transform: capitalize;
    cursor: pointer;
    position: relative;
    color: var(--purple);
    font-family: var(--ff3);
    font-size: .85rem;
}

.detail-link a::after {
    content: "";
    position: absolute;
    background: var(--purple);
    height: 2px;
    width: 0;
    left: 0;
    bottom: -1.5px;
    transition: var(--transition);
}

.detail-link a:hover::after {
    width: 100%;
}

.image-container {
    margin: 0 auto;
}

/* -------------------SOCIAL-ICONS------------------- */
.social-icon-section {
    background: transparent;
    position: relative;
    inset: 0 0 0 0;
    width: 100%;
    z-index: 10;
}

.social-icon-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
    margin: auto;
    gap: 2rem;
}

.social-icon-list li a svg {
    width: 1.2rem;
    margin: 0 0 1rem 0;
}

svg.feather {
    stroke: var(--dark);
    stroke-width: 1.25px;
    fill: none;
}

.social-icon-list li a svg:hover {
    transform: translateY(-.2rem);
    transition: var(--transition);
}

.social-icon-list li a svg:hover.github {
    stroke: var(--dark);
}

.social-icon-list li a svg:hover.instagram {
    stroke: var(--red);
}

.social-icon-list li a svg:hover.twitter {
    stroke: var(--cyan);
}

.social-icon-list li a svg:hover.linkedin {
    stroke: var(--blue);
}
/* -------------------------------------- */

@media (min-width: 800px) {


    .meta-information {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        justify-content: left;
    }
}