﻿body{
  overflow: hidden;
}


#collage hr{
    border:none;
    border-top:2px solid #f5f2f2;
    height:1px;
}


/* #collage {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
} */
#collage #playPanel {
    background-color:#FFF1E1;;
    padding:10px 0px;
    margin: 10px auto;
    /* max-width: 100%; */
      max-width:800px;
    /* overflow: hidden; Add this to hide any content overflow */
     opacity: 90%;
     margin-top: 20px;
}

#collage #actualImageBox {
    /* display: inline-block; */
    /* font-size:0.9em; */
    margin: 15px 15px;
    /* margin-left: 250px; */
    vertical-align: top;
    /* width: 100%;  */
    width:280px;

}

#collage #stepBox, #collage #timeBox {
    display:inline-block;
    width:49%;
    color: red;
}

#collage #stepBox div {
  color:#1e59c7;
    display:inline-block;
    padding:1px 4px;
    margin: 0px auto;
    max-width:800px;
  
    
}

#collage img#actualImage{
    border:2px solid #015523;
    height:280px;
    width:280px;
  
}
/* #collage #stepBox,
#collage #timeBox {
    display: inline-block;
    width: 48%;

    text-align: center;
}

#collage #stepBox div {
    background-color: #c2defc;
    display: inline-block;
    padding: 1px 4px;

    max-width: 800px;
}

#collage img#actualImage {
    border: 2px solid #a46;
    height: 280px;
    width: 280px;
    display: block;
    margin: 0 auto; 
} */

#collage #sortable {
    border:2px solid #015523;
    list-style-type: none;
    display: inline-block;
    margin: 5px;
    padding: 0;
    width: 400px;
    /* margin-left: 200px; */
    margin-top: 25px;
    
}

    #collage #sortable li {
        background-size: 400% 400%;
        border: none;
        cursor: pointer;
        margin: 0;
        padding: 0;
        float: left;
        width: 100px;
        height: 100px;
    }

#collage button  {
    background-color:#f5f2f2;
    border:1px solid #cce;
    display: inline;
    font-size: 14px;
    height: auto;
    width: auto;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bolder;
    transition: background-color 0.3s ease; /* Add a smooth transition effect */
}

audio::-webkit-media-controls-panel {
    background-color: #56AEFF;
  }

  .gover{
    background-color: #e4fffb; 
    padding:5px 10px 20px 10px; 
    text-align:center; width:300px;
     /* height:350px; */
     margin: 30px 35px;
    
  }
  @media only screen and (max-width: 600px) {
    #collage #playPanel {
        width: 100%;
       
        height: auto; /* Remove the fixed height to allow content to expand */
        /* overflow: hidden; Add this to hide any content overflow */
    }

    #collage #sortable li {
        width: 50px;
        height: 50px;
    }

    #collage button {
        padding: 6px 12px; /* Adjust padding for better spacing on smaller screens */
    }
}
@media only screen and (max-width: 600px) {
    #collage img#actualImage {
        width: 100%; /* Make the image fill the container width */
        height: auto; /* Maintain the aspect ratio */
        max-width: 280px; /* Set a maximum width if needed */
        margin: 1px 50px; 
    
       
    }
}
/* Media query for responsiveness */
@media only screen and (max-width: 600px) {
    #collage #actualImageBox {
        width: 100%; /* Adjusted width for responsiveness */
    }

    #collage img#actualImage {
        width: 100%; 
        height: auto;
        max-width: 280px; 
    }

    #collage #levelPanel {
        margin-top: 10px; /* Add some margin for better spacing */
    }
}


@media only screen and (max-width: 767px) {
    body {
        cursor: pointer;
    }
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: -2%;
    width: 100%;
    height: 102%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.3s;
    overflow: hidden;
  }
 
  @keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
  }
  .modal-content {
    background-color: #fefefe;
    /* margin: 7% 7% auto; */
    margin: 20% 35% auto;
    padding: 20px;
    border: none;
    /* width: 80%; */
    max-width: 600px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
  }

  .modal-content p {
    font-size: 24px;
    color: #000000;
    margin-bottom: 20px;
  }
  .modal-content .popButton {
    padding: 10px 20px;
    font-size: 24px;
    background-color: #8460de;
    color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
 
  .modal-content .popButton:hover {
    background-color: #000000;
  }
  /* Position the button at the top-left corner */
  /* .howToPlayBtn {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
  } */
 
  /* Style the button to match the game theme */
  /* .howToPlayBtn {
    font-family: "Poppins", sans-serif;
    font-size: 26px;
     background-color: #793DAE;  
    color: #8460de;
    border: none;
    font-weight: bolder;
   
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
  } */
  .howToPlayBtn {
    position: absolute;
    top: 25px;
    left: 10px;
    z-index: 1;
  
  }
 
  /* Style the button to match the game theme */
  .howToPlayBtn {
    font-family: "Poppins", sans-serif; /* Use the same font as the game */
    font-size: 16px; /* Adjust the font size as needed */
    background-color: transparent;  
    /* color: #8460de;  */
    border: none;
    font-weight: bolder;
    background-color: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    width: 20px;
    margin-right: 100px;
    /* box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.2);  */
    /* transition: background-color 0.3s ease; */
  }
 
  /* Add a hover effect */
  /* .howToPlayBtn:hover {
    background-color: #c2b7b7;
  } */
 
  .close {
    font-family: "Poppins", sans-serif;
    color: green;
    float: right;
    font-size: 24px;
    font-weight: bold;
  }
 
  .close:hover,
  .close:focus {
    font-family: "Poppins", sans-serif;
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
 
 
  .modal-header {
    text-align: center;
    margin-bottom: 10px;
  }
 
  .modal-header img {
    max-width: 50%; /* Set the maximum width to 50% of the parent container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Make the image a block-level element */
    margin: 0 auto; /* Center the image horizontally */
  }
  .modal-content iframe {
    margin-top: 20px; /* Added margin-top for the iframe */
  }
 
  .homeBtn {
    position: absolute;
    top: 145px; /* Adjust the top position as needed */
    left: 10px;
    z-index: 1;
 
  }
 
  /* Style the home button */
  .homeBtn button {
    font-family: "Poppins", sans-serif;
    background-color: transparent;  
    font-size: 16px;
    border: none;
    font-weight: bolder;
    border-radius: 5px;
    padding: 15px 20px;
    cursor: pointer;
    /* box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.2); */
    transition: background-color 0.3s ease;
  }

  .rules{
    text-align: left;
    font-weight: bold;
    line-height: 1.8;
  }

     
  @media (max-width: 600px) {
    .modal-content {
        width: 85%; /* Increase the width on smaller screens */
        margin: 10% auto; /* Adjust the margin */
        padding: 15px; /* Reduce padding */
        font-size: 14px; /* Adjust font size */
        margin-top: 300px;
    }
  }
  /* @media screen and (max-width: 1024px) {
    #collage #playPanel {
        max-width: 700px;
        padding: 8px 0px;
    }
}

@media screen and (max-width: 768px) {
    #collage #playPanel {
        max-width: 600px;
        padding: 6px 0px;
    }
}

@media screen and (max-width: 480px) {
    #collage #playPanel {
        max-width: 90%;
        padding: 5px 0px;
    }
} */