body {
  background-color: #141414;
}

.name {
  font-family: sans-serif;
  font-size: 20px;
  color: #ed4b00;
  position: absolute;
  padding-top: 0%;
  padding-left: 25px;
  padding-top: 25px;
}

.bottom-nav .portfolio-page a {
  color: #ed4b00;
}

.intro h1,
.intro h2,
.intro h3,
.intro h4 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-family: 'Arial Narrow Bold', sans-serif;
  font-size: 100px;
  color: rgba(245, 245, 222, 1);
  margin: 0;

  opacity: 0;
}

.intro h1 {
  animation: slot1 4s infinite;
}

.intro h2 {
  animation: slot2 4s infinite;
}

.intro h3 {
  animation: slot3 4s infinite;
}

.intro h4 {
  animation: slot4 4s infinite;
}

@keyframes slot1 {
  0%, 24% { opacity: 1; }
  25%, 100% { opacity: 0; }
}

@keyframes slot2 {
  0%, 24% { opacity: 0; }
  25%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes slot3 {
  0%, 49% { opacity: 0; }
  50%, 74% { opacity: 1; }
  75%, 100% { opacity: 0; }
}

@keyframes slot4 {
  0%, 74% { opacity: 0; }
  75%, 100% { opacity: 1; }
}

.cursor-dot {
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

*/Portfolio page */

.portfolio {
  background-color: #141414;
}

.portfolio-page a {
  color: inherit;
  text-decoration: none;
}

body.portfolio h1 {
  color: #ffffff;
  padding-left: 40px;
  font-size: 100px;
  margin-bottom: 0;
}

h2.axis-title {
  font-size: 20px;
  color: #ffffff;
  padding-left: 40px;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* AXIS SECTION */

.book {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  margin-top: 60px;
}

.book-page {
  width: 800px;
}

.book-page img {
  width: 100%;
  height: auto;
  display: block;
}

/* buttons under image, aligned right */
.book-controls {
  width: 800px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 20px;
}

.book-controls button {
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.book-controls button:disabled {
  opacity: 0.3;
  cursor: default;
}


.book button {
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

/* DUOLINGO SECTION */

 h2.duolingo-title {
  font-size: 20px;
  color: #ffffff;
  padding-left: 40px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.duolingo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 80px; /* pushes it under Axis */
}

.duolingo-page {
  width: 800px;
}

.duolingo-page img {
  width: 100%;
  height: auto;
  display: block;
}

.duo-controls {
  width: 800px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 20px;
}

.duo-controls button {
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

/* CO-OPERATIVE SECTION */

h2.cooperative-title {
  font-size: 20px;
  color: #ffffff;
  padding-left: 40px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.cooperative {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 80px auto;
}

.cooperative-page {
  width: 800px;
}

.cooperative-page img {
  width: 100%;
  height: auto;
  display: block;
}

/* controls under image, aligned right */
.cooperative-controls {
  width: 800px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 20px;
}

.cooperative-controls button {
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.cooperative-controls button:disabled {
  opacity: 0.3;
  cursor: default;
}

/* TWIX SECTION */

.twix-title {
  font-size: 20px;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-left: 40px;
}

.twix {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 80px auto;
}

.twix-page {
  width: 800px;
}

.twix-page img {
  width: 100%;
  height: auto;
  display: block;
}

/* controls bottom right */
.twix-controls {
  width: 800px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 20px;
}

.twix-controls button {
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.twix-controls button:disabled {
  opacity: 0.3;
  cursor: default;
}

/* DUO 2 TITLE */

.duo2-title {
  font-size: 20px;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-left: 40px;
}

/* DUO 2 SECTION */

.duo2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 80px auto 120px auto; /* space below section */
}

.duo2-page {
  width: 800px;
}

.duo2-page img {
  width: 100%;
  height: auto;
  display: block;
}

/* controls bottom right */
.duo2-controls {
  width: 800px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 20px;
}

.duo2-controls button {
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.duo2-controls button:disabled {
  opacity: 0.3;
}

.portfolio .footer {
  margin-top: 120px;
}

/* About page */

.about-page {
  font-size: 20px;
  color: #ed4b00;
}

.about-page a {
  color: inherit;
  text-decoration: none;
}

/* Contact page */

.contact-page {
  font-size: 20px;
  color: #ed4b00;
}

.contact-page a {
  color: inherit;
  text-decoration: none;
}

/* Resume page */

.resume-page {
  font-size: 20px;
  color: #ed4b00;
}

.resume-page a {
  color: inherit;
  text-decoration: none;
}

/* spacing of text */

.bottom-nav {
  position: fixed;
  bottom: 20px;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: space-around;
  align-items: center;

  font-size: 20px;
}

/* home icon */

.home-icon {
  position: fixed;
  top: 20px;
  right: 20px;
}

.home-icon img {
  width: 60px;
  height: auto;
}

/* About page - image */

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.opening-page {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.opening-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


.footer-links a:hover {
  text-decoration: underline;
}

/* Pencil */

/* Pencil + Text Layout */

.pencil-section {
  display: flex;
  align-items: flex-start;
  gap: 60px;

  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

.about-text {
  color: #ffffff;
}

/* Pencil */

.pencil {
  display: flex;
  justify-content: flex-end;
}

.pencil img {
  width: 150px;
  height: auto;
  display: block;
}
/* Footer */

.footer {
  background-color: #f0e9d3;
  width: 100%;
  padding: 50px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  margin-top: 120px; /* pushes it clearly below content */
}

/* links side */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h3 {
  margin-bottom: 10px;
}

.footer-links a {
  color: #222;
  text-decoration: none;
  font-size: 16px;
}

/* Contact page - image */

.contact-title {
  color: #ffffff;
  padding-left: 40px;
  font-size: 100px;
  margin-bottom: 0;
}

.contact-guy {
  position: absolute;
  right: 0;
  bottom: -130px;
}

.contact-guy img {
  width: 500px;
  height: auto;
}

.contact.info {
  color: #ffffff;
  padding-left: 40px;
  padding-top: 20px;
}

.contact.info {
  color: #ffffff;
  padding-left: 40px;
  padding-top: 20px;
  transform: translateY(200px); /* moves only contact info down */
  font-size: 20px; /* change this number */
}

.contact.info a,
.contact.info a:visited,
.contact.info a:hover,
.contact.info a:active {
  color: #ffffff;
  text-decoration: none;
}

.contact.info img {
  width: 35px;
  height: 35px;
  margin-right: 10px;
  vertical-align: middle;
  margin-top: 10px;
}

/* Contact form */

/* Inputs and textarea */
input[type=text],
input[type=email],
textarea {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid white;
  color: white;
  font-size: 16px;
  box-sizing: border-box;
  margin-bottom: 30px;
  resize: vertical;
}

/* Placeholder text */
input::placeholder,
textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

/* Remove blue outline */
input:focus,
textarea:focus {
  outline: none;
  border-bottom: 2px solid white;
}

/* Submit button */
input[type=submit] {
  background: transparent;
  color: white;
  border: 1px solid white;
  padding: 12px 24px;
  cursor: pointer;
  transition: 0.3s ease;
}

input[type=submit]:hover {
  background: white;
  color: black;
}

/* Resume Page */

.content {
  margin-top: 40px;
  margin-bottom: 40px;
}

.resume {
  color: rgba(245, 245, 222, 1);
}

.content {
  margin-left: 40px;
  margin-right: 40px;
  
}

/* education section */

.edu-right {
  padding-bottom: 20px;
}

.edu-top {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.edu-title {
  font-weight: 500;
}

.edu-right {
  text-align: right;
  white-space: nowrap;
}

.edu-location {
  font-weight: 400;
}

.edu-dates {
  margin-top: 4px;
  opacity: 0.7;
  font-size: 0.95em;
}

/*axis section*/

.axis-right {
  padding-bottom: 20px;
}

.axis-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.axis-title {
  font-weight: 500;
}

.axis-right {
  text-align: right;
}

.axis-org {
  font-weight: 400;
}

.axis-year {
  margin-top: 4px;
  opacity: 0.7;
  font-size: 0.95em;
}

/* student award section*/

.award-right {
  padding-bottom: 20px;
}

.award-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.award-title {
  font-weight: 500;
}

.award-right {
  text-align: right;
}

.award-org {
  font-weight: 400;
}

.award-year {
  margin-top: 4px;
  opacity: 0.7;
  font-size: 0.95em;
}

.experience-end {
  padding-bottom: 40px;
}

/* Form container */
.container {
  background: transparent;
  padding: 20px 0;
}

.container {
  width: 50%;
  margin-left: auto;   /* pushes it to the right */
  margin-right: 50px;  /* space from right edge */
  margin-top: -10px;
  background: transparent;
  padding: 20px 0;
}

.contact .footer {
  margin-top: 230px;
}



