/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
.button {
  padding: 16px 24px;
  transition-duration: 0.4s;
  cursor: pointer;
    border-radius: 12px;
    border: 3px solid #ca9ee6;
    width: 60px;
    height: 55px;
}

.button:hover {
    background-color: #cba6f720;
}


body {
  background-color: #181825;

  color: #dce0e8;
  font-family: Caskaydia;
}

@font-face {
    font-family: "Caskaydia";
    src: url("fonts/CaskaydiaCoveNerdFont-Regular.ttf");
}

@font-face {
    font-family: "BigBlue";
    src: url("fonts/BigBlueTerm437NerdFont-Regular.ttf");
}

.list-two{
    list-style-type: none;
    text-align: center;
}
.list-three{
      padding: 0;
  display: flex;
  gap: 40px;
    margin: 0px 70px;
}

.background {
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.title{
  padding: 10px;
}
.list-one {
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  display: block;
  background-color: #ca9ee6;   
  padding: 0px;
  margin: 0px auto;
  text-align: center;
  font-size:150%;
  width: 100%;
  list-style: none;
  max-width: 1900px;
}


.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%; /* Ensure the footer spans the full width of the page */
  text-align: center; /* Center content inside the footer */
}

.footer ul {
  margin: 0;
  padding: 0;
  display: inline-block; /* Use inline-block to center align the list */
}

.gradient-wrapper {
  position: relative;
  display: inline-block;
  text-align: center;
}

.line-gradient-wrapper {
  position: relative;
  display: inline-block;
}

.gradient-text {
  font-weight: bold;
  background: linear-gradient(to right, #cba6f7, #f38ba8, #eba0ac, #fab387, #f9e2af, #a6e3a1, #94e2d5, #89dceb, #74c7ec, #89b4fa, #b4befe);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.gradient-line {
      border: none;
      background: linear-gradient(to right, #cba6f7, #f38ba8, #eba0ac, #fab387, #f9e2af, #a6e3a1, #94e2d5, #89dceb, #74c7ec, #89b4fa, #b4befe);
}

.layout {
    align-items: start;
    padding-top: 20px; 
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 20px;
    max-width: 1900px;
    margin: 0 auto;
}
.sidebar {
    background: #ca9ee6;
    padding: 15px;
    border-radius: 8px;
    align-self: stretch; 
}
.content .post-box {
    background: #ca9ee6;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 100%;  
}
@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr; /* one column */
    }
    .sidebar {
        order: 2; /* push below main content */
    }
}
.layout-container {
    max-width: 1900px;  
    margin: 0 auto;     
}

.post{

  background:#ca9ee6;
  padding:20px;
  margin-bottom:20px;
  border-radius:10px;
  box-shadow:0 2px 6px rgba(0,0,0,.06)}
  h2{margin-top:0}
   width: 100%; 
}

.posts-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.gradient-border {
    position: relative;
    border-radius: 12px;
    background: #ca9ee6; /* your normal background */
    z-index: 0;
}

/* the actual gradient outline */
.gradient-border::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px; /* border thickness */
    border-radius: 10px; /* same radius as box */
    background: linear-gradient(
        to right,
        #ffffff
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    z-index: -1;
}
