@import url('https://fonts.cdnfonts.com/css/salina');

/* General styles */
body {
  font-family: 'Salina', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  height: 100vh;
  overflow: hidden;
}

.split-container {
  display: flex;
  height: 100vh;
}

/* Left side styles */
.left-side {
  flex: 1;
  padding: 40px;
  background-color: rgba(180, 180, 180, 0.9);
  overflow-y: auto;
  border-right: 2px solid #e0e0e0;
  color: #333333;
}

/* Right side styles */
.right-side {
  flex: 1.5;
  padding: 40px;
  background-color: rgba(135, 206, 235, 0.9);
  overflow-y: auto;
  color: #333333;
}

.name {
  font-family: 'Salina', sans-serif;
  font-size: 2.5em;
  color: white;
  margin-bottom: 30px;
  text-align: left;
}

section {
  margin-bottom: 40px;
}

h2 {
  color: #333333;
  border-bottom: 2px solid #333333;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

h3 {
  color: #333333;
  margin-bottom: 15px;
}

/* Job titles styles */
.job-titles {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.job-title {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 1.2em;
  color: rgba(51, 51, 51, 0.8);
  padding: 10px 0;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 5px;
  padding-left: 20px;
  position: relative;
}

.job-name {
  font-weight: bold;
}

.date {
  font-size: 0.8em;
  color: rgba(51, 51, 51, 0.7);
  font-style: italic;
}

.job-title:hover {
  color: #333333;
  transform: translateX(5px);
}

.job-title.active {
  color: #333333;
  transform: translateX(10px);
}

.job-title::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.job-title.active::before {
  background-color: #333333;
}

/* Job descriptions styles */
.job-description {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-color: rgba(51, 51, 51, 0.1);
  padding: 20px;
  border-radius: 8px;
}

.job-description.active {
  display: block;
  opacity: 1;
}

.job-highlights {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.job-highlights li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.job-highlights li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #333333;
}

/* Job tech styles */
.job-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.job-tech span {
  background-color: rgba(51, 51, 51, 0.1);
  color: #333333;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85em;
  border: 1px solid rgba(51, 51, 51, 0.2);
}

/* Skills section styles */
#skills ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#skills li {
  background-color: rgba(51, 51, 51, 0.1);
  color: #333333;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9em;
  border: 1px solid rgba(51, 51, 51, 0.2);
}

/* Connect section styles */
#connect a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(0, 123, 255, 0.1);
  border-radius: 20px;
}

#connect a:hover {
  color: #0056b3;
  transform: translateX(5px);
  background-color: rgba(0, 123, 255, 0.2);
}

/* Languages section styles */
.language-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.language-item {
  font-size: 1.1em;
  color: #333333;
  padding: 5px 0;
}

/* Projects section styles */
#projects {
  margin-top: 40px;
  margin-bottom: 40px;
}

.project-titles {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.project-title {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 1.2em;
  color: rgba(51, 51, 51, 0.8);
  padding: 10px 0;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 5px;
  padding-left: 20px;
  position: relative;
}

.project-name {
  font-weight: bold;
}

.project-title:hover {
  color: #333333;
  transform: translateX(5px);
}

.project-title.active {
  color: #333333;
  transform: translateX(10px);
}

.project-title::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.project-title.active::before {
  background-color: #333333;
}

/* Project descriptions styles */
.project-description {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-color: rgba(51, 51, 51, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.project-description.active {
  display: block;
  opacity: 1;
}

.project-description p {
  margin: 0 0 15px 0;
  color: #333333;
  font-size: 0.95em;
  line-height: 1.5;
}

.project-description ul {
  margin: 0 0 15px 20px;
  padding: 0;
  color: #333333;
  font-size: 0.95em;
}

.project-description li {
  margin-bottom: 8px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.project-tech span {
  background-color: rgba(51, 51, 51, 0.1);
  color: #333333;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85em;
  border: 1px solid rgba(51, 51, 51, 0.2);
}

/* Responsive design */
@media (max-width: 768px) {
  .split-container {
    flex-direction: column;
  }
  
  .left-side, .right-side {
    flex: none;
    width: 100%;
    height: auto;
    overflow-y: visible;
  }
  
  .left-side {
    border-right: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  }
  
  body {
    height: auto;
    overflow: auto;
  }
}
