/* ====== Basinställningar ====== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
}

a {
  color: #4caf50;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ====== Hero-sektion ====== */
.hero {
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  cursor: pointer;
}

.hero h1 {
  font-size: 2.5rem;
  letter-spacing: 2px;
}

.hero h2 {
  font-size: 3.5rem;
  letter-spacing: 3px;
  margin: 1rem 0;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: #4caf50;
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #45a049;
}

/* ====== Uppladdningssektion ====== */
.main {
  max-width: 600px;
  margin: 60px auto;
  padding: 0 20px;
}

.main h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
}

form label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

form input[type="email"],
form select,
form input[type="file"] {
  width: 100%;
  padding: 10px;
  margin-top: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

form button {
  margin-top: 1.5rem;
  background-color: #4caf50;
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background-color: #45a049;
}

#emailStatus {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

#fileInfo {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

#fileStatus {
  color: red;
  font-size: 0.9rem;
}

#copyLinkBtn {
  cursor: pointer;
}

/* ====== Progressbar ====== */
#progressContainer {
  margin-top: 1.5rem;
  /*display: none;*/
}

.progress-bar-bg {
  background: #ddd;
  width: 100%;
  height: 20px;
  border-radius: 5px;
  overflow: hidden;
}

#progressBar {
  background: #4caf50;
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
}

#progressText {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* ====== Funktioner ====== */
.features {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.features h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.features ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 400px;
}

.features li {
  font-size: 1rem;
  margin: 0.5rem 0;
}

/* ====== Footer ====== */
footer {
  background-color: #2c5364;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

footer a {
  color: #aee8c8;
}

/* ====== Google ads ====== */
.ad-section {
  margin: 40px auto;
  max-width: 728px;
  text-align: center;
}