@import "reset.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Creepster', cursive, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the body takes the full height of the viewport */
    background-color: #121212;
    color: #e0e0e0;
    text-align: center;
}

header {
    background-color: #222;
    color: #ff5722;
    padding: 10px;
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0 15px rgba(255, 87, 34, 0.5);
}

.horizontal-menu {
    list-style-type: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    width: 100%;
}

.horizontal-menu li {
    margin: 0 10px;
}

.horizontal-menu a {
    text-decoration: none;
    color: #ff5722;
    padding: 10px;
    display: block;
    background-color: #333;
    transition: background-color 0.3s, color 0.3s;
}

.horizontal-menu a:hover {
    background-color: #ff5722;
    color: black;
}

main {
    flex: 1; /* Makes main content grow to fill the remaining space */
    padding: 20px;
    background: url('spooky-bg.jpg') no-repeat center center/cover;
}

.hero {
    background: url('spooky-hero-image.jpg') no-repeat center center/cover;
    padding: 60px 0;
}

.hero h2 {
    color: #ff5722;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.room-section {
    background-color: darkgray;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.room-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ff5722;
    text-align: center;
}

.room-description img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border: solid 2px #ff5722;
    border-radius: 10px;
    filter: grayscale(80%);
}

footer {
    background-color: #222;
    color: #ff5722;
    text-align: center;
    padding: 10px;
    width: 100%;
    box-shadow: 0 0 15px rgba(255, 87, 34, 0.5);
    position: relative;
}

.submit-button {
    background-color: #ff5722;
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #e64a19;
    box-shadow: 0 0 10px rgba(255, 87, 34, 0.7);
}

.center-image {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border: solid 2px #ff5722;
    border-radius: 10px;
    filter: grayscale(80%);
}
