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

body {
  background-color: #ADD8E6; /* Light Blue */
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  font-family: Calibri, Arial, sans-serif;
}

header.test-header {
  position: absolute;
  top: 20px;
  width: 100%;
  text-align: center;
  color: white;
}

header.test-header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

header.test-header p {
  font-size: 1.2em;
  color: #555; /* Slightly lighter color for subtitle */
}

/* Container Styling */
.container {
  position: relative;
  width: 80%;
  height: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

/* Floating Items */
.floating-item {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 20px;
  cursor: pointer;
  animation-name: float;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  transition: transform 0.3s;
  outline: none; /* Remove default outline */
}

.floating-item:hover,
.floating-item:focus {
  transform: scale(1.1);
  outline: 2px solid #FFD700; /* Gold outline on focus */
}

.floating-item svg {
  width: 100%;
  height: 100%;
}

.tooltip {
  visibility: hidden;
  width: 160px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}

.floating-item:hover .tooltip,
.floating-item:focus .tooltip {
  visibility: visible;
  opacity: 1;
}

/* Floating Animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .floating-item {
    width: 120px;
    height: 120px;
    margin: 15px;
  }

  header.test-header h1 {
    font-size: 2em;
  }

  header.test-header p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .floating-item {
    width: 100px;
    height: 100px;
    margin: 10px;
  }
}

/* Optional: Specific Styles for Each Cloud (if needed) */
.colorify-cloud {
  /* Additional styles for Colorify Cloud */
}

.easyconvert-cloud {
  /* Additional styles for EasyConvert Cloud */
}

.pixella-cloud {
  /* Additional styles for Pixella Cloud */
}

.groupay-cloud {
  /* Additional styles for Groupay Cloud */
}

.img2txt-cloud {
  /* Additional styles for Img2Txt Cloud */
}
