@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;900&display=swap');

body {
    background-image: url('/patronus-quiz/static/bg.jpg');
    background-repeat: no-repeat;
    background-position: top;
    background-color: #1f2024;
    color: white;
    font-family: Inter, -apple-system, "system-ui", "Segoe UI", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
}

a {
    color: white;
    text-decoration: none;
}

a:link,
a:visited {
  color: inherit;
  text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

button:hover {
    opacity: 0.8;
}

.hidden {
    display: none !important;
}

.content {
    padding: 0 36px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 767px) {
    .content {
        padding: 0;
    }
}

header {
    font-size: 16px;
    max-width: 1900px;
    padding: 0 36px 0 36px;
    font-weight: 600;
}

@media (max-width: 767px) {
    header {
        padding: 36px 0 0 0;
    }
}

header .header-inner {
    width: 100%;
    display: grid;
    align-items: center;
    grid-auto-flow: dense;
    grid-template-columns: auto 1fr;
    column-gap: 28px;
    row-gap: 28px;
    min-height: 100px;
}

@media (max-width: 767px) {
    header .header-inner {
        display: block;
        text-align: center;
    }
}

@media (max-width: 767px) {
    header .header-logo {
        margin-bottom: 20px;
    }
}

header .header-logo a {
    display: block;
}

header .header-logo img {
    max-height: 40px;
}

header nav {
    align-items: center;
    row-gap: 28px;
    margin: 0 16px 0 16px;
}

header ul {
    list-style: none;
    list-style-position: outside;
    list-style-type: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    row-gap: 18px;
    column-gap: 28px;
}

header ul li {
    line-height: 25.6px;
}

@media (max-width: 767px) {
    header ul {
        flex-wrap: wrap;
        justify-content: flex-between;
    }
}

.nav-fantasy-chats a {
    color: #b4ff00;
}

.patronus-quiz-outer {
    max-width: 800px;
    margin: 30px auto 70px auto;
    background: linear-gradient(#BCE3EF, #DBEFBC);
    border-radius: 5px;
    padding: 5px;
}

@media (max-width: 767px) {
    .patronus-quiz-outer {
        padding: 5px 0;
        border-radius: 0;
    }
}

.patronus-quiz {
    min-height: 300px;
    background-color: #1D1D1D;
    border-radius: 5px;
    padding: 50px;
}

@media (max-width: 767px) {
    .patronus-quiz {
        padding: 40px 20px;
        border-radius: 0;
    }
}

.patronus-quiz h1 {
    font-size: 42px;
    font-weight: 900;
    line-height: 50px;
    background: linear-gradient(91deg, #02A4FF 0%, #02FFFF 50.94%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 0;
}

@media (max-width: 575px) {
    .patronus-quiz h1 {
        font-size: 36px;
    }
}

.patronus-quiz-examples {
    margin: 50px 0;
}

.patronus-quiz-examples-images {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 10px;
}

.patronus-quiz-examples-images img {
    width: 165px;
}

.quiz {
    margin-top: 50px;
}

.quiz .quiz-question {
    margin-bottom: 70px;
}

.quiz .quiz-question .quiz-question-content {
    margin-bottom: 30px;
}

.quiz .quiz-answers {
    margin-top: 10px;
}

.quiz .quiz-answer {
    padding: 15px 20px;
    border: 1px solid #575757;
    cursor: pointer;
    margin-bottom: 5px;
}

.quiz .quiz-answer:hover {
    background-color: #575757;
}

.quiz .quiz-answer.answered {
    background-color: #75ae23;
}

.quiz button,
.quiz a.button {
    display: inline-block;
    padding: 15px 80px;
    background-color: #75F9AA;
    color: black;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: 1s;
}

.quiz-result {
    background-color: #313131;
    padding: 30px;
}

.quiz-result h3 {
    margin: 0 0 10px 0;
    font-size: 36px;
}

.quiz-result .quiz-result-content {
    margin-bottom: 50px;
}

.quiz-result .quiz-result-story img {
    display: block;
    width: 500px;
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    .quiz-result .quiz-result-story img {
        width: 100%;
    }
}

.quiz .try-again-button {
    margin-top: 50px;
}

.products-list {
    display: flex;
    column-gap: 30px;
    row-gap: 30px;
    justify-content: space-between;
    margin-top: 50px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .products-list {
        justify-content: space-around;
        row-gap: 60px;
    }
}

.products-list a.product {
    display: block;
    text-decoration: none;
}

.products-list .product .product-preview img {
    height: 200px;
    border: 15px solid white;
    border-radius: 5px;
}

.products-list .product .product-preview img:hover {
    -webkit-filter: opacity(.8);
    filter: opacity(.8);
}

.products-list .product .product-name {
    margin-top: 10px;
    max-width: 200px;
    min-height: 70px;
}

.products-list .product button {
    width: 100%;
    background-color: #575757;
    color: white;
    border: none;
    padding: 10px 0;
    margin-top: 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
  }

.products-list .product button:hover {
    background-color: #575757;
}

.products-list .product .product-price {
    position: relative;
}

.products-list .product .product-price span {
    position: absolute;
    bottom: 0;
    font-size: 8px;
    bottom: 10px;
    margin-left: 2px;
}
