@font-face {
    font-family: 'CormorantGaramond';
    src: url('fonts/CormorantGaramond-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'CormorantGaramond';
    src: url('fonts/CormorantGaramond-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
    font-family: "CormorantGaramond", serif;
    font-size: 130%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #faf2e9 !important;
    color: #644f44 !important;
}
@media (max-width: 800px) {
    body {
        width: 100%;
    }
}
@media (min-width: 801px) {
    body {
        width: 600px;
        margin: 0 auto;
    }
}

header {
    padding: 10px 0;
    text-align: center;
}
main {
    padding: 20px;
    text-align: center;
}

footer {
    text-align: center;
    padding: 10px 0;
}
@media (max-width: 800px) {
    footer {
        width: 100%;
    }
}
@media (min-width: 801px) {
    footer {
        width: 600px;
        margin: 0 auto;
    }
}

ol {
    text-align: left;
}

.input-field {
    text-align: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.input-field::placeholder {
    color: #999;
}

.input-field:focus {
    outline: none;
    border-color: #d1a280;
    box-shadow: 0 0 5px #d1a280;
}

.like-button {
    display: inline-block;
    padding: 10px 5px;
    border: 1px solid #faf2e9;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
}

.show {
    visibility: visible;
    animation: fadeIn 0.5s, fadeOut 0.5s 2.5s forwards;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeOut {
    from {opacity: 1;}
    to {opacity: 0;}
}
