@import url('https://fonts.googleapis.com/css2?family=Glegoo:wght@400;700&family=League+Gothic&display=swap');

/* ------------------------------
   1. Reset & Global Styles
--------------------------------*/
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Glegoo", serif;
  font-size: 1.3rem;
  line-height: 1.6;
  background: linear-gradient(45deg, #25286C, #004228);
  color: #F0E5E5;
}

/* ------------------------------
   2. Hero / Header Section
--------------------------------*/
.hero {
  position: fixed;
  display: flex;
  flex-direction: row;
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
}

.hero-content {
  width: 100%;
  margin: 0 auto;
  padding-top: 1%;
  display: flex;
  flex-direction: row;
  color: #F0E5E5;
}

.hero a {
  margin: 0;
  font-size: 2rem;
  font-family: "League Gothic", sans-serif;
  letter-spacing: 1px;
  text-decoration: none;
  color: #F0E5E5;
}

.hero-text{
  display: flex;
  flex-direction: row;
  margin-left: 5%;
}

#name {
  font-size: 2.8rem;
  font-family: "League Gothic", serif;
  letter-spacing: 1.5px;
}

.job-title {
  font-size: 1.5rem;
  opacity: 0.9;
  margin-left: 0.6rem;
}

.nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 77%;
    right: 0%;
    list-style-type: none;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    text-align: right;
}
.nav-links li {
    margin-right: 10%;
}
.nav-links li:hover {
    text-decoration: underline;
}
.hamburger-container {
    position: absolute;
    top: 35%;
    right: 10%;
}
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.hamburger span {
    height: 3px;
    width: 25px;
    background: #fff;
    margin: 4px;
    border-radius: 2px;
}
.nav-links.active {
    display: flex;
}

#reel {
  padding: 0;
  width: 100%;
}
#reel video {
width: 100%;
height: auto;
max-width: 100%;
display: block;
margin: 0 auto;
object-fit: cover;
}

/* ------------------------------
   3. Shared Section Styles
--------------------------------*/
.section {
  width: 100%;
  margin-bottom: 0%;
  margin-top: 10%;
}

.section-content {
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.title-content {
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.section-content p {
  margin: 1.5rem;
  font-size: 1.1rem;
}

.section h2 {
  font-family: "League Gothic", serif;
  letter-spacing: 1.5px;
  color: #F0E5E5;
  text-align: center;
  margin: 0;
}

.section-content a {
  margin: 1rem;
  font-size: 1.2rem;
  font-family: "League Gothic", serif;
  letter-spacing: 1px;
  text-decoration: none;
  color: #0ad483;
}
.section-content a:hover {
  text-decoration: underline;
}

/* ------------------------------
   4b. Projects Showcase
--------------------------------*/
.game {
  background-size: cover;
  background-position: center;
  color: #bdcfc8;
  padding: 1rem;
  margin-top: 0%;
  width: 100%;
  text-align: center;
  box-shadow: inset 0 0 0 1000px rgba(0,0,0,.5);
}
.game h3 {
  font-size: 2rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
.game:hover{
  box-shadow: inset 0 0 0 1000px rgba(0,0,0,.7);
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}

#game1 {
  background-image: url('img/firefliesGIF.jpg');
}
#game1:hover {
  background-image: url('img/firefliesGIF.gif');
}

#game2 {
  background-image: url('img/RLRTSGIF.jpg');
}
#game2:hover {
  background-image: url('img/RLRTS.gif');
}

#game3 {
  background-image: url('img/techsupportGIF.jpg');
}
#game3:hover {
  background-image: url('img/techsupport.gif');
}

/* software */
.software {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
}
.program {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: left;
  gap: 0.5rem;
  margin: 0.5rem auto;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.5rem;
  border-radius: 20px;
}
.software-logo {
  width: 60px;
  height: 60px;
}
.program h3 {
  width: 100px;
  font-size: 1rem;
  text-align: center;
}
.program p {
  font-size: 0.6rem;
  width: 150px;
}
/* ------------------------------
   5. Contact Section
--------------------------------*/

.headshot {
  width: 25%;
  height: 250px;
  object-fit: cover;
  border-radius: 20px;
  border: 4px solid #0ad483;
  margin: 1rem;
}

#contact {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}
#contact p {
  font-size: 0.7rem;
}
#contact a {
  text-decoration: none;
  color: #0ad483;
}
#me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 1rem;
}

.contact-icon {
  width: 20%;
  margin: 0.5rem 1.5rem;
}

.contact-icon:hover,
.contact-icon:focus {
  cursor: pointer;
  transform: scale(1.1);
}

/* ------------------------------
   6. Footer
--------------------------------*/
footer {
  text-align: center;
  padding: 0.1rem;
  background: #25286C;
  font-size: 0.9rem;
}

/* game pages */
.spacer {
  height: 10vh;
}
.game-title {
  font-size: 2.5rem;
  font-family: "League Gothic", serif;
  letter-spacing: 1.5px;
  color: #F0E5E5;
  text-align: center;
  margin-top: 0;
}
.preview {
  width: 90%;
  margin: 0 auto;
  border-radius: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2%;
  background: rgba(0, 0, 0, 0.4);
}
.preview h3 {
  font-size: 1.2rem;
}
.preview p {
  margin-top: 3%;
  font-size: 0.8rem;
}
#game1-logo {
  width: 80%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
.screenshot {
  width: 90%;
  display: flex;
  justify-content: center;
  margin-top: 10%;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  border-radius: 15px;
}
.small-screenshot {
  width: 45%;
  display: flex;
  justify-content: center;
  margin-top: 5%;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  border-radius: 15px;
}
.two-screenshots {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1%;
  margin-top: 5%;
}
/* ------------------------------
   7. Media Queries (768px+)
--------------------------------*/
@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;       
    gap: 2rem;
    text-align: left;
  }

  .hamburger-container {
    display: none;            /* hide hamburger on desktop */
  }

  .nav-links {
    display: flex;            /* show nav links on desktop */
    position: absolute;
    top: 0%;
    right: 5%;
    flex-direction: row;
    background: none;
    width: auto;
  }

  .hero .headshot {
    margin: 0;
    width: 180px;
    height: 180px;
  }

  .hero-text {
    flex: 0 1 auto;
    max-width: 400px;
  }

  .game{
    max-width: 3000px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .game-title {
    font-size: 4rem;
    margin-top: 10%;
  }
  .preview {
    width: 400px;
    padding: 1rem;
  }
  .section-content p {
    font-size: 1.4rem;
    max-width: 800px;
  }
  .section-content h2 {
    font-size: 3.4rem;
  }
  .screenshot {
    width: 60%;
  }
  .software {
    justify-content: center;
  }
  .software-logo {
    width: 80px;
    height: 80px;
  }
  .program p {
    font-size: 0.8rem;
    width: 500px;
  }
  #contact {
    justify-content: center;
  }
  #contact p {
    font-size: 1rem;
    max-width: 600px;
  }
  #contact .title-content {
    width: 100%;
  }
}
