/* https://developers.google.com/fonts/docs/getting_started
 * https://fonts.google.com/
 */

/* CSS Variables */
:root {
  --primary-color: #5a5a5a;
  --secondary-color: #3a3a3a;
  --background-color: #f8f8f8;
  --card-background: #ffffff;
  --text-color: #2d2d2d;
  --border-color: #bbbbbb;
  --header-color: #1a1a1a;
  --success-color: #505050;
  --danger-color: #707070;
}

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

body {
  font-family: "Assistant", "Lato", sans-serif;
  font-weight: lighter;
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Assistant", sans-serif;
  color: var(--header-color);
  margin-top: 0;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

div#page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.ip-container {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 25px;
}

.ip-address {
  font-size: 2rem;
  color: var(--header-color);
  display: inline-block;
  font-family: "Assistant", sans-serif;
  font-weight: 600;
  margin: 0;
  padding-left: 32px;
}

.copy-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background-color: transparent;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  color: var(--primary-color);
  transition: background-color 0.2s, color 0.2s;
}

.copy-button:hover {
  background-color: #e8e8e8;
  color: #333333;
}

.copy-button:active {
  background-color: #d8d8d8;
}

.copy-button.copied {
  color: #8b5cf6;
}

.copy-icon {
  width: 20px;
  height: 20px;
}

pre {
  font-family: "Source Code Pro", sans-serif, monospace !important;
  text-align: left;
  padding-left: 0.5em;
  padding-right: 0.5em;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #2a2a2a;
  text-decoration: underline;
}

a:visited {
  color: var(--primary-color);
}

table.center {
  margin-left: auto;
  margin-right: auto;
  table-layout: fixed;
  text-align: center;
  vertical-align: top;
  width: 100%;
  max-width: 1400px;
}

table,
td {
  border-collapse: collapse;
  padding-top: 1em;
  padding-bottom: 1em;
  padding-left: 1em;
  padding-right: 1em;
  border: 1px solid var(--border-color);
}

td {
  font-size: 1em;
  text-align: left;
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  word-wrap: break-word;
}

th {
  padding: 0.2em;
  background: #d0d0d0;
}

tr:nth-child(even) {
  background: #ffffff;
}

tr:nth-child(odd) {
  background: #eeeeee;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

div.footer {
  margin-top: 2em;
  text-align: center;
}

.footer a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: #2a2a2a;
  text-decoration: underline;
}
