/** NEW HOMEPAGE **/
body.new-home {
    background-color: #1c1d21;
    font-family: Helvetica, Arial, sans-serif;
    color: white;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

body.new-home a {
    color: #ea5342;
}

body.new-home img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

body.new-home h1 {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
    margin-top: 15px;
    margin-bottom: 10px;
    font-family: 'Suwannaphum', Helvetica, Arial, sans-serif;
}

body.new-home h2 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 21px;
    font-weight: 400;
    color: white;
    text-align: center;
    text-decoration: none !important;
    text-shadow: 2px 2px 4px #0000005c;
    margin-top: 5px;
    margin-bottom: 15px;
    line-height: 1.2em;
    text-shadow: 2px 2px 4px #0000005c;
}

body.new-home p {
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
}

body.new-home ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
    width: 100%;
}

body.new-home li {
    margin-bottom: 1em;
}

body.new-home .signIn-button {
    background-color: #0d6efd;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

body.new-home .signIn-button:hover {
    background-color: #0a58ca;
}

body.new-home .homepage_logo {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

body.new-home .stasera-button,
body.new-home .oggi-button,
body.new-home .domani-button {
    display: inline-block;
    padding: 18px 25px;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.1em;
    width: 350px;
    margin: 0 0;
    transition: background-color 0.3s ease;
    text-decoration: none;
    font-family: 'Helvetica', sans-serif;
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: white;
    box-shadow: inset -4px -5px 8px -1px #ba1007;
    background: linear-gradient(to bottom, #fe4336 5%, #fe4336 100%);
    background-color: #fe4336;
    border: 1px solid #a81109;
    /* Added transition */
}

body.new-home .stasera-button {
    background-color: #FE4236;
    color: white;
}

body.new-home .stasera-button:hover {
    background-color: #e93b2f;
    transform: scale(1.05);
}

body.new-home .oggi-button {
    background-color: #0d6efd;
    color: white;
}

body.new-home .oggi-button:hover {
    background-color: #0a5edc;
    transform: scale(1.05);
}

body.new-home .domani-button {
    background-color: #49A368;
    color: white;
    margin-bottom: 30px;
}

body.new-home .domani-button:hover {
    background-color: #418f5e;
    transform: scale(1.05);
}

body.new-home .main-paragraph {
    max-width: 75%;
    /* Adjust to your desired width */
    margin: 0 auto 20px auto;
    text-align: center;
    /* If you want the text to be centered */
}

body.new-home .main-divider {
    margin-top: 32px;
    margin-bottom: 10px;
}

body.new-home .about-section {
    background-color: #FFFFFF;
    color: #000;
    /* Assuming the text color you'd like is black for this white section */
    width: 100vw;
    /* 100% of the viewport width */
    padding: 20px 0;
    /* Add some padding top and bottom, adjust if needed */
    text-align: center;
    /* Centering the text */
    box-shadow: inset 0px 10px 15px 0px rgba(0, 0, 0, 0.35);
}

body.new-home .about-section h2 {
    font-family: 'Suwannaphum', Helvetica, Arial, sans-serif;
    font-size: 1.8em;
    /* Adjust this value if you want the text larger or smaller */
    margin: 0 auto 5px auto;
    /* Resetting any default margins */
    padding: 0;
    /* Resetting any default padding */
}

body.new-home .about-section h3 {
    font-family: 'Suwannaphum', Helvetica, Arial, sans-serif;
    font-size: 1.8em;
    margin: 0 auto 5px auto;
    padding-top: 15px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
}

body.new-home .about-section-image {
    display: block;
    margin: 30px auto 0;
    /* 30px top margin, centered horizontally, 0 bottom margin */
    width: 200px;
    height: auto;
    /* Automatically adjusts to maintain aspect ratio */
}

body.new-home .footer-links {
    font-size: 0.8em;
    /* This will make the font size smaller than the default */
    text-align: center;
    /* This will center-align the links */
    margin-top: 5px;
    /* A small margin from the top for spacing */
}

body.new-home .footer-links a {
    color: #000;
    /* Assuming you want the links in black color. Change if needed. */
    text-decoration: none;
    /* Removes the underline */
    margin: 0 5px;
    /* Add a little space between links */
    margin-top: 2px;

}

body.new-home .footer-links a:hover {
    text-decoration: underline;
    /* Underline on hover for better user feedback */
}

    body.new-home .apps-container {
    display: inline-flex;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 10px;
}

body.new-home .flag-container {
    display: inline-flex;
    white-space: nowrap;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 25px;
}

body.new-home .flag-container a {
    flex: none;
    margin-right: 10px;
    /* This adds 10px of space to the right of each flag. */
}

body.new-home .flag-container a:last-child {
    margin-right: 0;
    /* This removes the margin from the last flag to avoid extra space on the right. */
}

body.new-home .top-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* this sets the height to the full height of the viewport, adjust as necessary */
    z-index: -1;
    /* this ensures the background stays behind your content */
    background-image: url('https://ebroadcast.com.au/img/guida-tv-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 15%;
}

body.new-home .mobile-nav-list {
    text-align: left !important;
}

@media (max-width: 768px) {

    body.new-home .stasera-button,
    body.new-home .oggi-button,
    body.new-home .domani-button {
    color: white;
    box-shadow: inset -4px -5px 8px -1px #ba1007;
    background: linear-gradient(to bottom, #fe4336 5%, #fe4336 100%);
    background-color: #fe4336;
    border: 1px solid #a81109;
    }

    body.new-home .domani-button {
        margin-bottom: 30px;
    }

    body.new-home .homepage_logo {
        margin-top: 2rem;
        /* Adjust this value to your preference for mobile */
    }

}

/** END HOMEPAGE **/