*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    width: 100%;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.header{
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .8rem 7vw;
}

.header img{
    width: 150px;
}

.heroSection{
    padding: 3rem 7vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* height: 100vh; */
}

.heroSection .heroImage{
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.heroSection .heroImage h3{
    font-size: 3rem;
    font-weight: 200;
    line-height: 3rem;
}

.heroSection .heroImage h3 span{
    font-weight: 600;
    color: #A8231A;
}

.heroSection .heroImage img{
    width: 100%;
}

.heroSection .heroText{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.heroSection .heroText img{
    width: 200px;
}

.heroSection .heroText p{
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}

.heroSection .heroText button{
    background: #A8231A;
    margin-block: 2rem;
    padding: 1rem 2rem;
    border: none;
    outline: none;
    color: white;
    font-size: 1rem;
}

.heroSection .heroText .qrcodes{
    display: flex;
    align-items: center; 
    justify-content: center; 
    width: 100%;
    gap: 30px;
    margin-block: 2rem;
}

.heroSection .heroText .qrcodes .apple, .heroSection .heroText .qrcodes .google{
    display: flex;
    flex-direction: column;
    align-items:center; 
    gap: 10px;
}

.heroSection .heroText .qrcodes img{
    width: 120px;
}

.heroSection .heroText .qrcodes img:last-of-type{
    width: 100px;
}

.heroSection .heroText .qrcodes a{
    transition: .3s ease-in-out;
}

.heroSection .heroText .qrcodes a:hover{
    background-color: rgba(250, 235, 215, 0.39);
}

.heroSection .heroText p a{
    color: #A8231A;
    text-decoration: none;
}

.heroSection .heroText p a:hover{
    text-decoration: underline;
}

.earning{
    text-align: center;
    padding: 3rem 7vw;
    min-height: 130vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.earning .title, .realTime .title{
    display: flex;
    flex-direction: column;
    position: relative;
    margin-block: 3rem;
}

.earning .title h1::before, .realTime .title h1::before{
    content: '';
    width: 20%;
    height: 6px;
    background-color: black;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%);
}

.realTime .title h1::before{
    background-color: #A8231A;
}

.earning .title h1, .realTime .title h1{
    font-size: 4vw;
}

.earning .title h1 span{
    color: #A8231A;
}

.process{
    background-color: #A8231A;
    min-height: 150vh;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 3rem 7vw;
    color: white;
}

.process img{
    margin-top: -40vh;
}

.process h3{
    font-size: 2.5vw;
    font-weight: 500;
    margin-top: 1rem;
}


.realTime{ 
    min-height: 150vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.realTime video{
    margin-top: -16vh;
}

.realTimeTrend{
    width: 100%;
    background-color: #A8231A;
    height: 196.7vh;
    padding: 3rem 7vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.realTimeTrend .images{ 
    position: relative;
    width: 80%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: -30vh; 
    gap: 20px; 
}

.realTimeTrend .images .wrappers{
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.realTimeTrend .images img{
    width: 100%;
}

.realTimeTrend .wrappers h3{
    text-transform: uppercase;
}

.realTimeTrend .wrappers p{
    font-size: 15px;
}

.realTimeTrend .body{
    margin-top: 20vh;
    margin-bottom: 0;
    width: 116.5%; 
    display: flex;
    align-items: center;  
}

.realTimeTrend .body img{ 
    width: 70%;
}

.realTimeTrend .body .bodyText{
    flex: 2;
}

.body .bodyText{
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    margin-left: -13%;
    padding-right: 7vw;
    color: #fff;
}

.body .bodyText .title{
    display: flex;
    flex-direction: column;
    position: relative;
    margin-block: 2rem;
}

.body .bodyText .title h3::before{
    content: '';
    width: 20%;
    height: 6px;
    background-color: white;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%);
}

.body .bodyText .title h3{
    font-size: 4vw;
    color: white;
}

.realTimeAdvance{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 5rem 30vw 0 25vw;
    position: relative;
    height: 100vh; 
    text-align: center;
}

.realTimeAdvance video{
    position: absolute;
    
    left: -5vw;
    bottom: 0;
    width: 30vw;
    height: 85vh;
}

.realTimeAdvance img{
    position: absolute;
    right: 0;
    bottom: 0;
    top: -15vh;
    height: 115vh;
}

.realTimeAdvance .title h1::before{
    content: '';
    width: 15%;
    height: 3px; 
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%);
}

.realTimeAdvance .title h1::before{
    background-color: #000;
}

.realTimeAdvance .title h1{
    font-size: 4vw;
    color: #A8231A;
}

.realTimeAdvance .title{
    display: flex;
    flex-direction: column;
    position: relative;
    margin-block: 3rem;
}

.realTimeAdvance p{
    font-size: 15px;
}

.realTimeAdvance button{
    background-color: #A8231A;
    width: 30%;
    border: none;
    outline: none;
    padding: 1rem 2rem;
    color: white;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-self: center;
    margin-top: 1rem;
    cursor: pointer;
}

footer{
    padding: 2vw 1vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #A8231A;
    width: 100%;
}

footer .logo{
    flex: 1;
}

footer .logo img{ 
    width: 300px;
}

footer .link{ 
    text-align: right; 
    color: white;
    font-size: 12px;
}

footer .link a{
    color: white;
    text-decoration: none;
}

footer .link a:hover{
    text-decoration: underline;
}

@media screen and (max-width: 480px){
    *{
        height: unset;
        min-height: unset;
    }

    .heroSection{
        flex-direction: column;
        gap: 20px;
    }

    .earning{
        min-height: 110vh;
    }

    .process{
        min-height: unset;
    }

    .process img{
        margin-top: -15vh;
    }

    .realTime{
        min-height: 40vh;
    }

    .realTime video{
        margin-top: -5vh;
    }

    .realTimeTrend{
        height: unset;
        max-height: 250vh;
        justify-content: unset;
    }

    .realTimeTrend .images{
        grid-template-columns: repeat(1, 1fr);
        margin-top: -15vh;
    }

    .realTimeTrend .body{
        flex-direction: column-reverse; 
        margin-top: 0;
    }

    .realTimeTrend .body img{
        width: 100%;
        margin-top: 17.6vh;
    }

    .body .bodyText{
        margin-left: 0;
        padding-right: 0;
        padding-inline: 10px;
    }

    .realTimeAdvance{
        padding: 0 0 0 0;
        height: auto;
        gap: 20px;
    }

    .realTimeAdvance video, .realTimeAdvance img{
        position: relative;
        width: 100%;
        margin-top: 2rem;
        left: 0;
        top: 0;
    }

    .realTimeAdvance button{
        width: 60%;
        text-align: center;
    }

    footer{
        flex-direction: column;
        padding: 10px 10px;
        align-items: flex-end;
    }
}


.wrapper{
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: black;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.wrapper .logo img{
    width: 150px;
}

.wrapper form{
    margin-top: 1rem;
}

.wrapper form input{
    width: 100%;
    padding: .8rem;
    margin-block: .7rem;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    outline: none;
}

.wrapper form input::placeholder{
    color: white;
}

.wrapper form button{
    background-color: #FC3030;
    width: 100%;
    border: none;
    outline: none;
    padding: .8rem;
    color: white;
    font-size: 16px;
    margin-block: .7rem;
}

.wrapper form p{
    margin-top: 1rem;
    text-align: center;
}

.wrapper p a{
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.wrapper video{
    position: absolute;
    bottom: -74%;
    right: -4%;
    width: 300px;
    height: 100%;
    transform: rotate(-15deg);
    box-shadow: 0 0 20px rgba(216, 213, 210, 0.144);
    border-radius: 20px;
}

.wrapper video.signUp{
    transform: rotate(0);
    right: 0;
    bottom: -37%; 
    box-shadow: unset;  
}

.wrapper.signUp form{
    width: 50%;
}

.wrapper .headerText{
    margin-bottom: .7rem;
}

.wrapper label{
    font-weight: 600;
}

.form-control{
    display: flex;
    gap: 10px;
}

.form-control .form-group:nth-of-type(2){
    flex: 2;
}

.wrapper h5{
    font-weight: 300;
    font-size: 30px;
}

.wrapper.signUp .form-group label{ 
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.wrapper.signUp .form-group label input[type="checkbox"]{
    width: unset;
}

.wrapper.signUp .form-group label input[type="checkbox"]{
    transform: scale(1.6); 
}

.wrapper.signUp .form-group label input[type="checkbox"]:checked{
    accent-color: #A8231A;
}

/* Very small mobile devices */
@media (max-width: 420px) {
    .wrapper .logo img {
        width: 140px;
    }
    
    .wrapper video{
        display:none;
    }
    
    .wrapper h5 {
        font-size: 20px;
    }
    
    .wrapper form input,
    .wrapper form button {
        padding: .6rem;
    }

    .wrapper.signUp form{
        width: 90%; 
    }

    .form-control{
        flex-direction: column;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .wrapper {
        justify-content: flex-start;
        padding-top: 2rem;
    }
    
    .wrapper .logo img {
        width: 140px;
    }
    
    .wrapper form {
        margin-top: 0.5rem;
    }
}