body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url('/background.JPEG');
  background-size: cover;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.landing-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.upper-info {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 20px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.295);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-size: 20px;
    font-family: Arial;
    color: rgb(255, 255, 255);
    text-shadow: #00000073 1px 0 10px;

    .home-indicator {
        width: 20%;
        display: flex;
        justify-content: start;
    }

    .server-name {
        width: 60%;
        display: flex;
        justify-content: center;
    }

    .hour {
        width: 20%;
        display: flex;
        justify-content: end;
    }

}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.295);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);

  .general {
    background: rgba(255, 255, 255, 0.397);
  }

  .local {
    background: rgba(185, 255, 241, .42);
  }

}

.title {
    color: #fff;
    width: 80px;
    transition: 2s;
    display: flex;
    transition: top .2s 
        ease 0s, opacity .2s 
        ease 0s;
    text-shadow: 2px 0 15px #000;
    opacity: 0;
    position: absolute;
    align-items: center;
    justify-content: center;
    z-index: -1;
    top: 50px;
    transform: translateY(-50%);
}

.icon-card {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon-card img {
  border-radius: 10px;
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.icon-card:hover {
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 20px 30px rgba(0,0,0,0.3);
}

.icon-card:hover .title {
  top: -20px;
  z-index: 1;
  opacity: 1;
}

@media (max-width: 880px) {
  .icon-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

@media (max-width: 770px) {
  .icon-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 660px) {
  .icon-grid {
    grid-template-columns: repeat(5, 1fr);
  }
    
}

@media (max-width: 550px) {
  .icon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  body {
    align-items: start;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url('/background2.JPEG');
    background-size: cover;
  }
  .landing-container {
    margin-top: 10%;
  }
}

@media (max-width: 440px) {
  .icon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  body {
    align-items: start;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url('/background2.JPEG');
    background-size: cover;
  }
  .landing-container {
    margin-top: 10%;
  }
}

@media (max-width: 340px) {
  .icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  body {
    align-items: start;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url('/background2.JPEG');
    background-size: cover;
  }
  .landing-container {
    margin-top: 10%;
  }
}
