body{
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#blogHeader{
    display: flex;
    width: 90vw;
    justify-content: space-between;
}

#pageContainer{
    width: 95vw;
    min-height: 85svh;
    height: auto;
    /* border-radius: 15px;
    border: 1px solid rgba(120, 120, 120, 0.18);
    background-color: rgba(255, 255, 255, 0.259);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
    display:flex;
}

/* Scrolling container*/
#scrollContainer{
    width: 25%;
    min-height: 85svh;
    max-height: 85svh;
    height: auto;
    margin: 1%;
    /* border: 1px solid rgba(120, 120, 120, 0.18);
    background-color: rgba(255, 255, 255, 0.259);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 15px; */
    overflow-y: scroll;
}

#scrollContainer ul{
    padding-inline-start: 0;
    margin: 0;
    padding: 5%;
}

#scrollContainer li{
    list-style-type: none;
    margin-bottom: 14px;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#scrollContainer li .CardListLink{
    display: block;
    padding: 22px;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(120, 120, 120, 0.18);
    background: rgba(255, 255, 255, 0.42);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

#scrollContainer li .CardListLink:focus-visible{
    outline: 3px solid #3347d6;
    outline-offset: 3px;
    border-radius: 12px;
}

#scrollContainer li:hover{
    transform: translateY(-3px);
}

#scrollContainer li:hover .CardListLink{
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

#scrollContainer li p{
    margin: 0;
}

#scrollContainer li p:first-child{
    font-size: clamp(0.9rem, 1.15vw, 1.05rem);
    font-weight: 700;
    opacity: 0.65;
}

#scrollContainer li p:nth-child(2){
    margin-top: 12px;
    font-size: clamp(1.15rem, 1.55vw, 1.4rem);
    font-weight: 800;
    line-height: 1.1;
}

#scrollContainer li p:nth-child(3){
    margin-top: 10px;
    font-size: clamp(1.08rem, 1.35vw, 1.25rem);
    line-height: 1.45;
    opacity: 0.75;
}

#actArticle{
    width: 70%;
    min-height: 85svh;
    max-height: 85svh;
    height: auto;
    margin: 1%;
    border: 1px solid rgba(120, 120, 120, 0.18);
    background-color: rgba(255, 255, 255, 0.259);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 15px;
    overflow-y: scroll;
}

.closeArticleBtn{
    display: none;
}

#blogHeader a{
    all: unset;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding-bottom: 5px;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    font-weight: 700;
    margin-top: 1%;
}

#blogHeader a::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: black;
    transition: width 0.3s ease, left 0.3s ease;
}

#blogHeader a:hover::after{
    width: 100%;
    left: 0;
}

@media screen and (max-width: 840px){
    #pageContainer{
      position: relative;
      width: 100vw;
      min-height: 100svh;
    }
  
    #scrollContainer{
      width: 95vw;
      min-height: auto;
      max-height: none;
      overflow-y: visible;
    }
  
    #actArticle{
      position: fixed;
      inset: 0;
      z-index: 1000;
  
      width: auto;
      min-height: 100svh;
      max-height: 100svh;
      margin: 0;
  
      background: white;
      border: none;
      border-radius: 0;
      overflow-y: auto;
  
      transform: translateX(100%);
      transition: transform 0.25s ease;
    }
  
    #actArticle.articleOpen{
      transform: translateX(0);
    }
  
    .closeArticleBtn{
      position: sticky;
      top: 0;
      z-index: 2;
  
      display: block;
      width: fit-content;
      margin: 0 0 1rem auto;
      padding: 0.5rem 0.75rem;
  
      background: white;
      cursor: pointer;
   
      font-size: 1.25rem;
      font-weight: 800;
      border: none;
    }
  }
