/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import url('//fonts.googleapis.com/css2?family=Chewy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chewy&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

html {
  height: 100%
}

body {
  margin: 0;
  height: 100%;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  color: #000000;
  background-color: #ffe223;
}

h1 {
  margin: 0;
  padding-left: 20px;
  padding-top: 20px;
  font-size: 2em;
  font-family: 'Chewy', 'sans-serif';
  color: #ffffff;
}

h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

#index-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#index-content h1 {
  padding: 0;
  font-size: 5em;
  text-align: center;
}

#index-content a {
  width: 200px;
  margin: 25px;
  padding: 5px;
  text-align: center;
  color: #ffffff;
  background-color: #054AA6;
  border-radius: 10px;
}

#form-container {
  height: 100%;
  margin-top: -105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#registration-form,
#login-form {
  height: 250px;
  width: 350px;
  padding: 10px;
  background-color: #ffffff;
  border-style: solid;
  border-width: 2px;
  border-color: #737373;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

#registration-form form {
  width: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

input[type=text],
input[type=email],
input[type=password],
input[type=date] {
  width: 320px;
  margin: 5px 0;
  padding: 4px;
  color: #737373;
  background-color: #dadada;
  border-style: none;
  border-radius: 10px;
}

form input[type=submit] {
  width: 320px;
  margin: 5px 0;
  padding: 4px;
  color: #ffffff;
  background-color: #054AA6;
  border-style: none;
  border-radius: 10px;
  font-family: 'Roboto', sans-serif;
}

#login-container {
  height: 100%;
  margin-top: -105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#login-container form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#dashboard-container {
  display: flex;
  flex-direction: column;
}

#dashboard-container form {
  margin: 5px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-self: center;
  align-items: center;
  width: 60%;
  border-style: solid;
  border-width: 2px;
  border-color: #737373;
  border-radius: 10px;
  background-color: #ffffff;
}

#dashboard-container form input {
  width: 100%;
}

#friends-list {
  padding: 10px;
  align-self: center;
  background-color: #ffffff;
  width: 60%;
  border-style: solid;
  border-width: 2px;
  border-color: #737373;
  border-radius: 10px;
}

table {
  text-align: left;
  width: 100%;
}

#reminder-list,
#reminder-list p {
  margin: 0;
  display: flex;
}

div#friends-list table tbody tr td.destroy-button form.button_to,
div#dashboard-container dialog form.button_to{
  all: unset;
}

.alert {
  color: red;
}