html, 
body { 
    height: 100%; 
}

* { 
    box-sizing: border-box; 
}

body {
  margin: 0;
  background: rgb(251, 180, 224);
  min-height: 100vh;
}

/*main grid */
.main-container {
    display: grid;
    grid-template-columns: 220px 1fr;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
}

/* sidebar section */
.sidebar-container {
    grid-column: 1;
    grid-row: 1 / span 2;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    padding-top: 1rem;
    padding-left: 2rem;
    padding-bottom: 1rem;
    background-color: #c574a8;
    color: white;
    width: 220px;
    background-color: #c574a8;
    display: flex;
    flex-direction: column;
    gap: 8px; 
    min-height: 100%;
    box-sizing: border-box;
}

#sidebar, #sidebar2, #sidebar1 {
    padding: 5px;
}

#sidebar1 {
    font-size: 28px;
    padding-bottom: 30px;
}

#sidebar2 {
    padding-bottom: 0;
}

.dashboard-container, 
.home-container, 
.profile-container, 
.message-container,
.history-container,
.task-container,
.community-container,
.settings-container,
.help-container,
.privacy-container {
    display: flex;
    flex-direction: row;
}

#home, 
#profile, 
#message, 
#history,
#task,
#community,
#settings,
#help,
#privacy {
    font-size: 27px;
    padding-right: 7px;
}

#dashboard {
    font-size: 32px;
}

.settings-container {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.35);
}
/* header section */
.header-container {
    grid-column: 2;
    grid-row: 1;
    background-color: rgb(207, 151, 194);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto;
    gap: 8px;
    padding: 8px 12px;
}

.space {
    background-color: rgb(200, 200, 200);
    border-radius: 20px;
    height: 20px;
    width: 820px;
    margin: 2px;
}

.cat1 {
    border-radius: 35px;
    width: 42px;
    height: 42px;
    justify-self: center;
    
}

.cat2 {
    border-radius: 35px;
    width: 65px;
    height: 65px;
    grid-row: 2 / span 3;
    justify-self: center;

}

#search {
    font-size: 20px;
    justify-self: left;
    margin-left: 20px;
    margin-top: 2px;
}

#bell {
    font-size: 18px;
    margin-top: 2px;
    justify-self: right;
}

.name1 {
    font-size: 12px;
    margin-top: 2px;
    justify-self: left;
    font-weight: bold;
}

.greeting {
    font-size: 13px;
    align-self: end;
    font-weight: bold;
    grid-row: 2;
}

.name2 {
    font-size: 20px;
    font-weight: bold;
    align-self: start;
}

.new, .share, .upload {
    grid-row: 2 / span 2;
    justify-self: center;
    align-self: end;
    background-color:  rgb(208, 94, 162);
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 10px;
    padding-top: 10px;
    border-radius: 20px;
    font-size: 15px;
}

/* dashboard section */
.top-titles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: transparent;
}

.news {
    font-size: 20px;
    padding-left: 20px;
    padding-top: 10px;
    margin-bottom: 0;
}

/*stories section*/

.body-container {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  background: inherit;
}

.body-container2 {
    display: grid;
    grid-template-columns: 2fr 2fr 320px;
    grid-template-rows: auto auto auto;
    gap: 20px 20px;
    align-content: start;
    row-gap: 24px;
    column-gap: 20px;
    background: transparent;
}

.stories-grid {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: start;
}


.zeus {
    grid-column: 1;
    grid-row: 1;
}

.persephone {
    grid-column: 1;
    grid-row: 2;
}

.posiden {
    grid-column: 1;
    grid-row: 3;
}

.hades {
    grid-column: 2;
    grid-row: 1;
}

.pandora {
    grid-column: 2;
    grid-row: 2; 
}

.hercules {
    grid-column: 2;
    grid-row: 3; 
}

.hercules, .hades, .zeus, .pandora, .persephone, .posiden {
    padding: 20px;
    width: 100%;
    max-width: 360px;
    background: rgb(225,151,195);
    border-radius: 8px;
    border-left: 20px solid rgb(208,94,162);
    align-self: start;
    justify-self: center;
}

.story-title {
    font-weight: bold;
    font-size: 18px;
    padding-bottom: 15px;
}

.story {
    font-size: 14px;
    padding-bottom: 45px;
}

.story1 {
    font-size: 14px;
    padding-bottom: 40px;
}

.icons {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    font-size: 22px;
}

#one {
    padding-right: 5px;
}

#two {
    padding-right: 5px;
}

.right-section {
  grid-column: 3;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

 /* announcements section */
.announcements-container {
    grid-column: 3;
    grid-row: 1 / span 2;
    background-color: rgb(180, 126, 169);
    width: 100%;
    max-width: 320px;
    border-radius: 10px;
    padding: 15px 25px 8px;
    padding-bottom: 12px; 
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.announcements {
    font-size: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 0;
    margin: 0;
}

.trending {
    margin-top: 8px !important;
}

.news, 
.announcements { 
    margin: 0; 
    padding: 8px 0; 
}

.maintenance{
    grid-column-start: 3;
    grid-row: 1;
    border-bottom: 1px solid #e49dc1;
    padding-bottom: 9px;
}

.community {
    grid-column-start: 3;
    grid-row: 1;
    border-bottom: 1px solid #e49dc1;
    padding-bottom: 9px;
    padding-top: 9px;
}

.terms {
    grid-column-start: 3;
    grid-row: 1;
    padding-top: 9px;
    padding-bottom: 0;
    border-bottom: none;
}

.title {
    font-weight: bold;
}

/* trending section */

.trending-container {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    margin-top: 12px;
    margin: 0 15px; 
}

.trending {
    margin: 8px 0;
    padding-left: 4px;
}

.tiger, .swan, .whale, .dog {
    border-radius: 20px;
    width: 60px;
    height: 60px;
    justify-self: center;
    align-self: center;
    margin-bottom: 10px;
}

.trending-grid {
    display: grid;
    grid-template-columns: 60px 2fr;
    gap: 10px 12px;
    background: rgb(210,125,178);
    border-radius: 10px;
    padding: 15px;
    width: 100%;
    max-width: 320px;
    margin: 0;
}

.account1 {
    display: flex;
    flex-direction: column;
    padding: 0px;
    margin: 0;
    align-self: center;
    justify-self: start;
    font-size: 16px;
}

.text1 {
    font-size: 14px;
    color: rgb(56, 37, 73);
}

.tiger {
    background-color: rgb(238, 238, 175);
}

.swan {
    background-color: rgb(185, 134, 232);
}

.whale {
    background-color: bisque;
}

.dog {
    background-color: rgb(222, 138, 107);
}