@font-face {
  font-family: 'Rough';
  src: url('../fonts/RoughStart-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

*, *::before, *::after {
  box-sizing: border-box;
}


body {
  margin: 0%;
  font-family: 'Rough';
  background-color: #101010;
  overflow-x: hidden; 
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: #ffffff;
}

a:hover {
  color: #000000;
}


.navbar {
  background-color: #ac253a;
  position: relative;
}
}

.navbar a {
  font-size: 24px;
  font-family: "Rough" , sans-serif;
  color: #ffffff ;
  padding-left: 15px;
  padding-right: 15px;
  }

.nav-links {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
   height: 60px;
  margin: 0;
  padding: 0 60px;
}

.nav-links li a {
  font-size: clamp(14px, 1.5vw, 20px);
  font-family: 'Rough', sans-serif;
  color: #ffffff;
  white-space: nowrap;
}

.nav-links li a:hover {
  color: #000000;
}


.hamburger {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  padding: 10px 20px;
}

.nav-mobile {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0px;
  background-color: #ac253a;
  width: 100%;
}

.nav-mobile li a {
  display: block;
  padding: 14px 20px;
  font-family: 'Rough', sans-serif;
  font-size: 18px;
  color: #ffffff;
  border-bottom: 1px solid #ac253a;
}

.nav-mobile.open {
  display: block;
}


/* Slider Codes below */

.slider{
  padding: 20px 0px 10px 0px;
  width: 100%;
  height: var(--height);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%);
}

.slider .list {
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  height: var(--height);
  position: relative;
}
.slider .list .item{
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: autoRun 10s linear infinite;
  transition: filter 0.5s;
  animation-delay: calc( (10s / var(--quantity)) * (var(--position) - 1) );
}
.slider .list .item img{
  width: 100%;
}
.slider .list .item img .ice{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}
@keyframes autoRun {
  from{
    left: 100%;
  }to {
    left: calc(var(--width) * -1);
  }
}

.slider:hover .item{
  animation-play-state: paused!important;
  filter: grayscale(1); 
}
.slider:hover .item:hover{
  filter: grayscale(0);
}


/* body text Codes below */

.me {
  width: 100%;
  padding: 50px 8vw;
  text-align: center;
}

.me h1{
  width: 100%;
  color: #ffffff;
  font-size: clamp(32px, 5vw, 64px);
  font-family: 'Rough',;
  text-align: center;
  margin: 0 0 20px 0;
}
h2{
  width: 100%;
  color: #ffffff;
  font-size: clamp(14px, 1.8vw, 20px);
  font-family: 'Rough',;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}


/* Mascot image Codes below */

.Mascot {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px 0;
  box-sizing: border-box;
}

.Mascot img {
  display: block;
  width: 60%;
  max-width: 600px;
  min-width: 200px;
  height: auto;
}


/* Footer Codes below */

footer {
  background-color: #ac253a;
  padding: 0px;
}
.container {
  max-width: 1440px;
  margin: auto;
  display: flex;
  justify-content: space-between;  /* spreads columns to edges */
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 60px 20px 60px;
}


.footer-content {
  flex: 1;
  min-width: 180px;
}

.footer-content.contact {
  text-align: left;
}

.footer-content.contact h3 {
  text-align: left;
}


.footer-content.links {
  text-align: center;
}

.footer-content.links h3 {
  text-align: center;
}


.footer-content.follow {
  text-align: right;
}

.footer-content.follow h3 {
  text-align: right;
}

h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-family: 'Rough', sans-serif;
  color: #ffffff;
  margin-bottom: 15px;
}


.footer-content p{
  
  color: #ffffff;
  margin: 0;
  padding: 5px 0px;
  font-size: clamp(13px, 1.2vw, 15px);

}


.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  padding: 6px 0;
  position: relative;
}

.footer-list li a {
  color: #ffffff;
  font-size: clamp(13px, 1.2vw, 15px);
}

.footer-list li a:hover {
  color: #000000;
}


.social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end; 
  gap: 10px;
}

.social-icons li a {
  color: #ffffff;
}

.social-icons i {
  font-size: clamp(20px, 2vw, 28px);
  color: #ffffff;
  transition: color 0.3s;
}

.social-icons i:hover {
  color: #000000;
}


.bottom-bar {
  background: #101010;
  text-align: center;
  width: 100%;
  padding: 10px 0;
  margin-top: 20px;
}

.bottom-bar p {
  font-family: "Times New Roman", serif;
  color: #ffffff;
  margin: 0;
  font-size: clamp(12px, 1vw, 14px);
  padding: 7px;
}

/* Responsive Design below */

/* Tablet — 768px and below */
@media (max-width: 768px) {

  /* Hide desktop nav, show hamburger */
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
    width: 100%;
    text-align: right;
    height: 55px;
  }

 
  .slider {
    --width: 200px !important;
    --height: 200px !important;
  }

  .me {
    padding: 30px 6vw;
  }

  .Mascot img {
    width: 75%;
  }


  .container {
    flex-direction: column;
    align-items: center;
    padding: 30px 30px 20px 30px;
    gap: 25px;
  }

  .footer-content {
    width: 100%;
    text-align: center !important;
  }

  .footer-content h3 {
    text-align: center !important;
  }

  .social-icons {
    align-items: center;
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 480px) {

  .slider {
    --width: 150px !important;
    --height: 150px !important;
  }

  .me {
    padding: 20px 5vw;
  }

  .Mascot img {
    width: 90%;
  }

  .container {
    padding: 20px 15px;
  }
}





/* Contact Me Page Style*/

.stack-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.img-bottom   {
    width: 100%;
    height: auto;
    display: block;      /* bottom image sits in normal flow, sets the height */
}

.img-top {
   position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%); 
    width: 50%;
    max-width: 900px;
    min-width: 200px;
    height: auto;
    object-fit: contain;
}

.stack-text {
    position: absolute;
    bottom: 40%;   /* percentage-based so it scales with container */
    left: 20%;
    transform: translateX(-40%);
    text-align: center;
    color: #ffffff;
    width: 80%;
    max-width: 400px;
    min-width: 50px;
    z-index: 3;
}

.stack-text h2 {
    font-size: clamp(16px, 3vw, 42px);
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
}

.stack-text p {
    font-size: clamp(12px, 1.5vw, 20px);
    text-shadow: 1px 1px 6px rgba(0,0,0,0.9);
    margin: 0;
}

