html, body{
    height: 100vh;
    width: 100vw;
}

body{
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color : white;
    color: black;
}

.header{
    display: grid;
    background-color: white;
    padding: 1.25rem 2rem;
    gap: 1.25rem;
    grid-template-rows: auto auto;
    box-shadow: 0 2px 8px rgb(206, 203, 203);
    grid-column-end: span 3;
}

button{
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: #1992d4;
    color: white;
    font-weight: 700;
    cursor: pointer;
    margin-right: 0.75rem;
}

button:hover{
    filter:brightness(0.90);
    transform: scale(0.98);
}

.dialog-actions{
    margin-top: 2rem;;
}

.content{
   display: grid;
   grid-template-columns: 1fr 1fr 1fr;
   gap: 2rem;
   align-items: start;
   padding: 2rem;
   background-color: rgb(207, 212, 229);
}

.books{
    display: grid;
    grid-column: 1 / span 4;
}

.books h2{
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
}

.project-list{
    display: grid;
    grid-template-columns: repeat(4, minmax(285px, 1fr));
    gap: 1.5rem;
}

.project-list article{
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    position: relative;
    min-height: 140px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0.5rem;
}

.project-list article:hover{
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.project-list article h3{
    margin: 0;
    font-size: 1.05rem;
}

.project-list article::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: #f0b429;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

form {
    background: white;
    border-radius: 12px;
    padding: 0.75rem;
    position: relative;
    min-height: 140px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0.5rem;
}

form input {
    border-radius: 8px;
    padding: 0.25rem;
    display: block;
    margin-top: 0.25rem;
}

form h3 {
    display: block;
    text-align: center;
}