@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

@font-face {
  font-family: "JetBrainsMono";
  src: url(../assets/JetBrainsMono-Regular.ttf);
}

/* ========== BASE STYLES ========== */
* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

/* ========== HOMEPAGE STYLES ========== */
body {
  background: #e8f5e8;
  color: #2d5016;
}

#header {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.container {
  padding: 25px 10%;
  max-width: 100%;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 100%;
  margin-top: 1vw;
}

nav ul li {
  display: inline-block;
  font-family: "Poppins" sans-serif;
  list-style: none;
  margin: 1vw 2vw;
}

nav ul li a {
  color: #2d5016;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  font-size: 1.25vw;
  position: relative;
}

nav ul li a::after {
  content: "";
  width: 0;
  height: 0.25vw;
  background: #4a7c59;
  position: absolute;
  left: 0;
  bottom: -0.5vw;
  transition: 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

.header-text {
  margin-top: 10vw;
  max-width: 100%;
}

.header-text h1 {
  color: #4a7c59;
  font-size: 6vw;
}

.header-text h2 {
  color: rgba(74, 124, 89, 0.6);
  font-size: 6vw;
  margin-top: -2vw;
}

.header-text p {
  font-size: 1.5vw;
  font-family: "JetBrainsMono";
  color: #2d5016;
}

.header-text h2 span {
  position: relative;
  color: rgba(74, 124, 89, 0.6);
  font-size: 6vw;
  margin-top: 10px;
}

h2 span::before {
  content: "";
  right: -20px;
  top: 45%;
  position: absolute;
  height: 6vw;
  width: 3px;
  background: rgba(74, 124, 89, 0.6);
  transform: translateY(-45%);
}

.grid-container {
  margin: 5vw auto 0 auto;
  max-width: 60vw;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3vw;
}

.grid-container h3 {
  color: #f0f8f0;
  font-size: 50px;
  font-family: "Poppins" sans-serif;
  margin-top: 10px;
}

.grid-container p {
  margin-top: 30px;
  font-family: "Poppins" sans-serif;
  font-weight: 400;
  color: #f0f8f0;
}

.grid-item {
  position: relative;
  width: 100%;
  padding-top: 75%;
  border-radius: 10px;
  overflow: hidden;
}

.grid-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hoverable {
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.hoverable:hover {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2d5016;
  color: #f0f8f0;
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: left;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 3vw;
  box-sizing: border-box;
}

.overlay-content {
  text-align: center;
  color: #f0f8f0;
}

.overlay h3 {
  text-align: center;
  color: #f0f8f0;
  font-size: 2vw;
  line-height: 2.5vw;
}

.overlay p {
  text-align: center;
  color: #f0f8f0;
  font-size: 1.2vw;
}

.grid-item:hover .overlay {
  opacity: 1;
}

/* ========== EXPANSION ANIMATION STYLES ========== */
.expansion-overlay {
  position: fixed;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  pointer-events: none;
  opacity: 1;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.expansion-overlay.active {
  width: 300vw;
  height: 300vh;
}

.expansion-overlay.dieup {
  background-color: #ffffff;
}

.expansion-overlay.noir {
  background-color: #1e1e1e;
}

.expansion-overlay.rca {
  background-color: #d22434;
}

.expansion-overlay.wander {
  background-color: #bb0000;
}

/* ========== ABOUT PAGE STYLES ========== */
body.about-page {
  background: #e8f5e8;
  color: #2d5016;
}

#about {
  padding: 5vw 10%;
  color: #4a7c59;
}

.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-col-1 {
  flex-basis: 35%;
  margin-top: 10vw;
}

.about-col-1 img {
  width: 100%;
  border-radius: 10px;
}

.about-col-2 {
  flex-basis: 60%;
  text-align: left;
  margin-top: 2vw;
}

.sub-title {
  font-family: "Poppins" sans-serif;
  font-size: 4vw;
  font-weight: bold;
  color: #2d5016;
  margin-bottom: 1vw;
  text-align: left;
}

.about-col-2 p {
  font-size: 1.5vw;
  margin-bottom: 5vw;
  color: #2d5016;
}

.tab-links.active-link::after {
  width: 50%;
  text-align: right;
}

.tab-contents ul li span {
  color: #4a7c59;
  font-size: 1vw;
  text-align: right;
}

.resume-button {
  display: inline-block;
  font-size: 1.33vw;
  padding: 1vw 2vw;
  justify-content: center;
  align-items: center;
  width: 17vw;
  height: 4vw;
  background-color: #4a7c59;
  color: #f0f8f0;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.3s;
  margin-left: 0;
}

.resume-button:hover {
  background-color: #2d5016;
}

/* ========== CONTACT PAGE STYLES ========== */
body.contact-page {
  background: #e8f5e8;
  color: #2d5016;
}

#fcf-form {
  display: block;
}

.fcf-body {
  margin: 0;
  font-family: "Poppins" sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
  padding: 2vw;
  padding-bottom: 10px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  max-width: 100%;
  margin-top: 10vw;
}

.fcf-form-group {
  margin-bottom: 1rem;
  margin-top: 1vw;
}

.fcf-input-group {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: stretch;
  align-items: stretch;
  width: 100%;
}

.fcf-form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  outline: none;
  border-radius: 0.25rem;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

.fcf-form-control:focus {
  border: 1px solid #313131;
}

select.fcf-form-control[size],
select.fcf-form-control[multiple] {
  height: auto;
}

textarea.fcf-form-control {
  font-family: "Poppins" sans-serif;
  height: auto;
}

label.fcf-label {
  display: inline-block;
  font-size: 1vw;
  margin-bottom: 1vw;
}

.fcf-btn {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 0.1vw solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1vw;
  line-height: 1.5;
  border-radius: 1px;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .fcf-btn {
    transition: none;
  }
}

.fcf-h3 {
  font-size: 4vw;
  color: #2d5016;
}

.fcf-btn:hover {
  color: #212529;
  text-decoration: none;
}

.fcf-btn:focus,
.fcf-btn.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.25);
  align-content: center;
}

.fcf-btn-primary {
  color: #f0f8f0;
  background-color: #4a7c59;
}

.fcf-btn-primary:hover {
  color: #f0f8f0;
  background-color: #2d5016;
}

.fcf-btn-primary:focus,
.fcf-btn-primary.focus {
  color: #f0f8f0;
  background-color: #2d5016;
  box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.5);
}

.fcf-btn-lg,
.fcf-btn-group-lg > .fcf-btn {
  padding: 1vw 2vw;
  font-size: 1.5vw;
  line-height: 1.5;
  border-radius: 0.3rem;
}

/* ========== PROJECT PAGE SHARED STYLES ========== */
.project-page-content {
  opacity: 0;
  animation: fadeInContent 1s ease-in-out 1.2s forwards;
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-page .header-text h1 {
  font-family: "Poppins", sans-serif;
  font-size: 6vw;
  text-align: center;
}

.project-page .header-text img {
  max-width: 80%;
  display: block;
  margin: 11vw auto;
  margin-top: 1vw;
}

.project-page .header-text p {
  font-family: "Poppins", sans-serif;
  font-size: 1.5vw;
  text-align: left;
  margin-top: 1vw;
}

.project-page .header-text h2 {
  font-family: "Poppins", sans-serif;
  font-size: 1.5vw;
  text-align: left;
}

.project-page .header-text h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 2vw;
  text-align: center;
  margin: 10vw;
}

.project-page .header-text h4 {
  font-family: "Poppins", sans-serif;
  font-size: 5vw;
  text-align: center;
  margin-top: 6vw;
}

.project-page .header-text h5 {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 2vw;
  text-align: center;
  margin: 2vw;
}

.project-page .header-text h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 2vw;
  text-align: center;
  margin: 2vw;
}

.column {
  width: 5vw;
  float: left;
  margin-left: 11vw;
  margin-top: 5vw;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.round {
  border-radius: 10px;
}

.link {
  font-weight: bolder;
}

/* ========== DIE UP PAGE STYLES ========== */
body.dieup-page {
  background: #ffffff;
  color: #fff;
}

.dieup-page nav ul li a {
  color: #000000;
}

.dieup-page nav ul li a::after {
  background: #000000;
}

.dieup-page .header-text h1,
.dieup-page .header-text h2,
.dieup-page .header-text h3,
.dieup-page .header-text h4,
.dieup-page .header-text h5,
.dieup-page .header-text p {
  color: #000000;
}

.dieup-page .link {
  color: black;
}

/* ========== NOIR PAGE STYLES ========== */
body.noir-page {
  background: #1e1e1e;
  color: #fff;
}

.noir-page nav ul li a {
  color: #ffffff;
}

.noir-page nav ul li a::after {
  background: #ffffff;
}

.noir-page .header-text h1,
.noir-page .header-text h2,
.noir-page .header-text h3,
.noir-page .header-text h4,
.noir-page .header-text h5,
.noir-page .header-text p {
  color: #ffffff;
}

.noir-page .header-text img {
  max-width: 100%;
}

.noir-page .header-text h4 {
  font-size: 3.5vw;
}

.noir-page .link {
  color: rgb(255, 255, 255);
}

/* ========== RCA PAGE STYLES ========== */
body.rca-page {
  background: #d22434;
  color: #fff;
}

.rca-page nav ul li a {
  color: #f7f8e7;
}

.rca-page nav ul li a::after {
  background: #e8bf6c;
}

.rca-page .header-text h1,
.rca-page .header-text h2,
.rca-page .header-text h3,
.rca-page .header-text h4,
.rca-page .header-text h6,
.rca-page .header-text p {
  color: #f7f8e7;
}

.rca-page .header-text h5 {
  color: #f7f8e7;
  font-weight: bolder;
  font-size: 2.5vw;
}

.rca-page .header-text h4 {
  font-size: 3.5vw;
}

.rca-page .link {
  color: #e8bf6c;
}

/* ========== WANDER PAGE STYLES ========== */
body.wander-page {
  background: #bb0000;
  color: #fff;
}

.wander-page nav ul li a {
  color: #ffffff;
}

.wander-page nav ul li a::after {
  background: #ffffff;
}

.wander-page .header-text h1,
.wander-page .header-text h2,
.wander-page .header-text h3,
.wander-page .header-text h4,
.wander-page .header-text h5,
.wander-page .header-text p {
  color: #ffffff;
}

.wander-page .link {
  color: #fff;
}

/* ========== FOOTER STYLES ========== */
footer {
  padding: 10vw 10% 6vw 10%;
  text-align: center;
}

.about-page footer {
  padding-bottom: 2vw;
}

.footer-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-icons a {
  color: #2d5016;
  text-decoration: none;
  font-size: 2vw;
  margin-right: 1vw;
}

.email p {
  color: #2d5016;
  font-family: "JetBrainsMono";
  margin: 0;
  font-size: 1.5vw;
}
