@import url('/_ext/fonts.googleapis.com/css2__q2aea02e4e7.css');

body{
    font-family: 'Lora', 'Times New Roman', Times, serif;
    font-weight: 400;
    font-size: 2.1vw;
    padding: 0 1em;
    background-color: #f9f5ed;
    color: black;
}

a{
    
    
    color:#7b7b7b;
}
a:hover, a:focus{
    background-color: #f9d5a0;
    color:#000;

}

a:focus{
    
}

h1{
    font-size: 3em;
    line-height: 1em;
    margin-top: 0;
    margin-bottom: 0.2em;
    color: darkslategrey;
    font-weight: 400;
}

h2{
    font-size: 1em;
    line-height: 1em;
    margin-top: 0;
    margin-bottom: 2em;
    color: darkslategrey;
    font-weight: 400;
}

#articleList {
    min-width: 300px;
    max-width: 900px;
}

.article{
    margin-bottom: 2em;
}
.rank{
    font-weight: 600;
    background-color: #fff;
    color: darkslategrey;
    border-radius: 20px;
    min-width: 1.2em;
    min-height: 1.2em;
    display: inline-block;
    text-align: center;
    padding: 3px;
    vertical-align: text-bottom;
    margin-top: 3px;
    position: absolute;
    border: 1px dashed darkslategrey;
} 
.title{
    font-size: 1.6em;
    margin-left: 2em;
    display: block;
    margin-bottom: 4px;
    text-overflow: ellipsis;
    overflow: hidden;
}
.title a{
    text-decoration: none;
    color:#000;
    background-color: #f8f5ed;
}

.title a:visited{
    

    background-color: #ff9a91;
}
/*
.title:has(a:visited) {
    
    text-decoration: line-through;
}
*/

.title a:hover{
    text-decoration-line: underline;
    text-decoration-style: dotted;
}
.score{
    color: #6f6f6f;
    margin: 0 1vw 0 3.1em;

}
.user{
    margin: 0 1vw;
}
.age{
    color: #6f6f6f;
    margin: 0 1vw;
}

.site{
    position: absolute;
    font-size: 0.7em;
    right: 30px;
    transform: translateY(-1em);
    

}
.site a{
    padding: 4px 10px;
    border-radius: 1em;
    background-color: #fff;
    text-decoration: none;;
    
}
.site a:hover{

    background-color: #000;
    color: #fff;
    
}


.loading {
    animation: pulse 0.7s linear infinite;
  }
  
  @keyframes pulse {
    0% {
      color: #6f6f6f00;
    }
    20% {
      color: #6f6f6f;
    }
    100% {
      color: #6f6f6f00;
    
    }
  }
  
  .icon-comments{
    height: 0.9em;
    /* vertical-align: initial; */
    position: relative;
    transform: translate(5px, 2px);
    opacity: 0.6;
  }

  @media only screen and (max-width: 767px) {
    /* CSS styles for small devices go here */
    body {
      font-size:3.5vw;
    }
    .title{
        margin-left:1.5em;
    }
  }
  

  @media only screen and (min-width: 970px) {
    /* CSS styles for small devices go here */
    body {
      font-size:1.3em;
    }
   
  }