
/* VERY IMPORTANT : TO KNOW WHICH ELEMENT IS CAUSING OVERFLOW 

          *{ outline: 1px solid #f00 !important;
        }*/


html{
    scroll-behavior: smooth;
} 


 /* GENERAL RESET */

body{
    margin: 0px;
    padding: 0px;
}


/* GENERAL STUFF */


h2 {
    font-size: 250%;
    font-family: 'Fira Sans Condensed', sans-serif;
    text-align: center;
    color: rgb(238, 158, 158);
    font-weight: 700;
}

p {
    color:#595a5a;
    font-family: 'Shippori Antique B1', sans-serif;
    font-weight: 100;
    font-size: 17px;
    text-align: justify;
    max-width: 75ch;
}

.hr1 {
    border: dotted rgb(134, 145, 139) 10px;
    border-bottom: none;
    width: 100px;
    margin: auto;
    background-color: rgb(255, 255, 255);
}





/* PRELOADER START  */

.wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background-color: black;
}


.lds-ellipsis {
    display: block;
    position: relative;
    width: 100px;
    height: 100px;
    margin-top: 330px;
    margin-left: auto;
    margin-right: auto;
}

.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

/*  PRELOADER END  */







/* FOR SCCROLL ANIMATION */
.reveal {
    position: relative;
    transform: translateY(100px);
    opacity: 0;
    transition: 1s ease-in;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}








/* FOR NAVBAR ONLY */
nav {
    background: transparent;
    margin: 0;
    height: 45px;
    text-align : center;
}

ul {
    margin: 0;
    list-style: none;
    padding: 0;
    /* To remove whitespace */
    font-size: 0px;
}

li {
    display: inline-block;
    padding: 5px;
}

a {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: large;
    text-decoration: none;
    margin: 0 10px;
    color: rgb(145, 148, 151);
}

a:hover {
    color: white;
}

.link {
    display: inline-block;
    text-align: center;
    margin-left: 450px;
    margin-top: 5px;
}

.brand a {
    margin-left: 10px;
    margin-top: 4px;
    float: left;
    font-family: 'Montserrat', sans-serif;
    color: rgb(145, 148, 151);
    font-size: 30px;
}

.scrolled .brand a{
    color:rgb(145, 148, 151) ;
}

.scrolled .brand a:hover{
    color:rgb(145, 148, 151) ;
}

.button {
    float: right;
    margin-top: 9px;
    height: 30px;
    width: 30px;
    margin-right: 10px;
}

#times {
    display: none;
}


.navbar.scrolled {
    background: whitesmoke;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .04), 0 10px 20px rgba(0, 0, 0, .06);
    transition: 750ms ease;
    z-index: 5;
}

.scrolled a {
    color: black;
}

.scrolled a:hover {
    color: rgb(131, 131, 131);
}

.navbar {
    position: fixed;
    transition: 750ms ease;
    width: 100%;
}



@media(min-width:768px) {

    li {
        margin-left: 10px;
        margin-right: 10px;
    }

    .button {
        visibility: hidden;
    }

    .link1 {
        display: inline-block;
        margin-top: 6px;
        
    }

    .link1 hr {
        display: none;
    }

    .navbar {
        padding-top: 10px;
    }

    .navbar.scrolled {
        padding-top: 0;
    }

}

@media(max-width:480px) {
    li {
        display: block;
        padding-top: 5px;
        padding-bottom: 7px;
        margin-bottom: 5px;
    }

    .link1 {
        display: none;
    }

    .link {
        margin-right: 0px;
        margin-left: 66%;
        margin-top: 15px;
        background-color: rgb(207, 206, 206);
        position: relative;
        z-index: 4;
        box-shadow: 0 3px 17px 5px rgba(64, 65, 68, 0.2);
        border-radius: 10px;
        padding: 5px;
    }


    /* for backdrop filter */
    @supports(backdrop-filter: blur(5px)) {
        .link {
            background: rgba(167, 175, 171, 0.5);
            backdrop-filter: blur(5px);
        }
    }

    hr {
        border: 0;
        height: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        width: 40px;
    }

    #new {
        color: rgb(22, 22, 22);
    }


    /* for nav-bar toggle button */
    .menu-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 25px;
        height: 25px;
        float: right;
        margin: 8px 10px 8px 8px;
        transition: all .5s ease-in-out;
    }

    .menu-btn__burger {
        width: 22px;
        height: 3px;
        background: rgb(145, 148, 151);
        border-radius: 5px;

        transition: all .5s ease-in-out;
    }

    .menu-btn__burger::before,
    .menu-btn__burger::after {
        content: '';
        position: absolute;
        width: 22px;
        height: 3px;
        background: rgb(145, 148, 151);
        border-radius: 5px;

        transition: all .5s ease-in-out;
    }

    .menu-btn__burger::before {
        transform: translateY(-6px);
    }

    .menu-btn__burger::after {
        transform: translateY(6px);
    }

    .menu-btn.open .menu-btn__burger {
        transform: translateX(-50px);
        background: transparent;
        box-shadow: none;
    }

    .menu-btn.open .menu-btn__burger::before {
        transform: rotate(45deg) translate(35px, -35px);
    }

    .menu-btn.open .menu-btn__burger::after {
        transform: rotate(-45deg) translate(35px, 35px);
    }



}

/*  NAVBAR ONLY ENDS  */







/* ICONS START */
.fa {
    display: inline-block;
    padding: 10px;
    font-size: 30px;
    width: 30px;
    text-align: center;
    text-decoration: none;

    margin: auto;
}

.fa-google:hover {
    color: #d3cfce;
}

.fa-linkedin:hover {
    color: #d3cfce;
}

.fa-google {
    margin-right: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    color: white;
}

.fa-linkedin {
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 30px;
    color: white;
}

/* ICONS END */










/* FOR DIV 1(EXCLUDING NAVBAR) */

.div1{
    background-image: url('https://www.nasa.gov/sites/default/files/thumbnails/image/iss066e023536.jpg'); 
    background-size: cover;
}

.new1 {
    font-family: 'Fira Sans Condensed', sans-serif;
    color: white;
    text-align: center;
    padding-top: 220px;
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 450%;
    font-weight: 900;
}

.span1{
    font-family:'Montserrat', sans-serif;
    font-weight: bold;
    color:rgba(216, 106, 115, 0.87);
    font-size: 90px;
}











/* FOR DIV 2 */

.div2 {
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
}


.subDiv1 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    line-height: 2;
    padding-top: 50px;
    padding-bottom: 60px;
    padding-right: 50px;
    padding-left: 50px;
}

.subPlus{
    margin-bottom: 100px;
}

.hed{
    margin-top: 0px;
    margin-bottom: 0px;
}

.image {
    background-color: rgba(228, 235, 238, 0.445);
    width: 200px;
    height: 170px;
    padding: 10px;
    border-radius: 20px;
    position: absolute;
    z-index: 1;
    margin-left: 150px;
    margin-right: 150px;
    box-shadow: -3px 6px 5px 0px rgb(154, 158, 157, 1);
    transition: all .3s ease-in-out;
}

.image:hover {
    box-shadow: -3px 18px 20px 0px rgba(99, 89, 99, 1);
}

.img1 {
    width: 160px;
    margin-right: 100px;
    float: left;
    margin-bottom: 20px;
    padding-left: 60px;
    z-index: 0;
    position: absolute;
    margin-left: 0px;
}











/* FOR DIV 3 */

.div3 {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-top: 100px;
    margin-bottom: 100px; 
    text-align: left;
}

.subDiv2 {
    background: rgba(228, 235, 238, 0.445);
    max-width: 400px;
    display: inline-block;
    box-shadow: -3px 6px 5px 0px rgba(176, 164, 176, 1);
    transition: all .3s ease-in-out;
    border-radius: 10px;
    box-sizing: border-box;
    margin: 20px 45px 20px 45px;
    padding: 10px 20px 10px 20px;
}

.subDiv2 h2{
    margin-top: 10px; 
    margin-bottom: 10px;
}

.subDiv2:hover {
    box-shadow: -3px 18px 20px 0px rgba(99, 89, 99, 1);
}












/* FOR DIV 4 */

.div4 {
    margin-top: 100px;
}

.div4 h2{
    font-size: 70px; 
    margin-bottom: 20px;
}

/* FORM STARTS */

.form {
    text-align: center;
    padding-top: 65px;
    padding-bottom: 35px;
    font-size: 17px;
    font-family: 'Shippori Antique B1', sans-serif;
}

.type1,
.type2 {

    border: 3px solid #FFF;
    border-radius: 8px;
    background-color: #eee;
    width: 30%;
    height: 22px;
    font-size: large;

}

input:focus,
textarea:focus {
    outline: none;
}

.sub {

    font-size: large;
    font-family: 'Fira Sans Condensed', sans-serif;
    background-color: #074279;
    border-radius: 5px;
    border: none;
    padding: 10px 20px;
    color: #FFF;
    margin-bottom: 150px;
    margin-top: 30px;
}

* .sub:hover {
    background-color: #51c7e7
}

textarea {
    border: 3px solid #FFF;
    border-radius: 8px;
    background-color: #eee;
    width: 30%;
    font-size: large;

}










/* FOR FOOTER */

.footer {
    background-color: rgb(148, 144, 144);
    text-align: center;
}








/* GENERAL MEDIA QUERIES */

@media screen and (min-width:768px) and (max-width:1024px){

    .text {

        margin-left: 100px !important;
        margin-right: 100px !important;
        padding-left: 50px;
        padding-right: 50px;

    }

    .new1 {
        padding-top: 250px;
    }
         
    .linkl1{
        margin-left : 30%;     
    }     

    .div1 {
        height: 740px;
    }



    .span1 {
        font-size: 110px;
    }



    .img1 {
        margin-left: -45px;
        margin-right: 150px;
        margin-top: 7px;

    }

    .hed {
        margin-left: 500px;
        margin-right: 400px;
        padding-bottom: 0px;
    }

    .div2 {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .para {
        margin-right: 200px;
        margin-left: 440px;
    }

    .fa-google {
        margin: 40px auto;
        padding: 10px 10px 10px 10px;
    }

    .fa-linkedin {
        margin: 40px auto 40px 200px;
        padding: 10px 10px 10px 10px;
    }
}


@media(min-width:1025px){
         .div1{
         height : 921px
         }

           .text {

        margin-left: 100px !important;
        margin-right: 100px !important;
        padding-left: 50px;
        padding-right: 50px;

    }

    .new1 {
        padding-top: 250px;
    }

    



    .span1 {
        font-size: 110px;
    }



    .img1 {
        margin-left: -45px;
        margin-right: 150px;
        margin-top: 7px;

    }

    .hed {
        margin-left: 500px;
        margin-right: 400px;
        padding-bottom: 0px;
    }

    .div2 {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .para {
        margin-right: 200px;
        margin-left: 440px;
    }

    .fa-google {
        margin: 40px auto;
        padding: 10px 10px 10px 10px;
    }

    .fa-linkedin {
        margin: 40px auto 40px 200px;
        padding: 10px 10px 10px 10px;
    }


}

@media(max-width:480px) {

    .image {
        margin-left: 7%;
        margin-top: 85px;
    }

    .div1 {
        height: 820px;
    }

    .img1 {
        margin-right: 0px;
        margin-left: 20px;
        margin-top: 10px;
        height: 150px;
        width: 150px;
        padding-left: 0px;
    }

    .subDiv1 {
        padding-bottom: 10px;
    }

    .para {
        margin-top: 228px;
        margin-left: auto;
        margin-right: auto;
    }

    .type1,
    .type2 {

        width: 65%;

    }

    textarea {
        width: 65%;
    }
}
