@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;600&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Rubik', sans-serif;
}

body {
  background: url('background.png') center center fixed;
  background-repeat: repeat;
  background-size: cover;
  color: black;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  background-color: #000;
  height: 90px;
}

.logo img {
  width: 250px;
}

.nav__links {
  list-style: none;
  display: flex;
}

.nav__links a {
  font-weight: 500;
  color: #edf0f1;
  text-decoration: none;
  padding: 0 15px;
}

.nav__links a:hover {
  color: dodgerblue;
}

/* Downloads Page */
.downloads-section {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.downloads-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 1100px; /* Slightly narrower */
}

.download-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 15px;
  border-radius: 20px;
  text-align: center;
  height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.software-icon {
  width: 75px;
  height: 75px;
  object-fit: contain;
  margin: 0 auto 10px;
}

h2 {
  font-size: 15px;
  margin-bottom: 8px;
}

.btn-download {
  background-color: DodgerBlue;
  color: white;
  padding: 10px;
  font-size: 14px;
  border: none;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  width: 100%;
  display: inline-block;
}

.btn-download:hover {
  background-color: RoyalBlue;
  transform: scale(1.05);
}

.split-button {
  display: flex;
  width: 100%;
}

.split {
  flex: 1;
  background-color: DodgerBlue;
  color: white;
  padding: 10px 0;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}

.split:first-child {
  border-radius: 20px 0 0 20px;
}

.split:last-child {
  border-radius: 0 20px 20px 0;
}

.split:hover {
  background-color: RoyalBlue;
}

/* Main Page (TeamViewer 12) */
.main-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 100px); /* Adjust for header */
  padding: 20px;
}

.main-container {
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-container h1 {
  font-size: 36px;
  margin-bottom: 30px;
  color: #000;
  font-weight: 600;
}

.main-container .btn-download {
  padding: 15px 30px;
  font-size: 18px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.main-container .btn-download:hover {
  background-color: RoyalBlue;
  transform: scale(1.05);
}

.fa-download {
  font-size: 20px;
  margin-left: 8px;
}

.main-tv-logo {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
}