@font-face {
    font-family: Indie Flower;
    src: url("./fonts/IndieFlower-Regular.ttf");
}

@font-face {
    font-family: Inter;
    src: url("./fonts/Inter-VariableFont_opsz\,wght.ttf");
}

* {
    color: rgb(55, 24, 24);
}

h1 {
    font-size: 24px;
}

header, footer, main {
    display: flex;
    justify-content: center;
    width: 100%;
}

header, footer {
    background-color: rgb(255,180,180);
    height: 60px;
    align-items: center
}

main {
    background-color: rgb(141,208,179);
    min-height: calc(100vh - 120px);
}

header .content, footer .content {
    width: 100%;
    max-width: 1440px;
    display: flex;
    justify-content: center;
}

footer .content {
    font-size: 12px;
}

main .content {
    background-color: rgb(228,211,255);
    border-radius: 10px;
    box-shadow: -5px -5px 10px rgba(0, 0, 0, 0.3);
    max-width: 1440px;
    padding: 20px 20px;
    margin: 20px 20px;
}

main .content h2 {
    margin: 0;
    font-size: 20px;
}

.question {
    background-color: rgb(247, 241, 255);
    padding: 20px;
    margin: 10px 0;
    border-radius: 10px;
    box-shadow: -5px -5px 10px rgba(0, 0, 0, 0.3);
}

.question p {
    margin-top: 0;
}

textarea, input {
    border: 2px solid rgb(117, 94, 152);
    border-radius: 10px;
    width: calc(100% - 20px);
}

textarea {
    resize: none;
    height: 60px;
    padding: 10px;
}

input {
    padding: 10px;
}

.answer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

span {
    background-color: white;
    padding: 10px;
}

.button-container {
    display: flex;
    justify-content: center;
}

button {
    padding: 20px;
    background-color: rgb(117, 94, 152);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 10px;
}