/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f0e1; /* Cream background color */
    color: #4b3f29; /* Dark brown color for text */
    line-height: 1.6;
    min-height: 100vh; /* Ensure body takes at least full viewport height */
    display: flex;
    flex-direction: column;
}

/* Header styling */
header {
    background-color: #7d5a4f; /* Soft brown header */
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

header h1 {
    margin: 0;
}

/* Main Content Section */
main {
    flex-grow: 1; /* Allow main to grow and take remaining space */
    text-align: center;
    padding: 20px;
}

/* Pixel cat logo in the center */
main .logo {
    margin: 0 auto;
    width: 150px;
    height: 150px;
    background-image: url('images/pixel_cat.png'); /* Ensure this path is correct */
    background-size: contain;
    background-repeat: no-repeat;
    
    /* Center the logo */
    position: relative;
    top: 50px; /* Adjust if needed to move it down */
    
    /* Bring the logo forward */
    z-index: 10; /* Ensure it's in front */
}

/* Welcome message styling */
#welcomeMessage {
    text-align: center;
    font-size: 1.5em;
    color: #7d5a4f; /* Soft brown color */
    margin-top: 20px;
    font-weight: bold;
}

/* Video container styling */
#videoContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 80vh; /* Ensures the container takes up most of the screen */
}

/* Video iframe styling */
iframe {
    border: none; /* Remove iframe border */
    max-width: 100%; /* Make the video responsive */
    height: 450px; /* Fixed height */
}

/* Footer styling (fixed to the bottom) */
footer {
    text-align: center;
    padding: 10px 0;
    background-color: #7d5a4f; /* Soft brown footer */
    color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* Modal (background for the video) */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* Black with opacity */
}

/* Modal Content (the video frame) */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Buttons */
a.button {
    background-color: #b89d89; /* Light brown button-like background */
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin: 10px 0;
}

a.button:hover {
    background-color: #7d5a4f; /* Darker brown on hover */
}

/* Link Button Styling (register and login) */
a {
    background-color: #b89d89; /* Light brown button-like background */
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin: 10px 0;
}

a:hover {
    background-color: #7d5a4f; /* Darker brown on hover */
    text-decoration: none;
}
