#time {
  text-align: center;
  position: absolute;
  top: auto;
  right: 0;
  left: 0;
}

@media (max-width: 768px) {
  .logo {
    width: 100px;
    height: 100px;
  }

  h1 {
    font-size: 28px;
  }

  .desc {
    font-size: 20px;
  }
}

.second-bar {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  background-color: transparent;
  color: #fff;
  height: 40px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 16px;
  opacity: 0;
  animation: fade-in 0.5s ease-in-out forwards;
  z-index: 99999;
}

.second-bar a {
  color: #fff;
  z-index: 1;
  text-decoration: none;
  margin-right: 10px;
  padding: 8px;
  transition: transform 0.3s ease;
  line-height: 40px;
}

.second-bar a:hover {
  transform: scale(1.1);
}

body {
  background-color: #27639f;
  background-image: url("../img/v2-waves.svg");
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  padding-top: 64px;
  opacity: 0;
  animation: fade-in 0.5s ease-in-out forwards;
}

.second-bar a.second-bar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.second-bar a.second-bar-link:hover {
  transform: scale(1.2);
}

.second-bar img {
  display: block;
  max-width: 100%;
  margin-right: 10px;
  height: auto;
}

.second-bar img:hover {
  transform: scale(1.2);
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 150px;
  height: 150px;
  max-width: 80%;
}

h1 {
  margin-top: 20px;
  font-size: 38px;
  font-weight: 700;
  text-align: center;
}

.desc {
  font-size: 24px;
  text-align: center;
}

#uv-form {
  margin-top: 15px;
}

#uv-address {
  font-size: 20px;
  text-align: center;
  border-style: solid!important;
  border-width: 1px;
  border-radius: 25px;
  background-color: #0d89b2;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  -webkit-text-fill-color: white;
  width: 350px;
  height: 50px;
  box-shadow: none!important;
  outline: none;
}

.uv-address {
  font-size: 20px;
  text-align: center;
  border-style: solid!important;
  border-width: 1px;
  border-radius: 25px;
  background-color: #0d89b2;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  -webkit-text-fill-color: white;
  width: 350px;
  height: 50px;
  box-shadow: none!important;
  outline: none;
}

iframe#apploader {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: calc(100% - 6.5%); 
  border: none;
  opacity: 0;
  animation: fade-in 0.5s ease-in-out forwards;
}

#searchButton {
  height: 40px;
  padding: 0 20px;
  font-size: 16px;
  margin-left: 10px;
  background-color: #0d89b2;
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}

#searchButton:hover {
  background-color: #0d89b2;
  transform: scale(1.1);
}

.left-margin {
  margin-left: 20px;
}

.footer-text-container {
  padding-right: 20px; 
}

footer a {
  color: #ffffff;
  text-decoration: none;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

footer a:hover {
  transform: scale(1.1);
}

footer span {
  margin-left: auto;
}

iframe {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: calc(100% - 6.5%);
  border: none;
  opacity: 0;
  animation: fade-in 0.5s ease-in-out forwards;
}

button,
footer a,
.second-bar a,
#searchButton {
  transition: transform 0.3s ease;
}

button:hover,
footer a:hover,
.second-bar a:hover,
#searchButton:hover {
  transform: scale(1.2);
}

button {
  height: 40px;
  padding: 0 20px;
  font-size: 16px;
  margin-left: 10px;
  background-color: #0d89b2;
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  opacity: 0;
  animation: fade-in 0.5s ease-in-out forwards;
}

a {
  color: #ffffff;
  text-decoration: none;
  margin-right: 10px;
}

textarea {
  width: 400px;
  height: 40px;
  font-size: 16px;
  padding: 0 10px;
  border: none;
  border-radius: 25px;
  opacity: 0;
  animation: fade-in 0.5s ease-in-out forwards;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  margin: 20px auto;
  max-width: 800px;
}

.grid-item {
  background-color: #0d89b2;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: pointer;
  opacity: 1;
  transform: scale(1);
  transition: transform 0.3s ease, opacity 0.5s ease-in-out;
}

.grid-item:hover {
  transform: scale(1.1);
}

.grid-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.fade-out {
  animation: fade-out 0.5s ease-in-out forwards;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.battery-icon {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 10px;
  background-position: center center;
  background-repeat: no-repeat;
}

.battery-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: transparent;
}

.battery-text {
  position: absolute;
  top: 10.5px;
  transform: translate(-100%, -75%);
  font-size: 13px;
  color: white;
}

.battery-icon.low {
  background-image: url('../img/bat-dead.svg');
}

.battery-icon.medium {
  background-image: url('../img/bat-med.svg');
}

.battery-icon.high {
  background-image: url('../img/bat-full.svg');
}

.battery-icon.charging.low {
  background-image: url('../img/bat-dead-charge.svg');
}

.battery-icon.charging.medium {
  background-image: url('../img/bat-med-charge.svg');
}

.battery-icon.charging.high {
  background-image: url('../img/bat-full-charge.svg');
}

.second-bar-link {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  background-color: transparent;
}

.second-bar-link.home-link {
  background-image: url("../img/home.svg");
  background-size: 67%;
  background-repeat: no-repeat;
  background-position: center;
}

.second-bar-link.games-link {
  background-image: url("../img/games.svg");
  background-size: 67%;
  background-repeat: no-repeat;
  background-position: center;
}

.second-bar-link.apps-link {
  background-image: url("../img/apps.svg");
  background-size: 67%;
  background-repeat: no-repeat;
  background-position: center;
}

.second-bar-link.settings-link {
  background-image: url("../img/settings.svg");
  background-size: 67%;
  background-repeat: no-repeat;
  background-position: center;
}

.config-label {
  font-weight: bold;
  color: #ffffff;
}

.config-input {
  padding: 5px;
  border: 1px solid #ccc;
  color: #fff;
  background-color: #0d89b2;
  -webkit-text-fill-color: white;
  border-radius: 15px;
}

.config-select {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 15px;
  color: white;
  background-color: #0d89b2;
}

.column {
  width: 145px;
  transition: all 0.2s ease;
  cursor: pointer;
  background: #0d89b2;
  border-radius: 10px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  margin: 0;
}

.column p {
  width: 145px;
  height: 19px;
  font-style: normal;
  font-weight: 800;
  font-size: 18px;
  line-height: 19px;
  text-align: center;
  color: #ffffff;
  text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
  padding-top: 136px;
  padding-bottom: 12px;
}

#footer {
  position: relative;
  margin-top: 0px;
  background-repeat: no-repeat;
  background-size: 100vw auto;
}

.footerflex {
  display: flex;
  justify-content: center;
}

.footersocials {
  text-align: center;
}

.footerflex>div {
  margin: 25px 50px;
}

.copyright {
  text-align: center;
  padding: 25px 0px;
}

.footerbrand h3 a {
  color: white !important;
}

.footerbrand h3 a:hover {
  text-decoration: underline !important;
}

.footerbrand p {
  margin-top: 20px;
}

.footerlist ul {
  list-style: none;
  padding: 0px;
}

.footerlist ul>li {
  padding: 2px;
}

.footersocials {
  font-size: 16px;
}

.footersocials a {
  display: inline;
  width: 20px;
  height: 20px;
  line-height: 20px;
  padding: 8px;
  margin: 0px 5px;
  border: 1px solid var(--nord4);
  border-radius: 50%;
}

.footersocials a:hover {
  transform: scale(1.2);
}

.footersocials a .fab {
  vertical-align: top;
}

.footersocials img:hover {
  transform: scale(1.2);
}

.box-error {
  margin: 18vh 0px;
}

.box-error p {
  margin: 10px 0px;
}

.sidebar li:hover {
  transform: scale(1.05);
}

.css-editor {
  margin-top: 1vh;
  background-color: #0d89b2;
  color: white;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #3d8298;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 900px;
}

.CodeMirror {
  position: relative;
  overflow: hidden;
  background: #0d89b2;
  color: white;
}

.CodeMirror-gutters {
  border-right: 1px solid #ddd;
  background-color: #0d89b2;
  white-space: nowrap;
}

.addon-item {
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  border-radius: 20px;
  background-color: #3d8298;
}

::-webkit-scrollbar {
  width: 7.5px;
  background: transparent;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px transparent; 
  border-radius: 25px;
}
 
::-webkit-scrollbar-thumb {
  background: #0d89b2; 
  border-radius: 10px;
}
