/* -------------------------------------------------------- */
body {
  padding: 1% 0%;
  background-color: rgb(170, 187, 204, 0.05);
  color: rgb(52, 58, 64);
  overflow: hidden;
}
#outer_container {
  background-color: #ffffff;
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  max-width: 1280px;
  position: relative;
}

/* -------------- Header ------------------------------------------ */
/*
#header {
	border-bottom: 1px solid #ddd;
}
*/
#controls a {
  display: inline-block;
}
#controls a i {
  color: rgb(52, 58, 64);
}

/* -------------- Main ------------------------------------------ */
#main {
  max-width: 1280px;
}
#canvas_container {
  height: auto;
}
#inner_container {
  height: 90%;
  overflow-y: hidden;
  background-color: #ffffff;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
#container_wrapper {
  padding: 0px;
}
/* fleet container */
.container {
  text-align: center;
  align-items: center;
}

#deployBtn,
#clearBtn {
  padding: 15px 30px;
  font-size: 18px;
  cursor: pointer;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  margin-bottom: 20px;
}
.fleet-container {
  position: relative;
  width: 100%;
  height: 100%; /* Adjust height based on your needs */
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

/* Ship Styles */
.ship {
  width: 6em;
  height: 6em;
  background-color: white;
  background-image: url("../../resources/ship.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  object-fit: contain;
  transform-origin: center;
  animation: shipMovement 5s infinite linear;
}

/* Keyframes for ship movement */
@keyframes shipMovement {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* fleet container */

/* -------------- Scroll Bars ------------------------------------------ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #f5f5f5;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: rgb(109, 117, 125, 0.7);
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgb(109, 117, 125, 0.8);
}
::-webkit-scrollbar-thumb:active {
  background-color: rgb(109, 117, 125);
}

/*
* {
	font-size: calc(0.7vmin + 0.04rem);
}
*/
.carousel-control-prev-icon,
.carousel-control-next-icon {
  border: 1px solid #ffffff;
  border-radius: 8px;
  background-color: #999999aa;
  box-shadow: 1px 1px 1px 1px #555;
}
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  transform: scale(1.1, 1.1);
}
.carousel-control-prev-icon:active,
.carousel-control-next-icon:active {
  transform: translateY(2px);
}

/* --- wave contrast fix --- */
.carousel-control-prev span,
.carousel-control-next span,
.carousel-control-next-icon {
  opacity: 0.75;
  filter: brightness(100%);
  color: #000 !important;
}

.carousel-control-next,
.carousel-control-prev {
  color: black !important;
}

.carousel-indicators {
  display: none;
}
