body {
  background-color: rgb(36, 39, 44);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}
#logo {
  margin-bottom: 50px;
  cursor: pointer;
}


#logo > #hover_text {
  display: none;
}

#logo:hover #hover_text {
  display: block;
  position: absolute;
  padding: 5px;
  background-color: rgb(36, 39, 44);;
  color: #fff;
  border: #000 solid 2px;
  border-radius: 5px;
  font-size: .7em;
}

#search {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
#search input {
  background-color: rgba(255, 255, 255, 0.9);
  color: #000; /*rgb(36, 39, 44);*/
  padding: 5px;
  border: none;
  border-radius: 3px;
  margin-right: 10px;
  width: 400px;
  font-size: 20px;
  height: 30px;
  font-weight: normal;
}
#search img {
  height: 40px;
  margin-right: 10px;
}
#search button {
  background-color: #c62828;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  height: 40px;
  font-size: 25px;
  cursor: pointer;
}
#search input::placeholder {
  color: #444;
}
#buttons {
  margin-top: 20px;
  margin-bottom: 80px;
}
#buttons button {
  background-color: #c62828;
  color: #fff;
  border: none;
  padding: 5px 20px;
  border-radius: 3px;
  margin-right: 10px;
  width: 200px;
  font-size: 20px;
  cursor: pointer;
}

#buttons button:disabled {
  filter: grayscale(1);
}

#theme-select {
  /*background: #24272c;*/
position: fixed;
top: 10px;
right: 10px;
}

#theme-select input {
position: absolute;
opacity: 0;
}

#theme-select input + label {
  padding: 2px 10px 2px 10px;
  float: left;
  color: #24272c;
  cursor: pointer;
  border-top: red 1px solid;
  border-bottom: red 1px solid;
}

#theme-select input + label:first-of-type {
border-left:  red 1px solid;	
border-radius: 50% 0 0 50%;
}

#theme-select input + label:last-child {
border-right:  red 1px solid;	
border-radius: 0 50% 50% 0;
}

#theme-select input:checked + label {
background: white;	
color: white;
}

#theme-selected-txt {
background: #24272c;
color: #fff;
position: fixed;
top: 35px;
right: 23px;
opacity: 0;
}

#helpicon {
position: fixed;
top: 10px;
left: 10px;
color: white;
/*border: 3px solid white;
border-radius: 50%;*/
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-weight: bold;
}


/* Tema Claro */
body.light-theme {
  background-color: #f4f4f4;
  color: #333;
}
body.light-theme #logo img {
  filter: brightness(1.0);
}
body.light-theme #search input {
  background-color: rgba(255, 255, 255, 1);
  color: #333;
  border: 1px solid #000;
}
body.light-theme #search input::placeholder {
  color: #777;
}


#logo.light-theme:hover #hover_text {
  background-color: #fff;
  color: #000;
  border: #ddd solid 2px;
  
}

#theme-select.light-theme input + label {
  background: #f4f4f4;
  color: #f4f4f4
}
#theme-select.light-theme input:checked + label {
background: #333;	
color: #333;
}

#theme-selected-txt.light-theme {
  background: #f4f4f4;
  color: black
}


#theme-select:hover + #theme-selected-txt {
  opacity: 100%
} 
#helpicon.light-theme {
  color: #333;
  /*border: #333 solid 2px;*/
}

#you-ip {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-weight: bold;
  font-size: 20px;
}
/* Card que contém cada post */
#news {
  width: 70%;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.card {
  box-sizing: border-box;
  background:#fff;
  border:1px solid #e0e0e0;
  border-radius:8px;
  padding:12px;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
  text-align:center;
  /*cursor: pointer;*/
}
.card img {
    width:100%;
    height:auto;
    border-radius:4px;
    margin-bottom:8px;
}
.card .title {
    box-sizing: border-box;
    font-size:0.9rem;
    margin:6px 0;
    min-height: 2.1rem;
}
.card .title a {
    color:#222;
    text-decoration:none;
}
.card .title a:hover { text-decoration:underline; }
.card .date {
    font-size:.85rem;
    color:#666;
}
.card .cats {
    font-size:.75rem;
    color:#555;
    margin-top:4px;
}
