@font-face {
  src: url('./assets/fonts/GeneralSans-Regular.otf');
  font-family: 'General Sans';
}

:root {
  --backgroundColor: #000000;
  --PrimaryColor: #a3a3a3;
  --secondaryColor: #d6d6d6;
  --white: #ffffff;
  --borderRadius: 0.25rem;
  --bodyFont: 'General Sans';
  --transition: all 0.4s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--backgroundColor);
  color: var(--PrimaryColor);
  min-height: 100vh;
  font-family: var(--bodyFont);
  font-family: 'General Sans';
}

a {
  text-decoration: none;
  color: var(--white);
}

ul {
  list-style-type: none;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.section {
  padding-top: 5rem;
  position: relative;
}

.container {
  width: 90vw;
  max-width: 1370px;
  margin: 0 auto;
}
.btn {
  width: max-content;
  padding: 0.5rem 1rem;
  border-radius: var(--borderRadius);
  background: transparent;
  color: var(--white);
  border: transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.logo {
  text-transform: capitalize;
  font-size: 1.25rem;
}

main {
  width: 100%;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  height: 4rem;
}

.menu-btn {
  text-transform: uppercase;
}

.hero {
  display: flex;
  flex-direction: column;
  height: calc(100svh - 4rem);
  position: relative;
}

.main-heading {
  margin-top: 6rem;
  width: max-content;
  z-index: 2;
  line-height: 1;
  font-family: var(--secondaryFont);
}

.main-heading h1 {
  text-transform: uppercase;
  font-size: clamp(6rem, 10vw, 8rem);
  position: relative;
  letter-spacing: 2px;
  color: var(--PrimaryColor);
}

.heading-second {
  margin-left: 10vw;
}

.head-text {
  margin-top: 0.5rem;
  text-align: right;
  text-transform: uppercase;
  color: var(--white);
  font-size: clamp(0.625rem, 15px, 1.25rem);
}

.hero-footer {
  position: absolute;
  width: 100%;
  bottom: 3rem;
  color: var(--white);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem 4rem;
  font-size: clamp(0.8rem, 12px, 2rem);
}

.hero-footer h4 {
  position: relative;
}

.sub-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: right;
}

.icon-set {
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem;
}

.icon-set a {
  background: var(--secondaryColor);
  color: var(--backgroundColor);
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* @media screen and (max-width: 768px) {
  .hero-footer {
    flex-direction: row-reverse;
  }
} */

.project-section {
  min-height: 100vh;
  padding-top: 7rem;
}

.project-links {
  text-transform: uppercase;
  font-size: clamp(2rem, 8vw, 7rem);
  font-weight: bold;
}

.project-links li {
  padding: 1.5rem 0;
  border-top: 1px solid var(--secondaryColor);
}
.project-links li:last-child {
  border-bottom: 1px solid var(--secondaryColor);
}

.project-link {
  color: var(--secondaryColor);
  transition: var(--transition);
  display: block;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-link span {
  transition: var(--transition);
}

.project-links li:hover .text {
  margin-left: 1.5rem;
}

.project-links li .year {
  font-size: 1rem;
  color: var(--white);
}

.project-link:hover span {
  color: var(--PrimaryColor);
}

.project-item {
  position: relative;
}

.project-item img {
  height: 140%;
  width: auto;
  position: absolute;
  z-index: 5;
  top: 0;
  /*  */
  /* display: none; */
  opacity: 0;
}

.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.about-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
  width: 80vw;
  max-width: 700px;
}

.about-text {
  flex: 1;
}
.about-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 220px;
}

.about-text h5 {
  text-transform: uppercase;
  color: var(--PrimaryColor);
  margin-bottom: 0.5rem;
}

.about-text p {
  line-height: 1.5;
  color: var(--white);
}

.about-btn {
  border: 1px solid var(--white);
  border-radius: 4rem;
  padding: 0.5rem 1.25rem;
  margin-top: 1rem;
}

.about-btn:hover {
  background: var(--white);
  color: var(--backgroundColor);
}

@media screen and (max-width: 872px) {
  .about-info {
    flex-direction: column;
    justify-content: flex-start;
  }
}

.honors-logo {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

footer {
  padding-block: 2rem;
  /* position: absolute; */
  /* bottom: 0; */
}

.footer-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  gap: 4rem;
  width: 90vw;
  max-width: 1360px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
  text-transform: uppercase;
  color: var(--white);
}

.social-link {
  color: var(--white);
  position: relative;
  display: inline-block;
}

.transition-effect::before {
  content: '';
  position: absolute;
  width: 100%;
  left: 0;
}

.transition-effect::before {
  background-color: var(--white);
  height: 1px;
  bottom: -0.25rem;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

.transition-effect:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}

/* .social-link:hover::after {
  width: 100%;
} */

.copyright {
  text-transform: uppercase;
}

.copyright #date {
  margin-right: 2rem;
}

@media screen and (max-width: 800px) {
  .footer-section {
    flex-direction: column-reverse;
    gap: 1rem;
    /* align-items: flex-start; */
  }
}

/* Animations */

.custom-cursor {
  width: 1rem;
  height: 1rem;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  z-index: 10;
  transition: all cubic-bezier(0.19, 1, 0.22, 1) 1s;
}

.animation-container {
  overflow: hidden;
}

.animation-element {
  transform: translateY(100%);
}

.animation-element .heading-second {
  margin-left: 10rem;
}

.loading-screen {
  height: 100svh;
  background: var(--PrimaryColor);
}
