/* ===================================================
   CONTAINS ALL PROJECTS
=================================================== */

.projects-main-content {
  margin-top: 80px;
  width: 100%;
}

/* ===================================================
   TITLE "PROJECTS"
=================================================== */

.projects-main-content h2 {
  font-family: var(--heading-font-family);
  font-size: var(--text-3xl-40px);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 45px;
  text-align: center;
  line-height: 1.5rem;
}

/* ===================================================
   PROJECT'S TITLE AND VIDEOS
=================================================== */

.project-content {
  display: flex;
  flex-direction: column;
}

.project-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  gap: 7.5px 0;
}

.project-title h2 {
  font-size: var(--text-lg-20px);
  text-transform: uppercase;
  margin-bottom: 0px;
  color: #d9dee5;
}

.project-title p {
  font-size: var(--text-base-16px);
  font-family: var(--text-font-family);
  margin-bottom: 0px;
  color: #a0a8b4;
}

.video-project {
  display: block;
}

.video-project-desktop {
  width: 100%;
  border-radius: 10px;
}

.video-project-mobile {
  display: none;
}

.project-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 80px;
}

.project-info h3 {
  font-family: var(--heading-font-family);
  font-size: var(--text-lg-20px);
  font-weight: 700;
  text-transform: uppercase;
}

.project-info p,
.project-info li {
  font-family: var(--text-font-family);
  font-size: var(--text-base-16px);
  line-height: 1.5;
}

.project-info-col-1 {
  display: flex;
  flex-direction: column;

  width: 50%;

  gap: 40px;
}

.development {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.development span {
  font-family: var(--heading-font-family);
  font-size: var(--text-lg-20px);
  font-weight: 700;
  text-transform: uppercase;
}

.skills-used-list {
  font-family: var(--text-font-family);
  font-size: var(--text-base-16px);

  list-style-type: none;

  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;

  gap: 5px 0;
}

.skills-used-list li {
  margin-right: 10px;
}

.skills-used-list li:not(.skills-list-h3, .skills-list-1)::before {
  content: "// ";
  font-weight: 700;
  margin-right: 10px;
}

.project-info-col-2 {
  align-self: stretch;

  display: flex;
  justify-content: center;
  border: 1px solid rgba(17, 17, 17, 0.185);
  border-radius: 5px;
  width: 50%;
  padding: 20px;
  gap: 10px;
  flex-wrap: wrap;
  align-content: center;
  align-items: flex-start;
  text-align: center;
  background: #1e252f5d;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.project-info-col-2 h4 {
  font-family: var(--heading-font-family);
  font-weight: 700;
  font-size: var(--text-sm-14px);
  margin-bottom: 5px;
}

.project-info-col-2 p {
  font-family: var(--text-font-family);
  font-weight: 400;
  font-size: var(--text-sm-14px);
}

.project-info-col-2 p:not(:last-child) {
  margin-bottom: 20px;
}

.info-1-col-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 48%;
}

.info-2-col-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 48%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.view-case-study {
  /*display: flex;*/
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 10px;
  gap: 10px;
  border-top: 1px solid #a0a8b434;
  padding-top: 20px;
}

.view-case-study h3 {
  font-family: var(--heading-font-family);
  font-size: var(--text-base-16px);

  width: 50%;
}

.view-case-study a {
  width: 50%;
}

.view-case-study button {
  background: #5b8cff;
  color: #d9dee5;
  font-family: var(--heading-font-family);
  font-weight: 700;
  line-height: 1.5;
  font-size: var(--text-sm-14px);
  text-transform: uppercase;
  width: 100%;
  padding: 7.5px 20px;
  border: none;
  border-radius: 5px;
}

.view-case-study button:hover {
  background: #78a2ff;
  transition: 0.3s;
}

/* ========================
        WIDESCREENS
======================== */

@media (min-width: 1440px) {
  .projects-main-content {
    max-width: 1440px;
  }
}

/* ========================
        TABLET
======================== */

@media (max-width: 900px) {
  .projects-main-content {
    margin-top: 40px;
  }

  .projects-main-content h2 {
    font-size: var(--text-xl-24px);
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    line-height: 1.25;
  }

  .project-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .project-title h2 {
    font-size: var(--text-md-18px);
    margin-right: 5px;

    margin-bottom: 0;
  }

  .project-info {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 60px;
  }

  .project-info:last-child {
    margin-bottom: 40px;
  }

  .project-info-col-1 {
    display: flex;
    flex-direction: column;

    padding: 0;

    width: 100%;

    gap: 25px;
  }

  .project-info-col-2 {
    justify-content: center;

    width: 100%;
    padding: 40px 15px;
    gap: 10px;
    flex-wrap: wrap;
    align-content: center;
    align-items: flex-start;
    text-align: center;
  }
}

/* ========================
        MOBILE
======================== */
@media (max-width: 720px) {
  .video-project-desktop {
    display: none;
  }
  .video-project-mobile {
    display: block;
    width: 100%;
    border-radius: 10px;
  }

  .view-case-study {
    flex-direction: column;
    gap: 15px;

    margin-top: 15px;
    padding-top: 25px;
  }

  .view-case-study h3 {
    width: 100%;
  }

  .view-case-study a {
    width: 80%;
  }
}
