:root {
    --header-height: 50px;
    --footer-height: 50px;
    --primary-color: #0689bb;
    --secondary-color: #055f8a;
    --text-color: white;
    --font-family: Arial;
    --font-family-cursive: 'Brush Script MT';
    --font-size-header: 1.25rem;
    --font-size-nav-button: 2em;
    --font-size-footer: 1rem;
    --padding-nav: 10px;
    --padding-footer: 10px;
    --button-padding: 0 10px;
    --button-size: 50px;
    --content-width: 75%;
    --content-bg-color: rgba(255, 255, 255, 0.8);
    --box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Media query for smaller devices */
@media (max-width: 700px) {
    :root {
        --header-height: 30px;
        --footer-height: 20px;
        --font-size-header: 0.75rem;
        --font-size-nav-button: 1em;
        --font-size-footer: 0.5rem;
        --padding-footer: 0;
    }
}

body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family), sans-serif;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
}

header {
    background-color: var(--primary-color);
    color: var(--text-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    height: var(--header-height);
}

header h1 {
    font-size: var(--font-size-header);
    margin-left: 10px;
    font-family: var(--font-family-cursive), cursive;
}

header h1 a {
    text-decoration: none;
    color: inherit;
}

header h1 a:hover,
header h1 a:active {
    text-decoration: none;
    color: inherit;
}

.heart {
    color: red;
}

.cross {
    color: purple;
}

nav {
    display: flex;
    justify-content: center;
    padding: var(--padding-nav);
}

nav button {
    color: var(--text-color);
    background-color: var(--primary-color);
    border: none;
    padding: var(--button-padding);
    cursor: pointer;
}

nav button i {
    font-size: var(--font-size-nav-button); /* Adjust the size as needed */
}

nav button:hover {
    background-color: var(--secondary-color);
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100% - var(--header-height) - var(--footer-height));
    margin-top: var(--header-height);
    margin-bottom: var(--footer-height);
}

.content {
    width: var(--content-width);
    background-color: var(--content-bg-color);
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.link-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Adjust the gap as needed */
    margin: 20px 0; /* Optional: Add some margin for spacing */
}

.responsive-link {
    text-decoration: none;
    color: var(--primary-color); /* Use your primary color variable */
    font-size: var(--font-size-header); /* Adjust font size as needed */
    padding: 10px 20px; /* Add padding for better click area */
    border: 1px solid var(--primary-color); /* Optional: Add border */
    border-radius: 5px; /* Optional: Add border radius */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}

.responsive-link:hover {
    background-color: var(--primary-color); /* Change background on hover */
    color: #fff; /* Change text color on hover */
}

.spacer {
    height: var(--header-height);
}

.responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

footer {
    text-align: center;
    padding: var(--padding-footer);
    background-color: var(--primary-color);
    color: var(--text-color);
    position: fixed;
    width: 100%;
    bottom: 0;
    height: var(--footer-height);
    font-size: var(--font-size-footer);
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.controls {
    display: flex;
    justify-content: center;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.prev, .next, .pause, .resume {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--text-color);
    border: none;
    padding: 10px;
    cursor: pointer;
    width: var(--button-size);
    height: var(--button-size);
    margin: 5px;
}

.slides {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.slides img {
    max-width: 100%;
    max-height: calc(100vh - var(--header-height) - var(--footer-height));
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

.slides img.active {
    opacity: 1;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--text-color);
    border: none;
    padding: 10px;
    cursor: pointer;
    width: var(--button-size);
    height: var(--button-size);
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

