html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: #636363;
  color: white;
  font-family: "VCR OSD Mono", monospace, system-ui;
}

.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.home-page {
  position: relative;
  display: flex;
  background-color: black;
}

.navbar {
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.navbar a {
  float: right;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.navbar a:hover {
  background-color: #C0737A;
}

.navbar a.active {
  background-color: #ff8ba7;
}

.navbar a.home-page-link {
  float: left;
}

.navbar .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .navbar a:not(:first-child) {
    display: none;
  }

  .navbar a.icon {
    float: right;
    display: block;
  }

  .navbar.responsive {
    position: relative;
  }

  .navbar.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

@font-face {
  font-family: 'VCR OSD Mono';
  src: url('Fonts/VCR_OSD_MONO.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.projects {
  background-color: black;
  margin: 10%;
  margin-top: 4%;
  padding: 20px;
}

.projects h1 {
  text-align: center;
  color: white;
}

h1, hr {
  margin: 10px;
}

footer {
  background-color: black;
  color: white;
  padding: 10px 20px;
  text-align: center;
  bottom: 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 90%;
  margin: 0 auto;
}

.social-media-links {
  flex-grow: 1;
  text-align: center;
  flex-basis: 50%;
}

.social-media-links a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-size: 20px;
}

.by-me {
  margin-left: auto;
}

.television {
  position: relative;
  margin-top: 20px;
  margin: 0 auto;
}

.tv-image {
  width: 100%; 
  display: block;
  z-index: 1;
}

.slideshow-image {
  display: block;
  border-radius: 3%;
  position: absolute;
  top: 36%;
  left: 49%;
  transform: translate(-50%, -50%);
  width: 75%;
  height: 49%;
  z-index: 2;
}

.prev, .next {
  position: absolute;
  top: 30%;
  width: 1%;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  cursor: pointer;
  background-color: transparent; 
  z-index: 2;
}

.prev {
  left: 7.5%;
  border-radius: 3px 0 0 3px;
}

.next {
  right: 9%;
  border-radius: 0 3px 3px 0;
}

.prev:hover, .next:hover{
  background-color: #C0737A;
}

.numbertext {
  color: white;
  font-size: 18px;
  position: absolute;
  top: 4%;
  left: 6%;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4;
  }
  to {
    opacity: 1;
  }
}

.overlay {
  border-radius: 3%;
  top: 36%;
  left: 49%;
  transform: translate(-50%, -50%);
  width: 75%;
  height: 49%;
  z-index: 2;
  position: absolute;
  opacity: 0;
  background-color: rgba(255, 105, 180, 0.9); 
  transition: opacity 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay-text {
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s;
}

.image-container:hover .overlay {
  opacity: 1;
}

.image-container:hover .overlay-text {
  opacity: 2;
}