html {
    height: 100%;
}

body {
    background: #030d24;
    padding: 0;
    text-align: center;
    font-family: Cera Pro Regular;
    position: relative;
    margin: 0;
    height: 100%;
    -webkit-font-smoothing: antialiased;
}

/**.wrapper {
      height: 100% !important;
      height: 100%;
      margin: 0 auto; 
      overflow: hidden;
  }**/

a {
    text-decoration: none;
    color: #FFF;
}

/**
#preloader {
    background: #030d19 url(preloader.gif) no-repeat center center;
    background-size: 90px;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 1000;
}
**/
/*! File name: loader.css
 * ------------------------------------------------
 *
 * ------------------------------------------------
 * Table of Contents
 * ------------------------------------------------
 *  1. Loader Styles
 * ------------------------------------------------
 * Table of Contents End
 * ------------------------------------------------ */
/* ------------------------------------------------*/
/* Loader Styles Start */
/* ------------------------------------------------*/
.loader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader__content {
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.loader__logo {
    width: 250px;
}

.loader__logo img {
    display: block;
    width: 100%;
    height: auto;
}

@-webkit-keyframes scaleOut {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
        opacity: 1;
    }

    to {
        -webkit-transform: scale3d(1.14, 1.14, 1.14);
        transform: scale3d(1.14, 1.14, 1.14);
        opacity: 0;
    }
}

@-moz-keyframes scaleOut {
    from {
        -moz-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
        opacity: 1;
    }

    to {
        -moz-transform: scale3d(1.14, 1.14, 1.14);
        transform: scale3d(1.14, 1.14, 1.14);
        opacity: 0;
    }
}

@keyframes scaleOut {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        -moz-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
        opacity: 1;
    }

    to {
        -webkit-transform: scale3d(1.14, 1.14, 1.14);
        -moz-transform: scale3d(1.14, 1.14, 1.14);
        transform: scale3d(1.14, 1.14, 1.14);
        opacity: 0;
    }
}

.scaleOut {
    -webkit-animation: scaleOut 0.3s 1;
    -moz-animation: scaleOut 0.3s 1;
    animation: scaleOut 0.3s 1;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    animation-fill-mode: both;
}

/* ------------------------------------------------*/
/* Loader Styles End */
/* ------------------------------------------------*/

.blur {
    position: absolute;
    z-index: 1;
    -moz-border-radius: 900px;
    border-radius: 900px;
    -webkit-filter: blur(clamp(40px, 7vw, 90px));
    filter: blur(clamp(40px, 7vw, 90px));
}

.blur:nth-of-type(1) {
    background: #f71d2427;
    height: clamp(250px, 46vw, 46vw);
    width: -moz-calc(clamp(300px, 46vw, 46vw) * 0.75);
    width: calc(clamp(250px, 46vw, 46vw) * 0.85);
    top: 10vh;
    right: 10vw;
}

.blur:nth-of-type(2) {
    background: #af133a3f;
    height: clamp(250px, 46vw, 46vw);
    width: -moz-calc(clamp(300px, 46vw, 46vw) * 0.75);
    width: calc(clamp(250px, 46vw, 46vw) * 0.85);
    top: 30vh;
    right: 30vw;
}


.blur:nth-of-type(3) {
    background: #f71d4c31;
    height: clamp(100px, 20vw, 20vw);
    width: -moz-calc(clamp(100px, 20vw, 20vw) * 2);
    width: calc(clamp(100px, 20vw, 20vw) * 2);
    top: -10vh;
    left: -10vw;
}

.fullscreen-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #030d19;
}


.pointer {
    color: #ffffff;
    font-family: 'Pacifico', cursive;
    font-size: 30px;
    margin-top: 15px;
}



.main section .page_container {
    display: inline-block;
    position: relative;
    top: 16%;
    margin: 0 auto 0;
    z-index: 3;
    align-items: center;
}

.main section {
    overflow: hidden;
}

.main section>img {
    position: absolute;
    max-width: 100%;
    z-index: 1;
}

/**PAGE 1 BACKGROUND**/
.main section.page1 {
    background-image: url(images/bg-red.jpg);
    width: 100%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/** for blue bg ---> background-image: url(images/bg.jpg); **/

.main section.page2 {
    background-image: url(images/bg-red2.jpg);
    width: 100%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}


.main section.page3 {
    background-image: url(images/bg-3.jpg);
    width: 100%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/** for blue bg --->  background-image: url(images/bg-2.png); **/

.main section.page4 {
    background-image: url(images/bg-red2.jpg);
    width: 100%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/** for blue bg ---> background-image: url(images/bg.jpg); **/



.works-container1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    margin-bottom: 2.8em;
}

.portfolio-logo {
    width: 70%;
}

/*statefarm*/
.portfolio-logo1 {
    height: 85px;
}

.portfolio-logo1:hover {
    opacity: 0.8;
}

/*.w1 {}*/

.w2 {
    margin: -20px;
    padding-right: 10px;
}

.bla-1 {
    margin-right: 10px;
}

.works-container2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
    margin-bottom: 3em;

}

.works-container3 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.vl-22 {
    height: 4rem;
    display: flex;
    flex-wrap: wrap;
    border: solid 1px red;
    padding: 5rem 5rem;
}


.portfolio-logo {
    height: auto;
    max-width: 100%;
    cursor: pointer;
}

.portfolio-logo:hover {
    opacity: 0.8;
}

.vl-2 {
    display: inline-block;
    margin-right: 0;
    border-left: 1px solid #f71d25;
    height: 5em;
}

.swiper-container {
    display: none;
}

@media (max-width:1000px) {
    .vl-2 {
        display: none;
    }

    .portfolio-logo {
        margin-bottom: 20px;
    }

    .works-container1 {
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .portfolio-logo1 {
        margin-top: -10px;
        width: 45%;
    }
}

@media (max-width:815px) {

    .works-container3 {
        flex-wrap: wrap;
        margin-bottom: -25px;
    }
}


/*@media (max-width:550px) {

    .w1 {
        margin-bottom: 10px;
    }


    .portfolio-logo {
        margin-top: -15px;
        width: 70%;
    }
}

@media (max-width:480px) {

    .portfolio-logo {
        width: 62%;
    }



    .w3 {
        margin-bottom: -25px;
    }
}
*/

.page-title-container {
    display: grid;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    justify-content: center;
    margin-top: -3em;
    /**new for bigger screens*/
    margin-bottom: 2.5em;

}


.page-title {
    color: #fff;
    font-size: 55px;
    font-family: Cera Pro Bold;
    margin-bottom: -18px;
    letter-spacing: 13px;
}

.title-lines {
    border-bottom: 2px solid #f71d25;
    width: 410px;
}



.left-side-scroll {
    color: #FFF;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 13px;
    letter-spacing: 3px;
    position: fixed;
    left: 15px;
    bottom: 55px;
    z-index: 500;
    opacity: 0.6;
}

.right-side-scroll {
    color: #FFF;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 13px;
    letter-spacing: 3px;
    position: fixed;
    right: 15px;
    bottom: 55px;
    opacity: 0.6;
    z-index: 500;
}

@media(max-width:580px) {

    .left-side-scroll,
    .right-side-scroll {
        visibility: hidden;
    }
}

::selection {
    background: #f71d25;

}

.aboutme {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    width: 70vw;
    height: 70vh;
    position: relative;
    justify-content: center;
}

.about-me-photo>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}



.about-me-photo-p {
    display: none;
}

@media (max-width:1024px) {
    .about-me-photo {
        display: none;
    }

    .about-me-photo-p {
        display: block;
    }

    .about-me-photo-p>img {
        width: 97%;
        height: 97%;
        object-fit: contain;
        object-position: center;
    }
}

@media (max-width:650px) {
    .aboutme {
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        width: 90vw;
        height: 70vh;
        position: relative;
        justify-content: center;
    }

    .about-me-photo-p>img {
        width: 97%;
        height: 97%;
        object-fit: contain;
        object-position: center;
    }
}

@media (max-height:810px) {

    .about-me-photo-p>img {
        width: 93%;
        height: 93%;
        object-fit: contain;
        object-position: center;
    }
}

@media (max-height:750px) {

    .about-me-photo-p>img {
        margin-top: 15px;
        width: 88%;
        height: 88%;
        object-fit: contain;
        object-position: center;
    }
}


.terms {
    display: flex;
    flex-direction: column;
    margin-top: -50px;
    justify-content: center;
}

.terms-p {
    display: flex;
    margin: auto;
}

.terms-p img {
    width: 230px;
    object-fit: contain;
    object-position: center;
}

.t img {
    width: 900px;
    object-fit: contain;
    object-position: center;
}

.c2 {
    display: none;
}

/*for-terms*/

@media (max-width:1920px) {
    .page3 .page-title-container {
        margin-top: -70px;
        margin-bottom: 50px;
    }

    .t img {
        width: 900px;
    }
}

@media (max-height:1080px) {

    .t img {
        width: 850px;
    }
}

@media (max-height:950px) {


    .t img {
        width: 770px;
    }
}

@media (max-height:900px) {
    .t img {
        margin-top: 15px;
        height: 390px;
    }
}

@media (max-height:870px) {
    .t img {
        margin-top: 15px;
        height: 360px;
    }
}

@media (max-height:778px) {
    .t img {
        margin-top: 15px;
        height: 300px;
    }
}

@media (max-width: 1700px) {
    .t img {
        width: 750px;
    }
}

@media (max-width: 1400px) {
    .page3 .page-title {
        font-size: 35px;
        margin-bottom: -5px;
    }

    .page3 .page-title-container {
        margin-bottom: 70px;
    }

    .t img {
        width: 700px;
    }

    .page3 .page-title-container {
        position: relative;
        margin-top: -10%;
    }
}

@media (max-height: 1024px) {

    .terms-p img {
        height: 210px;
    }


}

@media (max-width:780px) {
    .t {
        display: none;
    }

    .c2 {
        display: block;
    }

    .terms-p {
        flex-direction: column;
    }
}


@media (max-height:915px) {
    .page3 .page-title {
        margin-top: 10px;
        margin-bottom: -30px;
        padding: 10px;
    }

    .terms-p img {
        height: 200px;
    }

}

@media (max-height:851px) {
    .page3 .page-title {
        margin-top: 10px;
        margin-bottom: -30px;
        padding: 10px;
    }

    .terms-p img {
        height: 180px;
    }

}

@media (max-height:814px) {
    .terms-p img {

        height: 160px;
    }
}


@media (max-height:744px) {


    .page3 .page-title {
        margin-top: 10px;
        margin-bottom: -30px;
        padding: 10px;
    }

    .page3 .title-lines {
        width: 240px;
    }

    .terms-p img {

        width: 120px;
        margin-bottom: -px;
    }
}



@media (max-height:711px) {


    .page3 .page-title {
        margin-top: 10px;
        margin-bottom: -30px;
        padding: 10px;
    }

    .terms-p img {

        height: 135px;
    }
}

@media (max-height:650px) {


    .page3 .page-title {
        margin-top: 15px;
        margin-bottom: -35px;
        padding: 10px;
    }

    .page3 .title-lines {
        width: 240px;
    }

    .terms-p img {

        width: 110px;
        margin-bottom: -15px;
    }
}

/*@media (max-height:763px) {
    .terms-p img {
        height: ;
    }
}*/



@media (max-width: 1366px) {
    .page-title {
        font-size: 45px;

    }

    .title-lines {
        width: 350px;
    }

    .portfolio-logo {
        max-width: 60%;
    }

    .works-container1 {
        margin-top: 25px;
        gap: 0;
    }

    .bla-1 {
        margin: -2px;
    }


    .page3 .page-title-container {
        position: relative;
        margin-top: -10%;
    }

}



@media (max-width:1180px) {
    .page-title-container {
        margin-top: 1em;

    }

    .page-title {
        font-size: 45px;
        margin-bottom: -13px;
    }

    .title-lines {
        width: 349px;
    }

    .vl-2 {
        height: 4em;
    }
}

/*@media (min-width:1024px) {
    .page-title-container {}

}*/

@media (max-width:930px) {
    .page3 .page-title-container {
        margin-top: 0;
        margin-bottom: 50px;
    }
}


@media (max-height:836px) {
    .page-title-container {
        margin-bottom: -10px;
    }
}

@media (max-height:790px) {
    .page-title-container {
        margin-bottom: -10px;
    }


}

@media (max-height:740px) {

    .page-title-container {
        margin-top: 1em;
        margin-bottom: -0.2em;
    }

    .page2 .page-title-container {
        visibility: none;
    }
}



@media(max-width:540px) {
    .page-title-container {
        margin-top: 35px;
    }
}

.portfolio-title {
    display: none;
}

@media (max-width:500px) and (max-height:820px) {

    .page1 .page-title-container {
        display: none;
    }

    .portfolio-title {
        display: flex;
        justify-content: center;
        padding-bottom: 50px;
    }

    .portfolio-title img {
        width: 90%;
    }

    .swiper-container {
        display: flex;
        flex-direction: column;
        position: absolute;

        width: 80%;
        padding-top: 0px;
        padding-bottom: 0px;
    }


    .detail {
        padding: 10px 5px;
        text-align: center;
        margin-top: -15px;
    }
}