@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inconsolata&display=swap');
@import  url('https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap');

body {
  color: #ffdead;
  background-image: linear-gradient(to top, #211, #103);
  background-attachment: fixed;
  font-family: 'Fira Code', monospace, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

/* COMMON */
.text-muted {
  color: #aaa !important;
}

pre {
  position: relative;
}

a.custom-link {
  color: #ffa500;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s, transform 0.2s;
}

a.custom-link:hover {
  color: #ff0000 !important;
  font-weight: bold;
}

/* DECORATORS */
.section-separator {
  width: 60px;
  height: 3px;
  background-color: #ffdead;
  margin: 2rem auto;
  border-radius: 2px;
}

.subtle-separator {
  border: none;
  border-top: 1px solid #444;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

/* NAVBAR */
.navbar-custom {
  background-color: #222;
  color: #ffdead;
  border-bottom: 1px solid #ffdead;
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
  color: #fff;
  transition: color 0.3s;
  color: #ffdead;
}

.navbar-custom .nav-link:hover {
  color: #ff0000 !important;
  color: #ffdead;
}

.navbar-custom .nav-link.active {
  color: #fff;
  color: #ffdead;
}

@media (max-width: 991.98px) {
  #navbarNav {
    display: flex !important;
  }
  .navbar-toggler {
    display: none !important;
  }
}

/* FOOTER */
footer {
  border-top: 1px solid #ffdead;
  margin-top: 2rem;
}

.footer-link {
  color: #ffdead;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #ff0000;
}

/* BUTTONS */
.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: #ffdead;
  color: #222;
  border: none;
  padding: 2px 8px;
  cursor: pointer;
  font-size: 0.8rem;
  border-radius: 3px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.copy-btn:hover {
  opacity: 1;
}

.email-btn {
  background-color: transparent;
  color: #ffdead;
  border: 1px solid #ffdead;
  padding: 4px 10px;
  font-size: 0.9rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
}

.email-btn:hover {
  background-color: #ffdead;
  color: #222;
}

/* INDEX */
.card {
  color: #ffdead;
  font-family: 'Fira Code', monospace;
  line-height: 1.75;
  
  margin: 0 auto 60px auto;
  padding: 40px 30px;

  background-color: rgba(34, 34, 34, 0.6);
  
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  
  border-radius: 6px;
}

.intro-text {
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  color: #ffdead;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}

/* ABOUT */
.social-links-vertical {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.social-links-vertical a {
  display: flex;
  align-items: center;
  color: #ffdead;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.social-links-vertical a:hover {
  color: #ff0000
}

.social-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

/* MD */
.markdown-content {
	color: #ffdead;
	font-family: 'Fira Code', monospace;
	line-height: 1.75;
  
	font-size: 16px;
	line-height: 1.7;
	max-width: 1000px;
	margin: 0 auto 60px auto;
	padding: 40px 30px;

	background-color: rgba(34, 34, 34, 0.6);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
	border-radius: 6px;
}

.markdown-content img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 20px auto;
	border-radius: 4px;
}

.markdown-content pre {
	background-color: #000;
	color: #eeeeee;
	font-family: 'Fira Code', monospace;
	font-size: 0.95rem;
	padding: 1rem;
	border: 1px solid #eeeeee;
	border-radius: 0;
	overflow-x: auto;
	position: relative;
	margin-bottom: 1.5rem;
}

.markdown-content blockquote {
    border-left: 3px solid #ffdead;
    margin: 1.5rem 0;
    padding: 0.5rem 1rem;
    color: #ccc;
    font-style: italic;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.markdown-content blockquote p {
    margin: 0;
}

.markdown-content h1 {
    font-size: 2.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.markdown-content h2 {
    font-size: 1.8rem;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
}

.markdown-content h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.markdown-content p {
    margin-bottom: 1rem;
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 1rem;
}

.markdown-content blockquote {
    margin: 1.5rem 0;
}

.code-block {
    position: relative;
    background: #1d1d1d;
    border: 1px solid #ffdead55;
    border-radius: 8px;
    padding: 0;
    margin: 2rem 0;
    overflow: hidden;
}

.code-block::before {
    content: attr(data-title);
    display: block;
    background: #222;
    color: #ffdead;
    padding: 6px 12px;
    font-size: 0.9rem;
    border-bottom: 1px solid #ffdead55;
    font-family: "Fira Code", monospace;
}

.code-block pre {
    margin: 0;
    padding: 12px;
    overflow-x: auto;
    background: transparent !important;
    color: #ffdead;
    font-family: "Fira Code", monospace;
}

