﻿html, body {
  height: 100%;
  margin: 0;
}
html {
  scroll-behavior: smooth; /* enables smooth scrolling */
}

.page-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", Arial, sans-serif;
}

#articles {
  flex: 1; /* this expands to fill available space */
}
.about-hero{
  text-align: center;	
}
.about-hero h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #333;
}

.article-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.article-links a {
  display: inline-block;
  padding: 15px 25px;
  background: linear-gradient(135deg, #4a90e2, #357ab7);
  color:  #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  transition: transform 0.2s, box-shadow 0.2s;
}

.article-links a:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.apps {
  padding: 2rem 1rem;
}

/* Grid container */
.app-grid {
  display: flex;              /* use flex for now */
  flex-wrap: wrap;            /* allow side-by-side cards */
  justify-content: center;    /* center them */
  gap: 1.5rem;                /* spacing between cards */
}

/* Card */
.app-card {
  flex: 0 1 300px;            /* each card max ~300px wide */
  background: #0b1218;
  border: 1px solid #0f1d29;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

/* Link wrapper */
.app-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* Media */
.app-media {
  padding: 12px;
  background: radial-gradient(600px 200px at 20% 0%, #0e1a24 0%, #0b1218 60%, #091017 100%);
  text-align: center;
}

.speedtest-svg {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Dial */
.dial {
  fill: none;
  stroke: #1a3f57;
  stroke-width: 8;
}

/* Tick marks */
.tick {
  stroke: #8fb8cc;
  stroke-width: 3;
}

/* Needle */
.needle {
  stroke: #e74c3c; /* red needle */
  stroke-width: 4;
  stroke-linecap: round;
}

/* Hub */
.hub {
  fill: #d9eef7;
}

/* Text */
.app-body {
  padding: 14px 16px 18px;
}

.app-title {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #d9eef7;
}

.app-type {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: #8fb8cc;
}

.app-desc {
  margin: 0;
  font-size: 0.92rem;
  color: #bcd6e3;
  line-height: 1.45;
}

/**/

/* Frame and toolbar */
.frame { fill: #0e1a24; }
.toolbar { fill: #12293a; }

/* Buttons */
.btn-red { fill: #ff5f56; }
.btn-yellow { fill: #ffbd2e; }
.btn-green { fill: #27c93f; }

/* Tabs */
.tab-active { fill: #1a3f57; }
.tab { fill: #16364b; opacity: 0.7; }

/* Capability icons */
.media-icon { fill: #63c5da; }
.perf-icon { stroke: #63da91; stroke-width: 3; fill: none; }
.compat-icon { fill: #2a6386; }
