@import url('https://fonts.googleapis.com/css2?family=Gaegu&display=swap');
@media (min-width: 800px) {
    #list {
        flex-direction: column;
        align-items: center;
    }

    main {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
    }
}

body {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-family: "Gaegu", sans-serif;
    background-color:rgb(255, 255, 228);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

button {
    all: unset;
    padding: 5px;
    background-color: white;
    border-radius: 5px;
    margin-top: 10px;
    align-self: center;
}

button:hover {
    cursor: pointer;
    background-color: beige;
}

input, textarea{
    border: none;
    border-bottom: 1px solid rgb(184, 181, 181);
    padding: 5px;
}

#input-box, #guestbook-section {
    display: flex;
    flex-direction: column;
    align-items: left;
}

.row {
    display: flex;
    gap: 10px;
}

label {
    font-weight: bold;
    line-height: 30px;
}

#name, #password {
    width: 150px;
    height: 20px;
    margin-bottom: 10px;
}

#title {
    width: 380px;
    height: 20px;
    margin-bottom: 10px;
}

#content {
    resize: none;
    padding: 10px;
    width: 420px;
    height: 100px;
    margin-top: 5px;
}

#list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

.entry {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    text-align: left;
    width: 300px;
}
.entry p {
    margin: 5px 0;
}

hr {
    border: none;
    border-top: 1px solid gray;
    margin: 10px 0;
}