/* Prevents overflowing T^T */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* NAV INSIDE MY BLACK CONTAINER */
nav {
  margin: 10px 0 20px;
  display: flex;
  justify-content: center;
  gap: 130px;
  font-size: 18px;
  font-family: 'Arial', sans-serif;

}

nav a {
  color: white;
  text-decoration: none;
}

nav a:hover {
  color: #d3d5fd;
}

nav a:active {
  color: #929aab;
}

/* GLOBAL */
body {
  background-color: #d3d5fd;
  margin: 0;
  font-family: Arial, sans-serif;
}

/* MY CRYSTAL TOP IMAGE BANNER C: */
.leavestopbanner {
  display: block;
  max-width: 837px;
  width: 100%;
  height: auto;
  margin: 20px auto 10px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

/* MY BLACK CONTAINER */
.mainContainer1 {
  border-radius: 10px;
  background-color: black;
  max-width: 837px;
  margin: 0 auto 40px;
  padding: 20px 20px;
  color: white;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;

}

/* PROFILE SECTION (used on other pages if I need to it's this) */
.profileRow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 150px;
  color: #d3d5fd;
}

/* TEXT */
.profileText {
  text-align: left;
  max-width: 300px;
  margin-left: auto;
  font-size: 20px;
}

.profileText h1 {
  margin: 0;
  color: white;
}

.profileText p {
  margin: 4px 0 0 0;
}

/* IMAGE + OVERLAY */
.container1 {
  position: relative;
  margin-left: 0;
  width: 200px;
}

.myPicture {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 0 10px 5px #474a56;
}

.ovlay1 {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  width: 100%;
  height: 0;
  background-color: #fffd6b;
  overflow: hidden;
  transition: 0.5s ease;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
}

.container1:hover .ovlay1 {
  bottom: 0;
  height: 100%;
}

.smile {
  color: rgb(2, 2, 2);
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* THIN LINE HERE TO MAKE ANY CHANGES I WANT! C: */
.thin {
  border: none;
  border-top: 1px solid #929aab; 
  width: 100%;
  margin: 20px 0;
  
}

/* GLOBAL LIST SPACING :D */
ul li {
  margin-bottom: 20px;
}

/* PORTFOLIO SECTION  */
.section-intro {
  color: #929aab;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.project-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.project-list li {
  margin-bottom: 20px;
}

.project-card h2 {
  margin: 0 0 0.3rem;
}

.project-card p {
  margin: 0 0 0.4rem;
}

/* Bright Yellow Link Styling for my Portfolio page! */
.project-list a,
.project-list a:visited {
  color: #fffd6b;
  text-decoration: none;
}

.project-list a:hover {
  color: white;
  text-decoration: underline;
}

.project-list a:active {
  color: #fffd6b;
}

/* ⤷ BULLET BEFORE PROJECT TITLES */
.project-title {
  position: relative;
  padding-left: 28px;
  margin: 0 0 6px;
  color: white;
}

.project-title::before {
  content: "⤷";
  position: absolute;
  left: 0;
  top: 0;
  color: #d3d5fd; /* To change my bullet color c: */
  font-size: 20px;
  line-height: 1;
}

/* CONTACT FORM STYLES!! */

.contactFormWrapper {
  margin-top: 30px;
}

#contact-form {
  background-color: #474a56;
  padding: 15px;
  border-radius: 10px;
  width: 100%;
  max-width: 100%;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid rgba(211,213,253,0.6);
  background-color: #0b0b0d;
  color: #d3d5fd;
  font: inherit;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.error-message {
  color: #fffd6b;
  font-size: 0.85rem;
  margin-top: 4px;
  min-height: 1em;
}

.form-status {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #d3d5fd;
}

#contact-form button[type="submit"] {
  margin-top: 4px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid #d3d5fd;
  background-color: #d3d5fd;
  color: #0b0b0d;
  font: inherit;
  cursor: pointer;
}

#contact-form button[type="submit"]:hover {
  filter: brightness(1.50);
}

/* ABOUT PAGE TEXT! */
.paragraph1 {
  font-size: 30px;
}

/* ✅ ABOUT PAGE ARROW BULLETS (▷) c:*/
.paragraph1 .arrow-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.paragraph1 .arrow-list li {
  position: relative;
  padding-left: 24px;
  margin: 6px 0;
  color: white; 
}

/* Arrow yellow c:*/
.paragraph1 .arrow-list li::before {
  content: "▷";
  position: absolute;
  left: 0;
  top: 0;
  color: #fffd6b; 
}


/*ABOUT PAGE TWEAKS */
.about-page .container1 {
  width: 240px;
}

.about-page .paragraph1 {
  font-size: 24px;
  max-width: 400px;
}

table {
  border-collapse: collapse;
  color: #d3d5fd;
}

td {
  width: 100px;
  height: 50px;
  text-align: center;
  vertical-align: middle;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.about-page .paragraph1 {
  font-size: 17px; 
  max-width: 100%;   
}

.nontech-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px; /* spacing between text & fox c:*/
}

.nontech-wrapper ul {
  margin: 0;
  padding-left: 20px;
  max-width: 500px; /* prevents and fixes my wrapping issues :c */
  list-style-position: outside;
}

.fox-img {
  width: 240px; 
  height: auto;
  border-radius: 15px;
  box-shadow: 0 0 12px 5px #d3d5fd;
}

.highlight {
  color: #7f78d2; 
  font-weight: bold;
}

/* Flip layout so my image is on the right c: */
.about-page .profileRow {
  flex-direction: row-reverse;
}


/*   RESPONSIVE STYLES c:  */
@media (max-width: 900px) {
  nav {
    gap: 40px;
    font-size: 16px;
    flex-wrap: wrap;
  }

  .profileRow {
    gap: 60px;
  }

  .mainContainer1 {
    max-width: 100%;
    margin: 0 16px 32px;
  }
}

@media (max-width: 768px) {
  /* Make nav stack a bit nicer on tablet/phone */
  nav {
    flex-wrap: wrap;
    gap: 16px;
    font-size: 16px;
  }

  /* Stack profile image + text vertically */
  .profileRow {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .profileText {
    margin-left: 0;
    max-width: 100%;
    text-align: center;
  }

  .mainContainer1 {
    margin: 0 12px 28px;
    padding: 16px;
  }

  /* Skills table readable on smaller screens c:*/
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    font-size: 11px;
  }

  td {
    min-width: 80px;
  }

  /* Non-technical section: stack text + fox */
  .nontech-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .fox-img {
    width: 70%;
    max-width: 260px;
    align-self: center;
  }

  .about-page .paragraph1 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  /* Fully mobile nav: vertical list */
  nav {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 15px;
  }

  .leavestopbanner {
    margin: 10px auto;
  }

  .mainContainer1 {
    margin: 0 8px 24px;
    padding: 12px;
  }

  .paragraph1 {
    font-size: 16px;
  }

  .nontech-wrapper ul {
    max-width: 100%;
  }

  table {
    font-size: 15px;
  }
}

/* MY FOOTER c: */
footer {
  text-align: center;
  margin-top: 40px;
  color: black;
  font-size: 12px;
}