@font-face {
  font-family: "ciscela";
  src: url("Ciscela-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

body {
  height: 200%;
  font-family: monospace;
  background-color: black;
  scroll-snap-type: y mandatory;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
scroll-behavior: smooth;
}

/* Layout structure */
.layout {
  display: flex;
}

header{
  background-color: #111;
  color: white;
}

.name {
  color: white;
  white-space: nowrap;
  position: fixed;

  background: rgba(17, 17, 17, 0.2);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);

  padding: 15px;
  border-radius: 10px;
}


.top-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;

}

.container {
    width: 100%;
    margin: 0px auto;
    padding: 60px 40px 120px 40px; /* extra bottom padding for hero pseudo-elements */
    background-color: #111;
    position: relative;
    z-index: 1;
    border-radius: 10px;
  }


  .content {
   
      width: 100%;
      margin-left: 0;
      padding-left: 0;
    
  }



ul {
  list-style-type: none;
}

p{
  color: white;
}

.decorcontainer {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("./darkergray.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  }

/* Updated SIDEBAR */
.sidebar {
  font-family: monospace;
  font-size: 18px;
  font-weight: 500;
    position: fixed;
    left: 0px;
    top: 65px;
    width: 120px;
    z-index: 10;

    background: rgba(17, 17, 17, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  
    padding: 15px;
    border-radius: 10px;
  
}


.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 20px;
  margin-left: 20px;
  color: #57bbf9;
  cursor: pointer;
}

a {
  text-decoration: none; 
  color: #57bbf9;      
}

a:hover {
  color: white;
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 22px;
  color: #57bbf9;
  cursor: pointer;
  margin-left: 10px;
}

/* collapsed sidebar */
.sidebar.collapsed {
  width: 60px;
  padding: 10px;
}

/* hide menu when collapsed */
.sidebar.collapsed .sidebar-menu {
  display: none;
}

/* show hamburger when collapsed */
.sidebar.collapsed .hamburger {
  display: block;
}

/* when menu is opened */
.sidebar.open .sidebar-menu {
  display: block;
  margin-top: 10px;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 120px;
  text-align: center;
}

.hero-text {
  font-family: "ciscela";
  position: relative;
  font-size: 320px;
  color: white;
  line-height: 1;
  margin: 0;
  text-align: center;
  letter-spacing: -40px; /* this should help us pull the letters closer when they're falling or performing the animation */
  
}



.scroll-text {
  color: #ffee00;
  margin: 0;               /* p.s. this removes default margins */
  text-align: center;
}










/*Trying to make each letter fall*/

.hero-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(-200px) rotate(-20deg);
  animation: fall 1s ease forwards;
}

/* delay each letter */
.hero-text span:nth-child(1) {
  animation-delay: 0.1s;
}

.hero-text span:nth-child(2) {
  animation-delay: 0.3s;
}

.hero-text span:nth-child(3) {
  animation-delay: 0.5s;
}

/* falling animation */
@keyframes fall {
  0% {
    opacity: 0;
    transform: translateY(-200px) rotate(-20deg);
  }

  60% {
    transform: translateY(20px) rotate(10deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}


























/* Projects Header section */
.projects {
  margin-top: 300px; /* space from hero section or text */
  display: flex;
  flex-direction: column;
  align-items: center; /* center horizontally */
}

/* Section header with yellow border */
.section-header {
  border: 4px solid #e2e907; 
  padding: 15px 40px;
  border-radius: 5px;
  display: inline-block;   /* this helps us shrink it to fit the context  */
  text-align: center;      /* this centers text inside box */
  margin-bottom: 40px;
  background-color: transparent; /* no fill */
}

/* Section header text -- PROJECTS HEADER*/
.section-header h2 {
  margin: 0;
  color: #ffffff;   /* yellow text */
  font-size: 32px;
  font-weight: bold;
}


/*  FULLSCREEN */
.projects-container {
  width: 100%;
}

/* each project */
.project-slide {
  height: 100vh;
  width: 100%;
  position: relative;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* project image */
.project-slide img {
  max-width: 75%; /*don’t let it get wider than 75% of the slide*/
  max-height: 80vh; /*this says "don’t let it get taller than 80% of the screen". This should help us by preventing larger images from "spilling" onto the other ones. */
  width: auto; /*let the browser calculate the natural width*/
  height: auto; /*let the browser calculate the natural width*/
  object-fit: contain;
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  display: block;
}

.portfolio-grid a {
  display: inline-block;
  width: fit-content;
}


/* text underneath slides*/
.project-info {
  position: absolute;
  bottom: 10px;
  left: 600px;
  z-index: 2;
  color: rgb(234, 255, 0);
  font-size: 19px;

}

.project-info-2 {
  position: absolute;
  bottom: 20px;
  left: 550px;
  color: white;
  margin-top: 20px;

}

.project-info-3 {
  position: absolute;
  bottom: 10px;
  left: 580px;
  color: white;

}

.project-info-4 {
  position: absolute;
  bottom: 10px;
  left: 580px;
  color: white;

}

.project-info-5 {
  position: absolute;
  margin-bottom: 30px;
  bottom: 15px;
  left: 580px;
  color: white;

}


/* CONTACT PAGE */

#contactpagebody {
  background-color: #111;
}

#connectpagetext{
  margin-top: 400px;
  text-align: center;
  font-size: 120px;
  font-family: monospace;
  color: #ffffff;
}

#letscollaborate {
  font-weight: 600;
  font-family: monospace;
  font-size: 40px;
  margin-left: 80px;
  
}

#socials{
  font-weight: 300;
  font-family: monospace;
  font-size: 40px;
  margin-left: 80px;
}

.aboutmeinfo {
  font-weight: 300;
  font-family: monospace;
  font-size: 15px;
  margin-left: 80px;
  margin-top: 30px;
  margin-bottom: 90px;
  width: 800px;
}


/*ABOUT ME PAGE */ 




.skill {
  display: flex;            /* horizontal layout */
  justify-content: flex-start; /* left align everything */
  gap: 100px;                /* horizontal gap between name and description */
  align-items: center;      /* vertical align center */
  margin-bottom: 20px;      /* vertical spacing between skills */
  font-weight: 80;
  font-family: monospace;
  font-size: 25px;
  margin-left: 80px;
  margin-top: 50px;
  font-style: italic;
  width: 1300px;
}

.skill-name {
  
  font-weight: bold;
  color: #fff;
  min-width: 200px; /* optional: makes all names align neatly */
}

.skill-desc {
  color: #ccc;
  flex: 1; /* description takes remaining space */
  font-size: 15px;
  margin-bottom:50px ;  
}

.skill-number {
  font-size: 0.8rem;
  color: #57bbf9;
  width: 25px;
  text-align: right;
  margin-right: 10px;
}

hr{
  width: 1400px;
  margin-left: 40px;
  margin-right: 40px;
}


.hero2 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 120px;
  text-align: center;
}

.hero2-text {
  font-family: "ciscela";
  position: relative;
  font-size: 120px;
  color: white;
  line-height: 1;
  margin: 0;
  text-align: center;
  letter-spacing: -15px; /* this should help us pull the letters closer when they're falling or performing the animation */
  
}
/*Trying to make each letter fall*/

.hero2-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(-200px) rotate(-20deg);
  animation: fall 1s ease forwards;
}

/* delay each letter */
.hero2-text span:nth-child(1) {
  animation-delay: 0.1s;
}

.hero2-text span:nth-child(2) {
  animation-delay: 0.3s;
}

.hero2-text span:nth-child(3) {
  animation-delay: 0.5s;
}

.hero2-text span:nth-child(4) {
  animation-delay: 0.7s;
}

.hero2-text span:nth-child(5) {
  animation-delay: 0.9s;
}

.hero2-text span:nth-child(6) {
  animation-delay: 1.1s;
}

.hero2-text span:nth-child(7) {
  animation-delay: 1.3s;
}

.hero2-text span:nth-child(8) {
  animation-delay: 1.5s;
}

.hero2-text span:nth-child(9) {
  animation-delay: 1.7s;
}

.hero2-text span:nth-child(10) {
  animation-delay: 1.9s;
}

.hero2-text span:nth-child(11) {
  animation-delay: 0.5s;
}

.hero2-text span:nth-child(12) {
  animation-delay: 0.9s;
}

/* falling animation */
@keyframes fall {
  0% {
    opacity: 0;
    transform: translateY(-200px) rotate(-20deg);
  }

  60% {
    transform: translateY(20px) rotate(10deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

.scroll-text-2 {
  font-size: 20px;
  margin-top: 25px;
  color: #ffee00;
  text-align: center;
}










#email {
  margin-left: 80px;
  margin-top: 8px;
  font-size: 45px;
  color: white;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
  font-style: italic;
}

/* sliding underline */
#email::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 3px;
  background: white;
  transition: width 0.4s ease;
}

/* hover animation */
#email:hover {
  color: #57bbf9;
}

#email:hover::after {
  width: 100%;
}










/*PLAYGROUND CSS START*/


/*FUN GAME CSS PAGE START*/
.wrapper {
  position: absolute;
  width: 90%;
  max-width: 37em;
  background-color: #5C80BC ;
  padding: 7em 3em;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  text-align: center;
  border-radius: 1em;
  z-index: 1;
  margin-top: 200px;

}





#letter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8em 0.4em;
  justify-content: center;
  margin-top: 2em;
}

#letter-container button {
  background-color: #ffffff;
  border: 2px solid #7786f5;
  color: #7786f5;
  outline: none;
  border-radius: 0.3em;
  cursor: pointer;
  height: 3em;
  width: 3em;
}

#letter-container .correct {
  background-color: #008000;
  color: #ffffff;
  border: 2px solid #008000;
}
#letter-container .incorrect {
  background-color: #8a8686;
  color: #ffffff;
  border: 2px solid #8a8686;
}
.hint-ref {
  margin-bottom: 1em;
}
.hint-ref span {
  font-weight: 600;
}
#chanceCount {
  margin: 1em 0;
  position: absolute;
  top: 0.62em;
  right: 2em;
}
#word {
  font-weight: 600;
  margin: 1em 0 2em 0;
}
#word span {
  text-transform: uppercase;
  font-weight: 400;
}
.hide {
  display: none;
}



/*DOWNLOAD BUTTONS*/

.btn {
  background-color:#32affc;
  border: none;
  color: white;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 20px;
  text-decoration: none;
  display: inline-block;
}

/* Darker background on mouse-over */
.btn:hover {
  background-color: RoyalBlue;
}



/* TAKTIS PAGE */

/* HERO */
.taktishero {
  height: 80vh;
  background: url('hero.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.taktishero h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.taktishero p {
  font-size: 1.5rem;
  font-weight: 300;
}

.herosectiondescription{
  width: 1000px;
}

/* ARO PAGE */
.arohero {
  height: 80vh;
  background: url('hero.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.arohero h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.arohero p {
  font-size: 1.5rem;
  font-weight: 300;
}

.herosectiondescription{
  width: 1000px;
}



/* ACASO PAGE */
/* HERO */
.acasohero {
  height: 80vh;
  background: url('hero.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.acasohero h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.acasohero p {
  font-size: 1.5rem;
  font-weight: 300;
}

.herosectiondescription{
  width: 1000px;
}

/* Image GRID */
.image {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  background: #f7f7f7;
}

.image-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.image-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.image-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.image-card h2 {
  font-size: 1.5rem;
  margin: 1rem;
}

.image-card p {
  margin: 0 1rem 1rem;
  color: #555;
}










