@font-face {
    font-family: "Inter-Regular";
    src: url("../font/inter/Inter_28pt-Regular.ttf");
    font-display: swap;
}

@font-face {
    font-family: "MonaSans900";
    src: url("../font/Mona-Sans/Mona-Sans-BlackNarrow.ttf");
    font-display: swap;
}

@font-face {
    font-family: "MonaSans700";
    src: url("../font/Mona-Sans/Mona-Sans-MediumNarrow.ttf");
    font-display: swap;
}

@font-face {
    font-family: "MonaSans800";
    src: url("../font/Mona-Sans/Mona-Sans-BoldNarrow.ttf");
    font-display: swap;
}



@font-face {
    font-family: "MonaSans400";
    src: url("../font/Mona-Sans/Mona-Sans-LightNarrow.ttf");
}


@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --foreground-rgb: 0, 0, 0;
    --background-start-rgb: 214, 219, 220;
    --background-end-rgb: 255, 255, 255;
}

@media (prefers-color-scheme: dark) {
    :root {
        --foreground-rgb: 255, 255, 255;
        --background-start-rgb: 0, 0, 0;
        --background-end-rgb: 0, 0, 0;
    }


}
html {
  scroll-behavior: smooth;
}



/*.firstFold{*/
/*    background-image: url("../images/bgImage.png");*/
/*    background-repeat: no-repeat;*/
/*    background-size: cover;*/
/*}*/



/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 12px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}





/* To position the second slider off-screen initially */
#second-slider.hidden {
    display: none;
}

#second-slider.block {
    display: block;
}


/*.swiper.mySwiper3 .swiper-slide:nth-child(1n) {*/
/*    background-color: rgb(206, 17, 17);*/
/*}*/

/*.swiper.mySwiper3 .swiper-slide:nth-child(2n) {*/
/*    background-color: rgb(0, 140, 255);*/
/*}*/

/*.swiper.mySwiper3 .swiper-slide:nth-child(3n) {*/
/*    background-color: rgb(10, 184, 111);*/
/*}*/

/*.swiper.mySwiper3 .swiper-slide:nth-child(4n) {*/
/*    background-color: rgb(211, 122, 7);*/
/*}*/

/*.swiper.mySwiper3 .swiper-slide:nth-child(5n) {*/
/*    background-color: rgb(118, 163, 12);*/
/*}*/

/*.swiper.mySwiper3 .swiper-slide:nth-child(6n) {*/
/*    background-color: rgb(180, 10, 47);*/
/*}*/

/*.swiper.mySwiper3 .swiper-slide:nth-child(7n) {*/
/*    background-color: rgb(35, 99, 19);*/
/*}*/

/*.swiper.mySwiper3 .swiper-slide:nth-child(8n) {*/
/*    background-color: rgb(0, 68, 255);*/
/*}*/

/*.swiper.mySwiper3 .swiper-slide:nth-child(9n) {*/
/*    background-color: rgb(218, 12, 218);*/
/*}*/

/*.swiper.mySwiper3 .swiper-slide:nth-child(10n) {*/
/*    background-color: rgb(54, 94, 77);*/
/*}*/


/*
@media screen and (min-width: 320px) and (max-width: 1024px) {
    .firstFold{
       background-attachment: unset !important;
    }
    body , html {
        overflow-x: hidden !important;
    }
} */

body{
    background-color: white;
    overflow-x: hidden;
    /* background-color: rgb(246 243 242 / var(--tw-bg-opacity, 1)); */
}

.card {
    position: sticky;
    top: 5em;
    transform-origin: center top;
    margin: 0.5em;
    height: 300px;
    z-index: 9;

  }
  /* .card:nth-child(0) {
    transform: translateY(80px);
  }
  .card:nth-child(1) {
    transform: translateY(80px);
  }
  .card:nth-child(2) {
    transform: translateY(80px);
  }
  .card:nth-child(3) {
    transform: translateY(80px);
  }
  .card:nth-child(4) {
    transform: translateY(80px);
  } */


  .typed {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid;
    width: 0;
    animation: typing 8s steps(30, end) forwards, blinking 1s infinite;
    animation-iteration-count: infinite;

  }


  .typed1 {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid;
    width: 0;
    animation: typing 10s steps(30, end) forwards, blinking 2s infinite;
    animation-iteration-count: infinite;

  }


  .typed2 {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid;
    width: 0;
    animation: typing 13s steps(40, end) forwards, blinking 1s infinite;
    animation-iteration-count: infinite;

  }

  @keyframes typing {
    from { width: 0 }
    to { width: 100% }
  }

  @keyframes blinking {
    0% {border-right-color: transparent}
    50% {border-right-color: black}
    100% {border-right-color: transparent}
  }


.textSlide {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s ease, transform 1s ease;
    z-index: 9;
}

.textSlide.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Add animation styles */
.slide1, .slide2, .slide3 {
    display: none;
}

/* Typing effect animation */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.typing {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    animation: typing 2s steps(30) 1s forwards;
}




#h2-text, #p-text {
    white-space: nowrap;
    border-right: 2px solid black;
    display: inline-block;
    animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: black;
    }
}




/* Modal background */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position to cover the screen */
    z-index: 999999999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.4); /* Black with opacity */
}

/* Modal content box */
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* You can adjust the width */
}

/* Close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}





/* /* Adding Scroll Icon Animation  */


.scroll-more {
	display: inline-block;
	height: 36px;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	-webkit-backface-visibility: hidden;
	margin: -18px 0 65px;
  top: 50%;
  position: absolute;
}
.scroll-more:hover,
.scroll-more:focus {
	color: #fff;
	text-decoration: none;
}
.scroll-more span {
	vertical-align: middle;
	opacity: .5;
	transition: opacity 0.3s;
}
.scroll-more:hover span {
	opacity: 1;
}
.scroll-more .icon {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 50px;
	border: 2px solid #686767;
	border-radius: 50%;
	/* margin-right: 8px; */
	/* padding: 8px 0 0 12px; */
    display: flex;
    justify-content: center;
    align-items: center;
}
.scroll-more .icon:before {
	display: block;
	width: 20px;
	height: 28px;
	content: "";
	border: 2px solid #686767;
	border-radius: 12px;
}
.scroll-more .icon:after {
	position: absolute;
	display: block;
	top: 35%;
	left: 48%;
    transform: translate(-50%,-50%);
	width: 2px;
	height: 5px;
	content: "";
	background-color: #686767;
  animation: scroll 1.2s infinite;
}

@keyframes scroll {
    0% { opacity: .8; transform: translateY(0); height: 1px }
   40% { opacity: .5; height: 5px  }
  100% { opacity: 0; transform: translateY(8px); height: 1px }
}


/* Global Gont Loaded Classes  */

html {
    visibility: hidden;
}

/* Show the page once fonts are loaded */
html.fonts-loaded {
    visibility: visible;
}