@font-face {
  font-family: 'FiraMono-Bold';
  src: url('fonts/FiraMono-Bold.ttf');
}
@font-face {
  font-family: 'FiraSans-Medium';
  src: url('fonts/FiraSans-Medium.ttf');
}

*{
  font-family: "FiraMono-Bold";
  color: #DDDDDDFF;
}
html{
  min-height: 100%;
  overflow-x: hidden;
  max-width: 100%;
}
body{
  margin: 0;
  padding: 0;
/* 
  background: #8B6F70 !important;
*/
  min-height: 100vh;
  background: url("img/stock/pexels-freestockpro-12940795.jpg") no-repeat center;
  background-size: cover;
  position: relative;
  background-attachment: fixed;
  overflow-x: hidden;
  max-width: 100%;
}
body:not(.mobile):not(.desktop) div {
  visibility: hidden;
}

body.mobile div,
body.desktop div {
  visibility: visible;
}
p{
  color: #DDDDDDFF;
}
h1{
  color: white;
}
hr.solid {
  margin: 0;
  padding: 0;
  position: relative;
  width: fit-content;
  color: #FFFFFF00;
}
.panel hr.solid{
  margin: 0;
  padding: 0;
  position: relative;
  border-top: 1px solid #DDDDDD;
  width: inherit;
  left: inherit;
}
.navigation{
  display: flex;
  justify-content: space-around;
  margin: 0;
  padding: 0;
  position:relative;
  background-color: #161616EF;
  width: 80%;
  height: auto;
  left: 10%;
  margin-top: 2%;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.mobile .navigation {
  font-size: 16px;
  width: 100%;
  left: 0%;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.desktop .navigation {
  width: 80%;
}
.navLeftSide{
  position:relative;
  width: 50%;
  height: inherit;
}
.navRightSide{
  display: flex;
  justify-content: flex-end;
  position:relative;
  width: 50%;
  height: 77px;
}
.navigation .navbtn{
  float: left;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: #DDDDDDFF;
  cursor: pointer;
  text-decoration: none;
  margin-top: 27px;
  margin-left: 33px;
}
.navRightSide .navbtn{
  float: right;
  margin-left: 0px;
  margin-right: 33px;
}
.navigation .navbtn:hover{
  color: #FFFFFFFF;
  text-decoration: underline;
}
.header{
  position:relative;
  width: 80%;
  left: 10%;
  background-color: #6A3434;
  background-image: url('img/logo.png');
  background-size: 100%;
  background-position-x: center;
  background-position-y: 48%;
  height: auto; /* Remove this if using padding-top */
  padding-top: 10%; /* Adjust this percentage based on your image aspect ratio */
  background-size: contain; /* Ensure the image scales properly */
  background-repeat: no-repeat;
}
.mobile .header {
  font-size: 16px;
  width: 100%;
  left: 0%;
  padding-top: 25%;
}
.desktop .header {
  width: 80%;
}
.addressBar{
  position:relative;
  background-color: #161616EF;
  width: 80%;
  height: 50px;
  left: 10%;
}
.mobile .addressBar {
  font-size: 16px;
  width: 100%;
  left: 0%;
}
.desktop .addressBar {
  width: 80%;
}
.addressBar h4{
  margin: 0;
  padding: 0;
  padding-left: 10%;
  padding-top: 1%;
}
.emptySpaceBeforePanel{
  position:relative;
  background-color: #161616EF;
  width: 80%;
  height:50px;
  left: 10%;
}
.mobile .emptySpaceBeforePanel {
  font-size: 16px;
  width: 100%;
  left: 0%;
}
.desktop .emptySpaceBeforePanel {
  width: 80%;
}
.panel{
  position:relative;
  background-color: #161616EF;
  width: 80%;
  height:fit-content;
  left: 10%;
}
.mobile .panel {
  font-size: 16px;
  width: 100%;
  left: 0%;
}
.desktop .panel {
  width: 80%;
}
.content{
  position: relative;
  height:fit-content;
}
.contentStatic{
  position: relative;
  height: 250px;
}
.footer{
  position:relative;
  background-color: #161616EF;
  width: 80%;
  height: 77px;
  left: 10%;
  margin-bottom: 5%;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}
.mobile .footer {
  font-size: 16px;
  width: 100%;
  left: 0%;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.desktop .footer {
  width: 80%;
}
.footer .navbtn{
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
  color: #DDDDDDFF;
  left: 5%;
  top: 25px;
  font-size: 17px;
  text-decoration: none;
}
.footer .navbtn:hover{
  color: white;
  text-decoration: underline;
}
.referral{
  float: right;
  position: relative;
  margin: 0;
  padding: 0;
  margin-right: 0.5rem;
  bottom: 20%;
}
.copyright{
  box-sizing: border-box;          /* in case it’s not inherited */
  max-width: 100%;
  overflow-x: hidden;
  background-color: #161616EF;
  display: flex;
  justify-content: space-between;  /* left stuff left, right stuff right */
  align-items: center;             /* vertical centering */
  flex-wrap: wrap;                 /* safety for very small screens */
  gap: 0.5rem;
  padding: 0.5rem 5rem;
}
.copyrightContent{
  margin-right: auto;     /* pushes it to the far right */
  text-align: left;            /* keeps the text nice when it wraps */
}
.copyright p{
  position:relative;
  color: gray;
  display: table-cell;
  left: 11%;
}
.copyright a{
  position: relative;
  color: white;
  left: 5%;
  text-decoration: none;
}
.copyright a:hover{
  text-decoration: underline;
}
.copyright-right{
  margin-left: auto;     /* pushes it to the far right */
  text-align: right;            /* keeps the text nice when it wraps */
}

/* BLOG BEGIN */
.blogContainer{
  position: relative;
  width: 80%;
  left: 10%;
}
.blogContainer *{
  font-family: "FiraSans-Medium";
}
.blogContainer hr.solid{
  left: 0;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 20px;
  border-top: 1px solid #454545AA;
}
.post{
  position: relative;
  height: fit-content;
  margin-bottom: 30px;
}
.post-body{
  position: relative;
}
.post-title{
  color: #FFFFFF;
  font-size: 48px;
  font-weight: bold;
}
.post-date{
  margin-top: 0.5rem;
  color:cadetblue;
}
.post-public{
  margin-bottom: 1.5rem;
  color:rgb(239, 241, 75);
}
.post-subtitle{
  font-size: 24px;
  font-weight: bold;
  margin-top: 3rem;
  color:#EEEEEE;
}
.post-text{
  margin-top: 0.5rem;
}
.post-text a{
  color: #CCCCCCCC;
  text-decoration: underline;
}
.post-text a:hover{
  color: white;
}
.btn-newPost{
  font-size:large;
  font-weight: bold;
}
.post-btn-readMore{
  font-size:x-large;
  font-weight: bold;
}
.post-btn-edit{
  font-size:large;
  font-weight: bold;
}
.post-btn-delete{
  font-size:large;
  font-weight: bold;
  background: transparent;
  border: 0;
  color: red;
  cursor: pointer;
}
/* BLOG END */

/* COMMENTS BEGIN */
.commentContainer{
  position: relative;
  width: 80%;
  left: 10%;
}
.commentContainer hr.solid{
  left: 0;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 20px;
  border-top: 1px solid #454545AA;
}
.commentContainer a{
  text-decoration: underline;
  cursor: pointer;
  color: #2f3542
}
.comments-title{
  color: #FFFFFF;
  font-size: 48px;
  font-weight: bold;
}
.comments-login{
  color: #2f3542
}
.comments-textarea{
  margin: 0;
  padding: 0;
  width: 50%;
  color: #2f3542;
}
.comments-button{
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  padding: 0;
  outline: none;
  color: #2f3542;
  width:auto;
}
.comment-user{
  color: #AAAAAA;
  margin-top: 2.5rem;
  font-size: 24px;
}
.comment-user-belongs{
  color: #77FFFF;
  margin-top: 2.5rem;
  font-size: 24px;
}
.comment-user-waiting{
  color: #FF8866;
  margin-top: 2.5rem;
  font-size: 24px;
}
.comment-date-waiting{
  margin-bottom: 0.5rem;
  color: #CCDD66;
}
.comment-text-waiting{
  margin-top: 0.5rem;
  color: #AACCAA
}
.comment-date{
  margin-bottom: 0.5rem;
  color:
  cadetblue;
}
.comment-text{
  margin-top: 0.5rem;
}
.comment-bottom{
  position: relative;
  height: 100px;
}
/* COMMENTS END */

/* NEWSLETTER BEGIN */
.containerNewsletter{
  margin: 0;
  padding: 0;
  text-align: center;
  color: white;
  position: inherit;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.containerNewsletter p {
  margin: 0;
  padding: 0;
  max-width: auto;
  margin: 40px auto;
  font-size: 15px;
}
.email-box{
  margin: 0;
  padding: 0;
  height: 40px;
  justify-content: center;
  display: flex; /*its better to use inline-flex*/
}
.email-box i{
  margin: 0;
  padding: 0;
  background: #2f3542;
  width: 40px;
  line-height: 40px;
}
.tbox,.btn{
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}
.tbox{
  margin: 0;
  padding: 0;
  width: 0px;
  transition: 0.6s;
  color: #2f3542;
}
.email-box:hover > .tbox,.tbox:focus{
  margin: 0;
  padding: 0;
  width: 260px;
  padding: 0 10px;
}
.btn{
  margin: 0;
  padding: 0;
  background: #2f3542;
  color: white;
  padding: 0 10px;
  text-transform: uppercase;
  cursor: pointer;
}
.envelope{
  margin: 0;
  padding: 0;
  width: inherit;
  height: inherit;
}

/* NEWSLETTER END */

.action-btn {
  display: inline-block;
  padding: 8px 16px;
  margin: 11px 0px;
  font-family: "FiraSans-Medium", sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #DDDDDDFF;          /* matches your text color */
  background-color: #2C2C2C; /* slightly lighter than panels */
  border: 1px solid #444444; /* subtle border */
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}

.action-btn:hover {
  background-color: #3A3A3A; /* lighter on hover */
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.action-btn.logout {
  border-color: #3498DB; /* subtle blue accent */
  color: #FFFFFF;
}

.action-btn.logout:hover {
  background-color: #2D6CA2; /* darker blue hover */
}

.action-btn.delete {
  border-color: #E74C3C; /* subtle red accent */
  color: #FFFFFF;
}

.action-btn.delete:hover {
  background-color: #C0392B; /* darker red hover */
}

/* LOGIN FORM STYLES */
.login-form {
  position: relative;
  background-color: #161616EF; /* matches panels */
  width: 88%;
  max-width: 400px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center; /* centers child elements */
  margin-bottom: 15px;
}

.login-form div {
  width: 100%;
  margin-bottom: 1.2rem;
}

.login-form label {
  display: block;
  font-family: "FiraSans-Medium", sans-serif;
  font-size: 14px;
  color: #DDDDDDFF;
  margin-bottom: 0.4rem;
  text-align: left; /* label stays aligned left */
}

.login-form input {
  display: block;
  width: 100%;
  padding: 10px 12px;
  font-family: "FiraMono-Bold", monospace;
  font-size: 14px;
  color: #2f3542;
  background-color: #DDDDDD;
  border: 1px solid #444444;
  border-radius: 6px;
  outline: none;
  box-sizing: border-box; /* ensures padding doesn’t break width */
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-form input:focus {
  border-color: #3498DB; /* subtle blue accent */
  box-shadow: 0 0 5px rgba(52,152,219,0.5);
}

.login-form button {
  width: 100%;
  padding: 10px 0;
  font-family: "FiraSans-Medium", sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #FFFFFF;
  background-color: #2C2C2C;
  border: 1px solid #444444;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}

.login-form button:hover {
  background-color: #3A3A3A;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.login-form .login-link {
  display: block;
  margin-top: 1rem;
  font-family: "FiraSans-Medium", sans-serif;
  font-size: 14px;
  color: #DDDDDDFF;
  text-align: center;
  text-decoration: underline;
  transition: color 0.2s;
}

.login-form .login-link:hover {
  color: #FFFFFF;
}