@import url("https://fonts.googleapis.com/css2?family=Lustria&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("components/forms.css");
@import url("components/headerfooter.css");
@import url("components/cards.css");
@import url("main.css");

/***************************************************************** SITE WIDE STYLING ******************************************************************/

* {
  box-sizing: border-box;
}

html {
  font: 16px/1.5 "Poppins", sans-serif;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
}

.wrapper {
  background-color: #f5f5f5;
  margin: auto;
  max-width: 1300px;
  min-height: 100vh;
  padding: 20px;
}

h2,
h3,
h4 {
    font-family: "Lustria", serif;
    font-weight: 300;
    margin: 0;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 20px;
}

a {
  color: #333333;
  cursor: pointer;
  text-decoration: none;
}

input[type="submit"],
button {
  cursor: pointer;
  display: block;
  font: 17px "Poppins", sans-serif;
}

li {
  list-style-type: none;
}

main {
  background-color: #a4b6a4;
}

section {
  margin: 0;
  padding: 0;
}

.visuallyHidden:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

div.errors {
  background: #ec9082;
  border: 1px solid #eb0f0f;
  margin: 10px;
  padding: 5px;
}

.error {
  color: #970000;
  font-style: italic;
  margin: 5px;
  padding: 5px;
  width: max-content;
}

.primaryButton {
  background: #d8a7a0;
  border: 1px solid #333333;
  border-radius: 5px;
  box-shadow: 0 0 5px #333333;
  cursor: pointer;
  font-size: 18px;
  margin: 5px;
  padding: 10px;
  transition: 0.2s ease-in-out;
}

.primaryButton:hover {
  background: #c0c7b3;
}

.secondaryButton {
  background: #dadada;
  border-radius: 5px;
  padding: 5px;
}

.deleteButton {
  background: #eb6767;
  border-radius: 5px;
  padding: 5px;
}

.deleteButton:hover {
  background: #ff8f8f;
}

.session-message {
  background: #d8a7a0;
  border-radius: 5px;
  margin: 10px 0;
  padding: 10px;
  width: fit-content;
}

.pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 10px;
}

/***************************************************************** MODAL ******************************************************************/

.modal {
  background-color: #000000; 
  background-color: #00000066; 
  display: none; 
  height: 100%; 
  left: 0;
  position: fixed; 
  top: 0;
  width: 100%; 
  z-index: 1; 
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  border: 1px solid #888888;
  margin: 15% auto; 
  max-width: 400px ; 
  padding: 20px;
  text-align: center;
}

.modal-content input[type="submit"] {
    display: block;
    margin: 10px 0;
    width: 100%;
}

/* The Close Button */
.close {
  color: #696969;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000000;
  cursor: pointer;
  text-decoration: none;
}
