* {
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0 auto;
  padding: 20px 0px;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Zde upravte na požadovanou šířku stránky, banner se automaticky roztáhne na celou stránku */
  max-width: 770px;
}

#url-input,
#contact-input {
  display: none;
}

a {
  text-decoration: none;
}

h1 {
  text-align: center;
  color: #111;
}

.container {
  max-width: 770px;
  margin: 0 auto;
  padding: 8px 16px;
}

label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  color: #111;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 16px;
  background-color: #f9f9f9;
  color: #333;
  transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #555;
  outline: none;
}

button {
  width: 100%;
  padding: 15px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#download-btn {
  background-color: #e0e0e0;
  color: #333;
  margin-bottom: 120px;
}

button:hover {
  background-color: #333;
}

canvas {
  display: block;
  margin: 20px auto;
  max-width: 100%;
}

#banner {
  width: 100%;
  height: auto;
  aspect-ratio: 7.7 / 1;
  margin: 10px auto;
  background-color: #e0e0e0;
  text-align: center;
  line-height: 100px;
  font-size: 18px;
  color: #333;
}

.footer {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 720px;
}

#getip-btn {
  font-size: 0.75rem;
  background-color: #f0f0f0;
  color: #333;
  padding: 10px 20px;
}

.request-info {
  font-size: 12px;
  color: gray;
}

@media (max-width: 770px) {
  body {
    padding: 0;
  }

  .container {
    padding-top: 15px;
    padding-bottom: 30px;
  }

  input,
  select,
  textarea {
    font-size: 14px;
    padding: 10px;
  }

  button {
    padding: 12px;
    font-size: 16px;
  }

  .footer {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }

  .request-info {
    text-align: center;
  }
}
