/*
OLD FONTS: Staatliches & Lato
https://colorhunt.co/palette/fbf9fafd0054a800382b2024 red-white
#A80038
#FD0054
#FBF9FA
#131323
*/

/* Hidden scrollbar */
::-webkit-scrollbar {
  width: 0;
  display: none;
}

body {
  margin: 0;
  padding: 0;
  color: #FFFFFF;
  line-height: 1.5;
  font-family: 'Varela Round', sans-serif;                                                
  box-sizing: border-box;
  background-color: #FBF9FA;
}

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, a,  button, .title-small {
  font-family: 'Airstrip Four', sans-serif;
  font-weight: normal;
}

input , input::placeholder, textarea {
  font-family: 'Varela Round', sans-serif;
}

hr {
  border: 1px solid;
}

a {
  color: #FBF9FA;
  font-size: 1.4em;
}

/* CONTAINER 100VH with snapping */

.container-100vh {
  width: 100%;
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  overflow: hidden;
}

.container-100vh-team {
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  overflow: hidden;
  display: flex; /* Use flexbox to arrange items */
  justify-content: space-between; /* Space between text and render */
  align-items: center; /* Align vertically */
  box-sizing: border-box;
}

.slides {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background-image: linear-gradient(45deg, rgba(30, 28, 37, 0.3), rgba(19, 19, 35, 0.3)), url("https://www.normogames.com/images/Polygons.png");
  background-size: cover; /* Ensure background covers the entire section */
  background-position: center; /* Center the background image */
  background-repeat: no-repeat; /* Prevent image repetition */
}

/* NAVIGATION BAR FRONTPAGE */
nav {
  width: 100%;
  position: absolute;
  top: 0;
  right: 10%;
  display: flex;
  justify-content: right;
  align-items: center;
  z-index: 4;
}

nav ul li {
  list-style: none;
  display: inline-block;
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color:#FBF9FA;
  font-size:calc(12px +  0.7vw);
}

@media screen and (max-width: 1200px) {
  nav {
    width: 100%;
    right: 0;
    left: 0;
    margin: auto;
    justify-content: center;
  }

  ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 15px;
    margin-inline-end: 15px;
    padding-inline-start: 20px;
    padding-inline-end: 20px;
    unicode-bidi: isolate;
  }
  
  nav ul li {
    list-style: none;
    display: inline-block;
    margin-left: 8px;
    margin-right: 8px;
  }

}

nav a:hover {
  font-weight: bold;
}

@media only screen and (min-width: 300px) {
  .navbar a {
    font-size: 1em;
  }

  .navbar img {
    width: 80px;
    height: auto;
  }
}

@media only screen and (min-width: 300px) and (max-width: 599px) {
  nav ul li a {
    font-size: 0.8em; /* Adjust font size for specific range */
  }
}
/* VIDEO */
  @media screen and (max-width: 700px) {
    .background-video {
      width: 2500px;
      height: auto;
  }
}

.mask { /* Mask for Video. Black is divider, rgba tensity*/
  mask-image: linear-gradient(180deg, black 60%, rgba(0, 0, 0, 0.1) 70%);
  -webkit-mask-image: linear-gradient(180deg, black 60%, rgba(0, 0, 0, 0.1) 70%); /* For Safari */
}

/* BODY */
.body-content {
  width: 80%;
  max-width: 900px;
  margin: 100px auto 100px;
}

.body-content h3 {
  margin: 0 auto 15px;
  text-align: center;
  font-size: 1.5em;
  font-weight: 600;
}

@media screen and (max-height: 900px) {
  .body-content p {
  font-size: 0.8em;
  text-align: justify;
  }
}


/* GAMES */
.game-content iframe, .game-content-middle iframe {
  border-radius: 15px;
  margin-bottom: 20px;
  text-align: center;
}

.riflemen-character {
  float: left;
  mask-image: linear-gradient(0deg, transparent 1%, black 40%);
  -webkit-mask-image: linear-gradient(0deg, transparent 1%, black 40%);
}
.riflemen-character img {
  height: 100vh;
}

.game-desc-right {
  float: right;
  width: 100%;
  max-width: 700px;
}

.heal-hurt-character {
  float: right;
  padding-left: 100px;
  mask-image: linear-gradient(0deg, transparent 1%, black 40%);
  -webkit-mask-image: linear-gradient(0deg, transparent 1%, black 40%);
}

.heal-hurt-character img {
  height: 100vh;
}

.game-desc-left {
  float: left;
  width: 100%;
  max-width: 700px;
}

.img_coding img {
  width: 600px;          /* Adjust size as needed */
  height: 600px;
  object-fit: cover;     /* Ensures image fills the shape */
  border-radius: 50%;    /* Makes the image round */
}

@media only screen and (max-width: 1500px) {
  .riflemen-character, .heal-hurt-character, .img_coding {
    display: none;
  }

  .game-desc-left, .game-desc-right {
    float: none;
    margin: auto;
    width: 100%;
  }
}

.link-here {
  text-decoration: none;
  font-size: 1.1em;
  line-height: 1.5;
  font-family: 'Varela Round', sans-serif;
  color: inherit;
  font-weight: normal;
}

/* FOOTER */
.footer-frontpage{
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.footer-frontpage i {
  color: #FBF9FA;
  font-size:calc(20px +  1vw);
  margin: 0 8px 10px;
}

.footer-frontpage i:hover {
  font-weight: bold;
}


.footer-frontpage p {
  color:#FBF9FA;
  text-align: center;
  font-size: 1.2em;
  margin: 0;
}

/* FORM */
.form {
  width: 90%;
  max-width: 400px;
  margin: 32px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.form-group {
  width: 100%;
  max-width: 320px; /* Adjust the groups width */
}

.form h3 {
  width: 100%;
  max-width: 320px;
  font-size: 1.5em;
  font-weight: 600;
  text-align: left;
}

input, textarea {
  background: #333;
  padding: 16px;
  width: 100%;
  border-radius: 6px;
  color: #fff;
  box-sizing: border-box;
  margin-bottom: 1px;
  font-size: 16px;
}

textarea {
  height: 300px;
}

.button-submit {
  width: 100%;
  max-width: 320px;
  display: inline-block;
  border: 0;
  padding: 10px;
  background: #333;
  color: #fff;
  border-radius: 6px;
  margin-top: 16px;
  box-shadow: 0 3px #999;
  transition-duration: 0.1s;
}

.button-submit:hover {
  background-color: #555252;
  font-weight: bolder;
}

.button-submit:active {
  background-color: #555252;
  box-shadow: 0 3px #666;
  transform: translateY(4px);
}

@media screen and (max-width: 600px) {
  .form {
    max-width: 90%;
  }

  .form-group {
    max-width: 320px; /* Adjust form width on smaller screens */
  }

  input, textarea, .button-submit {
    max-width: 320px; /* Ensure inputs and button align with the form width */
  }

  textarea {
    height: 250px;
  }
}

@media screen and (max-height: 600px) {
  textarea {
    height: 200px;
  }
}

section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

section:nth-child(1){
  color: #FBF9FA;
}

section:nth-child(2){
  color:#ffffff;
  background: #FBF9FA;
}

section:nth-child(3){
  color: #FBF9FA;
}

section:nth-child(4){
  color:#131323;
  background: #FBF9FA;
}

section .container {
  margin: 100px;
}

section h1{
  font-size: 30px;
  text-align: center;
  text-transform: uppercase;
}

/* General overlay styles */
#overlay {
  display: none; /* Hidden by default */
  position: fixed; /* Sit on top of the page content */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* Black background with opacity */
  z-index: 1000; /* High z-index to be on top of other content */
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out; /* Smooth transition for opacity */
  visibility: hidden;
}

#overlay.show {
  display: flex; /* Flex display when shown */
  opacity: 1;
  visibility: visible;
}

/* Content within the overlay */
.overlay-content {
  color:#000;
  background: white;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  text-align: center;
  width: 80%;
  max-width: 600px;
}

/* Close button styling */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

/* NEW Team Site */
/* Ensure the rendering container is fullscreen */
.render-container {
  width: 100%;
  height: 100vh;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
}

/* Make sure canvas stays in background */
.render-container canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Canvas stays behind text */
}

/* Member Container */
.member-container {
  max-width: 500px;
  width: 70%;
  margin-right: 30vw;
  margin-left: 30vw;
  position: absolute; /* Change to absolute to position relative to the viewport */
  top: 20%;
  left: 0;
  right: 0;

  }


/* Responsive Typography */
.member-container h1 {
  font-size: clamp(1.8rem, 4.8vw, 2.6rem);
  margin-top: 0;
  margin-bottom: 0;
}

.member-container h2 {
  font-size: clamp(1.3rem, 2.8vw, 1.6rem);
  margin-top: 0;
  margin-bottom: 0;
}

.member-container p {
  font-size: clamp(0.9rem, 2.3vw, 1rem);
  margin-top: 20px;
  text-align: justify;
}

/* Adjust layout for smaller screens */
@media (max-width: 1920px) {
  .member-container {
    margin-left: 20vw; 
  }
}

/* Adjust layout for smaller screens */
@media (max-width: 1024px) {
  .member-container {
    width: 50%;
    margin-left: 5vw; 
    text-align: center; 
  }
}

@media (max-width: 768px) {

  .member-container {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .member-container p {
    text-align: left; /* Improves readability on mobile */
  }
}

@media (max-width: 480px) {
  .member-container {
    width: 90%;
  }
}

#samuli-render {
    color: white;
}

#niko-render {
    color: white;
}


/* Team Site */
.overlay-team {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1); /* Black background with transparency */
}

/* carousel */
.carousel {
  height: 100vh;
  width: 100%;
  border-bottom: 50px;
  overflow: hidden;
  position: relative;
}

.carousel .list .item {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0 0 0 0;
}

.carousel .list .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel .list .item .content {
  position: absolute;
  top: 20%;
  width: 60%;
  max-width: 80%;
  left: 40%;
  transform: translateX(-50%);
  padding-right: 30%;
  box-sizing: border-box;
  color: #f6f5ee;
  text-shadow: -2px 2px 1px rgba(0, 0, 0, 0.75);
  /* text-shadow: 1px 1px 1px rgb(21, 23, 79), 0 0 1em rgb(0, 0, 0), 0 0 0.2em rgb(0, 0, 0); */
}

@media screen and (min-width: 1280px) {
  .carousel .list .item .content {
    font-size: 1.1em;
  }
}

@media screen and (min-width: 1921px) {
  .carousel .list .item .content {
    font-size: 1.6em;
  }
}

@media screen and (min-width: 3441px) {
  .carousel .list .item .content {
    font-size: 2.2em;
  }
}

.carousel .list .item .author {
  font-weight: bold;
  letter-spacing: 10px;
}

.carousel .list .item .title .title-small,
.carousel .list .item .topic {
  font-size: 5em;
  font-weight: bold;
  line-height: 1.3em;
}

.des {
  font-size: 1.4em;
}

.carousel .list .item .title {
  font-size: 2em;
}

.carousel .list .item .topic {
  color: #d22a37;
}

.carousel .list .item .buttons {
  display: grid;
  grid-template-columns: repeat(2, 130px);
  grid-template-rows: 40px;
  gap: 5px;
  margin-top: 20px;
}

.carousel .list .item .buttons button {
  border: none;
  background-color: #f6f5ee;
  letter-spacing: 3px;
  font-family: Poppins;
  font-weight: 500;
}

.carousel .list .item .buttons button:nth-child(2) {
  background-color: transparent;
  border: 1px solid #f6f5ee;
  color: #eee;
}

/* thumbnail */
.thumbnail {
  position: absolute;
  bottom: 10%; /* Adjust as needed */
  left: 50%;
  transform: translateX(-50%); /* Centering trick using transform */
  width: max-content;
  z-index: 100;
  display: flex;
  gap: 20px;
}

.thumbnail .item {
  width: 130px;
  height: 200px;
  flex-shrink: 0;
  position: relative;
}

@media screen and (min-width: 1921px) {
  .thumbnail .item {
    width: 200px;
    height: 266px;
  }

  .title-small {
    font-size: 1.7em;
  }
}

@media screen and (min-width: 3441px) {
  .thumbnail .item {
    width: 300px;
    height: 380px;
  }

  .title-small {
    font-size: 2.2em;
  }
}

.thumbnail .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.thumbnail .item .content {
  color: #f6f5ee;
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
}

.thumbnail .item .content .title .title-small {
  font-weight: 500;
}

.thumbnail .item .content .description {
  font-weight: 300;
}

/* arrows */

.arrows {
  position: absolute;
  bottom: 3%;
  left: 50%;
  z-index: 100;
  max-width: 30%;
  display: flex;
  gap: 10px;
  align-items: center;
  transform: translateX(-50%);
}

.arrows button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #eee4;
  border: none;
  color: #f6f5ee;
  font-family: monospace;
  font-weight: bold;
  transition: 0.5s;
}

.arrows button:hover {
  background-color: #f6f5ee;
  color: #000;
}

/* animation */
.carousel .list .item:nth-child(1) {
  z-index: 1;
}

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons {
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent 0.5s 1s linear 1 forwards;
}

@keyframes showContent {
  to {
    transform: translateY(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

.carousel .list .item:nth-child(1) .content .title {
  animation-delay: 1.2s !important;
}

.carousel .list .item:nth-child(1) .content .topic {
  animation-delay: 1.4s !important;
}

.carousel .list .item:nth-child(1) .content .des {
  animation-delay: 1.6s !important;
}

.carousel .list .item:nth-child(1) .content .buttons {
  animation-delay: 1.8s !important;
}

/* create animation when next click */
.carousel.next .list .item:nth-child(1) img {
  width: 150px;
  height: 220px;
  position: absolute;
  bottom: 50px;
  left: 50%;
  border-radius: 30px;
  animation: showImage 0.5s linear 1 forwards;
}

@keyframes showImage {
  to {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}

.carousel.next .thumbnail .item:nth-last-child(1) {
  overflow: hidden;
  animation: showThumbnail 0.5s linear 1 forwards;
}

.carousel.prev .list .item img {
  z-index: 100;
}

@keyframes showThumbnail {
  from {
    width: 0;
    opacity: 0;
  }
}

.carousel.next .thumbnail {
  animation: effectNext 0.5s linear 1 forwards;
}

@keyframes effectNext {
  from {
    transform: translateX(150px);
  }
}

/* running time */
.carousel .time {
  position: absolute;
  z-index: 1000;
  width: 0%;
  height: 3px;
  background-color: #d22a37;
  left: 0;
  top: 0;
  display: none;
}

.carousel.next .time,
.carousel.prev .time {
  animation: runningTime 1s linear 1 forwards;
}

@keyframes runningTime {
  from {
    width: 100%;
  }
  to {
    width: 0;
  }
}

/* prev click */
.carousel.prev .list .item:nth-child(2) {
  z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img {
  animation: outFrame 0.5s linear 1 forwards;
  position: absolute;
  bottom: 0;
  left: 0;
}

@keyframes outFrame {
  to {
    width: 150px;
    height: 220px;
    bottom: 50px;
    left: 50%;
    border-radius: 20px;
  }
}

.carousel.prev .thumbnail .item:nth-child(1) {
  overflow: hidden;
  opacity: 0;
  animation: showThumbnail 0.5s linear 1 forwards;
}

.carousel.next .arrows button,
.carousel.prev .arrows button {
  pointer-events: none;
}

.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons {
  animation: contentOut 1s linear 1 forwards !important;
}

@keyframes contentOut {
  to {
    transform: translateY(-150px);
    filter: blur(20px);
    opacity: 0;
  }
}

/* Mobile adjustments */
@media screen and (min-width: 300px) and (max-width: 541px) {
  .carousel .list .item .content {
    padding-right: 0;
    top: 10%; /* Adjust top positioning as needed */
    width: 80%;
    max-width: 80%;
    height: 80%;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .carousel .list .item .author,
  .carousel .list .item .title,
  .carousel .list .item .topic,
  .carousel .list .item .des,
  .carousel .list .item .buttons {
    transform: translateY(0);
    filter: blur(0);
    opacity: 1;
    animation: none; /* Disable animations on mobile */
  }
  
  .carousel .list .item .topic {
    font-size: 4em;
  }

  .carousel .list .item .des {
    font-size: 1em; /* Maintain font size */
  }
  
  .des {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 1em;
    color: #FFF;
    border-radius: 5px;
  }

  .thumbnail {
    display: none;
  }

  .arrows {
    display: none; /* Hide arrows on mobile */
  }

  /* running time */
  .carousel .time {
    display: none;
}
}

@media screen and (min-width: 542px) and (max-width: 1280px) {
  .carousel .list .item .content {
    padding-right: 0;
    top: 10%; /* Adjust top positioning as needed */
    width: 80%;
    max-width: 80%;
    height: 80%;
    left: 50%;
    transform: translateX(-50%);
  }

  .arrows button {
    width: 40px;
    height: 40px;
  }
  
  .carousel .list .item .title {
    font-size: 1.5em;
  }

  .carousel .list .item .topic {
    font-size: 5em;
  }

  .carousel .list .item .des {
    font-size: 1.3em; /* Maintain font size */
  }

  .des {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 1em;
    color: #FFF;
    border-radius: 5px;
  }

  .thumbnail {
    display: none;
  }

  .arrows {
    display: none; /* Hide arrows on mobile */
  }

  /* running time */
  .carousel .time {
    display: none;
  }
}

/* Games site */
/* Video button for Games-site */
.section {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.video-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.video-container video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.overlay-games {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.content-games {
  position: relative;
  z-index: 3;
  color: white;
  text-align: justify; /* For Edge */
  -moz-text-align-last: center; /* For Firefox prior 58.0 */
  text-align-last: center;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}
  .content p {
    font-size: 1em; /* Default font size */
  }

  /* For screens larger than 1200px */
  @media screen and (min-width: 1200px) {
    .content p {
      font-size: 1.5em;
    }
  }

  /* For screens larger than 1921px */
  @media screen and (min-width: 1921px) {
    .content p {
      font-size: 2.5em;
    }
  }

  /* For screens larger than 3441px */
  @media screen and (min-width: 3441px) {
    .content p {
      font-size: 3em;
    }
  }

  .logo-container {
    width: 100%;
    height: auto;
  }
  
  .logo-container img {
    margin: auto;
    padding-bottom: 20px;
    width: 30% !important;
    display: block;
  }
  
  
  /* For screens with a maximum width of 767px (mobile devices) */
  @media screen and (max-width: 767px) {
    .logo-container img {
      width: 80% !important;
    }
  }
  
  /* For screens with a maximum width of 920px (mobile devices) */
  @media screen and (max-width: 920px) {
    .logo-container img {
      width: 60% !important;
    }
  }
  
  /* For screens with a maximum width of 1200px */
  @media screen and (max-width: 1200px) {
    .logo-container img {
      width: 40%;
    }
  }
  
  /* For screens with a maximum width of 1920px */
  @media screen and (max-width: 1920px) {
    .logo-container img {
      width: 35%;
    }
  }
  
  /* For screens larger than 3440px */
  @media screen and (min-width: 3441px) {
    .logo-container img {
      width: 30%;
    }
  }
  
  .riflemen-background, .heal-hurt-background, .platformity-background {
    position: relative;
    width: 100%;
    height: auto;
  }
  
  .riflemen-background img, .heal-hurt-background img, .platformity-background img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
  
  .button-pause {
    color: #eee;
    background-color: rgba(0, 0, 0, 0);
    border: 0;
  
  }
  
.pause-button {
  position: absolute;
  bottom: 4%;
  left: 2%;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2; /* Ensure button appears above video overlay */
}

.pause-button:hover {
  color: #5c5c5c;
  cursor: pointer;
  transform: scale(1.2); /* Slightly enlarges the image */
  filter: brightness(1.2); /* Makes the image brighter */
}

/* Adjust the size of the pause button for different screen resolutions */
@media screen and (max-width: 767px) {
  .pause-button {
    padding: 16px; /* Default padding for medium screens */
    font-size: 12px; /* Default font size for medium screens */
  }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .pause-button {
    padding: 16px; /* Default padding for medium screens */
    font-size: 12px; /* Default font size for medium screens */
  }
}

@media screen and (min-width: 1201px) and (max-width: 1920px) {
  .pause-button {
    padding: 18px; /* Increase padding for larger screens */
    font-size: 14px; /* Increase font size for larger screens */
  }
}

@media screen and (min-width: 1921px) {
  .pause-button {
    padding: 20px; /* Further increase padding for very large screens */
    font-size: 20px; /* Further increase font size for very large screens */
  }
}

.links {
  padding: 50px;
  text-align: center; /* Center-align links horizontally */
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center; /* Center items horizontally */
}

.links a {
  margin: 0 10px; /* Add some horizontal spacing between links */
}

.links img {
  width: 100px; /* Default width for small screens */
  height: auto;
  max-width: 100%; /* Ensure image doesn't exceed its container */
  transition: transform 0.3s ease, filter 0.3s ease;
}

@media (min-width: 300px) {
  .links img {
      width: 80px; /* Adjusted width for medium screens */
  }
}

@media (min-width: 600px) {
  .links img {
      width: 100px; /* Adjusted width for medium screens */
  }
}

@media (min-width: 1024px) {
  .links img {
      width: 120px; /* Adjusted width for large screens */
  }
}

.steam-logo, .epic-logo {
  transition: transform 0.3s ease, filter 0.3s ease;
}

a:hover .steam-logo, a:hover .epic-logo {
  transform: scale(1.1); /* Slightly enlarges the image */
  filter: brightness(1.2); /* Makes the image brighter */
}