body {
  font-family: Arial, Helvetica, sans-serif;
}

header {
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
  padding: 20px 0;
  text-align: center;
}

header h1 a {
  color: inherit;
  text-decoration: none;
}

img.logo {
  margin-bottom: 26px;
  width: 220px;
}

section {
  margin: 0 auto;
  max-width: 1024px;
  text-align: center;
  width: 100%;
}

section#form {
  width: 60%;
}

.box {
  -webkit-box-shadow: 0 5px 11px -2px #b1b1b1;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 5px 11px -2px #b1b1b1;
}

.card-body {
  margin: 0 auto;
  max-width: 770px;
  padding: 40px !important;
  text-align: left;
  width: fit-content;
}

#results {
  text-align: left !important;
}

#intro {
  margin-bottom: 20px;
}

.form {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px auto;
  padding: 20px;
  width: fit-content;
}

.form .form-group {
  margin-right: 20px;
}

.form .form-group.project {
  width: 10%;
}

.form .form-group.project input {
  width: 100%;
}

.form .btn {
  margin-top: 12px;
}

.form .form-group.buttons {
  order: 1;
  width: 100%;
}

.form label {
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left;
}

.form .form-control {
  margin-bottom: 20px;
  width: fit-content;
}

.align-left {
  text-align: left;
}

@media (max-width: 1024px) {
  body {
    padding: 0 30px;
  }

  header {
    margin-bottom: 20px;
    padding: 10px 0;
  }

  section#form {
    width: 100%;
  }

  .form {
    display: block;
  }

  .form .form-group {
    margin-right: 0;
    text-align: left;
  }

  .form .form-group.project input {
    width: fit-content;
  }

  .form .form-group.buttons .btn {
    display: block;
    margin-bottom: 14px;
  }

  .form .btn {
    margin-top: 0;
  }

  .lds-dual-ring {
    height: 22px;
    width: 22px;
  }

  .lds-dual-ring:after {
    height: 22px;
    width: 22px;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 6px;
  margin: 20px 0;
}
th, td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}
th {
  background-color: #f2f2f2;
}
tr:nth-child(even) {
  background-color: #f9f9f9;
}
tr:hover {
  background-color: #f5f5f5;
}

textarea {
  width: 100%;
  margin: 15px 0;
}

small {
  padding: 20px;
  display: block;
  border: 1px solid #cbcbcb;
  margin: 15px auto;
  border-radius: 10px;
  width: fit-content;
}

.button {
  background-color: #4caf50;
  color: white;
  padding: 8px 16px;
  margin: 20px 0;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  font-size: 14px;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #45a049;
  color: white;
}

.alert .close {
  float: right;
  font-size: 20px;
  font-weight: bold;
  line-height: 18px;
  color: inherit;
  opacity: 0.5;
  text-decoration: none;
  cursor: pointer;
  margin-left: 10px;
  padding: 0 5px;
  border: none;
  background: none;
}

.alert .close:hover {
  opacity: 1;
}

.main-buttons {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.main-buttons .button {
  width: fit-content;
}

.sheets-list {
  margin: 40px 0;
}
