section#templates {
  background: var(--primary-background);
}

.template-container {
  width: 100%;
  padding: 50px 10%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.template-picker {
  margin-top: 35px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.template-picker .option-container {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: center;
}

.template-picker .option {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  user-select: none;
  height: 400px;
  width: 300px;
  border: none;
  outline: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 1px 2px 0px var(--drop-shadow);
}

.template-picker .browser-bar {
  background: var(--browser-bar);
  height: 20px;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
  padding-left: 10px;
  transition: all 0.3s ease-in-out;
}

.template-picker .option.selected .browser-bar {
  background: var(--thirdary);
}

.template-picker .browser-bar > div {
  height: 7px;
  width: 7px;
  border: none;
  border-radius: 5px;
  background: var(--white);
}

.template-picker .page-container {
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  transition: all 2s ease-in-out;
}

.template-picker .page-container:hover {
  background-position: bottom;
}

.template-picker .template-title {
  margin-top: 5px;
}

.error {
  padding: 0.5rem 1rem;
  margin: 0.2rem 0 0.7rem 0;
  background-color: rgba(255, 75, 75, 0.4);
  border: none;
  border-radius: 0.7rem;
  display: block;
}
