﻿/* ===== PROJECTS ===== */
.my-projects {
  width: 100%;
  display: flex;
  justify-content: center;
}

.projects-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects-container h3 {
  width: 100vw;
  margin-bottom: 60px;
}

.project-tabs {
  display: flex;
  width: 100%;
  max-width: 1440px;
  gap: 12px;
  margin-left: 100px;
}

.project-tabs-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.tab-short {
  display: none;
}

.project-tab {
  font-family: 'JosefinSans', sans-serif;
  width: 248px;
  height: 97px;
  padding: 0 20px;
  font-size: 30px;
  font-weight: 500;
  color: var(--blue);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 30px 30px 0 0;
  transition: color 0.3s ease, background 0.3s ease;
}

.project-tab.active {
  color: var(--white);
  background: #2D383F;
  cursor: default;
}

.project-tab:not(.active):hover {
  color: var(--white);
}

.project-panels {
  width: 100%;
  height: 550px;
  display: flex;
  justify-content: center;
  background: #2D383F;
}

.project-panel {
  display: none;
}

.project-panel.active {
  max-width: 1440px;
  padding: 50px 100px;
  display: flex;
}

.panel-left {
  display: flex;
  flex-direction: column;
  width: 50%;
  gap: 28px;
}

.project-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-right: 20px;
  padding-bottom: 20px;
}

.project-dot {
  min-width: 29px;
  min-height: 26px;
  background-image: url('../assets/icons/Ellipse 8.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.project-div {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
}

.project-block h4 {
  font-family: 'JosefinSans', sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  cursor: default;
}

.project-duration {
  font-family: 'JosefinSans', sans-serif;
  font-size: 18px;
  line-height: 120%;
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.5px;
  cursor: default;
}

.h4-bottom {
  margin-bottom: 8px;
}

.d-none {
  display: none !important;
}

.project-block p {
  font-family: 'JosefinSans', sans-serif;
  font-size: 18px;
  color: var(--white);
  line-height: 1.2;
  cursor: default;
}

.panel-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.panel-tech {
  width: 100%;
  text-align: center;
}

.panel-header-mobile {
  display: none;
}

.panel-tech-text,
.panel-duration-text {
  display: none;
}

.panel-tech>span {
  font-family: 'JosefinSans', sans-serif;
  font-size: 18px;
  color: var(--white);
  display: block;
  margin-bottom: 10px;
  letter-spacing: 1px;
  cursor: default;
}

.tech-icons {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.tech-icons img {
  width: 34px;
  height: 36px;
  object-fit: contain;
}

.panel-screenshot {
  width: 500px;
  min-height: 290px;
  border-radius: 30px;
  overflow: hidden;
}

.panel-screenshot img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 14px;
}

.panel-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  height: 100%;
}

.btn-live {
  padding: 12px 36px;
  border-radius: 30px;
  background: var(--blue);
  color: var(--nav-text);
  font-family: 'JosefinSans', sans-serif;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: 1px;
  transition: background 0.3s ease;
}

.btn-live:hover {
  background: var(--white)
}

.btn-gh {
  padding: 12px 36px;
  border-radius: 30px;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-family: 'JosefinSans', sans-serif;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-gh:hover {
  background: #ffffff2b;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}