/*
==============THE-STYLE-GUIDE============== 

---------- TYPOGRAPHY ----------

SCALE-MAJOR-THIRD
1.250


FONT SIZES
12px / 16px / 20px / 24px / 32px / 40px / 48px / 62px

FONT WEIGHTS
400 / 700

LINE HEIGHTS
1.2 / 1.5

LETTER SPACING
0 / -2px

FONT FAMILY
Poppins

---------- COLORS ----------

PRIMARY
Base: #339af0 (Sky Blue)
Tint: #d0ebff (Arctic)
Shade: #1c7ed6 (Deep Sea)

SECONDARY
Base: #9775fa (Lavendar)
Tint: #e5dbff (Moonligh Iris)
Shade: #7048e8 (Velvet Night)

TERTIARY
Base: #ff922b (Pumpkin)
Tint: #ffe8cc (Dawn)
Shade: #f76707 (Lava)

GREY
Base: #495057 (Slate)
Tint: #f1f3f5 (Pebble)
Shade: #212529 (Graphite)
White: #ffffff (White)
Black: #000000 (Black)

---------- BORDER RADIUS ----------

4px / 8px / 20px

---------- SPACING SYSTEM ----------

5px / 10px / 15px / 20px / 25px / 30px / 40px / 50px / 60px / 70px / 80px / 90px / 100px / 125px / 150px / 200px / 250px / 300px / 400px / 500px
*/

/* ----------------------- GLOBAL STYLES ----------------------- */

:root {
    /* FONT SIZE */
    --text-sm: 1.2rem;
    --text-base: 1.6rem;
    --text-paragraph: 2rem;
    --text-h5: 2.4rem;
    --text-h4: 3.2rem;
    --text-h3: 4rem;
    --text-h2: 4.8rem;
    --text-h1: 6.2rem;

    /* FONT WEIGHT */
    --font-weight-normal: 400;
    --font-weight-bold: 700;

    /* LINE HEIGHTS */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;

    /* LETTER SPACING */
    --letter-spacing-tight: -2px;

    /* FONT FAMILY */
    --font-family: 'Poppins', sans-serif;

    /* COLORS */
    --primary-base: #339af0;
    --primary-tint: #d0ebff;
    --primary-shade: #1c7ed6;
    --secondary-base: #9775fa;
    --secondary-tint: #e5dbff;
    --secondary-shade: #7048e8;
    --tertiary-base: #ff922b;
    --tertiary-tint: #ffe8cc;
    --tertiary-shade: #f76707;
    --grey-base: #495057;
    --grey-tint: #f1f3f5;
    --grey-shade: #212529;
    --white: #ffffff;
    --black: #000000; 
    
    /* MISCELLANEOUS */
    --nav-height: 100px; /* Update the value in the flexbox topic */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
   font-size: 62.5%; 
   /* 10px / 16px = 62.5% */
}
body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--grey-base);
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

h1, h2, h3, h4, h5 {
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--grey-shade);
}

h1 {
    font-size: var(--text-h1);
}

h2 {
    font-size: var(--text-h2);
}

h3 {
    font-size: var(--text-h3);
}

h4 {
    font-size: var(--text-h4);
}

h5 {
    font-size: var(--text-h5);
}

p {
    font-size: var(--text-paragraph);
}

a {
    text-decoration: none;
    font-size: var(--text-base);
    display: inline-block;
}

a:link, a:visited, a:hover, a:active {
    color: var(--grey-base);
}

ul {
    list-style: none;
}

span {
    display: inline-block;
}

/* ----------------------- COMPONENTS ----------------------- */

.btn {
    font-size: var(--text-base);
    text-decoration: none;
    padding: 1.5rem 3rem;
    border-radius: 8px;
}

.btn-primary:link, .btn-primary:visited {
    color: var(--white);
    background-color: var(--primary-base);
    border: 2px solid var(--primary-base);
    transition: 0.5s;
}

.btn-primary:hover, .btn-primary:active {
    color: var(--white);
    background-color: var(--primary-shade);
    border: 2px solid var(--primary-shade);
    transform: scale(1.05, 1.05);
    box-shadow: 0px 3px 6px var(--grey-base);
}

.btn-primary-outline:link, .btn-primary-outline:visited {
    color: var(--primary-base);
    background-color: var(--white);
    border: 2px solid var(--primary-base);
    transition: 0.5s;
}

.btn-primary-outline:hover, .btn-primary-outline:active {
    color: var(--primary-shade);
    background-color: var(--white);
    border: 2px solid var(--primary-shade);
    transform: scale(1.05, 1.05);
    box-shadow: 0px 3px 6px var(--grey-base);
}

.btn-secondary:link, .btn-secondary:visited {
    color: var(--white);
    background-color: var(--secondary-base);
    border: 2px solid var(--secondary-base);
    transition: 0.5s;
}

.btn-secondary:hover, .btn-secondary:active ,.button1:hover{
    color: var(--white);
    background-color: var(--secondary-shade);
    border: 2px solid var(--secondary-shade);
    transform: scale(1.05, 1.05);
    box-shadow: 0px 3px 6px var(--grey-base);
}

/* ----------------------- SECTIONS ----------------------- */
/* Navbar */
nav{
    display: flex;
    justify-content: space-between;
    margin: 1rem;
}
.button1{
    display: inline-block;
    Font-size: var(--text-base);
    text-decoration: none;
    padding: 1.5rem 3rem;
    border-radius: 8px;
    color: var(--white);
    background-color: var(--secondary-shade);
    border: 2px solid var(--secondary-shade);
    transition: 0.5s;
}
/* /* CREATE A POST  */

.createapost,.createapost1{
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: var(--grey-tint);
    border-radius: 20px;
    gap: 1rem;
    width: 500px;
    margin: 1rem auto;
    position: absolute;
    z-index: 1000;
    top: 221px;
    left: 1108px;
            transition: all 0.35s ease;
      box-shadow: 0 8px 24px rgba(0,0,0,0.25);
      transform: translate(-50%, -50%) scale(0.9);
      display: none;


}

    .createapost.show,.createapost1.show {
      display: flex;
      transform: translate(-50%, -50%) scale(1);
    }

    .createapost1{
        position: absolute;
        top: 544px;
        left: 1026px;
    }
.head1{
    font-size: var(--text-h4);
    font-weight: var(--font-weight-bold);
    color: var(--grey-base);
}
.mind1{
    background: var(--grey-tint);
    font-size: var(--text-paragraph);
    color: var(--grey-shade);
    border: 2px solid var(--grey-base) ;
    padding: 0.5rem;
    border-radius: 12px;
    margin: 0.5rem;
}
.lastline{
    margin: 0.5rem;
    padding: 0.5rem;
     display: flex;
     flex-direction: column;
    gap: 1rem;
}
.category1{
    display: flex;
    gap: 0.8rem;
}
.optionslabel{
    display: flex;
    font-size: var(--text-paragraph);
    justify-content: center;
    align-items: center;

}
#options{
    background: var(--grey-tint);
    font-size: var(--text-paragraph);
    padding: 0.5rem;
    border-radius: 12px;
    border: 2px solid var(--grey-base) ;
}
.addimg{
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}



/* HERO-SECTION */
.message,.message2{
    width: 900px;
    display: flex;
    flex-direction: column;
    margin: 1rem auto;
    padding: 1.5rem;
    background: var(--primary-tint);
    border-radius: 15px;
    /* box-shadow: 0 8px 16px rgba(0,0,0,0.2); */
      
}

.message2.hide{
    display: none;

}

.userdelete{
    display: flex;
    justify-content: space-between;
}

.userdelete > button{
    background: var(--primary-tint);
    padding: 0rem 2rem;
    border: 0px;
}

.messageusername{
    margin: 0.5rem;
    font-size: var(--text-h5);
    font-weight: var(--font-weight-bold);
    color: var(--grey-shade);
}
.mainmessage{
    margin: 0.5rem;
    font-size: var(--text-h5);
    font-weight: var(--font-weight-normal);
    color: var(--grey-base);
}

.messagebuttons{
    display: flex;
    gap: 2rem;
    margin: 0.5rem;
}

.messagebuttons1{
    padding: 0.5rem;
    font-size: var(--text-sm);
    text-decoration: none;
    border-radius: 8px;
    background: var(--primary-tint);
}


.helpdude{
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 533px;
    left: 1275px;
    
}

.helpdude1{
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 533px;
    left: 1275px;
    gap: 1rem;
    /* ============== */
      transition: all 0.3s ease;
      opacity: 0;
      transform: translateY(10px);
      pointer-events: none
}

    .helpdude1.show {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

.helpdude1 > a,.helpdude1 > button{
    color: var(--grey-base);
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--secondary-tint);
    border-radius: 30px;
    border: none;
    font-family: var(--font-family);
    font-size: 1.6rem;

}

.fixedbtn{
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0px;
    background: var(--secondary-tint);
    position: fixed;
    top: 658px;
    left: 1246px;
}
svg{
    width: 6rem;
}
.counter{
    font-size: 1.5rem;
    text-align: center;
}
