
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  cursor: url('360_cursor.png'), auto;
  width: 100%;
  overflow: hidden; /* Hides scrollbars in the iframe's body */
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #f8f8f8;
  /*background-image: url('Logo.png');*/
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: 50%;

  opacity: 1.0; /* Adjust opacity as needed, from 0 to 1 */
}

canvas {
  display: block;
}

#cameraPosition {
      display: none;
}
      
/* Position the loader at the center of the screen */
#loader {
  
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#loader object {
  /* Your desired width and height */
  width: 100%;
  height: 100%;
}



.menu {
  position: absolute;
  left: 0%;
  top: 8%;
  right: 0;
  margin: 20px;
  z-index: 100;
  width: 90%;
}

.product-container {
  position: absolute;
  top: 0;
  right: 10px;
  padding: 50px; /* Add some padding to create space */
  opacity: 0;
  visibility: hidden;
}

.dimension-container {
  position: absolute;
  bottom: 0;
  left: 0px;
  padding-bottom: 50px;
  padding-left: 50px; /* Add some padding to create space */
  text-align: center; /* Optional: if you want the inner contents also to be centered */
}
/* Default style: hide the div */
#dimensions-text {
    display: none;
    text-align: center; /* Center align the text */
    color: #000; /* Text color, adjust as needed */
    font-size: 14px; /* Font size, adjust as needed */
    margin-top: 5px; /* Space between the button and the text */
}

/* Media query for screens wider than 768px */
@media screen and (min-width: 768px) {
    #dimensions-text {
        display: block; /* or 'inline', 'inline-block', etc., depending on your layout */
    }
}

 /* Style for the button container */
.button-container {
  position: absolute;
  bottom: 0;
  right: 10px;
  padding: 50px; /* Add some padding to create space */

}

.conf-container {
  position: absolute;
  top: 0;
  right: 10px;
  padding: 50px; /* Add some padding to create space */

}


/* Common styles for buttons */
button {
  background-size: cover; /* Cover background image */
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #ffffff98; /* Transparent background color */
  color: #000000;
  margin: 5px;
  padding: 30px;
  border: none;
  border-radius: 50%; /* 50% border-radius for round buttons */
  cursor: pointer;
  /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
  width: 60px;
  height: 60px;
  transition: transform 0.3s; /* Add transition for smooth scaling */
  border-color: #f8f8f8;
  border-width: 2px;
  border-style: solid; /* Scale up to 110% on hover */
}

/* Style for individual buttons and their background images */
#Frame1 {
  background-image: url('Open.png'); /* Replace 'image1.jpg' with your image path */
}

#Frame50 {
  background-image: url('Grip.png'); /* Replace 'image2.jpg' with your image path */
}

#Frame100 {
  background-image: url('Close.png'); /* Replace 'image3.jpg' with your image path */
}

#Dimensions {
  background-image: url('Dims.png'); /* Replace 'image3.jpg' with your image path */

}

/* Style for individual buttons and their background images */
#conf0 {
  background-image: url('Default.png'); /* Replace 'image1.jpg' with your image path */
  pointer-events: none; /* Disable mouse interactions */
}

#conf1 {
  background-image: url('Bucket.png'); /* Replace 'image1.jpg' with your image path */
  pointer-events: none; /* Disable mouse interactions */
}

#conf2 {
  background-image: url('Hays.png'); /* Replace 'image2.jpg' with your image path */
  pointer-events: none; /* Disable mouse interactions */
}

#conf3 {
  background-image: url('HayL.png'); /* Replace 'image3.jpg' with your image path */
  pointer-events: none; /* Disable mouse interactions */
}

#conf4 {
  background-image: url('HayL.png'); /* Replace 'image3.jpg' with your image path */
  pointer-events: none; /* Disable mouse interactions */
}

/* Index Icons */

#C15 {
  background-image: url('C15.png'); /* Replace 'image1.jpg' with your image path */
}

#C20 {
  background-image: url('C20.png'); /* Replace 'image1.jpg' with your image path */
}

#C24 {
  background-image: url('C24.png'); /* Replace 'image2.jpg' with your image path */
}

#C24B {
  background-image: url('C24B.png'); /* Replace 'image3.jpg' with your image path */
}

#C27 {
  background-image: url('C27.png'); /* Replace 'image1.jpg' with your image path */
}

#C27B {
  background-image: url('C27B.png'); /* Replace 'image1.jpg' with your image path */
}

#C37 {
  background-image: url('C37.png'); /* Replace 'image2.jpg' with your image path */
}


/* Hover effect animation */
button:hover {
  transform: scale(1.1);
  border-color: #e5622c;
  border-width: 2px;
  border-style: solid; /* Scale up to 110% on hover */
}

button:active {
  /* Add styles for the active state here */
  background-color: #e5622c; /* Change background color when clicked */
}

button.active {
  
  border-color: #e5622c;
}

/* Define the keyframe animation for reversing the scale and shadow */
@keyframes reverseScaleAndShadow {
  0% {
    transform: scale(1.1); /* Start from the scaled size */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Start with shadow */
  }
  100% {
    transform: scale(1); /* Return to original scale */
    box-shadow: none; /* No shadow at the end */
  }
}

@media only screen and (max-width: 1200px) {

  
  .product-container {
    /* Visually hide the element */
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding: 50px; /* Add some padding to create space */
    text-align: center; /* Add some padding to create space */
  }


  .button-container {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: auto;
    padding: 30px; /* Add some padding to create space */
    text-align: center; /* Optional: if you want the inner contents also to be centered */
  }
  
.dimension-container {
    position: absolute;
    bottom: 0;
    left: 0px;
    padding-bottom: 30px;
    padding-left: 10px; /* Add some padding to create space */
    text-align: center; /* Optional: if you want the inner contents also to be centered */
  }

  button {
    background-size: cover; /* Cover background image */
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #ffffffa3; /* Transparent background color */
    margin: 1vh;
    padding: 30px;
    border: none;
    border-radius: 50%; /* 50% border-radius for round buttons */
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    width: 8vh;
    height: 8vh;
    font-size: 15px;
    text-align: center;
    transition: transform 0.3s; /* Add transition for smooth scaling */
  }

  /* Position the loader at the center of the screen */
#loader {
  
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-100%, -50%);
}

#loader object {
  /* Your desired width and height */
  width: 200%;
  height: 200%;
}


}

