@font-face {
    font-family: 'fz-ios';
    src: url('../libs/pingfang.ttf');
}

*{
    padding: 0;
    margin: 0;
    border: none;
    font-family: 'fz-ios';
}

html{
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    display: none;
}

body{
    width: 100vw;
    height: auto;
    display: grid;
    justify-items: center;
    background: #f9f9f9;
}

header{
    width: 100vw;
    height: 70px;
    background: #f9f9f9be;
    backdrop-filter: blur(5px);
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    justify-items: center;
    align-items: center;
    z-index: 9000;
    user-select: none;
    position: fixed;
    top: 0;
}

.logo{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 15px;
}

.logo img{
    width: 2.6rem;
    margin-left: 2.5rem;
    user-select: none;
    -webkit-user-drag: none;
}

.logo h1{
    font-size: 1.3em;
}

.header-button{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 20px;
}

.header-button a{
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none;
    color: #434753;
    font-size: 1rem;
    user-select: none;
    -webkit-user-drag: none;
    transition: all 0.1s ease-in-out;
}

.header-button a:hover{
    background: #e9e9eb;
}

.header-button a:nth-child(5){
  background: #e9e9eb;
  margin-right: 25px;
}

.header-button a:active{
    transform: scale(0.95);
}

.header-button button{
    width: 38px;
    height: 38px;
    display: grid;
    justify-items: center;
    align-items: center;
    background: none;
    border-radius: 50%;
    margin-left: 10px;
    margin-right: 2rem;
    transform: translateX(-5px) translateY(2px);
    transition: all 0.2s ease-in-out;
    border: solid 2px #dfe0e2;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
}

.header-button button:hover{
    background: #e9e9eb;
}

.header-button button img{
    width: 23px;
    opacity: 0.8;
    user-select: none;
    -webkit-user-drag: none;
}

.header-button button:hover .user_p{
    display: block;
}

.user_p{
    display: none;
    width: 70px;
    padding: 5px 8px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 -1.5px 8px #00000027;
    transform: translateY(45px) translateX(2px);
    position: absolute;
    z-index: 1000;
    color: #434753;
    animation: userpmove 0.4s ease-in-out;
}

@keyframes userpmove {
    0%{
        transform: translateY(50px) translateX(2px);
        opacity: 0;
    }
    100%{
        transform: translateY(45px) translateX(2px);
        opacity: 1;
    }
}

.user_p::before{
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: #fff;
    position: absolute;
    transform: rotate(45deg) translateY(-21px) translateX(7px);
    z-index: 999;
}








/*顶部LED文字*/
.led_container{
    width: 100vw;
    height: 100px;
    display: grid;
    justify-items: center;
    align-items: center;
    margin-top: 80px;
}

.led_container h1{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 65px;
    border-radius: 8px;
    background: none;
    font-size: 1.7rem;
    color: #25272cd3;
}
/*加载效果*/
.led-loading{
    width: 600px;
    height: 65px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: absolute;
    background: #f9f9f9;
    border-radius: 8px;
    animation: topledloading 2s ease-in-out forwards;
}

@keyframes topledloading{
    0%{
       opacity: 1; 
    }
    90%{
        opacity: 1;
    }
    100%{
       opacity: 0; 
    }
}
/* From Uiverse.io by mobinkakei */ 
.loader {
    --path: #2f3545;
    --dot: #5628ee;
    --duration: 3s;
    width: 40px;
    height: 40px;
    position: relative;
  }
  
  .loader:before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    display: block;
    background: var(--dot);
    top: 37px;
    left: 19px;
    transform: translate(-18px, -18px);
    animation: dotRect var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
      infinite;
  }
  
  .loader svg {
    display: block;
    width: 100%;
    height: 100%;
  }
  
  .loader svg rect,
  .loader svg polygon,
  .loader svg circle {
    fill: none;
    stroke: var(--path);
    stroke-width: 10px;
    stroke-linejoin: round;
    stroke-linecap: round;
  }
  
  .loader svg polygon {
    stroke-dasharray: 145 76 145 76;
    stroke-dashoffset: 0;
    animation: pathTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
      infinite;
  }
  
  .loader svg rect {
    stroke-dasharray: 192 64 192 64;
    stroke-dashoffset: 0;
    animation: pathRect 3s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
  }
  
  .loader svg circle {
    stroke-dasharray: 150 50 150 50;
    stroke-dashoffset: 75;
    animation: pathCircle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
      infinite;
  }
  
  .loader.triangle {
    width: 48px;
  }
  
  .loader.triangle:before {
    left: 21px;
    transform: translate(-10px, -18px);
    animation: dotTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
      infinite;
  }
  
  @keyframes pathTriangle {
    33% {
      stroke-dashoffset: 74;
    }
  
    66% {
      stroke-dashoffset: 147;
    }
  
    100% {
      stroke-dashoffset: 221;
    }
  }
  
  @keyframes dotTriangle {
    33% {
      transform: translate(0, 0);
    }
  
    66% {
      transform: translate(10px, -18px);
    }
  
    100% {
      transform: translate(-10px, -18px);
    }
  }
  
  @keyframes pathRect {
    25% {
      stroke-dashoffset: 64;
    }
  
    50% {
      stroke-dashoffset: 128;
    }
  
    75% {
      stroke-dashoffset: 192;
    }
  
    100% {
      stroke-dashoffset: 256;
    }
  }
  
  @keyframes dotRect {
    25% {
      transform: translate(0, 0);
    }
  
    50% {
      transform: translate(18px, -18px);
    }
  
    75% {
      transform: translate(0, -36px);
    }
  
    100% {
      transform: translate(-18px, -18px);
    }
  }
  
  @keyframes pathCircle {
    25% {
      stroke-dashoffset: 125;
    }
  
    50% {
      stroke-dashoffset: 175;
    }
  
    75% {
      stroke-dashoffset: 225;
    }
  
    100% {
      stroke-dashoffset: 275;
    }
  }
  
  .loader {
    display: inline-block;
    margin: 0 16px;
}
  










/*顶部区域*/
.main-container {
    max-width: 1280px;
    margin: 20px auto 0;
    padding: 20px;
    display: grid;
    gap: 30px;
    align-items: flex-start;
    grid-template-columns: 2fr 1fr;
}

.m-ct{
  width: 100%;
  height: auto;
  display: grid;
  justify-items: left;
  align-items: flex-start;
  gap: 25px;
}


/*资料箱*/
.data_box{
  width: 100%;
  height: auto;
  display: flex;
  background: #fff;
  border-radius: 8px;
  padding: 15px 0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 12px #0000000a;
  justify-content: space-between;
}

.data_box:hover{
  box-shadow: 0 2px 12px #0000001a;
}

.databox-title{
  width: auto;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  gap: 13px;
}

.databox-title svg{
  margin-left: 20px;
  transform: translateY(-0.5px);
}

.databox-title h3{
  font-size: 1.1rem;
  user-select: none;
}


.databox-button{
  width: auto;
  height: auto;
  display: flex;
  flex-direction: row;
  margin-right: 18px;
  z-index: 100;
}

.button {
  position: relative;
  padding: 3px 12px;
  border-radius: 6px;
  border: none;
  color: #fff;
  cursor: pointer;
  background-color: #e8762a;
  transition: all 0.15s ease;
  font-size: 0.85rem;
}

.databox-button svg{
  display: none;
  position: absolute;
  transform: translateX(-8px) translateY(4px);
}

.button:active {
  transform: scale(0.96);
}

.button:before,
.button:after {
  position: absolute;
  content: "";
  width: 150%;
  left: 50%;
  height: 100%;
  transform: translateX(-50%);
  z-index: -1000;
  background-repeat: no-repeat;
}

.button:hover:before {
  top: -70%;
  background-image: radial-gradient(circle, #e8762a 20%, transparent 20%),
    radial-gradient(circle, transparent 20%, #e8762a 20%, transparent 30%),
    radial-gradient(circle, #e8762a 20%, transparent 20%),
    radial-gradient(circle, #e8762a 20%, transparent 20%),
    radial-gradient(circle, transparent 10%, #e8762a 15%, transparent 20%),
    radial-gradient(circle, #e8762a 20%, transparent 20%),
    radial-gradient(circle, #e8762a 20%, transparent 20%),
    radial-gradient(circle, #e8762a 20%, transparent 20%),
    radial-gradient(circle, #e8762a 20%, transparent 20%);
  background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%,
    10% 10%, 18% 18%;
  background-position: 50% 120%;
  animation: greentopBubbles 0.6s ease;
}

@keyframes greentopBubbles {
  0% {
    background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%,
      40% 90%, 55% 90%, 70% 90%;
  }

  50% {
    background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%,
      50% 50%, 65% 20%, 90% 30%;
  }

  100% {
    background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%,
      50% 40%, 65% 10%, 90% 20%;
    background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
  }
}

.button:hover::after {
  bottom: -70%;
  background-image: radial-gradient(circle, #e8762a 20%, transparent 20%),
    radial-gradient(circle, #e8762a 20%, transparent 20%),
    radial-gradient(circle, transparent 10%, #e8762a 15%, transparent 20%),
    radial-gradient(circle, #e8762a 20%, transparent 20%),
    radial-gradient(circle, #e8762a 20%, transparent 20%),
    radial-gradient(circle, #e8762a 20%, transparent 20%),
    radial-gradient(circle, #e8762a 20%, transparent 20%);
  background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 20% 20%, 18% 18%;
  background-position: 50% 0%;
  animation: greenbottomBubbles 0.6s ease;
}

@keyframes greenbottomBubbles {
  0% {
    background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%,
      70% -10%, 70% 0%;
  }

  50% {
    background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%,
      105% 0%;
  }

  100% {
    background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%,
      110% 10%;
    background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
  }
}



/* 功能导航 */
.nav-grid {
  width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    align-content: flex-start;
}

.grid-item {
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.grid-item:hover {
    background: #f8f9fad1;
    box-shadow: 0 2px 12px #0000000a;
}

.grid-item p{
    font-size: 1rem;
}

.grid-item svg{
    transition: all 0.2s ease;
}

.grid-item:hover svg{
    transform: translateX(3px);
}

.hotspot-grid {
  max-width: 310px;
    display: grid;
    gap: 20px;
    z-index: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    position: relative;
    z-index: 1;
}

.hotspotload{
  position: absolute;
  z-index: 1;
  background: #fff;
  transform: translateY(8px) translateX(4px);
  animation: hotspotload 1.5s ease forwards;
}

@keyframes hotspotload {
  0%{
    opacity: 1;
  }
  70%{
    opacity: 1;
  }
  100%{
    opacity: 0;
  }
}

/* 热点卡片样式 */
.hotspot-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    user-select: none;
    width: 300px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hotspot-grid:nth-child(1) { animation-delay: 0.1s; }
.hotspot-grid:nth-child(2) { animation-delay: 0.4s; }
.hotspot-grid:nth-child(3) { animation-delay: 0.7s; }
.hotspot-grid:nth-child(4) { animation-delay: 1s; }

/* 卡片头部 */
.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.post-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #2d2f33;
}

.post-info p {
    margin: 0.3rem 0 0;
    font-size: 0.9rem;
    color: #6b7280;
}

/* 内容区域 */
.hotspot-card > p {
    color: #374151;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
    cursor: pointer;
    height: 70px;
}

.hotcard_p{
  animation: hotcardp 1.5s ease-in-out forwards;
}

@keyframes hotcardp {
  0% {
    opacity: 0;
  }
  75%{
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* 底部互动栏 */
.card-footer {
    display: flex;
    justify-content: right;
    align-items: center;
    cursor: pointer;
    gap: 20px;
}

.card-footer span{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    color: #6b7280;
}

.card-footer span:first-child{
    gap: 3px;
}

.card-footer span:nth-child(2){
    gap: 7px;
    margin-left: 3px;
}

.card-footer span:nth-child(3){
  gap: 7px;
  margin-left: 5px;
}

/* 查看按钮 */
.view-button {
    background: #6366f1;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.view-button:hover {
    opacity: 0.9;
}

.activity-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    padding: 20px;
    background: #ffffffdd;
    backdrop-filter: blur(8px);
    border-radius: 12px;
}


/* 活动侧边栏 */
.activity-sidebar {
  width: 100%;
    padding: 15px 0;
    background: rgba(255,255,255,0.85);
    border-radius: 12px;
    backdrop-filter: blur(10px);
  display: grid;
  justify-items: left;
}

.activity-sidebar > h3{
  font-size: 1.2rem;
  padding: 4px 15px;
  margin-bottom: 5px;
  user-select: none;
}

.activity-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.activity-content:hover .activity-title{
  color: #2d3436;
}

/*每条信息*/
.activity-item {
  width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background: none;
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s ease forwards;
    position: relative;
    user-select: none;
    z-index: 1;
}

.activity-item:nth-child(1) { animation-delay: 0.1s; }
.activity-item:nth-child(2) { animation-delay: 0.4s; }
.activity-item:nth-child(3) { animation-delay: 0.7s; }
.activity-item:nth-child(4) { animation-delay: 1s; }


.activity-title {
  max-width: 450px;
  font-weight: 500;
  color: #576164;
  font-size: 0.94rem;
  transition: all 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  padding-left: 15px;
}

.activity-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    padding-right: 15px;
}

.activity-time {
    color: #636e72;
    font-size: 0.9rem;
}




/* 底部信息样式 */
footer{
  width: 100vw;
  margin-top: 15vh;
  padding: 2.5vh 0 3vh 0;
  background: #fff;
}

.footer-content{
  width: 100%;
  display: grid;
  justify-items: center;
  align-items: center;
}

.footer-section{
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 1px;
}

.footer-section h4{
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.footer-section span{
  font-size: 0.8rem;
  color: #2c3e50cc;
  letter-spacing: 5px;
}

.footer-section p{
  font-size: 0.8rem;
  color: #cf7e33;
}

.footer-links{
  width: auto;
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 1rem 0 0.2rem 0;
}

.footer-links a{
  font-size: 0.8rem;
  color: #92b4d6;
}

.copyright{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
}

.copyright p{
  font-size: 0.85rem;
  color: #6f7e8d;
  transform: translateY(2px);
  background: #f7f7f7;
  padding: 5px 10px;
  border-radius: 5px;
}


/* 登录弹窗样式 */
.index_loginsign {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}
.password-strength {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}



.m_left_click{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 5px 0 15px 0;
}

.m_left_click button{
  width: 100%;
  padding: 8px 0;
  background: none;
  border: solid 2px #ffab66;
  border-radius: 10vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.15s ease 0s;
}

.m_left_click button:hover{
  background: #f3892c11;
}

.m_left_click button:active{
transform: scale(0.98); /* 缩小按钮大小 */
}

.m_left_click button p{
  font-size: 0.9rem;
  color: #f3892c;
  font-weight: 600;
  transform: translateX(-5px);
}

.m_left_click button svg{
  transform: translateX(-5px) translateY(0.5px);
}


.logout-msg {
  position: fixed;
  top: 20px;
  left: 20px;
  padding: 12px 20px;
  background: #e8762a;
  color: white;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 9999;
  font-size: 14px;
  animation: logoutshow 1.5s ease forwards;
}

@keyframes logoutshow {
  0% {
    opacity: 1;
    transform: translateX(0px);
  }
  80%{
    opacity: 1;
    transform: translateX(0px);
  }
  100% {
    opacity: 0;
    display: none;
    visibility: hidden;
    transform: translateX(20px);
  }
}














/*响应式媒体查询*/
@media (max-width: 900px) {
  .activity-title{
    width: 380px;
  }
  .user_profile_link{
    display: block;
    visibility: visible;
  }
}

@media (max-width: 875px) {
  .logo img{
    width: 2.2rem;
  }
  .logo h1{
      font-size: 1.2em;
  }
  .activity-content{
    width: 310px;
  }
  .activity-title {
    width: 380px;
    display: flex;
    justify-content: left;
    text-align: start;
    transform: scale(0.9) translateX(-1.5rem);
  }
  .activity-meta{
    min-width: 50px;
  }
  .hotspot-card{
    width: 280px;
  }
  .activity-time{
    font-size: 0.82rem;
  }
  .activity-views{
    font-size: 0.78rem;
  }
  .user_profile_link{
    display: block;
    visibility: visible;
  }
}

/*启动响应式布局*/
@media (max-width: 840px) {
  header{
    padding: 0;
    grid-template-columns: 2fr 1fr;
  }
  main{
    padding: 0;
    margin: 0;
    border: none;
  }
  .led-loading{
    width: 100vw;
    min-width: 380px;
  }
  .logo{
    gap: 10px;
  }
  .logo img{
    margin-left: 15px;
    width: 1.9rem;
  }
  .logo h1{
      font-size: 1em;
  }
  .user_profile_link{
    display: block;
    visibility: visible;
  }
  .header-button a:first-child{
    display: none;
  }
  .header-button a:nth-child(2){
    display: none;
  }
  .header-button a:nth-child(3){
    display: none;
  }
  .header-button a:nth-child(4){
    display: none;
  }
  .header-button button{
    width: 1.9rem;
    height: 1.9rem;
    margin-right: 10px;
  }
  .header-button button img{
    width: 20px;
    height: 20px;
  }
  .user_p{
    display: none;
    visibility: hidden;
  }
  .user_profile_link{
    display: block;
    visibility: visible;
  }
  .main-container {
    grid-template-columns: 1fr;
  }
  .databox-title{
    display: flex;
    flex-direction: row;
    justify-content: left;
    gap: 6px;
  }
  .databox-title svg{
    width: 18px;
  }
  .databox-title h3{
    font-size: 0.9rem;
  }
  .button{
    display: none;
  }
  .databox-button svg{
    display: grid;
  }
  .announcement-carousel {
      flex-wrap: wrap;
      gap: 15px;
      padding: 15px;
  }
  .carousel-card {
      flex: 0 0 100%;
      height: 250px;
  }
  .nav-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  .grid-item{
    padding: 20px 15px;
  }
  .grid-item p{
    font-size: 0.9rem;
  }
  .led_container{
    height: 55px;
    margin-bottom: 0;
    transform: translateY(10px);
  }
  .led_container h1{
    font-size: 1.1rem;
  }
  .activity-sidebar > h3{
    font-size: 1.05rem;
  }
  .act_items{
    margin-top: 0;
    margin-bottom: 6px;
  }
  .activity-item{
    padding: 10px 0;
  }
  .activity-tag{
    font-size: 0.65rem;
  }
  .rent-tag{
    font-size: 0.65rem;
  }
  .activity-meta{
    display: none;
    visibility: hidden;
  }
  .activity-title{
    width: 100%;
    margin-left: 12px;
    font-size: 0.9rem;
  }
  .activity-title span{
    display: none;
    visibility: hidden;
  }
  .activity-time {
    display: none;
    visibility: hidden;
  }
  .hotspot-card{
    width: 100%;
  }

  .card-header img{
    width: 40px;
    height: 40px;
  }
  .hotspotload{
    transform: scale(0.9) translate(-15px 5px);
  }
  .post-info h4 {
    font-size: 1rem;
  }
  .post-info p {
      font-size: 0.8rem;
  }
  .footer-links{
    gap: 10px;
  }
  .footer-links a{
    font-size: 0.7rem;
  }
}

@media (max-width: 750px) {
  header{
    min-width: 350px;
    grid-template-columns: 2fr 1fr;
  }
  main{
    padding: 0;
    margin: 0;
    border: none;
  }
  .main-container{
    padding: 0;
    width: 85vw;
    min-width: 320px;
  }
  .data_box{
    width: 85vw;
    min-width: 320px;
  }
  .hotspot-card{
    width: 85vw;
    margin: 0;
    padding: 0;
    min-width: 320px;
  }
  .m-ct{
    width: 85vw;
  }
  .card-header{
    padding: 15px 15px 5px 15px;
    margin-bottom: 10px;
  }
  .card-footer{
    padding: 5px 18px 15px 18px;
  }
  .hotspot-card > p{
    font-size: 0.9rem;
    padding: 0 20px;
    max-height: 70px;
  }
}