
body {
    margin: 0;
    padding: 0;
    font-family: "Brush Script MT", cursive;
    text-align: center;
    overflow: hidden;
}


.background {
    background: url('background.jpg') no-repeat center center/cover;
    height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.newbackground {
    background: url('scroll1.png') no-repeat center center/cover;
    height: 100vh;
    width: 100vh;
    position: relative;
}

.newbackground h1 {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    color: black;
    font-size: 2rem;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.7);
    margin: 0;
    z-index: 1;
}

.newbackground p {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    color: black;
    font-size: 1 rem;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.7);
    margin: 0;
    z-index: 1;
}

.newbackground .button {
    text-decoration: underline;
    position: absolute;
    font-family: "Brush Script MT", cursive;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    font-size: 1rem;
    color: black;
    background-color: transparent;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1;
}



h1 {
    font-size: 4rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin: 0;
    padding-top: 60px;
}

p {
    font-size: 1.5rem;
    margin: 10px 0 20px 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}


.snowflakes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    display: none;
}

.snowflake {
    position: absolute;
    top: -50px;
    font-size: 2rem;
    color: white;
    opacity: 0.8;
    animation: fall 10s linear infinite, ease-in-out infinite;
    z-index: 9999;
    width: 30px;
}


@keyframes fall {
    0% {
        transform: translateY(-50px);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}


@keyframes sway {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(20px);
    }
}


button {
    padding: 10px 20px;
    font-size: 1.2rem;
    color: white;
    font-family: "Brush Script MT", cursive;
    background-color: red;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 20px;
    z-index: 10000;
    position: relative;
}

/*button:hover {
    background-color: darkred;
}*/

.button-new {
    /*background: url('present.png') no-repeat center center;*/
    padding: 10px 20px;
    font-size: 1.2rem;
    color: white;
    font-family: "Brush Script MT", cursive;
    background-color: burlywood;
    border: none;
    cursor: pointer;
    margin-top: 6vh;
    z-index: 10000;
    position: relative;
}

/* General Styles for newpage.html */
body, html {
    margin: 0;
    padding: 0;
    font-family: "Brush Script MT", cursive;
    overflow: hidden;
}

/* Christmas Container */
.christmas-container {
    background: url('background.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: white;
    text-align: center;
    position: relative;
    /*padding-top: 10vh; */
}


.header {
    font-size: 3rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 2vh;
}

.p {
    font-size: 1.5rem;
    margin: 400px 0 20px 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.scroll-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50%;
    width: 80%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    padding: 20px;
    margin-top: 2vh;
}


.scroll {
    font-size: 1.5rem;
    color: darkred;
    text-align: center;
    line-height: 2;
	height: 100%;
}


.button-container {
    margin-top: 2vh;
    margin-bottom: 5vh;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    color: white;
    background-color: red;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: darkred;
}


@media (max-width: 768px) {
    .header {
        font-size: 2rem;
    }
    .scroll-container {
        width: 90%;
        height: 60%;
    }
    .scroll {
        font-size: 1.2rem;
    }
    .back-button {
        font-size: 1rem;
        padding: 8px 16px;
    }
}
