
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  min-height:100dvh;
  max-width:100vw;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
  background-color: #222;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}


img{
  max-width:100%;
}



/*>>>>>>>>>>>>>>>>>>>>>>>>*/
/*  HEADER                */
/*>>>>>>>>>>>>>>>>>>>>>>>>*/

header{
  position:relative;
  min-height:100px;
  background:rgba(20, 20, 20, 0.7);
}


canvas{
  width:calc(90% - 130px);
  height:100%;
  position:absolute;
  right:0;
  z-index:0;
  opacity:0.7;
  border-left:1px solid rgba(100, 212, 255, 0.2);
}



/*  PORTADA                */
.content_section{
  position:relative;
  z-index:10;
  margin:45px auto 45px 10%;
  max-width:300px;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-around;
  gap:8px;
  padding:30px 20px 30px 18px;
  border:2px solid rgba(100, 100, 100, 0.5);
  border-left:4px solid rgba(255, 200, 200, 0.6);
  border-radius:4px 10px 10px 4px;
  background:rgba(10, 10, 10, 0.8);
}


.content_section h1{
  color:rgba(230, 180, 0, 1);
  font-size:1.3rem;
  text-align:left;
  width:100%;
  margin-bottom:15px;
}


.content_section p{
  color:#dfdada;
  font-size:0.98rem;
  letter-spacing:1px;
}


.content_section p span{
  color:red;
  font-size:1rem;
}



/*>>>>>>>>>>>>>>>>>>>>>>>>*/
/* PORTADA PAGINA ABIERTA */
/*>>>>>>>>>>>>>>>>>>>>>>>>*/
.top_band{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:30px 5px;
  padding:12px 20px 13px 25px;
  border:1px solid rgba(255, 255, 255, 0.3);
  border-radius:10px;
}


.down_band{
  border:none;
  margin:90px 0 50px;
}


.down_band .control_box{
  margin-left:auto;
}



.top_band a {
  display:inline-block;
  text-decoration:none;
  color:#ea0;
  font-size:1.6rem;
  font-weight:700;
  margin:0px auto 0px 0px;
}


.top_band .control_box{
  display:flex;
  justify-content:center;
  align-items:center;
  border:1px solid #aaa;
  border-radius:30px;
}


.top_band .control_box button{
  padding:4px 14px;
  margin:5px 5px 5px 10px;
  border:none;
  color:#fff;
  font-size:1.3rem;
  font-weight:900;
  background:rgba(255,255,255,0.4);
  border-radius:5px 20px 20px 5px;
}

.top_band .control_box button:first-child{
  border-radius:20px 5px 5px 20px;
  margin:5px 10px 5px 5px;
}

.top_band .control_box .disabled{
  color:rgba(255,255,255,0.5);
  background:rgba(255,255,255,0.15);
}




/*>>>>>>>>>>>>>>>>>>>>>>>>*/
.page_body{
  width:82%;
  max-width:700px;
  margin:60px auto 50px;
}


.page_body h1{
  margin:20px 0;
  font-size:2.3rem;
  letter-spacing:1px;
  line-height:1.2;
  color:#aaa;
}


.page_body h2{
  margin:20px 0;
  font-size:0.9rem;
  letter-spacing:0.6px;
  color:#cba;
  font-weight:400;
}



.page_body p{
  margin:60px auto 50px;
  font-size:1.3rem;
  line-height:1.2;
  font-weight:300;
  letter-spacing:1px;
  color:#def;
}




/*>>>>>>>>>>>>>>>>>>>>>>>>*/
/*  MAIN                  */
/*>>>>>>>>>>>>>>>>>>>>>>>>*/
main{
  position:relative;
  z-index:10;
  margin:50px 5px 150px;
}


.title_contend{
  font-size:0.85rem;
  display:flex;
  justify-content:space-around;
  align-items:center;
  margin:10px 0 40px;
  max-width:500px;
  padding-left:8px;
  margin-left:min(1.5%, 30px);
}

.title_contend select{
  font-size:0.9rem;
  font-weight:600;
  background:#333;
  color:#fff;
  margin:0 10px;
  padding:10px 12px;
  text-align:center;
  border-radius:8px;
}


.publicacion_box{
  display:flex;
  flex-wrap:wrap;
  width:100%;
  max-width:900px;
  margin:0 auto;
}


.publicacion_card{
  border:1px solid #555;
  width:92%;
  max-width:380px;
  margin:min(4%, 30px);
  padding:25px 20px;
  border-radius:20px;
}


.publicacion_card .box_title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:0 0 20px;
}


.publicacion_card .box_title h3{
  width:85%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color:rgba(200, 200, 220, 0.7);
}


.publicacion_card .box_title p{
  font-size:0.85rem;
  padding:7px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius:10px;
  color:rgba(255, 230, 100, 0.7);
}



.publicacion_card .box_subtitle{
  display:flex;
  align-items:center;
  margin:0 auto 12px 0;
}


.publicacion_card .box_subtitle p{
  margin:0px 3px;
  color:rgba(200, 180, 160, 0.8);
  font-weight:200;
  font-size:0.9rem;
  letter-spacing:0.8px;
}


.publicacion_card .subcard_preview{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin:25px 0;
  color:#ba9;
}


.publicacion_card .categorias{
  display:flex;
  flex-wrap:wrap;
}


.publicacion_card .categorias p{
  font-size:0.8rem;
  padding:7px 10px;
  margin:0px auto 10px 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius:8px;
  color:rgba(255, 255, 255, 0.7);
}




/*>>>>>>>>>>>>>>>>>>>>>>>>*/
/*  FOOTER                */
/*>>>>>>>>>>>>>>>>>>>>>>>>*/
footer {
  background: #222;
  width:100%;
  margin-top:auto;
  border-top:2px solid #555;
  border-radius:30px 30px 0 0;
  color: #444;
  text-align: center;
  padding: 20px 0 30px;
  letter-spacing:1.1px;
  font-weight:700;
  font-size:0.8rem;
}


.footer_links {
  width:80%;
  max-width:400px;
  list-style: none;
  padding: 0;
  margin: 20px auto 30px;
  display: flex;
  justify-content:space-around;
  gap: 15px;
}


.footer_links a {
  color: rgba(0, 130, 155, 0.8);
  text-decoration: none;
  letter-spacing:1.1px;
  font-weight:700;
  font-size:0.9rem;
}


.footer_links a:hover {
  text-decoration: underline;
}
