* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

body {
    background: #111;
    color: #fff;
}

header {
    position: absolute;
    z-index: 2;
    height: 4em;
    background: linear-gradient(to top, #00000000, #00000000, #00000032);
    width: 100%;
}

.hero {
    min-height: 100svh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 4rem;
    overflow: hidden;
}

/* Background images */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: none;
    z-index: 0;
}

.hero::before {
    background-image:
        linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)),
        url("/images/render_1.png");
}

.hero::after {
    background-image:
        linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)),
        url("/images/render_2.png");
    opacity: 0;
}

.hero.second-image::before {
    opacity: 0;
}

.hero.second-image::after {
    opacity: 1;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 6rem);
    line-height: 0.95;
    margin-bottom: 1rem;
}

.hero p {
    max-width: 100%;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.hero a {
    display: inline-block;
    padding: 0.9rem 1.5rem;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

/* Footer */
footer {
    padding: 2rem 4rem;
    background: #111;
    color: #aaa;
}

.mainlogo {
    margin: 1rem;
    width: 178px;
}

.redmsg {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    height: 8rem;
}

.ques {
    font-size: 1.47rem;
    /* font-weight: bold; */
    text-transform: uppercase;
}

.redmsg span {
    color: red;
    font-style: italic;
}

.haha p {
    margin-bottom: 10px;
}

@media (max-width: 1024px) {
    .redmsg {
        font-size: 2rem;
        height: 5rem;
    }
}

/* Mobile */
@media (max-width: 786px) {
    .hero {
        padding: 1.5rem;
    }

    .hero-content {
        width: 100%;
    }

    .hero p {
        font-size: 1rem;
    }

    footer {
        padding: 1.5rem;
    }

    .redmsg {
        font-size: 1.6rem;
        height: 4rem;
    }

    .ques {
        font-size: 1.0rem
    }

    .haha a {
        width: 100%;
    }

    /* .haha {
        display: none;
    } */
}

@media (max-width: 428px) {
    .ques {
        font-size: 0.9rem
    }

    .redmsg {
        font-size: 1.3rem;
        height: 3.5rem;
    }

    .haha p {
        font-size: 0.8rem;
    }
}

.smallfoot {
    margin-top: 1rem;
    font-size: 0.8rem;
}