/*
Theme Name: Variations
Author: Tyler Moore
Description: Variations is a block theme and hopefully the last theme you will even have to install.  It comes with many different templates and block patterns to make creating a website easy.  
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.0
Version: 4.3.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: variations
Tags: one-column, wide-blocks, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, sticky-post
*/

footer { display: none; }


/* loading */

.loadTime {
  display: block !important;
  visibility: visible !important;
  color: #e52e71;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
}


#progressContainer {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 30px;
  background-color: #ddd;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  margin: 20px auto;
}

#progressBar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff0000, #2e71e5);
  transition: width 0.1s ease-in-out;
}

#progressText {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: bold;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

#content {
  text-align: center;
  display: none;
  margin-top: 20px;
}



/* copy-prevention */

code {
    user-select: none; 
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}



/* shop */

#cart-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

#cart-icon {
  width: 100px; 
  height: 70px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#cart-icon:hover {
  transform: scale(1.2);
}

#cartMessage {
  font-size: 14px;
  color: #333;
  text-align: center;

}

#cart {
  display: flex;
  flex-wrap: wrap; 
  justify-content: center;
  align-items: center;
  width: auto; 
  min-width: 200px;
  min-height: 80px;
  max-width: 600px; 
  border: 2px solid #888; 
  border-radius: 15px;
  padding: 15px;
  margin-top: 15px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

#cart img {
  width: 60px; 
  height: 80px;
  object-fit: cover;
  margin: 5px;
  border: 2px solid #555; 
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#cart img:hover {
  transform: scale(1.1);
}

#clearCartButton {
  margin-top: 15px;
  padding: 10px 70px;
  font-size: 12px;
  background-color: #ff4444;
  color: white;
  border: none;
  border-radius: 5px !important;;
  cursor: pointer;
  transition: background 0.2s ease;

}

#clearCartButton:hover {
  background-color: #cc0000;
}

#checkoutButton {
  background-color: #007bff !important;
  color: white !important;
  border-radius: 5px !important;
  padding: 10px 70px !important;
}

#products {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.product {
  width: 80px; 
  height: 100px;
  border: 3px solid #444; 
  border-radius: 8px;
  cursor: grab;
  user-select: none;
  overflow: hidden;
  background-color: #f1f1f1;
  transition: transform 0.2s ease;
}

.product:hover {
  transform: scale(1.1);
}

.product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product:active {
  cursor: grabbing;
}


/* fkliste */

.list-ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #e5e8e4;
    padding: 15px;
    border-radius: 5px;
    
}

.input-group {
    max-width: 400px;
    margin-bottom: 15px;
}
.list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

/* set.js */

.frame-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  margin: auto;
  padding: 10px;
}
.frame-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 250px;
}
h3 {
  font-size: 14px;
  color: #333;
  text-align: center;
  margin: 5px;
}
iframe {
  width: 250px;
  height: 150px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

/* bin.js */
.highlight {
  background-color: yellow;
  font-weight: bold;
}
.container {
  max-width: 600px;
  margin: 20px auto;
  text-align: left;
}
.text-content {
  text-align: left;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  white-space: pre-wrap;
}
.position-list {
  margin-top: 10px;
  text-align: left;
}

/* quicksort */
.table-container {
  max-width: 600px;
  margin: 20px auto;
}
table {
  width: 100%;
  text-align: center;
}
.btn-group {
  margin-bottom: 15px;
}


