#splash {
    position: fixed;
    inset: 0;
    background: black;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #00ff00;
    font-family: monospace;
    transition: opacity 0.8s ease;
}

#splash.hidden {
    opacity: 0;
    pointer-events: none;
}

#terminal-text {
    white-space: pre-line;
    font-size: 1.2rem;
    text-align: left;
}

#start-msg {
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.5s;
    cursor: pointer;
}

#main-content {
    opacity: 0;
    transition: opacity 1s;
}

.roboto-mono {
  font-family: "Roboto Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 100px;
  font-style: normal;
}

h1 {
    padding-left: 20px;
}

.p-3 {
    /* background-color: #234f75; */
    background-image: url("images/background.png");
    background-color: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
    background-blend-mode: darken;
    background-size: cover;
    background-attachment: fixed;
}

.navbar {
    border-radius: 25px;
    margin: 20px;
    background: linear-gradient(-45deg, #3ea6b8 0%, #1c3f5e 25%);
}

.navbar-toggler {
    margin: 10px;
    border-radius: 50px;
}

.navbar-brand {
    padding: 20px;
    text-decoration: none;
    position: relative;
    transition: all 0.5s ease;
    text-shadow: none;
}

.navbar-brand::before,
.navbar-brand::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  color: #ffffff;
  transition: all 0.5s ease;
}

.navbar-brand::before {
  clip-path: inset(0 100% 0 0);
  text-shadow: 2px 0 #ff00e1, -2px 0 #00f3ff;
}

.navbar-brand::after {
  clip-path: inset(0 0 0 100%);
  text-shadow: 0 2px #ff00e1, 0 -2px #00f3ff;
}

.navbar-brand:hover {
  text-shadow: 2px 0 #ff00e1, -2px 0 #00f3ff, 0 2px #ff00e1, 0 -2px #00f3ff;
}

.navbar-brand:hover::before,
.navbar-brand:hover::after {
  clip-path: inset(0 0 0 0);
}

.nav-item {
    padding-left: 20px;
    padding-right: 20px;
}

.nav-item a {
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.nav-item a::before,
.nav-item a::after {
  content: "";
  position: absolute;
  background-color: #A6A6A6;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transition: transform 0.4s;
}

.nav-item a::before {
  top: 0;
  left: 0;
  transform-origin: left;
}

.nav-item a::after {
  bottom: 0;
  right: 0;
  transform-origin: right;
}

.nav-item a:hover::before,
.nav-item a:hover::after {
  transform: scaleX(1);
}

.immaturegoat {
    margin-top: 100px;
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
}

.speech-bubble {
	position: absolute;
    margin-top: 100px;
    margin-left: 30px;
	background: linear-gradient(-45deg, #3ea6b8 0%, #1c3f5e 100%);
	border-radius: 25px;
    display: inline-block;
    padding: 30px;
    max-width: 80vw;
    box-sizing: border-box;
    word-wrap: break-word; 
}

.speech-bubble:after {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 0;
	height: 0;
	border: 20px solid transparent;
	background: linear-gradient(-45deg, #3ea6b8 0%, #1c3f5e 100%);
	border-left: 0;
	border-top: 0;
	margin-top: -10px;
	margin-left: -20px;
}

.speech-bubble-text {
    padding-left: 30px;
    font-size: 25px;
}

.display-1 {
    font-size: 30px;
}

.pulse {
    text-decoration: none;
    position: relative;
    transition: all 0.5s ease-in-out;
    animation-duration: 0.9s;
    animation-name: pulse79;
    animation-iteration-count: infinite;
}

@keyframes pulse79 {
  0% { transform: scale(1); }
  50% { transform: scale(1.07); }
  100% { transform: scale(1); }
}

.about-me {
    margin: 20px;
    padding: 20px 25px;
    background: linear-gradient(-45deg, #3ea6b8 0%, #1c3f5e 100%);
    color: white;
    border-radius: 25px;
    width: 800px;
    max-width: 90%;
    text-align: right;
}

.about-me a {
    color: white;
}

.about-me ul {
    padding-left: 60px;
}

.blockquote {
    margin: 40px auto;
    text-align: center;
    padding: 15px;
    width: fit-content;
    background: linear-gradient(-45deg, #3ea6b8 0%, #1c3f5e 100%);
    border-radius: 25px;
    max-width: 90%
}

.blockquote-footer {
    padding-top: 15px;
}

.info-wrapper {
    display: flex;
    flex-direction: column; 
    align-items: flex-end;    
    width: 100%;
}

.nothing {
    margin: 100px auto 20px;
    padding: 15px;
    border-radius: 25px;
    background: linear-gradient(-45deg, #3ea6b8 0%, #1c3f5e 100%);
}

.contact-title {
    text-align: center;
    margin: 100px auto;
    margin-bottom: 10px;
    padding: 20px 25px;         
    width: 90%;               
    background: linear-gradient(-45deg, #3ea6b8 0%, #1c3f5e 100%);
    color: white;
    border-radius: 25px;
    box-sizing: border-box;
}

.contact-container {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap; 
    gap: 20px; 
}

.contact-box {
    flex: 1;
    display: flex;
    align-items: center;     
    gap: 20px;                
    background: linear-gradient(-45deg, #3ea6b8 0%, #1c3f5e 100%);
    padding: 20px;
    border-radius: 25px;
    margin: 0 auto;          
    color: white;
    transition: outline 0.25s ease, 
                outline-offset 0.25s ease,
                transform 0.25s ease;
    outline: 2px solid transparent;   
    outline-offset: 0px;
}

.contact-box img {
    height: 80px;
    width: 80px;
    filter: brightness(0) invert(1);
}

.contact-text {
    padding-top: 15px;
    display: flex;
    flex-direction: column;  
    align-items: flex-start; 
    overflow: auto;
}

.hover-card {
    transition: outline 0.25s ease, 
                outline-offset 0.25s ease,
                transform 0.25s ease;
    outline: 2px solid transparent;
    outline-offset: 0px;
}

.hover-card:hover {
    outline: 2px solid #dce7ff; 
    outline-offset: 4px;             
    transform: translateY(-4px);   
}

.link-title {
    text-align: center;
    margin: 100px auto;
    margin-bottom: 10px;
    padding: 20px 25px;         
    width: 90%;               
    background: linear-gradient(-45deg, #3ea6b8 0%, #1c3f5e 90%);
    color: white;
    border-radius: 25px;
    box-sizing: border-box;
}

.link-cards-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.link-card {
    position: relative;
    width: 300px;
    height: 200px;
    background: linear-gradient(-45deg, #3ea6b8 0%, #1c3f5e 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    margin: 20px;
}

.link-card img {
    width: 150px;
    fill: #333;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.link-card:hover {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.link-card__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    text-align: center;
    overflow-wrap: break-word;
}

.link-card__content a::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
}

.link-card__content a {
    color: black;
    text-decoration: none;
    text-align: center;
}

.link-card:hover .link-card__content {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 1;
}

.link-card__title {
    margin: 0;
    font-size: 24px;
    color: #333;
    font-weight: 700;
}

.link-card__description {
    margin: 10px 0 0;
    font-size: 14px;
    color: #777;
    line-height: 1.4;
}

.link-card:hover svg {
    scale: 0;
    transform: rotate(-45deg);
}

.log-title {
    text-align: center;
    margin: 100px auto;
    margin-bottom: 10px;
    padding: 20px 25px;         
    width: 90%;               
    background: linear-gradient(-45deg, #3ea6b8 0%, #1c3f5e 75%);
    color: white;
    border-radius: 25px;
    box-sizing: border-box;
}

.log-layout {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    gap: 20px; 
}

.log-sidebar {
    width: 250px;
    position: sticky;
    top: 100px;
    height: max-content;
    padding: 20px;
    border-radius: 20px;
    background: #1c3f5e;
    color: white;
    flex-shrink: 0; 
}

.log-sidebar h3 {
    font-size: 20px;
}

.log-content {
    flex: 1;
}

.log-content h3 {
    font-size: 20px;
}

.log-card {
    background: linear-gradient(-45deg, #3ea6b8 0%, #1c3f5e 100%);
    color: white;
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    width: 100%; 
}

.month {
    margin-bottom: 15px;
}

.btn-link.month-toggle {
    text-decoration: none;
    color: white;
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
}

.btn-link.month-toggle:hover {
    color: rgb(162, 162, 162);
    text-decoration: none;
}

.btn-link.month-toggle:focus,
.btn-link.month-toggle:focus-visible,
.btn-link.month-toggle:active {
    color: white !important;    
}

.month-posts.open {
    display: block;
}

.month-posts a {
    color: #dce7ff;
    text-decoration: none;
}

.month-posts a:hover {
    text-decoration: underline;
}

.month-toggle .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.month-toggle.open .arrow {
    transform: rotate(180deg);
}

.latest-title {
    text-align: center;
    margin-top: 100px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: -50px;
    padding: 20px 25px;         
    width: 90%;               
    background: linear-gradient(-45deg, #3ea6b8 0%, #1c3f5e 75%);
    color: white;
    border-radius: 25px;
    box-sizing: border-box;
}

.latest-card {
    border-radius: 25px;
    text-align: center;
    margin-bottom: 25px;
    background: linear-gradient(-45deg, #3ea6b8 0%, #1c3f5e 25%);
    padding: 15px;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    width: fit-content;
    overflow-wrap: normal;
}

.latest-card a {
    color: white;
}

.latest-card iframe {
    max-width: 70%;
}

.latest-card img {
    max-width: 300px;
    border-radius: 25px;
}

@media (max-width: 600px) {
    .immaturegoat {
        display: none;
    }
    .speech-bubble {
        position: static;
        margin: 100px auto 20px;   
        display: block;
        max-width: 90%;
    }
    .about-me {
        margin-top: 20px;  
    }
    .contact-container {
        flex-direction: column; 
    }
    .contact-box {
        width: 100%;
    }

    .link-cards-container {
        flex-direction: column;
        align-items: center;
    }

    .log-layout {
        flex-direction: column; 
    }

    .log-sidebar {
        width: 100%;         
        position: static;      
        margin-bottom: 20px;
    }

    .log-content {
        width: 100%;
    }

    .latest-card img {
        max-width: 150px;
    }
}
