* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #fafafa;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 500px;
  margin: 50px auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

input[type="submit"] {
  margin-top: 20px;
  background-color: #2ca050;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  align-self: center;
}


label {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
}

select,
input[type="text"],
input[type="email"],
input[type="submit"],
input[type="button"] {
  display: block;
  width: 100%;
  max-width: 400px;
  height: 50px;
  margin-top: 5px;
  padding: 10px;
  font-size: 18px;
  border-radius: 5px;
  border: none;
  background-color: #f5f5f5;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  outline: none;
  text-align: center;
}

select:focus,
input[type="text"]:focus,
input[type="email"]:focus {
  border: 2px solid #0099cc;
}

input[type="submit"] {
  margin-top: 20px;
  background-color: #2ca050;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #1e7743;
}

textarea[name="notes"] {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
    color: #444;
    border: none;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
    background-color: #f5f5f5;
    max-width: 400px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    outline: none;
    font-family: "Roboto", sans-serif;
    font-weight:300;
}


#wrapper {
  display: flex;
  overflow: hidden;
  justify-content: center;
  background-color: #2ca050;
  height: 100px;
  color: white;
  font-family: serif;
  font-size: 28px;
  align-items: center;
}

#first {
  float:left;
  margin: 5px 20px 5px 20px;
}
#second {
  float: right;
  margin: 5px 20px 5px 20px;
  font-family: "Roboto", sans-serif;
  font-weight:200;
}
#gdpr {
font-weight:300;
}

@media screen and (max-width: 768px) {
  .container {
    max-width: 90%;
  }

  label {
    font-size: 14px;
  }

  select,
  input[type="text"],
  input[type="email"],
  input[type="submit"],
  input[type="button"] {
    font-size: 16px;
    padding: 8px;
    height: 40px;
  }
}

input[type="checkbox"] {
  transform: scale(2);
  -webkit-transform: scale(2); /* for Safari and other WebKit browsers */
  margin-top: 10px;
  margin-right: 10px;
}

.top-div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #2ca050;
  height: 100px;
  color: white;
  font-family: serif;
  font-size: 28px;
}

.title {
  display: block;
  text-align: center;
  margin-top: 10px; /* add some margin to separate from the logo */
}

.password {
    display: block;
    width: 100%;
    max-width: 400px;
    height: 50px;
    margin-top: 5px;
    padding: 10px;
    font-size: 18px;
    border-radius: 5px;
    border: none;
    background-color: #f5f5f5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    outline: none;
    text-align: center;
}

.password:focus {
    border: 2px solid #0099cc;
}

.error {
    color:red;
    text-align:center;
}

h1 {
    text-align:center;
}
