#hero-caption {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-top: -80px !important;
}
#still{
    margin-top:7%;
    margin-bottom:0px !important;
}
@media only screen and (max-width:1024px){
    #portheader{
        font-size:47px !important;
        font-weight: 500 !important;
    }
    #ptdiv{
        padding:11px !important;
    }
}
#hero {
    height:600px!important;
}

#content-scroll {
    margin-top: 75px;
}

#txt {
    position: relative;
    top: -438px;
    margin-bottom: 0px;
}

#scroll {
    position: relative;
    top: -350px;
    margin-top: -110px
}

#recent {
    margin-top: -90px;
}

#first {
    margin-top: 0px;
}

#second {
    margin-top: -315px;
    margin-bottom: 90px !important;
}

/* #third {
    margin-top: -15px;
}

#fourth {
    margin-top: -360px;
} */

#whats42niteindex{
    margin-top: 60px;
    margin-left: 60px;
}

#whats42nitedivindex{
    width: 100%;
    height: auto;
    background-color: white;
    display: flex !important;
    flex-wrap: wrap !important;
}

#wlcmindex {
    color: #00eabc;
    font-family: 'SFProDisplay-Light';
    font-size: 40px;
}
h3{
    text-align: center;
}
#wlcmstarsgyan {
    color: #971F5F;
    font-family: 'SFProDisplay-Light';
    font-size: 40px;
}

#wlcmkom {
    color: #FC1906;
    font-family: 'SFProDisplay-Light';
    font-size: 40px;
}

#starsgyanindex {
    margin-left: 8%;
    margin-top: 60px;
    margin-bottom: -85px;
}

#komsurvey {
    margin-bottom: 0px;
    background-color: #F8F2F5;
}

#whats42nitediv1index{
    width: 700px;
    margin-bottom: 30px;
    background-image: url(images/42nitelogo/back2.png);
    background-repeat: no-repeat;
}

#stardivindex {
    width: 100%;
    height: auto;
    background-color: white;
    gap: 70px;
    margin-bottom: 20px;
    display: flex !important;
    flex-wrap: wrap !important;
}

#komdiv {
    width: 100%;
    height: auto;
    background-color: #F8F2F5;
    gap: 70px;
    margin-bottom: 20px;
    margin-left: 7%;
    display: flex !important;
    flex-wrap: wrap !important;
}

#stardiv1index {
    width: 700px;
    margin-bottom: 20px;
    background-image: url(images/42nitelogo/back2.png);
    background-repeat: no-repeat;
}

#komdiv1 {
    width: 700px;
    margin-bottom: 30px;
    background-repeat: no-repeat;
    background-image: url(images/42nitelogo/back1.png);
    margin-top: 40px;
}

#starimgdiv {
    width: 400px;
    height: 320px;
    position: relative;
    top: -30px;
}

#komimgdiv {
    width: 400px;
    height: 320px;
    position: relative;
    top: 100px;
}

#whats42niteimgdivindex {
    width: 400px;
    height: 320px;
    position: relative;
    top: 30px;
}

@media only screen and (max-width:1025px) {
    #hero-caption {
        display: flex !important;
        flex-wrap: wrap !important;
        margin-top: 0px !important;
    }

    #recent {
        margin-top: 0px;
    }

    #first {
        margin-top: 0px;
    }

    #second {
        margin-top: -100px;
    }

    #third {
        margin-top: -50px;
    }

    #fourth {
        margin-top: -100px;
        margin-bottom: 50px;
    }
}

@media only screen and (max-width:800px) {

    html,
    body {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    #komimgdiv {
        width: 100%;
        height: 320px;
        position: relative;
        top: 40px;
        left: -20px;
    }

    #komdiv1 {
        width: 90%;
        margin-bottom: 20px;
        margin-left: -9% !important;
        background-image: url(images/42nitelogo/back2.png);
        background-repeat: no-repeat;

    }

    #komdiv {
        width: 100%;
        height: auto;
        gap: 40px;
        justify-content: center;
        align-items: center;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    #starsgyanindex {
        margin-left: 6%;
        margin-top: 60px;
        margin-bottom: -85px;
    }

    #wlcmindex {
        font-size: 32px;
        position: relative;
        top: -15px;
        left: 0px !important;
        display: flex;
        justify-content: center;
    }

    #wlcmstarsgyan {
        color: #971F5F;
        font-family: 'SFProDisplay-Light';
        font-size: 32px;
        position: relative;
        left: -5px !important;
        display: flex;
        /* text-align: center !important; */
        justify-content: center;
    }

    #stardiv1index {
        width: 100%;
        margin-bottom: 20px;
        background-image: url(images/42nitelogo/back2.png);
        background-repeat: no-repeat;
    }

    #starimgdiv {
        width: 100%;
        height: 320px;
        position: relative;
        top: 10px;
        left: -20px;
    }

    #whats42niteindex{
        margin-top: 50px;
        margin-left: 10px;
    }

    #whats42nitedivindex{
        width: 100%;
        height: auto;
        background-color: white;
        gap: 40px;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    #stardivindex {
        width: 100%;
        height: auto;
        background-color: white;
        gap: 40px;
        margin-bottom: 80px;
        flex-direction: column-reverse;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    #whats42niteimgdivindex {
        width: 100%;
        height: 320px;
        position: relative;
        top: 10px;
        left: -20px;
    }

    #whats42nitediv1index{
        width: 100%;
        margin-bottom: 20px;
        background-image: url(images/42nitelogo/back2.png);
        background-repeat: no-repeat;
    }

   
    #txt {
        position: relative;
        top: 0px;
        margin-bottom: 0px;
    }

    #scroll {
        position: relative;
        top: 0px;
        margin-top: 0px;
    }

    #hero-footer {
        margin-top: -140px;
    }
    #still{
        margin-bottom: -30px !important;
    }
    #hero{
        height: 1300px !important;
    }
}

@media only screen and (max-width:630px) {
    /* #hero {
        height: 1000px !important;
    } */

    html,
    body {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }
}

@media only screen and (max-width:500px) {
    #drop {
        margin-top: 20px;
    }
    #portheader{
        font-size:44px !important;
        font-weight: 500 !important;
    }
    /* #hero {
        height: 1150px !important;
    } */

    html,
    body {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    #readtxt {
        display: flex;
        justify-content: center;
        position: relative;
        left: -175px;
    }

    #readmore {
        display: flex;
        justify-content: center;
        position: relative;
        left:-10px;
    }
    #readmorekom{
        display: flex;
        justify-content: center;
        position: relative;
        left:-10px;
    }
    #readmorest{
        display: flex;
        justify-content: center;
        position: relative;
        left:-10px;
    }
    #partner {
        margin-top: -35px;
    }

    #hero-footer {
        display: none;
    }

    #starsgyanindex {
        margin-left: 9% !important;
        margin-top: 60px;
        margin-bottom: -85px;
    }

    #stardiv1index {
        width: 100%;
        margin-left: 8px !important;
        margin-bottom: 20px;
        background-image: url(images/42nitelogo/back2.png);
        background-repeat: no-repeat;
    }

    #starimgdiv {
        width: 100%;
        height: 320px;
        position: relative;
        top: 10px;
        margin-top: -40px !important;
        left: -20px;
    }

    #whats42niteibdex{
        margin-top: 50px;
        margin-left: 10px;
    }

    #whats42nitedivindex{
        width: 100%;
        height: auto;
        background-color: white;
        gap: 40px;
        flex-direction: column-reverse;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    #stardivindex {
        width: 100%;
        height: auto;
        background-color: white;
        gap: 40px;
        margin-bottom: 80px;
        flex-direction: column-reverse;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    #whats42niteimgdivindex {
        width: 400px;
        height: 320px;
        position: relative;
        top: -10px !important;
        left: -20px;
    }

    #whats42nitediv1index{
        width: 100%;
        margin-bottom: 20px;
        margin-left: -25px !important;
        background-image: url(images/42nitelogo/back2.png);
        background-repeat: no-repeat;
    }

}
@media only screen and (max-width:450px) {
    #hero-caption{
        margin-top: 50px !important;
    }
    html,
    body {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    #starsgyanindex {
        margin-left: 7%;
        margin-top: 60px;
        margin-bottom: -85px;
    }

    #stardivindex {
        width: 90%;
        height: auto;
        background-color: white;
        gap: 40px;
        margin-bottom: 80px;
        flex-direction: column-reverse;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    #stardiv1index {
        width: 100% !important;
        margin-bottom: 20px;
        background-image: url(images/42nitelogo/back2.png);
        background-repeat: no-repeat;
    }

    #starimgdiv {
        width: 100%;
        height: 200px;
        position: relative;
        top: 10px;
        left: 0px;
    }

    #whats42niteindex{
        margin-top: 50px;
        margin-left: 0px !important;
    }

    #whats42nitedivindex{
        width: 93% !important;
        height: auto;
        margin-left: -5px !important;
        background-color: white;
        gap: 40px;
        flex-direction: column-reverse;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    #whats42niteimgdivindex {
        width: 95% !important;
        height: 250px;
        position: relative;
        top: -15px !important;
        left: 0px !important;
    }

    #whats42nitediv1index{
        width: 100% !important;
        margin-left:26px !important;
        margin-bottom: 20px;
        background-image: url(images/42nitelogo/back2.png);
        background-repeat: no-repeat;
    }

    #readtxt {
        display: flex;
        justify-content: center;
        position: relative;
        left: -155px;
    }

    #readmore {
        display: flex;
        justify-content: center;
        position: relative;
        left:-5px;
    }
    #readmorekom{
        display: flex;
        justify-content: center;
        position: relative;
        left:-15px;
    }
    #readmorest{
        display: flex;
        justify-content: center;
        position: relative;
        left:2px;
    }
    #wlcmstarsgyan {
        color: #971F5F;
        font-family: 'SFProDisplay-Light';
        font-size: 30px !important;
       margin-left: 5% !important;
    }
    
    #wlcmkom {
        color: #FC1906;
        font-family: 'SFProDisplay-Light';
        font-size: 31px !important;
    }
}
@media only screen and (max-width:420px) {

    html,
    body {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    #starsgyanindex {
        margin-left: 7%;
        margin-top: 60px;
        margin-bottom: -85px;
    }
    #portheader{
        font-size:40px !important;
        font-weight: 500 !important;
    }
    #stardivindex {
        width: 90%;
        height: auto;
        background-color: white;
        gap: 40px;
        margin-bottom: 80px;
        flex-direction: column-reverse;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    #stardiv1index {
        width: 100% !important;
        margin-bottom: 20px;
        background-image: url(images/42nitelogo/back2.png);
        background-repeat: no-repeat;
    }

    #starimgdiv {
        width: 100%;
        height: 200px;
        position: relative;
        top: 10px;
        left: 0px;
    }

    #whats42niteindex{
        margin-top: 50px;
        margin-left: 0px !important;
    }

    #whats42nitedivindex{
        width: 93% !important;
        height: auto;
        margin-left: -5px !important;
        background-color: white;
        gap: 40px;
        flex-direction: column-reverse;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    #whats42niteimgdivindex {
        width: 95% !important;
        height: 250px;
        position: relative;
        top: 10px;
        left: 0px !important;
    }

    #whats42nitediv1index{
        width: 100% !important;
        margin-left: 25px !important;
        margin-bottom: 20px;
        background-image: url(images/42nitelogo/back2.png);
        background-repeat: no-repeat;
    }

    #readtxt {
        display: flex;
        justify-content: center;
        position: relative;
        left: -155px;
    }

    #readmore {
        display: flex;
        justify-content: center;
        position: relative;
        left: 5px;
    }
    #readmorekom{
        display: flex;
        justify-content: center;
        position: relative;
        left:-7px;
    }
    #readmorest{
        display: flex;
        justify-content: center;
        position: relative;
        left: 10px;
    }
    #wlcmstarsgyan {
        color: #971F5F;
        font-family: 'SFProDisplay-Light';
        font-size: 30px !important;
       margin-left: 5% !important;
    }
    
    #wlcmkom {
        color: #FC1906;
        font-family: 'SFProDisplay-Light';
        font-size: 31px !important;
    }
}
@media only screen and (max-width:390px){
    #readmore {
        display: flex;
        justify-content: center;
        position: relative;
        left: 18px;
    }
    #readmorekom{
        display: flex;
        justify-content: center;
        position: relative;
        left:7px;
    }
    #readmorest{
        display: flex;
        justify-content: center;
        position: relative;
        left: 15px;
    }
}
@media only screen and (max-width:360px) {
    #readmore {
        display: flex;
        justify-content: center;
        position: relative;
        left:38px;
    }
    #readmorekom{
        display: flex;
        justify-content: center;
        position: relative;
        left:27px;
    }
    #readmorest{
        display: flex;
        justify-content: center;
        position: relative;
        left: 36.1px;
    }
    html,
    body {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }
    #wlcmstarsgyan {
        color: #971F5F;
        font-family: 'SFProDisplay-Light';
        font-size: 27px !important;
    }
    
    #wlcmkom {
        color: #FC1906;
        font-family: 'SFProDisplay-Light';
        font-size: 29px !important;
    }
    /* #hero {
        height: 1200px !important;
    } */
}

@media only screen and (max-width:340px) {

    html,
    body {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    /* #hero {
        height: 1300px !important;
    } */
}

@media only screen and (max-width:300px) {

    html,
    body {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    /* #hero {
        height: 1400px !important;
    } */
}