/* Common / Global CSS */
body,
body * {
  caret-color: transparent;
}

/* Re-enable for form fields */
input,
textarea {
  user-select: text;
  caret-color: auto;
}

body {
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  background: url("../images/lines.svg") no-repeat center center fixed;
  background-size: calc(100% - 120px);
}

a {
  text-decoration: none;
}

.container-fluid {
  max-width: calc(100% - 80px);
  margin: 0 auto;
}

.section-title {
  font-weight: 700;
  font-size: 20px;
  margin-left: 10px;
  margin-bottom: 16px;
}

/* Header / Nav */
header {
  border-bottom: 1px solid #eef1f5;
}
#head-nav {
  padding: 48px 20px;
  padding-top: 28px;
}

.logo {
  width: 68px;
  height: 68px;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #9ca3af;
  font-size: 16px;
  padding: 10px 32px;
  display: flex;
  flex-direction: column;
  align-items: end;
  font-weight: 500;
}

.nav-links li a:last-child {
  padding-right: 0;
}

.nav-links li a.active {
  color: #000;
}

.nav-links li a span {
  font-size: 10px;
  margin-bottom: 4px;
  line-height: 5px;
  font-weight: 600;
}
.nav-links li a:hover {
  color: #000;
}

/* banner */

#banner {
  margin-top: 71px;
}

.banner-texts {
  width: 85%;
  transform: translateY(100px) translateX(50px);
  margin-left: auto;
}

.greet {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 18px;
  color: #9ca3af;
}

.greet span {
  font-size: 32px;
  color: #000;
}

.banner-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 100%;
  letter-spacing: 2%;
  margin-bottom: 6px;
}

.banner-btn {
  text-decoration: underline;
  color: #9ca3af;
  font-size: 20px;
  background-color: transparent;
  outline: 0;
  border: none;
  cursor: pointer;
}

.banner-desc {
  font-family: Playfair Display;
  font-weight: 400;
  font-style: italic;
  font-size: 18px;
  width: 400px;
  transform: translateY(170px);
  color: #9ca3af;
}

/* about */
#about {
  background-color: #000;
  color: white;
  padding-top: 68px;
  padding-bottom: 58px;
}

.about-list li p {
  margin-bottom: 5px;
  font-size: 20px;
}
.about-img {
  margin-top: 35px;
}

/* projects */

#projects {
  padding-top: 100px;
}

.project-box {
  margin-bottom: 32px;
}

.project-img {
  border-radius: 4px;
  overflow: hidden;
}

.project-img a{
  display: block;
}

.project-img a img{
  width: 100%;
}


.project-title {
  font-weight: 700;
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-title a {
  color: #000;
}

.project-title .year-range {
  font-weight: 400;
  font-size: 16px;
  color: #9ca3af;
}

.project-desc {
  font-weight: 400;
  font-size: 16px;
  color: #9ca3af;
}

/* Student-work */
#student-work {
  margin-bottom: 100px;
}

.student-work-box {
  display: flex;
}
.student-work-text {
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-grow: 1;
}

.student-work-title {
  font-weight: 700;
  font-size: 20px;
  color: #f9fafb;
}

.student-work-desc {
  font-weight: 400;
  font-size: 16px;
  color: #9ca3af;
}

.student-work-img {
  max-width: 427px;
  max-height: 240px;
}

/* Contacts */
#contacts {
  padding: 76px 0;
}

.mail-address {
  font-weight: 400;
  font-size: 24px;
}

.mail-address a {
  color: #000;
}

.mail-note {
  font-weight: 400;
  font-size: 16px;
  color: #9ca3af;
}

.mail-note span {
  color: #ff2358;
}

.social-media-accounts ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: end;
}

.social-media-accounts ul li {
  margin-left: 2px;
}

.copyright {
  font-weight: 400;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 27px;
}

/*not-found*/

#not-found,
#coming-soon, .aghasiOverride {
  height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 100px 0;
  background: url("../images/big-404.svg") no-repeat center center;
  background-size: contain;
}

.aghasiOverride{
  background: none;

}

#coming-soon {
  background: none;
}

.not-found-title,
.coming-soon-title {
  font-weight: 700;
  font-size: 128px;
  margin-bottom: 24px;
  text-align: center;
  color: #000;
}

.not-found-sub-title,
.coming-soon-sub-title {
  font-weight: 800;
  font-size: 20px;
  text-align: center;
  margin-bottom: 7px;
  color: #000;
}

.not-found-desc,
.coming-soon-desc {
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  color: #9ca3af;
}

.go-back-btn {
  background-color: #000;
  padding: 12px 24px;
  border-radius: 30rem;
  color: white;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.sticky {
  width: fit-content;
  position: sticky;
  bottom: 0;
  height: 0;
  /* right-6 in Tailwind = 1.5rem */
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  opacity: 1;
  transform: translateX(70px);
}

.sticky-text {
  font-weight: 500;
  display: block;
  font-size: 20px;
  writing-mode: vertical-rl;
  text-decoration: none;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.sticky-text a {
  color: #000;
}

.sticky-line {
  margin-bottom: 10px;
  margin-top: 5px;
  content: "";
  width: 3px;
  height: 100px;
  background-color: #9ca3af;
  border-radius: 30rem;
  position: relative;
}

.sticky-line::before {
  content: "";
  width: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 30%;
  border-radius: 30rem;
  background-color: #000;
}

@media (max-width: 1200px) {
  .greet {
    font-size: 18px;
  }
  .greet span {
    font-size: 32px;
  }
  .banner-title {
    font-size: 48px;
  }
  .banner-desc {
    font-size: 14px;
    width: 70%;
  }

  #projects {
    padding-top: 44px;
  }
  #not-found, .aghasiOverride {
    background-size: 90% 100%;
  }
}

@media (max-width: 991px) {
  .banner-texts {
    width: 100%;
    transform: translateY(0px) translateX(0px);
    margin-left: 0;
  }
  .banner-img {
    width: 50%;
  }

  .banner-desc {
    transform: translateY(150px);
    width: 50%;
  }
  .sticky {
    transform: translateX(15px);
  }

  #about {
    padding: 32px 0;
  }

  #student-work {
    padding-top: 44px;
    margin-bottom: 0;
  }
  .student-work-box {
    flex-direction: column-reverse;
  }
  .student-work-img {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
  }

  .student-work-text {
    background-color: white;
    align-items: start;
    margin-top: 17px;
  }
  .student-work-title {
    color: #000;
  }
  #contacts {
    padding-top: 44px;
    padding-bottom: 32px;
  }
}

@media (max-width: 768px) {
  .logo {
    width: 53px;
    height: 53px;
  }
  #banner {
    margin-top: 58px;
  }
  .banner-texts {
    margin-left: 20px !important;
  }
  .banner-img {
    width: 60%;
    transform: translateX(20px);
  }
  .banner-desc {
    transform: translateY(90px);
    width: 50%;
    margin-left: 20px;
  }
  #head-nav {
    margin: 24px 0;
    padding: 0 24px;
    max-width: 100%;
  }
  .nav-links li a {
    font-size: 12px;
  }
  .container-fluid {
    max-width: calc(100% - 24px);
  }
  .banner-btn {
    font-size: 14px;
  }
  .sticky {
    transform: translateX(3px);
  }
  .project-box {
    margin-bottom: 24px;
  }
  .project-title {
    font-size: 16px;
    margin-top: 16px;
  }
  .project-title .year-range {
    font-size: 14px;
  }
  .project-desc {
    font-size: 14px;
  }
  .social-media-accounts {
    width: 100%;
    text-align: center;
  }
  .mail {
    margin-left: 8px;
    max-width: 100%;
  }
  .mail-address {
    font-size: 18px;
    max-width: 100%;
  }
  .mail-note {
    font-size: 12px;
  }
  .social-media-accounts ul {
    margin-top: 32px;
    justify-content: center;
  }
  .copyright {
    margin-top: 16px;
    font-size: 12px;
  }

  #not-found, .aghasiOverride,
  #coming-soon {
    height: 320px;
    margin: 60px 0;
    margin-bottom: 0;
  }

  .not-found-title,
  .coming-soon-title {
    font-size: 84px;
  }
}

.aghasiOverride{
  overflow: hidden;
  max-height: none;
  height: inherit;

}
.projectPreviewMainImage{
  max-width: 80%;
}



@media (max-width: 1199px) {
  .aghasiChangesLeftMargin{
    margin-left: 0px;
  }
}