/* === Buzz-sida === */

.bg-custom {
    background: #130824 !important;
}



body,
p,
li,
a,
span,
div,
ul {
    font-family: 'Tektur', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Overpass Mono', monospace !important;
}


/* Back-knapp med underline-hover*/
.back-btn {
    position: relative;
    text-decoration: none;
}

.back-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 3px;
    background: #F6FF4C;
    transition: width 0.3s ease;
}

.back-btn:hover::after {
    width: 100%;
}

.back-btn:hover {
    color: #F6FF4C !important;
}


/* Understrykningseffekt på sidebar-länkar */
.sidebar a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    font-size: 0.9rem;      
    transition: color 0.3s ease;
}

.sidebar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 3px;
    background: #F6FF4C;
    transition: width 0.3s ease;
}

.sidebar a:hover::after {
    width: 100%;
}

.sidebar a {
    color: #F6FF4C !important;
}
.col-right .sidebar h3 {
    font-size: 1rem;          
    margin-bottom: 0.5rem;
  }

.date {
    color: #F6FF4C !important;
    font-size: 0.875rem;
}

code {
    color: #F6FF4C !important;
}

#tech-stack h2 {
    font-family: 'Overpass Mono', monospace !important;
}

/* Key Features */
#features h2 {
    font-family: 'Overpass Mono', monospace;

}

#features p {
    font-family: 'Tektur', sans-serif;
    margin: 0;
    font-size: 0.9rem;
}

#features i {
    display: block;
}

#features i {
    color: #F6FF4C !important;
}

#tech-stack ul {
    list-style-type: square !important;
    list-style-position: inside !important;
    padding-left: 1.5rem !important;
}

#tech-stack li {
    font-family: 'Tektur', sans-serif !important;
}

#tech-stack ul li::marker {
    color: #F6FF4C;
}

/* Gul linje under rubriker */
.section-underline {
    display: block;
    width: 340px;
    margin: -0.5rem 0 1.5rem 0;
    border: none;
    border-top: 3px solid #F6FF4C;
    opacity: 1;
}

p,
.lead,
li {
    line-height: 1.7;
}


h1.display-4 {

    font-size: 2.5rem;
}


#features .row>div {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#features .row>div:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.col-left {
    display: flex;
    flex-direction: column;
    align-items: center;    
  }
  .col-left > * {
    width: 100%;
    max-width: 700px;       
  }

  .col-right {
    border-left: 1px solid rgba(255,255,255,0.3); 
    font-weight: 300;
  }
  section {
    padding: 1rem 0;  
  }
  .section-underline {
    margin-top: 0.5rem;    
    margin-bottom: 1.5rem; 
  }
  #tech-stack ul li {
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  #tech-stack ul li:hover {
    background-color: rgba(246, 255, 76, 0.06);
    color: #F6FF4C;
  }

  .popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    justify-content: center;
    align-items: center;
    z-index: 1000;
    font-family: 'Tektur', sans-serif; 
  }
  
  .popup-box {
    background-color: #130824; 
    padding: 24px;
    border-radius: 10px;
    text-align: center;
    max-width: 320px;
    color: #FFF;
    box-shadow: 0 0 12px rgba(246, 255, 76, 0.2);
    font-family: 'Tektur', sans-serif;
  }
  
  .popup-box p {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .popup-box button {
    background-color: transparent;
    color: #F6FF4C;
    border: 2px solid #F6FF4C;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: 'Tektur', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .popup-box button:hover {
    background-color: #F6FF4C;
    color: #130824;
  }
  .project-carousel .carousel-item img{
    aspect-ratio: 16 / 9;   
    object-fit: cover;      
    display: block;
  }
  .project-carousel .carousel-indicators [data-bs-target]{
    width: 10px; height: 10px; border-radius: 50%;
  }
  .btn-accent-ghost{
    --accent: #F6FF4C;
    --bg: #130824;
    background: transparent;
    color: var(--accent) !important;
    border: 2px solid var(--accent);
    border-radius: 6px;                  
    padding: 6px 12px;
    line-height: 1;
    font-family: 'Tektur', sans-serif;   
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
    box-shadow: 0 0 0 rgba(246,255,76,0);
  }
  
  .btn-accent-ghost:hover{
    background: var(--accent);
    color: var(--bg) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(246,255,76,0.25);
  }
  
  .btn-accent-ghost:active{
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(246,255,76,0.2);
  }
  
  .btn-accent-ghost:focus-visible{
    outline: none;
    box-shadow: 0 0 0 3px rgba(246,255,76,0.35);
  }
  
  
  .btn-accent-ghost .bx{
    font-size: 1rem;
    position: relative;
    top: 1px;   
  }
  
  
  #gallery .mt-2{
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
  }
  @media (max-width: 576px){
    #gallery .mt-2{ justify-content: center; }
  }
  

@media (min-width: 992px) {
    .col-left {
      flex: 0 0 87% !important;
      max-width: 87% !important;
      padding-right: 1rem;
    }
    .col-right {
      flex: 0 0 13% !important;
      max-width: 13% !important;
      padding-left: 1rem;
      border-left: 1px solid rgba(255,255,255,0.3);
      
      margin-top: 0;
      border-top: none;
    }
  }
  
  @media (max-width: 991.98px) {
    .sidebar-container {
        max-width: 300px;     
        margin: 0,75rem auto;   
        padding: 1rem;        
        border-top: 1px solid #fff;
      }
    .col-right {
      border-left: none !important;
      padding-left: 0;
   
    }
    @media (max-width: 991.98px) {
        .sidebar-container {
          box-sizing: border-box;    
          padding-top:    2rem;      
          padding-bottom: 1rem;
          padding-left:   1rem;      
          padding-right:  1rem;      
        }
      }
      
  }
  
  
  
  
