.container{
    display: grid;

    grid-template-rows: auto auto auto;
    grid-template-columns: auto auto auto;
    grid-template-areas: 
        'navbar navbar navbar navbar'
        'sidebar article article ad'
        'footer footer footer footer'
        ;

    

    @media screen and (max-width: 1650px){
        grid-template-areas: 
        'navbar navbar navbar'
        'article article ad'
        'footer footer footer'
        ;
    } 

    @media screen and (max-width: 900px){
        grid-template-areas: 
        'navbar navbar navbar'
        'article article article'
        'ad ad ad'
        'footer footer footer'
        ;
    }
    
}

.outer-article-container{
  margin-top: 100px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.article-container{
  padding: 2rem;
  max-width: 1300px;
  background-color: var(--azure-web);
  font-size: x-large;

  img{
    width: 100%;
  }
}

.blog-link{
  margin: 10px;
  margin-top: 20px;
  font-size: xx-large;
}

#navbar{
    grid-area: navbar;
}

#article{
    /* border: 2px solid blue; */
    grid-area: article;
    width: 58vw;
    z-index: 1;

    @media screen and (max-width: 1650px){
        width: 68vw;
    } 
    @media screen and (max-width: 900px){
        width: 100vw;
    } 
}

.tag{
    height: 20px;
    width: 20px;
}

.ad-img{
    width: 20vw;
    border-radius: var(--corners-light);
    box-shadow: 0px 0px 4px 1px lightgray;
    @media screen and (max-width: 1650px){
        width: 30vw;
    } 
    @media screen and (max-width: 900px){
        width: 70vw;
        margin: 2rem 0rem;
    } 
    @media screen and (max-width: 380px){
        width: 100vw;
    } 
}

.lowest-ad{
    margin-bottom: 150px;
    @media screen and (max-width: 900px){
        margin-bottom: 0px;
    } 
}

#ad{
    /* border: 2px solid blue; */

    grid-area: ad;
    top: 100px;
    position: sticky;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    height: 100vh;
    width: 20vw;
    
    
    span{
        font-size: larger;
        font-style: italic;
    }

    @media screen and (max-width: 1650px){
        width: 30vw;
    } 
    @media screen and (max-width: 900px){
        display: flex;
        /* flex-direction: row; */
        position: static;
        width: 100vw;
        height: fit-content;

    } 
}

#sidebar{   
    /* border: 2px solid blue; */
    
    top: 50px;
    grid-area: sidebar;
    height: 100vh;
    width: 20vw;

    @media screen and (max-width: 1650px){
        display: none;
    } 
    
}

#footer{
    grid-area: footer;
}

.side-img{
    position: fixed;
    height: 100vh;
    top: 50px;
    /* object-fit: cover; */
    @media screen and (max-width: 1650px){
        display: none;
    } 
}


