
.post-container{
    /* display: inline-block; */
    /* justify-content: center; */
    align-items: center;
    align-content: center;
    width: 100%;
    background-color: #fff;
    border: 3px solid #000;
    box-shadow: 8px 8px 0px #000;
    background-color: #eee;
    padding: 5%;
    height:auto;
    margin: auto;

}

.post-container p{
    font-size: 20px;
    padding: 1vh;
    font-weight: 500;
}

.post-container strong{
    font-size: 22px;
    color: #000;
    background-color: rgb(188, 183, 255);
}

.post-image{
    /* max-width: 100%; */
    width: 100%;
    height: auto;
    padding: 1vh;
    border: 10px #000;
}

.header-post-image{
    width: auto;
    height: 10vh;
    padding: 1vh;
    border: 10px #000;
    box-shadow: 8px 8px 0px #000;
    background-color:rgb(196, 163, 201);
    border: 3px solid #000;
    margin: 2%;

}

.post-image-container{
    display: block;
    align-content: center;
    background-color: #fff;
    border: 3px solid #000;
    box-shadow: 8px 8px 0px #000;
    width: 55%;
    height:auto;
    background: repeating-linear-gradient(
                135deg,
                rgb(188, 183, 255),
                rgb(188, 183, 255) 10px,
                #874099 10px,
                #874099 20px
                );
    margin: 5% auto;
}

.post-image-caption {
    font-weight: bold;
    text-align: center;
    padding: 1vh;
    background-color: #fdfb94;
}

.post-datetime{
    font-size: 20px;
    /* text-decoration: underline;
    text-emphasis: "っ";
    text-emphasis-position: under; */

}

.notes-container {
    display: block;
    align-content: center;
    background-color: #fff;
    border: 3px solid #000;
    box-shadow: 8px 8px 0px #000;
    width: 100%;
    height:auto;
    background-color: rgb(188, 183, 255);
    /* margin: 5% auto; */
    padding: 1%;

}

iframe {
    padding: 0%;
    width: 100%;  /* A4 width in pixels */
    height: 90vh; /* A4 height in pixels */
    border: 1px solid #ccc; /* Optional border for visual clarity */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow for aesthetic */
    margin: 0 auto;
    display: block; /* Ensure block layout */
}

.nav-tabs {
    background-color: rgb(188, 183, 255);
    color: #000;
}

.nav-tabs button{
    background-color: #d1d0d0;
}
.nav-tabs button:hover{
    background-color: #000;
    color: #fff;
    font-weight: bold;
}
.nav-tabs button:active{
    font-weight: bold;
}
.nav-link.active{
    font-weight: bold;
}

.neobrutalist-button {
    font-family: monospace;
    background-color: #f5f5f5; /* Light gray background */
    border: 4px solid #000; /* Bold black border */
    box-shadow: 7px 7px 0px 0px #000; /* Enhanced shadow */
    color: #000 !important; /* Black text */
    background-color: yellow;
    font-weight: bold; /* Bold text */
    font-size: larger;
    /* padding: 10px 20px; */
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 1px; /* Slight letter spacing */
    cursor: pointer; /* Pointer cursor */
    position: relative; /* For hover effect */
    width: auto;
    transition: transform 0.1s ease, background-color 0.3s ease;
}

.neobrutalist-button:hover {
    background-color: #000;
    transform: translate(-2px, -2px); /* Slight "pressed" effect */
    box-shadow: 7px 7px 0px 0px #000; /* Enhanced shadow */
    color: yellow !important;
}

.neobrutalist-button a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit button text color */
    color: black;
}

.neobrutalist-button:active {
    transform: translate(2px, 2px); /* Button pressed effect */
    box-shadow: 3px 3px 0px 0px #000; /* Subtle shadow */
    color: black;
}

a[href="#sidebar"]{
    text-decoration: none;
    color: #000;
    font-weight: bold;
    background-image: inherit; 
    font-family: 'Font Awesome 6 Free';
}

.new-tag {
    position: absolute; 
    top: 10px; 
    left: 10px; 
    z-index: 2; 
    max-width:25%;
    width: auto;
}

.highlight-tag{
    position: absolute; 
    top: 0px; 
    right: 10px; 
    z-index: 2; 
    max-width:30%;
    }

.post-description{
    font-size: 10px;
    padding: 1vh;
    font-weight: 500;
}
.not-ready{
    background: repeating-linear-gradient(
                135deg,
                #000000,
                #000000 10px,
                #eeff00 10px,
                #eeff00 20px
                ) !important;
    color:#fff;
    opacity: 30%;
    cursor: not-allowed;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);

}

.index-post-container{
    font-family: "IBM Plex Mono", monospace;
    display: block;
    align-content: center;
    background-color: #fff;
    border: 3px solid #000;
    box-shadow: 8px 8px 0px #000;
    width: 100%;
    height:auto;
    position: relative;
    font-size: clamp(18px, 4vw, 12px);
    background-color: rgb(188, 183, 255);
    text-transform: uppercase;
    text-overflow: ellipsis;
    transition: transform 0.1s ease, background-color 0.3s ease;
    padding: 10px 20px;
    
}

.index-post-container:hover{
    background-color: rgb(188, 183, 255);
    z-index: 10;
    font-weight: bold;
    text-overflow: ellipsis;
}

.index-post-image{
    width: 100%;
    height: auto;
    padding: 1vh;
}

.projeto {
    background-color: black;
    border: 10px double white;
    color: yellow; 
    font-weight: bold}
.projeto:hover {
    transform: scale(1.5);
    color: black;
}

.caderno {
    /* background-color: #b4b6b3ef;  */
    border: 4px solid #444;
    box-shadow: 5px 5px 0px 0px #000;
    background-image: url("/static/blog/img/checkered.aae391b1cccb.png");
    color: black}
.caderno:hover {
    transform: scale(1.1);
    background-image: none;
    color: black;
}
.caderno small {
    background-color:white
}

.leitura {
    background-color: #ffffff;
    border: 4px double #000;
    box-shadow: 4px 4px 0px 0px #000;
    color: #000;}
.leitura:hover {
    transform: scale(1.35);
}

.image-tooltip {
    position: relative;
    display: inline-block;
    /* max-width: 40%; */
  }

  .image-tooltip img {
    display: block;
    width: 100%;
    height: auto;
  }

  .image-tooltip .tooltiptext {
    width: 100%;
    position: absolute;
    bottom: 100%;            /* Position above the image */
    left: 50%;               /* Center horizontally */
    transform: translateX(-50%);
    margin-bottom: 10px;     /* Gap between image and tooltip */
    background-color: #fffc85; /* Post-it note yellow */
    color: #333;
    padding: 10px;
    border: 2px solid #e0df73;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease 0s;
    transition-delay: 0.4s;
  }

  /* Create an arrow for the speech bubble */
  .image-tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;  /* Position arrow at the bottom edge of the tooltip */
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: #fffc85 transparent transparent transparent;
  }
  .image-tooltip:hover .tooltiptext {
    opacity: 1 !important;
  }

/* Container to anchor the image and speech bubble */
.speech-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px;
    width: 100%;
  }


  /* Optional: restrict the image size */
  .speech-image {
    background-color:  yellow;
    width: 20%;
    height: auto;
    display:inline-flex;
}
  /* Speech bubble styling */
  .speech-bubble {
    position: relative;
    background: #eee;
    border: 4px solid #000;
    padding: 20px;
    width:50%;
    /* Remove border radius for a blockier look */
    border-radius: 0;
    /* Use a more pronounced shadow */
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 1);
  }
  .speech-bubble::before {
    content: "";
    position: absolute;
    /* 
       Position so that the arrow's tip (20px from top, given a total arrow height of 40px)
       aligns with 75px (the center of a 150px image):
       75px - 20px = 55px.
    */
    top: 55px;
    left: -40px;  /* width of arrow border */
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 40px solid #000;
  }
  /* The tail of the speech bubble */
  .speech-bubble::after {
    content: "";
    position: absolute;
    /* Offset by the border thickness (4px) */
    top: 55px + 4px;  /* equals 59px */
    left: -36px;      /* 40px - 4px = 36px */
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-right: 36px solid #eee;
  }
  /* Since calc() is needed for after, adjust it properly: */
  .speech-bubble::after {
    top: calc(75px - 20px + 4px); /* (75 - arrow tip offset) + border thickness */
    left: -36px;
  }
  
  
audio {
    width:100%;
    /* min-width: 10%; */
    background-color: black;
    border-color: #000;
  }
  
  audio::-webkit-media-controls-panel {
    background-color: black;
  }
  
  /* Style play and pause buttons (WebKit browsers only) */
  audio::-webkit-media-controls-play-button,
  audio::-webkit-media-controls-pause-button {
    background-color: white;
    margin-right: 10%;
  }

  audio::-webkit-media-controls-mute-button,
  audio::-webkit-media-controls-volume-slider-container,
  audio::-webkit-media-controls-volume-slider,
  audio::-webkit-media-controls-timeline {
    display: none !important;
    overflow: hidden;
  }
  
  audio::-webkit-media-controls-current-time-display,
  audio::-webkit-media-controls-time-remaining-display {
    color: white !important;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
  }

  .jp-subtext{
    font-size: 0.7rem;
    /* color:initial */
  }