html {
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  line-height: 1.6;
}

header {
  background-color: black; /* Darker shade for contrast */
  color: #ecf0f1; /* Light color for better readability */
  text-align: left;
  min-height: 600px;
  padding-left: 20px;
}

header h1 {
  margin: 0;
  font-size: 2.5em; /* Bigger font size for emphasis */
}

header p {
  margin-top: 15px;
  font-size: 1.2em; /* Slightly bigger font for better readability */
}

.explorerSection {
  padding: 30px; /* Increased padding for better spacing */
  max-width: 900px;
  margin: 30px auto;
  background-color: #ffffff;
  border-radius: 8px; /* Slightly rounded corners */
  transition: box-shadow 0.3s; /* Transition effect for shadow animation */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Initial subtle shadow */  

}

.explorerSection:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); /* Intensified shadow on hover */
}

.serverless, .introduction, .features, .sdk-demo, .sp-features, .yantra-features {
 
  padding: 30px; /* Increased padding for better spacing */
  max-width: 900px;
  margin: 30px auto;
  background-color: #ffffff;
  border-radius: 8px; /* Slightly rounded corners */
  transition: box-shadow 0.3s; /* Transition effect for shadow animation */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Initial subtle shadow */  
}

.serverless:hover, .introduction:hover, .features:hover, .sdk-demo:hover, .yantra-features:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); /* Intensified shadow on hover */
}

.feature .feature-container { /* Apply flex properties to the new container */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.feature-container img {
  display: none; /* for now */
}

.feature-item {
  flex: 1;
  margin: 10px;
  align-items: start; /* Align items to the top */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 8px;
  background-color: #ffffff;
}

.feature-icon {
  flex: 0 0 50px; /* Fixed width for icons */
  margin-right: 20px;
}

.feature-icon img {
  width: 100%;
  display: block;
}

.feature-content {
  flex: 1;
}

.feature-content p {
  margin-top: 10px;
}


h2 {
  border-bottom: 3px solid #3498db; /* Brighter color for emphasis */
  padding-bottom: 15px;
  font-size: 2em; /* Bigger font size for emphasis */
}

.features ul {
  list-style-type: none;
  padding-left: 0;
}

.features li {
  margin-bottom: 15px;
  font-size: 1.1em; /* Slightly bigger font for better readability */
  position: relative;
  padding-left: 25px; /* Space for custom bullet */
}

.features li::before {
  content: '▸'; /* Custom bullet */
  position: absolute;
  left: 0;
  color: #3498db; /* Matching color with h2 border */
}

.sdk-demo {
  display: none;
}

.sdk-demo pre {
  background-color: #f0f0f0; /* Lighter shade for better contrast */
  padding: 20px; /* Increased padding for better spacing */
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.9em; /* Slightly reduced font size for better fit */
}

footer {
  text-align: center;
  padding: 30px 0;
  background-color: #2c3e50;
  color: #ecf0f1;
}

footer a {
  color: #3498db; /* Bright color for emphasis */
  text-decoration: none;
  transition: color 0.3s; /* Transition effect for hover animation */
}

footer a:hover {
  color: #2980b9; /* Slightly darker shade on hover */
}

.cta-button {
  display: inline-block;
  padding: 12px 25px; /* Increased padding for better spacing */
  background-color: #3498db; /* Bright color for emphasis */
  color: #ffffff;
  border-radius: 25px; /* Rounded corners */
  text-decoration: none;
  margin-top: 25px;
  font-weight: bold; /* Bold font for emphasis */
  transition: background-color 0.3s, transform 0.3s; /* Transition effects for hover animation */
}

.cta-button:hover {
  background-color: #2980b9; /* Slightly darker shade on hover */
  transform: translateY(-3px); /* Slight lift on hover for interactive feel */
}

.controls {
  position: absolute;
  right: 20px;
  top: 200px;
  z-index: 10;
}


.worlds {
  position: absolute;
  left: 20px;
  top: 200px;
  font-size: 28px;
  justify-content: left;
  z-index: 10;

}

/* Signup Form Styles */
.signup-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 333px; /* Limit the width for better appearance */
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  right: 0;
  bottom: 10px;
}

.signup-form input, .signup-form select, .signup-form button, .signup-form textarea  {
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: calc(100% - 20px); /* Adjusted width to account for padding */
  box-sizing: border-box; /* Ensures padding and border are included in element's total width and height */
}

.signup-form button {
  background-color: #3498db;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}

.signup-form button:hover {
  background-color: #2980b9;
}

.signup-form textarea {
  height: 100px;
  text-align: left;

}

.signup-success {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #2ecc71;
  border-radius: 5px;
  color: #000000;
  background-color: #fff;
  text-align: center;
  display: none;
}

/* Signup Form Styles */
.program-signup-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 444px; /* Limit the width for better appearance */
  margin-left: auto;
  margin-right: auto;
}

.program-signup-form input, .program-signup-form select, .program-signup-form button, .program-signup-form textarea  {
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: calc(100% - 20px); /* Adjusted width to account for padding */
  box-sizing: border-box; /* Ensures padding and border are included in element's total width and height */
}

.program-signup-form button {
  background-color: #3498db;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}

.program-signup-form button:hover {
  background-color: #2980b9;
}

.program-signup-form textarea {
  height: 100px;
  text-align: left;
}

.signup-success {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #2ecc71;
  border-radius: 5px;
  color: #000000;
  background-color: #fff;
  text-align: center;
  display: none;
}

.signup-success {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #2ecc71;
  border-radius: 5px;
  color: #000000;
  background-color: #fff;
  text-align: center;
  display: none;
}

.checkbox-container {
  padding-top: 10px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; /* Ensures the container takes the full width */
  padding-bottom: 20px;
}

.checkbox-container label {
  margin: 0; /* Removes any default margin */
  min-width: 300px;
  cursor: pointer;

}

.checkbox-container input {
  margin: 0; /* Removes any default margin */
  cursor: pointer;

}

#gameFrame {
  width: 80vw;
  height: 80vh;
}

#file-explorer {
  font-family: Arial, sans-serif;
  max-width: 400px;
  border: 1px solid #ddd;
}

.directory, .file {
  padding: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.directory.collapsed > .children {
  display: none;
}


#toolbar {
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  height: 40px;
  padding: 10px;
  display: flex;
  align-items: center;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: #f5f5f5;
  color: black;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 8px 16px;
  transition: background-color 0.3s;
}

.dropbtn:hover {
  background-color: #e0e0e0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  z-index: 1;
  min-width: 160px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}


#workspace {
  display: flex;
  height: calc(100% - 60px);  /* Subtracting toolbar height */
  min-height: 600px;
}

#file-explorer {
  width: 30%; /* Adjust this percentage if needed */
  border-right: 1px solid #e0e0e0;
  overflow-y: auto;
}

#right-panel {
  flex: 1;
  position: relative;
  overflow: hidden;  /* Ensures gameView is contained within right-panel */
}

#file-content {
  position: absolute;  /* This makes it overlay on top */
  top: 32px;  /* Adjust as needed */
  left: 32px;  /* Adjust as needed */
  width: 60%;  /* Adjust as needed */
  height: 980px;
  border: 1px solid #ccc;
  color: white;
  background-color: rgba(255, 255, 255, 0); /* Fully transparent background */
  resize: none;
  z-index: 2;  /* Ensure it's above the game view */
}

#gameView {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;  /* Ensure it's below the file content */
}

#gameFrame {
  width: 100%;
  height: 100%;
  border: none;
}

#monaco-editor {
  width: 100%;
  min-width: 800px;
  height: 450px;
}

.tabs {
  display: flex;
}

.tab {
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background-color: #f5f5f5;
  margin-right: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  
}

.tab:hover {
  background-color: #e0e0e0;
}

.tab.active {
  background-color: #d0d0d0;
}

.example {
  display: none;
}

code {
  display: none;
 }


.features {
  max-width: 920px;
  padding: 20px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;  /* Centers items and ensures consistent spacing */
}
/* Default styles (for mobile) */
.yantraLogo {
  animation: none; /* Disables animation */
  width: 100%;
  max-width: 300px;
  display: block;
  vertical-align: middle; /* This will help to center the image when it bounces */
  width: 100%;
  max-width: 300px;
  margin: 0 auto;

}

/* Styles for tablets and above */
@media (min-width: 769px) {
  .yantraLogo {
  }

  .features:hover .yantraLogo {
    animation: fallDownBounce 2s forwards !important;
  }
}

@keyframes fallDownBounce {
  0% {
      transform: translateY(0);
  }
  80% {
      transform: translateY(100%);
  }
  90% {
      transform: translateY(90%);
  }
  100% {
      transform: translateY(100%);
  }
}

.yantra-features {
  padding: 20px;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  margin-bottom: 32px;
  margin-left: auto;
  margin-right: auto;

  flex-wrap: wrap;
  justify-content: space-between; /* Adjusts spacing between items */
  gap: 20px; /* This will help ensure even spacing between rows and columns */
}

.yantra-features h2 {
  text-align: center;
  margin-bottom: 30px;
  width: 100%; /* Ensures the header takes the full width and doesn't get affected by flex properties */
}

.feature-item {
  flex: 0 1 calc(33.33% - 20px); /* Targeting 3 items per row; adjust the percentage if you want more or fewer items */
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px; /* Adding a slight curve to the feature items for a more modern look */
  background-color: #fff; /* Setting a background color can help the shadow pop more */
}

.feature-content {
  padding: 15px;
}


.feature-item:hover {
  background-color: rgba(0, 0, 0, 0.05); /* Slightly darkens the background */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Increases shadow depth for a lifted effect */
  transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effects */
}

/* To ensure the transition is smooth when moving the mouse out as well */
.feature-item {
  flex: 1 1 auto;
  width: 200px;
  margin: 5px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease; 
}


/* Optional: you can adjust the min-width inside media queries for different screen sizes if needed */

/* Media query to stack items on smaller screens */
@media (max-width: 768px) {
  .feature-item {
    flex: 0 0 100%;
    margin: 5px 0;
  }
}

.sdkLinkContainer {
  display: block;
  text-align: center;
  font-size: 1.6em;
  /* display: none; */
}

.sdkInstallCode {
  display: block;
  margin: 40px auto;
  max-width: 440px;
  padding: 20px;
  text-align: center;

  border-radius: 8px;
  background-color: #f5f5f5;
  font-family: monospace;
  font-size: 1.6em;
  line-height: 1.5;
}

.sp-features {
  text-align: center;
  padding: 50px 15px;
  position: relative;
}

.sp-features__logo-container {
  position: relative;
  padding-top: 140px; /* Adjusted to make space for the logos */
  padding-bottom: 140px; /* Adjusted to make space for the logos */
  padding-left: 90px;
  padding-right: 90px;

}

.sp-features__logo {
  width: 200px; 
  height: auto;
  position: absolute;
  opacity: 0.1;
}


.sp-features__logo--top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.sp-features__logo--right {
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(90deg);
}

.sp-features__logo--bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
}

.sp-features__logo--left {
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(-90deg);
}

.sp-features__container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.sp-feature {
  max-width: 212px;
  width: 100%;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 8px;
}


.sp-feature:hover {
  background-color: rgba(0, 0, 0, 0.05); /* Slightly darkens the background */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Increases shadow depth for a lifted effect */
  transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effects */
}

.sp-feature__content {
  margin-bottom: 20px;
}

.sp-feature__content strong {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
}

.sp-feature__img-container img {
  max-width: 100%;
  height: auto;
}

/* Responsive break point */
@media (max-width: 768px) {
  .sp-features__container {
    flex-direction: column;
  }
}
#video-container {
  position: relative;
  width: 100%;
  max-width: 500px; /* You can adjust this value */
  margin: 0 auto; /* This centers the video container */
}

#video-container video {
  width: 100%;
  display: block;
}

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/video-overlay.png');
  background-size: cover;
  cursor: pointer;
  text-align: center;
  line-height: 300px; /* Adjust this value based on your video dimensions */
  font-size: 48px; /* Adjust the font size of the play icon */
}

.playIcon {
  position: relative;
  top: 20px;
  opacity: 0.55;
}

.playIcon:hover {
  opacity: 1;

}

.tagLine {
  /* make text italic */
  font-style: italic;
  text-align: center;
}

.tagLine  a {
  color: white;
  text-decoration: none;
}

.tagLine  a:hover {
  text-decoration: underline;
}


a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:left {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

.callToActionLink {
  color: #ffffff;
  text-decoration: none;
  font-size: 2.2em;
}

.callToActionLink:hover {
  text-decoration: underline;
}

.callToActionLink:visited {
  text-decoration: none;
}

iframe {
  border: none;
}