/* Reset default styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-image: url("../images/decoder_.png");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow-y: auto; /* Ensure body can scroll */
}

/* Style the foreground image and text container */
#container {
  position: relative;
  margin: 100px auto; /* Center the container */
  width: 90%;
  max-width: 900px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#container p a {
  color: #666;
}

#container p a:hover {
  color: #00b0b9;
}

#foreground {
  margin-bottom: 30px;
}

#foreground img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

h1 {
  font-size: 32px;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
}

p {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 0px;
}

/* Style the button container */
.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px; /* Space the button container properly */
}

/* Style the buttons */
.button {
  display: inline-block;
  width: 250px; /* Set a fixed width for the buttons */
  padding: 15px 20px; /* Increase padding for larger buttons */
  font-size: 18px; /* Increase font size */
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: #000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 10px 0; /* Add margin to space the buttons */
}

.button:hover {
  background-color: #00b0b9;
}

/* Media query for small screen sizes */
@media (max-width: 800px) {
  .button-container {
    flex-direction: column;
    align-items: center;
  }

  .button {
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px; /* Add desired padding value */
  }
}

.cube-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px; /* Space around the cube */
  margin-bottom: 100px; /* Space around the cube */
}

.icon-container {
  width: 240px;
  height: 240px;
  margin-bottom: 10px;
  margin-top: 5px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.icon {
  width: 100%;
  height: 100%;
  background-image: url('../images/Face-Off_icon.png');
  background-size: cover;
  transition: transform 3s ease-in-out;
}
