body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #c9dec5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
/* header */
header {
    background-color: #8FBC8F;
    padding: 1em 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0; 
    width: 100%;
    z-index: 100;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 0.5em 1em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #FF69B4;
}

/* footer */
footer {
    background-color: #f0f0f0;
    padding: 1em 0;
    text-align: center;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
    color: #777;
    font-size: 0.9em;
}
/* main everything */
main {
    padding-top: 60px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}
section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

h1, h2, h3 {
    color: #FF69B4;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FF69B4;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #8FBC8F;
}

/* images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.image-caption {
    font-size: 0.9em;
    color: #777;
    text-align: left;
    margin-top: 5px;
}

/* lists */
ul {
    list-style: disc;
    padding-left: 20px;
}

ol {
    list-style: decimal;
    padding-left: 20px;
}

.complex-list {
    list-style: none;
    padding-left: 0;
}

.complex-list .question {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.complex-list .option {
    margin-left: 20px;
}

/* tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #8FBC8F;
    color: #fff;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* feedback */
#survey {
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: left;
}

#survey h2 {
    color: #8FBC8F;
    margin-bottom: 20px;
    font-size: 2em;
    text-align: center;
}

#feedback-form p {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

#feedback-form label {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    color: #555;
}

#feedback-form input[type="radio"] {
    margin-right: 5px;
}

#feedback-form div {
    margin-top: 20px;
    margin-bottom: 20px;
}

#feedback-form label[for="comments"] {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

#feedback-form textarea {
    width: 20%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: inherit;
    resize: vertical;
}

#feedback-form button[type="submit"] {
    background-color: #FF69B4;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

#feedback-form button[type="submit"]:hover {
    background-color: #D87093;
}
/* Art history test */
.art-test-page section {
    padding: 30px;
    background-color: #f4f4f4;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: left;
}

.art-test-page h1 {
    color: #FF69B4;
    margin-bottom: 30px;
    font-size: 2.5em;
    text-align: center;
}

.complex-list {
    list-style: none;
    padding: 0;
}

.question {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.question h3 {
    color: #8FBC8F;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em;
    flex-grow: 1;
}

/* answer options */
.options {
    margin-left: 20 px;
    display: flex;
    flex-direction: column;
}

.option {
    margin-bottom: 8px;
    color: #333;
    display: flex;
    align-items: center;
}

.option input[type="radio"] {
    margin-right: 8px;
}

.image-helper {
    text-align: right;
    margin-left: 20px;
}

.image-helper img {
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    vertical-align: middle;
    width: 80px;
    height: auto;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.image-helper img:hover {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* blurring the answer */
.answer {
    font-size: 0.9em;
    color: #777;
    margin-top: 10px;
    filter: blur(5px);
    transition: filter 0.3s ease-in-out;
}

.question:hover .answer {
    filter: blur(0);
}

button {
    background-color: #FF69B4;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

button:hover {
    background-color: #D87093;
}

#results {
    margin-top: 20px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

/*Motivation*/
.motivation-videos {
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.motivation-videos h1 {
    color: #8FBC8F;
    margin-bottom: 40px;
    font-size: 2.5em;
}

.video-item {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
    display: block;
    width: 100%;
    aspect-ratio: 560 / 315;
}

.video-info {
    margin-top: 20px;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.video-title {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.video-description {
    color: #777;
    font-size: 0.9em;
    line-height: 1.6;
}

/* Video adaptation */
@media (max-width: 768px) {
    .video-item {
        margin-bottom: 40px;
    }
}

/* CSS Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.art-item {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.art-item h3 {
    color: #8FBC8F;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

body {
    animation: fadeIn 1s ease-in-out;
}

header {
    animation: slideInLeft 0.5s ease-out;
}

.button {
    transition: transform 0.2s ease-in-out, background-color 0.3s ease;
}

.button:hover {
    transform: scale(1.05);
}

.art-item {
    animation: slideInLeft 0.7s ease-out both;
    margin-bottom: 20px;
}

.art-item:nth-child(odd) {
    animation-delay: 0.2s;
}

.art-item:nth-child(even) {
    animation-delay: 0.4s;
}
/* helloooooo */
.animated-greeting {
    font-size: 3.2em;
    color: #FF69B4;
    font-weight: 600;
    margin-bottom: 10px;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 5s steps(40, end) infinite alternate,
               blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-right: .08em solid transparent }
    50% { border-right: .08em solid #FF69B4; }
}
/*art gallery */
.art-gallery {
    text-align: center;
}

.artwork-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.artwork-item {
    width: 80%;
    max-width: 800px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.artwork-item.appeared {
    opacity: 1;
    transform: translateY(0);
}

.artwork-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.artwork-info {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}
/* Contacts */
section h1 {
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
    color: #FF69B4; 
    margin-bottom: 30px;
}
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qr-code img {
    max-width: 150px;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.qr-code .image-caption {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 5px;
}

.contact-details {
    text-align: center;
}

.contact-details h2 {
    color: #FF69B4;
    margin-bottom: 15px;
}

.contact-details ul {
    list-style: none;
    padding: 0;
}

.contact-details li {
    margin-bottom: 10px;
}

.contact-details a {
    color: #337ab7;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}
/* About me */
.about-me-section {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.about-me-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.about-me-image {
    width: 200px;
    height: auto;
    border-radius: 10px;
}

.about-me-text {
    flex: 1;
}

.about-me-text .image-caption {
    font-size: 0.9em;
    color: #777;
    margin-top: 0;
    margin-bottom: 10px;
}

/* Spotify Vibes */
.spotify-section {
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
    color: #FF69B4;
}

.spotify-section h2 {
    color: #FF69B4;
    margin-bottom: 20px;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.scan-me {
    font-size: 0.9em;
    margin-bottom: 20px;
    animation: colorChange 3s infinite alternate;
}

@keyframes colorChange {
    0% { color: #FF69B4; }
    100% { color: #87CEEB; }
}

.spotify-qrcodes-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode-item img {
    width: 150px;
    height: 200px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.qrcode-item img:hover {
    transform: scale(1.1);
}

.qrcode-caption {
    font-size: 0.9em;
    margin-top: 10px;
    color: #FF69B4;
}

.spotify-links {
    font-size: 0.9em;
    color: #b3b3b3;
}

.spotify-links a {
    color: #548a65;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.spotify-links a:hover {
    color: #ff12b0;
}

/* heading animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.spotify-section h2 {
    animation: fadeIn 1s ease-out;
}

/* qr-code pulsation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.qrcode-item img {
    animation: pulse 2s infinite alternate;
}

/* Books */
.favorite-books-section {
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
}

.favorite-books-section h2 {
    color: #FF69B4;
    margin-bottom: 20px;
    font-size: 2em;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.book-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.book-item:hover {
    transform: scale(1.05);
}

.book-item img {
    width: 100%;
    height: auto;
    border-radius-top-left: 10px;
    border-radius-top-right: 10px;
    display: block;
    margin-bottom: 5px;
}

.book-title {
    font-size: 0.9em;
    font-weight: bold;
    text-align: center;
    padding: 5px;
    color: #333;
    margin-bottom: 5px;
}

.book-author {
    padding: 5px 10px;
    background-color: #6c946f;
    color: #fff;
    text-align: center;
    font-size: 0.75em;
    width: 100%;
    box-sizing: border-box;
}