@font-face {
  font-family: 'DKCanoodle';
  src: url('../fonts/DKCanoodle.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: #222;
  font-family: 'DKCanoodle', sans-serif;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
}

.masthead {
  background: url('../img/bannerHeader.png') no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.masthead img {
  max-width: 120px;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  color: white;
  font-weight: normal;
}

.button-nav,
.button-resume {
  border: none;
  outline: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  font-size: 25px;
  margin: 2px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border-radius: 10px;
}

.button-nav {
  background-color: #4CAF50;
  border-radius: 0px;
}

.button-nav:hover {
  transform: scale(1.1);
}

.button-nav.active {
  box-shadow: 0 0 0 2px #fff;
}

.button-resume {
  background-color: #007BFF;
}

.button-resume:hover {
  transform: scale(1.1);
}

.vitrine {
  display: flex;
  justify-content: center;
  gap: 1px;
}

.vitrine-section {
  margin-top: 2px;
  margin-bottom: 2px;
}

.vitrine-img-container {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin: 1px;
}

.vitrine-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 2px solid #fff;
}

.about {
  padding: 0px 0;
  background-color: #222;
  color: #fff;
  font-size: 1.5rem;
}

.about .about-lead {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.about h3 {
  color: #fc9803;
  margin-top: 20px;
  font-size: 2.5rem;
}

.about ul,
.about li {
  font-size: 1.5rem;
  line-height: 1.8;
}

.about-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.about-text {
  flex: 1;
}

.about-video {
  width: 400px;
  flex-shrink: 0;
}

.about-video video {
  width: 100%;
  height: auto;
  border: 2px solid #fff;
  border-radius: 5px;
}

.work-section {
  padding: 50px 0;
  background-color: #222;
}

.work-section h2 {
  color: #fff;
  text-align: center;
  font-size: 50px;
  margin-bottom: 20px;
}

.work-section h2.work-title {
  color: #fc9803;
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.work-section .row {
  display: flex;
  flex-wrap: wrap;
}

.work-section .row > [class*='col-'] {
  display: flex;
}

.work-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 1px solid #444;
  padding-bottom: 30px;
}

.work-item:last-child {
  border-bottom: none;
}

.work-item-header {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.work-item-header p {
  color: #fff;
  margin: 3px 0;
}

.company-name {
  font-size: 45px;
  font-weight: bold;
}

.job-title {
  font-size: 30px;
}

.job-duration {
  font-size: 25px;
}

.project-title {
  font-size: 40px;
  font-weight: bold;
}

.work-item-description p {
  color: #fff;
  margin: 0;
}

.work-item-image {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin: 20px auto 5px auto;
  border: 2px solid #fff;
  flex-shrink: 0;
}

.work-item-image a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
}

.work-item-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-item-image a:hover img {
  transform: scale(1.1);
}

.work-item-description {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-description {
  font-size: 40px;
}

.video-container {
  position: relative;
  padding-top: 10px;
  max-width: 600px;
  margin: 0 auto;
}

.youtube h1 {
  color: #fff;
}

.blog-list { max-width: 800px; margin: 0 auto; text-align: left; }
.blog-post-entry { margin-bottom: 30px; border-bottom: 1px solid #444; padding-bottom: 20px; }
.blog-date { color: #fc9803; font-size: 1.2rem; display: block; }
.blog-post-link { text-decoration: none; }
.blog-post-title { font-size: 2.5rem; margin: 5px 0; color: #fff; transition: color 0.2s; }
.blog-post-link:hover .blog-post-title { color: #4CAF50; }
.blog-post-excerpt { color: #ccc; font-size: 1.3rem; }

.blog-content-view { text-align: left; color: #eee; }
.blog-content-view .container { max-width: 900px; }
.post-header { margin-bottom: 40px; border-bottom: 2px solid #fc9803; padding-bottom: 20px; }
.post-main-title { font-size: 3.5rem; color: #fff; margin-bottom: 10px; }
.post-meta { color: #fc9803; font-size: 1.2rem; }
.post-body { font-size: 1.25rem; line-height: 1.8; }
.post-body h2 { color: #fc9803; font-size: 2.2rem; margin-top: 40px; text-align: left; }
.post-body p { margin-bottom: 25px; }
.mb-4 { margin-bottom: 1.5rem; }

.blog-title-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.blog-title-image {
  width: 200px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .blog-title-image {
    width: 50px;
    height: 50px;
  }
}

footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

footer a.icon {
  display: inline-block;
  color: #fff;
  transition: transform 0.2s ease-in-out;
  transform-origin: center center;
}

footer a.icon i {
  display: inline-block;
  transition: transform 0.2s ease-in-out;
  transform-origin: center center;
}

footer a.icon:hover i {
  transform: scale(1.1);
}

footer a.icon:hover {
  color: #fff;
}

@media (max-width: 991px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-video {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about h3 {
    font-size: 2rem;
  }
  
  .about .about-lead {
    font-size: 2rem;
  }
  
  .about ul,
  .about li {
    font-size: 1.2rem;
  }
}

@media (max-width: 767px) {
  .about h3 {
    font-size: 1.5rem;
  }
  
  .about .about-lead {
    font-size: 1.5rem;
  }
  
  .about ul,
  .about li {
    font-size: 1rem;
  }
  
  .work-section h2.work-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .work-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  
  .work-item-header {
    min-height: 60px;
  }
  
  .company-name {
    font-size: 1.1rem;
  }
  
  .job-title {
    font-size: 0.85rem;
  }
  
  .job-duration {
    font-size: 0.75rem;
  }
  
  .project-title {
    font-size: 1rem;
  }
  
  .project-description {
    font-size: 0.85rem;
  }

  .work-item-image {
    margin: 10px auto 5px auto;
    max-width: 100%;
  }
  
  .work-section .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  
  .work-section .row {
    margin-left: -5px;
    margin-right: -5px;
  }
  
  .work-section .row > [class*='col-'] {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.post-tags .badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #1e1e1e;
  color: #fff;
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  margin-right: 8px;
}

.post-tags .badge-tech i {
  color: #fdd835 !important; /* golden ticket icon color */
}