html,
body {
    width: 102%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    /* background-color: #ffefe1; */
    background-color: white;
    scroll-behavior: smooth;
    font-family: 'Cardo', serif;
    /* cursor: url("./and.jpg"); */
    cursor: grab;
}

html {
    scroll-behavior: smooth;
}

#dynamic-text-wrapper {
    border: #479cd1 outset 2px;
    background-color: white;
    border-radius: 2%;
    margin-top: 30%;
    height: 17vh;
}

.left-border {
    border-left: solid 5px #fa67c0;
    padding-left: 1%;
}

.brand-name {
    color: black;
    font-weight: 900;
    text-align: center;
    margin-top: 25%;
}

#nav-bar {
    top: 0;
    position: sticky;
    position: -webkit-sticky;
    background-color: white;
    z-index: 1;
}

button {
    border: none;
    border-radius: 5px;
    text-align: center;
    /* font-family: 'Roboto Slab', serif; */
    font-family: 'Noto Sans TC', sans-serif;
    cursor: pointer;
    background-color: transparent;
    background-repeat: no-repeat;
    overflow: hidden;
    outline: none;
    transition: border-bottom 0.2s ease-in;
    transition: border-right 0.2s ease-in;
    color: black;
}

button:hover {
    border-right: black solid 1px;
    border-bottom: #479cd1 solid 1px;
}

.main-text:hover {
    /* background-color: #faea00; */
    background-size: 80% 100%;
}

.movie-cards {
    background-color: white;
    margin: 2%;
    border-radius: 5px
}

.underline-main {
    background-image: linear-gradient(120deg, #faea00 0%, #fa67c0 100%);
    background-repeat: no-repeat;
    background-size: 0% 0.1em;
    background-position: 0 95%;
    transition: background-size 0.5s ease-in;
}

.underline--magical {
    background-image: linear-gradient(120deg, #faea00 0%, #fa67c0 100%);
    background-repeat: no-repeat;
    background-size: 0% 0.1em;
    background-position: 0 95%;
    transition: background-size 0.5s ease-in;
}

.underline--magical:hover {
    background-size: 83% 90%;
}

.underline-grow {
    background-image: linear-gradient(120deg, #faea00 0%, #fa67c0 100%);
    background-repeat: no-repeat;
    background-size: 0% 0.1em;
    background-position: 0 100%;
    transition: background-size 0.5s ease-in;
}

.underline-grow:hover {
    background-size: 96% 90%;
}

.rotating {
    width: 150px;
    height: 150px;
    background-color: rgb(75, 75, 75);
    border-radius: 15px;
}

.rotating-circle {
    width: 250px;
    height: 250px;
    background-color: rgb(75, 75, 75);
    border-radius: 150px;
}

@-webkit-keyframes rotating
/* Safari and Chrome */

{
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.rotating {
    -webkit-animation: rotating 45s linear infinite;
    -moz-animation: rotating 45s linear infinite;
    -ms-animation: rotating 45s linear infinite;
    -o-animation: rotating 45s linear infinite;
    animation: rotating 45s linear infinite;
}


/* @-webkit-keyframes rotating-circle /* Safari and Chrome */


/* from {
      -webkit-transform: top ;
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    to {
      -webkit-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  } */


/* @keyframes rotating-circle {
    from {
      -ms-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -webkit-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    to {
      -ms-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -webkit-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  .rotating-circle {
    -webkit-animation: rotating-circle 45s linear infinite;
    -moz-animation: rotating-circle 45s linear infinite;
    -ms-animation: rotating-circle 45s linear infinite;
    -o-animation: rotating-circle 45s linear infinite;
    animation: rotating-circle 45s linear infinite;
  } */


/* .flip-card {
    background-color: transparent;
    width: 300px;
    height: 215px;
    perspective: 1000px;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .flip-card-front {
    background-color: white;
    color: black;
  }
  
  .flip-card-back {
    background-color: #faea00;
    color: white;
    transform: rotateY(180deg);
  } */

.flip-card-front {
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.6s;
}

.flip-card-front:hover {
    -webkit-filter: grayscale(0%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
}

.image-container {
    position: relative;
    width: 70%;
}

.image {
    display: block;
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(244, 244, 244, 0.5);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}

.image-container:hover .overlay {
    height: 100%;
}

.text {
    color: black;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

h1 {
    font-family: 'Anton', sans-serif;
}

#about-block-1:hover {
    background-color: #faea00;
}

#values-yellow:hover {
    background-color: #faea00;
    border-radius: 5px;
}

#values-pink:hover {
    background-color: #fa67c0;
    border-radius: 5px;
}

#about-block-2:hover {
    background-color: #fa67c0;
}

#about-block-3:hover {
    background-color: #faea00;
}

#about-block-4:hover {
    background-color: #fa67c0;
}

#main-landing-screen {
    height: 70vh;
    background-color: white;
}

#main-text {
    text-align: center;
    margin-top: 20%;
}

#main-heading {
    font-weight: 900;
    font-size: 400%;
}

#txt {
    font-weight: 800;
    margin-top: 1%;
}

#txt-1 {
    font-weight: 800;
    margin-top: 1%;
}

#main-heading-text-body {
    text-align: left;
    width: 90%;
}

#OurServices {
    height: 40vh;
    width: 105%;
}

#creators {
    font-weight: 900;
    font-size: 800%;
    margin-right: 15%;
}

#creators-sub {
    font-weight: 900;
    margin-top: 1%;
    font-size: 300%;
    margin-right: 15%;
}

#creators-count {
    text-align: left;
    margin-top: -3%;
}

.brand-stats {
    font-weight: 900;
    margin-top: 1%;
}

#brand-stats-head {
    margin-left: 10%;
}

#about1 {
    height: 80vh;
    width: 105%;
}

#clients {
    height: 15vh;
    width: 105%;
}

#creators-row {
    margin-top: 15%;
}

#vir-img {
    width: 70%;
}

#komal-img {
    width: 63%;
}

#ankush-img {
    width: 75%;
}

#kusha-img {
    width: 70%;
}

#dolly-img {
    width: 62%;
}

#sahil-img {
    width: 75%;
}

#nav-bar-small-screen {
    /* visibility: collapse; */
    display: none;
}

#form-btn {
    background: #faea00;
    height: 70%;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: 900;
    border: solid #fa67c0 2px;
    position: relative;
    animation: animate-btn 1s ease infinite;
}

@keyframes animate-btn {
    0%,
    100% {
        transform: translateX(-2px);
    }
    50% {
        transform: translateX(2px);
    }
}

.scene {
    background-color: black;
    overflow: hidden;
    width: 100%;
    height: 20vh;
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 2%;
}

#rocket-img {
    transform: rotate(90deg);
}

.scene .rocket {
    position: relative;
    animation: animate 0.2s ease infinite;
}

@keyframes animate {
    0%,
    100% {
        transform: translateY(-2px);
    }
    50% {
        transform: translateY(2px);
    }
}

.scene .rocket::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -110%;
    transform: translateX(-50%);
    transform: rotate(90deg);
    width: 10px;
    height: 200px;
    background: linear-gradient(#fa67c0, transparent);
}


/* rocket tail glow effect */

.scene .rocket::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -110%;
    transform: translateX(-50%);
    transform: rotate(90deg);
    width: 10px;
    height: 200px;
    background: linear-gradient(#fa67c0, transparent);
    filter: blur(20px);
}

.scene i {
    position: absolute;
    top: 100px;
    background: rgba(250, 234, 0, 0.5);
    animation: animateStars linear infinite;
}

@keyframes animateStars {
    0% {
        transform: translateY(-100vh);
    }
    100% {
        transform: translateY(100vh);
    }
}


@media screen and (max-width: 480px) {

    #dynamic-text-col{
        display: none;
    }

    #dynamic-text {
        padding: 4%;
        font-weight: 100;
        color:black; 
        margin-top: 1%;
    }

    #about1 {
        height: 40vh;
        width: 100%;
        margin-bottom: 20%;
    }
    #main-text {
        margin-top: -20%;
        margin-right: 5%;
    }
    #clients {
        height: 15vh;
        width: 100%;
    }
    .rotating {
        display: none;
    }
    #main-heading {
        font-weight: 700;
        font-size: 300%;
    }
    #main-landing-screen {
        height: 30vh;
        background-color: white;
    }
    #txt {
        font-weight: 400;
        margin-top: 5%;
    }
    #dynamic-text-wrapper {
        border: #479cd1 outset 2px;
        background-color: white;
        border-radius: 2%;
        margin-top: 30%;
        height: 8vh;
    }
    #dynamic-text {
        padding: 4%;
    }
    #txt-1 {
        font-weight: 400;
        margin-top: -10%;
    }
    #main-heading-text-body-h4 {
        font-size: 100%;
    }
    .flip-card-front {
        -webkit-filter: grayscale(100%);
        /* Safari 6.0 - 9.0 */
        filter: grayscale(100%);
        background-color: rgba(255, 255, 255, 0.1);
        transition: 0.6s;
        text-align: center;
    }
    .rotating-circle {
        display: none;
    }
    #nav-bar {
        display: none;
    }
    #nav-bar-small-screen {
        display: block;
        top: 0;
        position: sticky;
        position: -webkit-sticky;
        background-color: white;
        z-index: 1;
        display: flex;
        width: 105%;
        height: 12vh;
    }
    #logo-small-screen {
        height: 70%;
        width: 35%;
        margin-top: 2%;
    }
}