* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #fffaf4;
    color: #102a43;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 55px;
    background-color: #fffaf4;
}
header h1 {
    font-size: 32px;
    color: #102a43;
    letter-spacing: 1px;
}
nav {
    display: flex;
    align-items: center;
    gap: 35px;
}
nav a {
    text-decoration: none;
    color: #102a43;
    font-weight: bold;
    border-radius: 9px;
}
nav a:hover {
    color: #e85d3f;
}
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 85px 30px;
    background-color: #ffc83d;
}
.hero p {
    font-size: 20px;
    color: #102a43;
    margin-bottom: 35px;
}
.search {
    display: flex;
    width: 75%;
    max-width: 950px;
}
.search input {
    flex: 1;
    padding: 20px;
    border: 2px solid #d5d5d5;
    border-radius: 15px 0 0 15px;
    font-size: 16px;
    outline: none;
    background-color: white;
}
.search button {
    padding: 20px 30px;
    border: none;
    border-radius: 0 15px 15px 0;
    background-color: #0755a5;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}
.search button:hover {
    background-color: #043d78;
}
.quotes {
    display: flex;
    justify-content: center;
    gap: 35px;
    padding: 35px 45px 55px 45px;
    background-color: #fffaf4;
}

.quote-dummy {
    flex: 1;
    min-height: 280px;
    padding: 35px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.quote-dummy:nth-child(1) {
    background-color: #c9c8ff;
}
.quote-dummy:nth-child(2) {
    background-color: #aee4f5;
}
.quote-dummy:nth-child(3) {
    background-color: #aee4f5;
}
.quote p {
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.6;
    font-style: italic;
    color: #102a43;
}
.author-dummy {
    font-size: 14px;
    font-size: bold;
    letter-spacing: 1px;
    color: #102a43;
}
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background-color: #12345b;
    color: white;
    font-size: 16px;
}
.quote-output {
    flex: 1;
    min-height: 100px;
    padding: 35px 75px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #c9c8ff;
    margin-top: 25px;
}

.quote-result .quote {
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
    font-size: 36px;
    line-height: 1.6;
    font-style: italic;
    color: #102a43;
}
.quote-result .author {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #102a43;
    text-align: right;
}

h2.quote-title {
    font-size: 48px;
    font-weight: bold;
    color: #102a43;
    text-align: center;
    margin-top: 35px;
}

.quote-output button {
    background-color: #12345b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.quote-results {
    width: 100%;
}
.error {
    width: 100%;
    margin-top: 20px;
}

.error-message {
    padding: 18px;
    border-radius: 10px;
    background-color: #ffd6d6;
    color: #9b1c1c;
    font-weight: bold;
    text-align: center;
}
