@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family:'poppins',sans-serif;
}

/*----------------------------------------------------------------*/

body {
    background-color: black;
    color:#009578;
}
a {
    color:azure;
    text-decoration: none;
}
hr{
    width: 85%;
    margin:auto;
    border-radius: 10px;
    background-image: linear-gradient(90deg, transparent, rgb(71,69,69), transparent);
    border: 0;
    height: 1px;
    
}
.container {
    margin: 30px auto auto auto;
    width: 65%;
    /*
    border: 3px solid transparent;
    
    border: 3px solid rgb(0, 22, 0);
    border-radius: 8px;
    */
    padding: 10px;
}
/*----------------------------------------------------------------*/

.header {
    padding:none; 
}
#header-h1{
    text-align: center;
    font-weight: bolder;
    font-size:5vw;
}
#header-h5{
    text-align: center;
    font-weight: lighter;
    font-size: 1vw;
}
#news-title{
    color:greenyellow;
    text-align: center;
    font-weight: bold;
    font-size: 2.5vw;
}
#news-source{
    text-align:center;
}
#news-author{
    text-align:center;
}

/*----------------------------------------------------------------*/
.search-box{
    width:100%;
    max-width: 300px;
    display:inline-flex; 
}
.search{
    display: grid;
    place-items: center;
    padding:5px;
    /*border: 3px solid rgb(0, 22, 0);
    border-radius: 8px;*/
      
}
.searchbar-input{
    flex-grow:1;
    padding:10px;
    outline:none;
    border:1px solid #009578;
    border-radius: 10px 0 0 10px;
    background: #F4FAF9;
    transition: background 0.25s, box-shadow 0.25s;
}
.searchbar-input:focus{
    background-color: white;
    box-shadow: 0 0 2px #8CC6BA;
}
.searchbar-input::placeholder{
    color:#8CC6BA;
}
.searchbar-button{
    width:40px;
    background:#009578;
    color:white;
    outline: none;
    border:none;
    display:flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 10px 10px 0;
    cursor:pointer;
    user-select: none;
}
.searchbar-button:active{
    box-shadow: inset 0 0 30px rgba(0,0,0,0.25);
}

.filter{
    text-align: center;
    font-size: 1vw;
    margin-bottom: 10px;
}

.by,.for{
    display:inline-flex;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
}
.radio-input{
    display: none;
}
.radio-label{
    padding: 8px 14px;
    color:azure;
    background: #009578;
    cursor:pointer;
    transition:background 0.1s;
}
.radio-label:not(:last-of-type){
    border-right: 1px solid #006B56;
}
.radio-input:checked+.radio-label{
    background:#006B56;
}
/*----------------------------------------------------------------*/
.news{
    margin:15px;
}
.news-title{
    color:greenyellow;
    font-weight: bolder;
}
.news-source{
    font-weight: lighter;
    text-decoration:underline azure;
}
#comments-header{
    font-weight: bold;
    margin: 15px;
}
.comment-content{
    color:whitesmoke;
    margin-bottom: 15px;
    word-wrap: break-word;
}
/*----------------------------------------------------------------*/
.footer {
    font-size: .9vw;
}
