
/* Color palette
--zomp: #3ea38bff;
--antiflash-white: #f1f2f6ff;
--feldgrau: #466060ff;
--rich-black: #0e0f19ff;
--jasper: #D05739;
--#006F62
*/

/* Fonts */
.patrick-hand-regular {
    font-family: "Patrick Hand", cursive;
    font-weight: 400;
    font-style: normal;
  }
.caveat-fonts {
    font-family: "Caveat", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.rock-salt-regular {
    font-family: "Rock Salt", cursive;
    font-weight: 400;
    font-style: normal;
}


/* Basic styles for content, html, body, and headings */
.content {
  padding: 20px;
  flex: 1; /* Ensures the content grows to fill space */
}
.centered-content {
  position: relative;    /* to control stacking */
  z-index: 10;           /* make sure it appears on top */
  display: grid;
  place-items: center;   /* keep content centered */
  height: auto;          /* allow height to grow with content */
  min-height: 40px;      /* maintain minimum height */
  margin-top: 20px;      /* space from previous section */
  padding: 10px;          /* optional padding */
}
.inline {
  display: inline-block;
  margin-right: 10px;
}

.about-text br {
  line-height: 5; /* or add margin-bottom to spans */
}

.centered-container {
display: grid;
place-items: center;  /* Centers both horizontally and vertically */
height: auto;  /* Adjust for flexible height */
overflow-y: auto; /* Allow vertical scroll if necessary */
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
    
}

html {
    background: url(../images/webbackground.png) no-repeat center fixed;
    background-size: cover;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;   /* Centers the content horizontally */
  align-items: center;
  text-align: left;
  flex-grow: 1; 
  font-family: 'Patrick Hand';
  font-weight: 700;
  font-size: 18px;
  color: #0e0f19ff;
  overflow-x: hidden;
  padding: 70px;
}

p {
  font-family: 'Patrick Hand';
  font-weight: 700;
  color: #0e0f19ff;
  padding: 5px;
  margin: 5px;
}

h1 {
  font-family: "Rock Salt", cursive;
  font-size: 50px;
  text-align: center;
  position: relative;
  margin: 0px;
  padding: 10px;
}

h2 {
  font-family: 'Caveat', cursive;
  font-size: 30px;
  font-weight: 800;
  color: #466060ff;
  text-align: center;
  position: relative;
  /* text-shadow: 2px 2px rgb(61, 60, 60); */
  text-shadow: 2px 2px rgb(209, 208, 208);
  /* padding: 5px; */
}
h2.special-h2,.special-h2 {
  color: rgb(67, 174, 149);
  text-shadow: 2px 2px rgb(209, 208, 208);
}

h3 {
  font-family: 'Caveat', cursive;
  font-size: 30px;
  /* text-align: center; */
  color: #D05739;
  text-shadow: 2px 2px rgb(209, 208, 208);
  position: relative;
}

h4 {
  font-family: 'Caveat', cursive !important;
  font-size: 28px !important;
  font-weight: 800;
  color: #466060ff;
  text-align: center;
  position: relative;
  margin-bottom: 5px !important;
  /* text-shadow: 2px 2px rgb(61, 60, 60); */
  text-shadow: 2px 2px rgb(209, 208, 208);
}
h5 {
  font-family: 'Caveat', cursive !important;
  font-size: 25px !important;
  font-weight: 800;
  color: #0e0f19ff !important;
  text-align: center;
  position: relative;
  /* text-shadow: 2px 2px rgb(61, 60, 60); */
  text-shadow: 2px 2px rgb(209, 208, 208);
  padding: 3px;
}

html body h1.tagline, .tagline {
  font-family: 'Rock Salt', cursive;
  font-size: 80px !important;
  color: #0e0f19ff !important;
  padding: 30px;
  /* display: flex;
  justify-content: center; */
  text-align: left;
  position: relative;
}

/* Images, Icons, and Logos */
.img-container {
  /* display: inline-flex;
  justify-content: center; */
  display: flex;
  flex-wrap: wrap; 
  justify-content: space-between; 
  align-items: flex-start; 
  gap: 10px;
}

img.large-img {
  width: 1000px;
  height: 1000px;  /* Center image inside its container */
}

img.about-img {
  display: inline;  
  width: 300px;
  height: auto; 
}

img.image-container{
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.figma-container{
  position: relative;
}
.figma-container > div {
  display: block;
}

.figma-link-mobile {
  display: none;
  text-align: center; 
  text-decoration: none;
}

.figma-link-website {
  display: none;
  text-align: center; 
  text-decoration: none;
}

.icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  padding: 10px;
} 
.icon-container {
  display: flex;            /* Use flexbox to align children in a row */
  justify-content: center;  /* Optionally center the icons horizontally */
  align-items: center;      /* Optionally center the icons vertically */
  padding: 5px;
}

.logo {
  position: fixed;  /* Stays in the corner even when scrolling */
  top: 2px;        /* Distance from the top */
  left: 10px;
  /* width: 80px; */
  height: auto;
  z-index: 1000;    /* Ensures it stays above other elements */
  justify-content: flex-start;
}

img.logo {
  width: 100px;       
  height: auto;       
  transition: width 0.3s ease; 
}
/* Logo */
/* .logo a {
  color: #f1f2f6ff;
  text-decoration: none;
  font-size: 24px;
} */

.mockupset1 {
  width: 60%;  
  max-width: 800px;  
  height: auto;  
  margin: 0 auto;  
}

h1.project-header {
  font-family: 'Rock Salt', cursive !important; 
  font-size: 50px;
  text-align: center;
  position: relative;
  margin: 0px !important;
  /* padding: 40px !important; */
}

img.side-images {
  width: calc(50% - 5px); /* Each image takes up roughly half the container width, minus half the gap */
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

img.top-work {
  display: inline-flex;
  width: 300px;
  height: auto;
  padding: 5px;
}

/* Nav Bar */
/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1002;
  position: relative;
  right: 50px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #f1f2f6ff;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/* Animation for hamburger to X */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Updated Navbar styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #3ea38bff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 30px;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.navbar-section {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  text-align: center;
  /* left: 50%; */
}

.nav-links a {
  color: #0e0f19ff;
  text-decoration: none;
  font-size: 30px;
  padding: 10px;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  transition: color 0.3s ease; /* Smooth transition */
}

.nav-links a:nth-child(1):hover {
  color: #f1f2f6ff; 
}

.nav-links a:nth-child(2):hover {
  color: #f1f2f6ff; 
}

.nav-links a:nth-child(3):hover {
  color: #f1f2f6ff; 
}

.nav-links a:nth-child(4):hover {
  color: #f1f2f6ff; 
}

.dropdown .dropbtn:hover {
  color: #f1f2f6ff;
}

/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown .dropbtn {
  font-size: 30px;
  border: none;
  outline: none;
  color: #0e0f19ff;
  padding: 10px;
  background-color: inherit;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #3ea38bff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(14, 15, 25, 0.3);
  z-index: 1001;
  top: 100%;
  right: 0;
  border-radius: 4px;
}

.dropdown-content a {
  color: #0e0f19ff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-family: 'Patrick Hand', cursive;
  font-weight: 700;
}

.dropdown-content a:hover {
  background-color: #3ea38bff;
}

.dropdown:hover .dropdown-content {
  display: block;
  background-color: #3ea38bff;
}

/* Buttons */
.button {
  width: 100px;
  height: 80px;
  object-fit: contain;
  background-color: #3ea38bff;
  color: #f1f2f6ff;
  box-shadow: 0 8px 16px 0;
  /* border-color: #466060ff; */
  border-radius: 6px;
  font-family: 'Patrick Hand';
  font-weight: 700;
} 

.button:hover {
    width: 100px;
    height: 80px;
    object-fit: contain;
    background-color: #ae6147ff;
    color: #f1f2f6ff;
    box-shadow: 0 8px 16px 0;
    /* border-color: #466060ff; */
    border-radius: 6px;
} 

.pdf-button {
  position: fixed;   
  top: 100px;          
  left: 15px;   
  width: 100px;
  height: 45px;
  background-color: #3ea38bff;
  color: rgb(202, 202, 205);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  font-family: 'Patrick Hand';
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  z-index: 1001;                 
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent text wrap */
  cursor: pointer;
} 
.pdf-button:hover {
  background-color: #3ea38bff;
  color: #0e0f19ff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
} 

/* Boxes and Sections */
.blurb {
  padding: 10px; /* Space between the content and the border */
  margin: 10px auto 100px auto; /* Space around the box */
  border: 2px solid #466060ff;
  background-color: #f1f2f6ff !important;
  max-width: 800px;
  width: calac(100% - 40px);
  height: auto;
  text-align: center;
  text-shadow: 2px 2px rgb(192, 190, 190);
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.resume-header {
  text-align: left;
}

.resume-section {
  background-color:#f1f2f6ff !important;
  border: 2px solid #466060ff; 
  border-radius: 8px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  padding: 20px; 
  margin: 20px auto; 
  width: 90%;
  max-width: 1000px;
  overflow: hidden;
  z-index: 0;
  position: relative;
}
.value-header {
  text-align: center;
}
.value-section {
  border: 2px solid #466060ff; 
  padding: 15px; 
  margin: 20px auto;
  background-color: #f1f2f6ff !important; 
  /* box-sizing: content-box;
  display: block; */
  width: 90%;
  max-width: 1000;
  text-align: center;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3); /* Shadow effect */
  border-radius: 8px;
}


.project-item, 
.skill-section div {
  border-radius: 6px;
  padding: 10px;
}

.work-item,
.education-item {
  margin-bottom: 15px;
  border-radius: 6px;
  padding: 10px;
}

/* Separator Line */
hr {
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left:60px;
  margin-right: 60px;
  border-style: solid;
  border-width: 1.5px;
}

/* Form Container */
.form-container {
  background: #f1f2f6ff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  width: 500px;
  text-align: center;
}

.form-container h2 {
  margin-bottom: 15px;
  color: rgb(67, 174, 149);
}

/* Input Fields */
.form-group {
  margin-bottom: 40px;
  text-align: left;
}
label {
  font-size: 20px;
  display: block;
  margin-bottom: 5px;
  color: #466060ff;
}
input, textarea {
  width: 90%;
  padding: 10px 10px 10px 10px;
  margin: 5px 5px 10px 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}
textarea {
  resize: none;
  height: 120px;
  min-height: 100px;
  overflow: scroll;
}

/* Submit Button */
button {
  width: 100%;
  padding: 10px;
  background: #D05739;
  border: none;
  color: #f1f2f6ff;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s ease;
  
}
button:hover {
  background: #3ea38bff;
}
/* .prototype{
  width: 100vw; 
  height: 100vh; 
  overflow: hidden;
} */

/* Footer */
.footer {
  font-family: Caveat;
  text-align: center;
  padding: 20px;
  margin-top: auto; 
  height: auto;  /* Adjust for flexible height */
  overflow-y: auto; /* Allow vertical scroll if necessary */
}


/* Mobile Responsive */
@media (max-width: 1024px) {
  .tagline {
      font-size: 48px;
  }
  .blurb, .value-section, .resume-section {
    margin: 10px auto;
    max-width: 90%;
  }
  img.logo {
    width: 80px;     
  }

}

@media (max-width: 768px) {
  .figma-container > div {
    display: none !important;
  }
  .figma-link-mobile, .figma-link-website {
    display: block !important; /* Show the link on mobile */
  }
  
  .centered-container {
    grid-template-columns: 1fr;
  }

  img.logo {
    width: 60px;     
  }

  .hamburger {
    display: flex;
  }
  
  .navbar {
    padding: 15px 30px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 50px;
    right: 20px;
    /* left: 0; */
    background-color: #3ea38bff;
    flex-direction: column;
    width: 100%;
    max-width: 250px;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    gap: 10px;
    align-items: flex-start;
    z-index: 1000;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links a {
    width: 100%;
    padding: 15px;
    text-align: left;
    text-decoration: none;
  }

  .nav-links.show {
    display: flex;
  }
  
  /* Dropdown adjustments for mobile */
  .dropdown {
    width: 100%;
    position: relative;
  }
  
  .dropdown .dropbtn {
    width: 100%;
    text-align: left;
  }
  
  .dropdown-content {
    position: static;
    box-shadow: none;
    width: 100%;
    background-color: rgba(241, 242, 246, 0.1);
    border-radius: 0;
    margin-top: 5px;
    padding: 0;
  }
  
  .dropdown-content a {
    padding-left: 25px;
  }
  
  /* Override hover behavior on mobile */
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .dropdown.active .dropdown-content {
    display: block !important;
  }

  .pdf-button {
    top: 70px;        /* Slightly adjusted for smaller header height */
    right: 20px;      /* Pulled in for smaller screens */
    width: 100px;     /* Scales down */
    height: 40px;
    line-height: 10px;
  }

  img.about-img {
    display: inline;  
    width: 200px;
    height: auto; 
  }

  .blurb {
    max-width: 100%;
    width: calc(100% - 20px);
  }

  .value-section{
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;  /* Includes padding/border in width & height */
    overflow-wrap: break-word; /* Prevents text from overflowing */
    display: flex;           /* Enables flex behavior */
    flex-direction: column;  /* Stacks children vertically */
    justify-content: center; /* Centers content vertically */
    align-items: center;
  }

  .tagline {
    font-size: 36px;
  }

  img.about-img, img.top-work, img.side-images {
    width: 100%;
    height: auto;
  }

  .mockupset1 {
    max-width: 100%;
    width: auto;
  }

  .form-container {
    width: 90%;
  }

  .value-section, .resume-section, .blurb {
    padding: 10px;
    margin: 10px auto;
    max-width: 95%;
  }

  .resume-section,
  .value-section {
    width: 95%; /* Adjusts to smaller screen */
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  .project-item, 
  .work-item, 
  .education-item {
    padding: 8px;
  }

  .resume-section,
  .value-section {
    width: 100%;
  }

  .tagline {
      font-size: 28px;
  }
  h1, h2, h3, h4, h5 {
    font-size: 18px !important;
  }

  .pdf-button {
    top: 60px;        /* Lower for visibility */
    right: 10px;      /* Fits better on small screens */
    min-width: 80px;      /* Further scaled down */
    line-height: 10px;
    font-size: 14px; /* Slightly smaller font */
  }

  .blurb {
    margin: 5px;
    padding: 15px;
  }
  .value-section {
    padding: 10px;
  }

  img.logo {
    width: 60px;
  }
}


@media (min-width: 769px) {
  .logo img {
    width: 50px;    
  }
  .hamburger {
    display: none;
  }
  .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
  }
}

/* Content Adjustments */
.content {
  margin-top: 70px;
  padding: 20px;
  text-align: center;
}

.tagline {
  font-size: 64px;
  margin-bottom: 20px;
  color: var(--zomp);
  font-family: 'Rock Salt', cursive;
}

.centered-container {
  display: grid;
  gap: 20px;
}

/* Responsive Sections */
.blurb, .value-section, .resume-section {
  background-color: var(--antiflash-white);
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 10px auto;
  max-width: 800px;
}

/* Footer */
.footer {
  background-color: var(--rich-black);
  color: var(--antiflash-white);
  text-align: center;
  padding: 15px;
  margin-top: 20px;
}

/* Content Adjustments */
.content {
  margin-top: 70px;
  padding: 20px;
  text-align: center;
}

.tagline {
  font-size: 64px;
  margin-bottom: 20px;
  color: var(--zomp);
  font-family: 'Rock Salt', cursive;
}

.centered-container {
  display: grid;
  gap: 20px;
}

/* Responsive Sections */
.blurb, .value-section, .resume-section {
  background-color: var(--antiflash-white);
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 10px auto;
  max-width: 800px;
}

/* Footer */
.footer {
  background-color: var(--rich-black);
  color: var(--antiflash-white);
  text-align: center;
  padding: 15px;
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .mockupset1 {
    max-width: 100%;
  }

  .logo img {
    width: 50px;    
  }
}
