/* GLOBAL STYLES */
* {
    box-sizing: border-box;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

a {
  text-decoration: none;
}
#about, #ai-skills, #human-skills, #legacy, #contact {
  padding: 40px 0;
  border-bottom: 1px solid #ddd;
}
body{
    background-color:#364652;
}
main{
    background-color:#F5F2E8;
    padding:4px;
}
header{
    background-color:#F5F2E8;
}
hr{
    border: none;
    border-top: 3px solid black;
}
.catagory-title {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #888;
  margin: 3;
}
.group-title{
    color: #364652;
    text-align: center;
}
.section-divider {
  border: none;
  border-top: 1px solid #F5F2E8;
  margin: 4px 0;
}

h2{
    text-align: center;
    color:#364652;
}
p{
    color:#364652
}
.playfair-font{
    font-family: "Playfair Display SC", serif;
    font-weight: 400;
    font-style: normal;
    color: #364652;
}

/* Header */
.main-bar{
    display:flex;
    justify-content: space-between;
    display: flex;
    padding: 12px 0;
    font-size: 12px;
    border-bottom: 3px solid #364652;

}

.navbar {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}
header{
    border-top: 3px solid #364652;
    border-bottom: 3px solid #364652;
}

.navbar a {
  border-right: 1px solid #364652;
  padding: 0 20px;
  color:#364652;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.navbar a:last-child {
  border-right: none;
}

.navbar a:last-child {
  border-right: none;
}

.section-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 0;
}
blockquote{
    color: #364652;
}

/* Body */
.main-header h1 {
    font-size:50px;
    font-weight:bold;
    text-align:center;
    color: #364652;
}
.main-header p{
    text-align: center;
    color: #364652;
}
hr{
    border: none; border-top: 2px solid black; 
}
body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
/* About Me */
.about-grid {
    display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
  border-top: 1px solid #888;
  border-bottom: 1px solid #888;
  padding: 24px 0;
}

.about-left{
  border-right: 1px solid #364652;
  padding-right: 24px;
  color: #364652;
}
.about-right img {
  width: 100%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 1px solid #96a3ad;
  padding: 6px;
}

.about-grid p{
    font-size:20px;
}
#photo-one {
  object-position: 50% 20%;
  height: 320px;
}

#photo-two {
  object-position: center;
  height: 320px;
}

#photo-three {
  height: 400px;
  width: auto;
  display: block;
  margin-left: 0;
  margin-right: auto;
  float: left;
  padding:10px;
  align-items: center;
}

/* Human Skills */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  justify-content: center;
}

.skill-btn {
  padding: 16px 42px;
  font-size: 15px;
  font-weight: bold;
  background-color:#364652;
  color:#F5F2E8;
  border: 1px solid #F5F2E8;
  border-radius: 8px;
  cursor: pointer;

}

.skill-btn:hover {
  background-color:#F5F2E8;
  color:#364652;
}

.skill-btn.active {
  border: 2px solid #364652;
  color: #364652;
}

.skill-card {
  background-color: #F5F2E8;
  border: 1px solid #F5F2E8;
  border-radius: 12px;
  padding: 20px;
  display: none;
  font-family: sans-serif;
  border-top: 1px solid #888;
  border-bottom: 1px solid #888;
}
.skill-card img {
    height:100%;
    width:400px ;
    object-fit: cover;
    display: block;
    margin: 0 auto 16px;
}

.skill-card.visible {
  display: block;
}

.skill-card-title {
  /* font-size: 25px; */
  font-weight: bold;
  color: #222;
  margin-bottom: 8px;
  text-align: center;
}

.skill-card-body {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* AI Skills */
.poll-container {
  border: 1px solid #364652;
  border-radius: 12px;
  padding: 24px;
  margin-top: 30px;
  background-color: #F5F2E8;
}

.poll-question {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 16px;
  color: #364652;
  text-align: center;
}

.poll-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.poll-btn {
  padding: 12px 18px;
  font-size: 15px;
  border: 1px solid #F5F2E8;
  border-radius: 8px;
  background-color: #364652;
  cursor: pointer;
  text-align: left;
  color: #F5F2E8;
}

.poll-btn:hover {
  background-color:#364652;
}

.poll-btn.selected {
  border: 2px solid;
  color:#364652;
}

.poll-result-item {
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
}

.poll-result-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.poll-bar-bg {
  background-color: #F5F2E8;
  border-radius: 8px;
  height: 12px;
  width: 100%;
}

.poll-bar-fill {
  background-color: #364652;
  border-radius: 8px;
  height: 12px;
  transition: width 0.4s ease;
}

.poll-share {
  margin-top: 16px;
  text-align: center;
}

.share-btn {
  padding: 10px 20px;
  background-color: #364652;
  color:#F5F2E8;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

.share-btn:hover {
  background-color: #364652;
  color:#F5F2E8
}

.ai-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border: 1px solid #F5F2E8;
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}

.ai-column-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid black;
}

.ai-card {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F5F2E8;
  color: #364652;
}

.ai-card:last-child {
  border-bottom: none;
}

/* Legacy Project */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 24px 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}