* {
  margin: 0;
  padding: 0;
}

/* NORTHEASTERN COLOR SCHEME DEFINITIONS */
:root {
  --primary-color: rgb(200, 16, 46);
  --dark-color: black;
  --light-color: white;
  --accent-color: rgb(164, 128, 74);
  scroll-behavior: smooth;
  font-size: 16px;
}

/* Body Default Font and BG */
body {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  background: var(--light-color);
  /* overflow-x: hidden; */
}

/* Link Default Color and Decoration */
a {
  text-decoration: none;
  color: var(--dark-color);
  transition: all 300ms ease;
}

/* No ul bullet points */
ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* NAVIGATION BAR */

.navbar {
  background: var(--light-color);
}

.navbar .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 20vh;
}

.logo {
  font-size: 2rem;
}

.logo a {
  cursor: default;
}

.logo a:hover {
  text-decoration: none;
}

.nav-links ul {
  display: flex;
  gap: 2rem;
  font-size: 1.5rem;
}

.nav-links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: var(--accent-color);
}

/* HAMBURGER MENU */

.hamburger-nav {
  display: none;
  justify-content: space-around;
  align-items: center;
  height: 15vh;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 3px;
  background-color: var(--dark-color);
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--light-color);
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: var(--dark-color);
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.menu-links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: var(--accent-color);
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

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

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:nth-child(2) {
  opacity: 1;
}

.hamburger-icon span:last-child {
  transform: none;
}

/* HERO */

#hero {
  display: flex;
  justify-content: center;
  gap: 5rem;
  height: 80vh;
}

.pic-container {
  display: flex;
  height: 75%;
  width: auto;
  margin: auto 0;
}

.socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

/* ABOUT */

.about-outer-container {
  display: flex;
  gap: 5%;
  height: 90%;
  justify-content: center;
}

.about-container {
  justify-content: center;
  display: flex;
  flex-direction: column;
  width: 50%;
}

.about-pic-container {
  display: flex;
  height: auto;
  width: 45%;
  margin: auto 0;
}

.about-pic {
  border-radius: 2rem;
}

.description-container {
  display: flex;
  margin: 0.5rem;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.about-inner-container {
  padding: 1rem;
  flex: 1;
  background: black;
  border-radius: 2rem;
  border: white 0.1rem solid;
  text-align: center;
}

.text-container {
  display: flex;
  text-align: justify;
  padding-top: 0.5rem;
}

/* EXPERIENCE */
#experience {
}

.experience-outer-container {
  margin-top: 1rem;
}

.work-title-container {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.position-title-container {
  display: flex;
  justify-content: space-between;
}

.experience-container {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--dark-color);
  padding-bottom: 1rem;
  padding-top: 0.5rem;
  align-items: center;
}

.experience-inner-container {
  width: 40vw;
}

.work-image {
  width: 480px;
  height: auto;
  border-radius: 2rem;
}

.work-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  text-decoration: underline;
  text-decoration-color: var(--accent-color);
  text-underline-offset: 0.5rem;
}

.location-title {
  font-size: 1.5rem;
  color: var(--dark-color);
  text-decoration: underline;
  text-decoration-color: var(--accent-color);
  text-underline-offset: 0.5rem;
}

.position-title {
  font-size: 1.25rem;
}

.position-date {
  font-size: 1.25rem;
}

.experience-text {
  text-align: justify;
}

/* PROJECTS */
.project-group {
  border-bottom: 1px solid var(--dark-color);
  padding-bottom: 1rem;
}

.project-group-header {
  padding: 1rem 0;
  margin-bottom: 0.5rem;
  position: relative;
}

.project-group-header h4 {
  text-decoration: underline 0.5px;
  text-decoration-color: var(--primary-color);
  text-underline-offset: 0.5rem;
  font-weight: 600;
  font-size: 1.25rem;
  width: 95%;
}

#projects i {
  position: absolute;
  right: 0;
  top: 1.5rem;
  font-size: 1.3rem;
  cursor: pointer;
}

.project-group-body {
  display: none;
  text-align: justify;
  gap: 1.5rem;
  align-items: center;
}

.project-group-body.open {
  display: flex;
}

.project-image {
  width: 40%;
  height: auto;
  border-radius: 2rem;
  border: var(--primary-color) 0.1rem solid;
}

.project-text {
  text-align: justify;
}

/* CONTACT */

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
}

.contact-info-outer-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: var(--primary-color) 0.1rem solid;
  background: white;
  margin: 2rem auto;
  padding: 0.5rem;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

#contact .email {
  height: 2.5rem;
  width: 2.5rem;
}

.contact-link {
  font-size: 1.25rem;
}

.contact-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: var(--accent-color);
}

/* FOOTER */
footer {
  height: 30vh;
  justify-content: center;
}

.footer-container {
  height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .nav-links ul {
  padding-bottom: 1rem;
}

.copyright {
  text-align: center;
}

/* REUSED CLASSES */

/* SECTION */
section {
  padding: 4vh 0;
  height: fit-content;
  margin: 0 10vw;
  box-sizing: border-box;
  min-height: fit-content;
}

.section-text {
  align-self: center;
  text-align: center;
}

/* TEXT */
.title {
  font-size: 3rem;
  text-align: center;
}

.title-white {
  font-size: 3rem;
  color: var(--light-color);
  text-align: center;
}

.subtitle {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.text-white {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.text-small-white {
  color: white;
  font-size: 1rem;
}

.text-link {
  color: rgb(0, 200, 250);
  text-decoration: underline;
  display: inline-block;
}

/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
  width: 2rem;
}

/* BUTTONS */

btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease-in-out;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
  border: gray 0.1rem solid;
}

.btn-color-1 {
  border: var(--dark-color) 0.1rem solid;
  background: var(--light-color);
  color: var(--dark-color);
}

.btn-color-2 {
  border: var(--dark-color) 0.1rem solid;
  background: var(--dark-color);
  color: var(--light-color);
}

.bg-black {
  background-color: black;
}
