* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-image: url(/assets/images/smirking_owl_studio_Logo.jpg);
  background-color: rgba(255, 255, 255, 0.803);
  background-size: auto;
  background-position: center;
  background-blend-mode: overlay;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

header {
  position: fixed;
  width: 100%;
  background-color: #2e2f2f;
  color: #fff;
  max-height: 80px;
  padding: 10px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  width: 100px;
  height: auto;
}

.menu-toggle {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1001;
  position: fixed;
  right: 100px;
  width: 30px;
  height: 30px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  translate: 70px ;
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  translate: 70px ;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  translate: 70px ;
}

.nav-menu {
  display: flex;
  position: fixed;
  right: 80px;
}

.nav-menu ul {
  display: flex;
}

.nav-menu ul li {
  margin-right: 20px;
  list-style-type: none;
}

.nav-menu ul li a {
  color: #ffffff;
  text-decoration: none;
  padding: 10px;
  transition: all 0.3s ease;
}

.nav-menu ul li a:hover {
  background-color: #333;
}

.overlay {
  position: fixed;
  right: -250px;
  top: 0;
  bottom: 0;
  width: 250px;
  background-color: #333;
  transition: right 0.3s ease;
  z-index: 1000;
}

.overlay.open {
  right: 0;
}

.overlay ul {
  list-style-type: none;
  padding: 20px;
}

.overlay ul li {
  margin-bottom: 10px;
}

.overlay ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

.overlay ul li a img {
  width: 20px;
  height: auto;
  margin-right: 10px;
}

.overlay ul li a:hover {
  color: #ff6600;
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
  }

  .overlay {
    right: -250px;
    z-index: 1000;
  }

  .overlay.open {
    right: 0;
  }

  .overlay ul {
    padding: 50px 20px;
  }
}

@media (min-width: 1025px) {
  .menu-toggle {
    display: none;
  }

  .overlay {
    display: none;
  }
}


#home{
  height: 100vh;
  width: auto;
  
}
.hero {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  color: #888;
  margin-bottom: 30px;
}

.cta {
  display: inline-block;
  background-color: #3498db;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta:hover {
  background-color: #2980b9;
}

section {
  padding: 80px 20px;
}



.game-card {
  text-align: center;
  margin-bottom: 30px;
}

.game-card img {
  width: 200px;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
}

.game-button {
  display: inline-block;
  background-color: #3498db;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.game-button:hover {
  background-color: #2980b9;
}

footer {
  background-color: #1f1f1f;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.exit-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.exit-popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  max-width: 400px;
  margin: auto;
}

.exit-popup-close {
  position: relative;
  top: -15px;
  right: -170px;
  font-size: 24px;
  cursor: pointer;
}

.exit-popup h2 {
  margin-bottom: 20px;
}

.exit-popup p {
  margin-bottom: 20px;
}

.social-icons a {
  margin: 5px;
  display: inline-block;
}

.social-icons img {
  width: 30px;
  height: auto;
}

.widget {
  position: fixed;
  bottom: 100px;
  right: -152.5px;
  width: 200px;
  height: 160px;
  background-color: #767676c5;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  transition: right 0.1s ease;
  opacity: 50%;
}

.widget.open {
  right: -50px;
  height: 65px;
  opacity: 100%;
  background-color: #454242b9;
}

.widget-content {
  display: grid;
}

.widget.open .widget-content {
  display: block;
}

.widget-toggle {
  display: block;
  cursor: pointer;
  text-align: center;
  margin-top: 10px;
  background-color: #444;
  padding: 5px;
  border-radius: 3px;
}

@media (max-width: 1024px) {
  .widget {
    display: block;
  }
}

@media (min-width: 1025px) {
  .widget {
    display: none;
  }
}

.social-icon {
  display: inline-block;
  margin: 3px;
  transition: transform 0.3s ease;
}

.social-icon img {
  width: 20px;
  height: 20px;
}

.about-content h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.about-content h2 {
  font-size: 2em;
  margin: 30px 0 10px;
}

.team-member {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.team-member img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 20px;
}

.team-member h3 {
  font-size: 1.5em;
  margin-bottom: 5px;
}

footer {
  background-color: #1f1f1f;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.dark-mode-toggle {
  position: fixed;
  right: 20px;
  width: 50px;
  height: 24px;
  margin-left: px;
}

.dark-mode-toggle input {
  display: none;
}

.toggle {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #ccc;
  border-radius: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease;
}

.toggle-track {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #ccc;
  border-radius: 15px;
  overflow: hidden;
}

.toggle-thumb {
  position: absolute;
  width: 22px;
  height: 22px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  left: 1px;
  top: 1px;
}

.toggle-icons {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
  color: #fff;
  font-size: 12px;
}

.icon-sun {
  color: #ffdf00;
}

.icon-moon {
  color: #555;
  opacity: 0.6;
}

input:checked + .toggle .toggle-track {
  background-color: #333;
}

input:checked + .toggle .toggle-thumb {
  transform: translateX(26px);
}

input:checked + .toggle .icon-sun {
  opacity: 0.6;
}

input:checked + .toggle .icon-moon {
  opacity: 1;
  color: #ccc;
}

body.dark-mode {
  background-color:rgba(0, 0, 0, 0.85);
  color: #e0e0e0;
}

body.dark-mode header {
  background-color: #1f1f1f;
}

body.dark-mode .cta,
body.dark-mode .game-button {
  background-color: #555;
}

body.dark-mode .cta:hover,
body.dark-mode .game-button:hover {
  background-color: #444;
}

body.dark-mode .nav-menu ul li a:hover {
  background-color: #444;
}

body.dark-mode .widget {
  background-color: #444;
}

body.dark-mode .widget-toggle {
  background-color: #555;
}
body.dark-mode .exit-popup {
  background-color: #2f2f2fdc;
  color: #000;
}

body.dark-mode footer {
  background-color: #1a1a1a;
}

