@font-face { 
    font-family: 'ocra_std';
    src: url('../fonts/ocra_std.otf');
}

body{
    margin : 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--main-color);
    font-family: 'ocra_std', Arial , sans-serif;
    color: var(--accent-color);
    text-align: center;
    font-size: 20px;
}
*{
    box-sizing: border-box;
}

.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: -60px;
    margin-top: -60px; 
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid gray;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.home {
    height: 100vh; 
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding-bottom: 5%;
}
.home .dog{
    position: absolute;
    top: 2%;
    left: 30%;
    width: 230px;
}
.fish_3{
    position: absolute;
    top: 32%;
    left: 40%;
}
.fish_4{
    position: absolute;
    top : 30%;
    left : 45%
}
.dragon_with_fire_container{
    position: relative;
    width: 150px;
    height: 105px;
}
.dragon_with_fire{
    position: absolute;
    top: 36%;
    left: 11.5%;

}
.fire{
    position: absolute;
    bottom: 0;
    right: 0;
}
.dragon{
    position: absolute;
    top: 0;
    left: 0;
}
.home .fishes{
    position: absolute;
    top: 29%;
    right: 21%;
    display: flex;
    gap: 30px;
}
.logo {
    position: absolute;
    top: 35px;
    left: 35px;
}
.card {
    background-color: var(--second-color);
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    border-radius: 30px;
    padding: 0 1% ;
}

.card a{
    text-decoration: none;
    color : var(--accent-color);
}

.our_story{
    padding:2% 20%;
}
h1{
    font-size: 4em;
    
    text-align: center;
}
.our_story_description{
    font-size: 16px;
}
.owl-wrapper-outer{
    border-radius: 45px;
    z-index: 1;
}
.our_story img{
    max-width: 100%;
    /* scale : 1.1 */
}

.our_dgenz{
    padding:1% 10%;
}

.our_dgenz_card {
    width: 47%;
    min-height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: rgba(36,46,65,255);
    border-radius: 30px;
    margin-bottom: 5%;
}


.our_dgenz_card img {
    width: 200px;
}

.our_dgenz_container {
    padding: 5% 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.dgenz_description {
    margin-top: auto;
    font-size: 83%;
}

.follow_us{
    padding : 0% 10% 5%;
}

.follow_us img{
    width: 120px;
}

.follow_us h1{
    padding : 5%;
}

.follow_us_container{
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

.follow_us_card{
    background-color: rgba(36,46,65,255);
    border-radius: 30px;
    width: 215px;
    height: 223px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.follow_us a{
    text-decoration: none;
    color : var(--accent-color);
    display: flex;
    align-items: center;
    flex-direction: column;
}

.disclamer, .footer{
    font-size: 16px;
    padding : 2% 10%;
}


.footer a{
    color: white;
}
/* --------------------------------media break points-------------------------------------- */
@media only screen and (max-width : 1600px) {
    .dragon_with_fire{
        left : 10%;
    }
    .dragon_with_fire{
        left:5%
    }
}
@media only screen and (max-width: 1400px) {
    .home .dog{
        left: 25%;
    }
    .home .fishes{
        right: 5%;
    }
    .dragon_with_fire{
        left : 5%
    }
    .our_dgenz_card{
        width: 100%;
        min-height: auto;
    }
    .follow_us_container{
        align-items: flex-start;
        justify-content: center;
    }
    .follow_us a{
        width: 25%;
    }
    .logo{
        top : 15px;
        left : 15px;
    }
    .logo img{
        max-width: 90px;
    }
}

@media only screen and (max-width : 1350px) {
    .dragon_with_fire{
        left : 1%
    }
}
@media only screen and (max-width : 1250px) {

}
@media only screen and (max-width : 1200px) {
    .dragon_with_fire_container{
        width: 75px;
        height: 50px;
    }
    .dragon{
        width: 100%;
    }
    .fire{
        bottom: 2%;
        right: 10%;
        width: 30%;    
    }
}


@media only screen and (max-width: 992px) {
    .home .dog{
        left: 10%;
    }
    .dragon_with_fire{
        display: none;
    }

    .card{
        height : 113px;
        width : 117px;
        font-size : 20px;
    }
    .our_story{
        padding : 2% 5%;
    }
    .our_dgenz{
        padding: 1% 5%;
    }
    .follow_us{
        padding : 0 5% 5%;
    }
    .disclamer, .footer{
        padding : 0 5%;
    }

    .follow_us_card{
        width: 110px;
        height: 110px;
        border-radius: 15px;
    }

    .follow_us img{
        width: 75px;
    }

    .follow_us p{
        font-size: 12px;
        text-align: left;
    }

}

@media only screen and (max-width: 768px) {
    body{
        font-size: 16px;
    }
    .home{
        height: 40vh;
    }
    .home .dog{
        left: 30%;
        width: 90px;
    }
    .dragon_with_fire{
        display: inline-block;
    }
    
    .card{
        width: 60px;
        height: 62px;
        font-size: 10px;
        border-radius: 25%;
    }
    .our_dgenz_card{
        flex-direction: column;
    }
    .follow_us_container{
        align-items: flex-start;
        gap : 0px;
        justify-content: center;
    }
    .follow_us_card{
        width: 75px;
        height: 75px;
    }

    .follow_us img{
        width: 50px;
    }
    .follow_us p{
        font-size: 8px;
    }
    .follow_us h4{
        font-size: 10px;
    }
    .logo{
        top : 10px;
        left : 10px;
    }
    .logo img{
        max-width: 60px;
    }
    h1{
        font-size: 45px;
    }
    .disclamer, .footer{
        font-size: 10px;
    }
    .our_dgenz_image {
        max-width: 60% !important;
    }
}

@media only screen and (max-width : 576px) {
    .home .dog{
        left: 20%;
        width: 70px;
    }
    .home .fishes{
        gap : 10px;
    }
    .home .fish_1, .home .fish_2, .home .fish_3, .home .fish_4{
        width: 15px;
    }
    h1{
        white-space: pre-line;
    }
    .follow_us, .our_dgenz, .our_story{
        margin-top : -25%;
    }
}

@media only screen and (max-width : 500px) {
    .dragon_with_fire_container{
        width: 38px;
        height: 25px;
    }
}


@media only screen and (max-width : 350px) {
   .dragon_with_fire{
    display: none;
   }
}
/* ---------------------------animation -------------------------------- */

/* .active{
    animation: loaderAnimation 1.5s infinite;
} */
#webpage{
    display : none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.drop-top{
    transform: translateY(-100%);
}

.show-drop-top{
    animation: dropTopAnimation 0.5s ease-in-out forwards;
    animation-iteration-count: 1;
}

@keyframes dropTopAnimation {
    100%{
        transform: translateY(0%);
    }
}
.home .dog{
    animation: surf 3s infinite ease-in-out;
}
@keyframes surf {
    0% {
        transform: translateX(0);
    }
    50% {
    transform: translateX(20px);
    }
    100% {
    transform: translateX(0);
    }
}
.home .fire{
    animation : breath 2s infinite ease-in-out;
}
@keyframes breath {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.dragon_with_fire_container{
    animation: rotate 2.5s infinite ease-in-out;
}
@keyframes rotate {
    0% {
      /* transform: ; */
      transform: translateX(-0) translateY(50px);
    }
    50% {
      /* transform: ; */
      transform: translateX(0px) translateY(0px);
    }
    100% {
      /* transform: ; */
      transform:  translateX(-0) translateY(50px);
    }
}

.home .fish_1{
    animation : float 1.5s infinite ease-in-out;
}
.home .fish_2{
    animation: float 1s infinite ease-in-out;
}
.our_dgenz_image{
    animation: float 3s  infinite ease-in-out;
}
.home .fish_3{
    animation: swim_right 3s  infinite ease-in-out;
}
.home .fish_4{
    animation: float 2s infinite ease-in-out;
}
@keyframes swim_right {
    0% {
        transform: translateX(0);
    }
    50% {
    transform: translateX(-20px);
    }
    100% {
    transform: translateX(0);
    }
}
@keyframes float {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-20px);
    }
    100% {
      transform: translateY(0);
    }
}


.hidden{
    opacity: 0;
    transition: all 2s;
}

.show{
    opacity: 1;
}

.hidden-image{
    transform: translate(0px, 30px);
    /* filter: blur(10px);  */
    opacity: 0;
    transition: transform 0.8s, filter 1s, opacity 2s; 
}

.show-image{
    transform: translate(0px, 0px);
    filter: blur(0px);
    opacity: 1;
}

.show-up{
    animation: slideAnimation 0.8s ease-in-out forwards;
    animation-iteration-count: 1;
}

.hidden-up{
    opacity: 0;
    transform: translateY(50%);
}

@keyframes slideAnimation{
    100% {
        opacity: 1;
        transform: translateY(0%); 
    }
}  

.inner-left{
    opacity: 0;
    transform: translateX(-80%);
}

.outer-left{
    opacity: 0;
    transform: translateX(-10%);
}

.inner-right{
    opacity: 0;
    transform: translateX(80%);
}

.outer-right{
    opacity: 0;
    transform: translateX(10%);
}

.show-inner-left, .show-inner-right, .show-outer-left, .show-outer-right{
    animation: slideAnimation 1s ease-in-out forwards;
    animation-iteration-count: 1;
}
.character {
  display: inline-block;
  transform: translate(0px, 30px);
  filter: blur(30px); 
  opacity: 0;
  transition: transform 0.8s, filter 1s, opacity 0.8s; 
}

.show-character {
  transform: translate(0px, 0px);
  filter: blur(0px);
  opacity: 1;
}