#BreadBoard {
  background-image: url('../../images/Background.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: scroll;
  min-height: 100vh;
  color: white;
}

body {
  background-color: #000; 
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
.BreadBoardClass{
  align-items: center;
}

.carousel {
  position: relative;
  width: 520px;
  height: 70vh;
  margin: 40px auto;
  perspective: 1000px;
}
.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s;
}
.carousel-container h4{
    font-size: 2em;
    color: white;
    text-shadow: 1px 1px 2px black;
}
.card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #121212;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  color: #fff;
  text-align: center;
  max-height: 600px;
  overflow-y: auto;
}
.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.code {
  position: relative;
  max-height: 420px;          
  overflow-y: visible;           
  background-color: #1a1a1a;
  color: #00ffcc;
  font-family: monospace;
  font-size: 0.85rem;
  border: 2px solid #03445a;
  border-radius: 8px; 
  line-height: 1.4;
  border-top: 25px solid #03445a;
}
.code pre{  
  text-align: left;
  padding-left: 10px;
  position: inherit;
  max-height: 400px;
  overflow-y: auto;
}

.code-header {
  max-height: 400px;   
  position: absolute;
  top: -22px;                     /* lift above the border */
  left: 10px;
  background-color: #03445a;     /* match .code background */
  color: #1a1a1a;
  font-weight: bold;
  font-size: 0.85rem;
  border-radius: 4px;
}

.carousel button.prev,
.carousel button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0 10px;
}
.carousel button.prev { left: -40px; z-index: 1000;}
.carousel button.next { right: -80px; z-index: 1000;}