/* Fonts */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

/* Global css */

:root {
 
  --main-color: #7857fe;
  --color-1: #e91e63;
  --color-2: #f5ae10;
  --color-3: #09d69c;
  --bg-dark: #2b2c2f;
  --main-to-dark-color: var(--main-color);
  --dark-to-main-color: var(--bg-dark);
  --shadow-black-100: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-black-300: 0 5px 15px rgba(0, 0, 0, 0.3);
  --black-900: #000;
  --black-400: #555;
  --black-100: #f7f7f7;
  --black-000: #fff;
  --black-alpha-100: rgba(0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  outline: none !important;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

ul {
  list-style: none;
}



.btn-1{
  background-color:#ffffff;
  padding: 12px 30px;
  border: none;
  border-radius:30px;
  color: var(--main-color);
  font: 16px;
  text-transform: capitalize;
  transition: all 0.5s ease-in-out;
  box-shadow: var(--shadow-black-300);
  font-weight: 500;
  width:fit-content;


}

.btn-1:focus{
  box-shadow: var(--shadow-black-300);

  
}

.btn-1:hover{
  color: #fff;
  background-color: var(--main-color);

  
}


@keyframes spin_01{

  0%{
    transform: rotate(0deg);

  }
  100%{
    transform: rotate(360deg);
  }

}
@keyframes bounceTop_01{
  
  0%,100%{
    transform: translateY(-30px);
    
  }
  50%{
    transform:translateY(0px);
  }
  
}

@keyframes pulse_01 {

  0%{
    
    transform: scale(0.94);
    box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  }
  70%{
    transform: scale(0.9);
    box-shadow: 0 0 0 12px rgba(255,255,255,0);
    
  }
  100%{
    transform: scale(0.94);
    box-shadow: 0 0 0 0 rgba(255,255,255,0);

  }
  
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  /* background-color: #fff; 7857fe*/
  /* background-color:#ff9900; */
  background:linear-gradient(90deg,#03001e,#7303c0,#ec38bc,#fdeff9);
  /* background:linear-gradient(90deg,#7857FE,#6E48AA); */
  /* background:linear-gradient(90deg,#DA22FF,#9733EE); */
  background:linear-gradient(90deg,#EECDA3,#EF629F);
  /* background:linear-gradient(90deg,#AAFFA9,#11FFBD); */
 /* background:linear-gradient(90deg,#F2994A,#ffff1c); */
  /* background:linear-gradient(90deg,#f7ff00,#db36a4); */
  /* background:linear-gradient(90deg,#0F2027,#203A43,#2C5364); */
  background:linear-gradient(90deg,#0f0c29,#203A43,#0f0c29);
}

/* Navbar */

.navbar {
  background-color: var(--main-color);
  padding: 20px 0;
}

.navbar > .container {
  padding: 0 15px;
  display:flex;
  /* gap: 100px; */
}

.navbar-brand {
  font-size: 30px;
  color: #fff;
  font-weight: 500;
  text-transform: capitalize;
  position: relative;
  /* margin-left: auto; */
}

.navbar .nav-item {
  margin-left: 40px;
}



.navbar .nav-item .nav-link {
  color: #fff;
  text-transform: capitalize;
  font-size: 16px;
  font-weight: 400;
  padding: 5px 0px;
  position: relative;
  /* text-align: center; */
  /* width: 80px; */
}

.navbar .nav-item .nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 1px;
  background-color: #fff;
  transition: all 0.5s ease;
  transform: scale(0);
}

/* .instructions{
  margin-left: ;
} */

.navbar .nav-item .nav-link.active::before,
.navbar .nav-item .nav-link:hover::before {
  transform: scale(1);
}

/*pop-up*/
.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  margin-top: 6rem;
}
.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.button{  
  
  /* float:left; */
  width:200px;
  padding:20px 30px;
  text-align:center;
  font-weight:bold;
  cursor:pointer;
  /* position: absolute; */
  
  
  /* transition: background 0.5s; */
}

#success{
  background:#fff;
  margin-top: 20px;
  margin-left: 0px;
  animation: pulse_01 2s ease infinite;
  padding: 12px 30px;
  width:fit-content;
  font-weight: 500;

  color: var(--main-color);  
}

#success:hover{
  animation: none;
  box-shadow: var(--shadow-black-300);
}

.notify{  
  position:absolute;
  top:0px;
  width:100%;
  height:0;  
  box-sizing:border-box;
  color:white;  
  text-align:center;
  background:rgba(0,0,0,.6);
  overflow:hidden;
  box-sizing:border-box;
  margin-top: 6rem;
  transition:height .2s;
  z-index:20;
}

#notifyType:before{
  display:block;
  margin-top:15px; 
  
}

.active{  
  /* height:35px; */
  }

.success:before{
  Content:"Please train atleast 30 images for each class or import the model from your local directory";
}


/* Home Section */

.home {
  min-height: 100vh;
  padding: 150px 0;
  background-color: var(--main-to-dark-color);

  border-radius: 0 0 200px 0;
  
}

.home-img img {
  max-width: 250px;
  width: 100%;
  box-shadow: var(--shadow-black-300);
  border-radius: 32px;
  animation: bounceTop_01 3s ease infinite;
}

.home-text h1 {
  font-size: 45px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
}

.home-text p {
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
}

.home .home-btn{
  margin-top: 40px;

}
.home-btn{
  text-align:center;

}

.home .home-btn .video-play-btn{
  margin-left: 30px;
  height: 50px;
  width: 150px;
  padding: 0px;
  animation: pulse_01 2s ease infinite;
  font-size: 20px;
}

.home .home-btn .video-play-btn:hover{
  background-color: var(--main-color);
  box-shadow: var(--shadow-black-300);
  color: #fff;
  animation: none;
}

.home-img {

 /* background-color: #09d69c; */
 margin-top:100px;
 position:fixed;
 margin-left:45%;
 padding-left:30px;
 padding-top:30px;
 padding-right:30px;
 padding-bottom:70px;
 width:500px;
 height:max-content;
 background: rgba( 255, 255, 255, 0.3 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 3.5px );
-webkit-backdrop-filter: blur( 3.5px );
border-radius: 25px;
border: 1px solid rgba( 255, 255, 255, 0.18 );
  
}

.home-img .circle{
  position: absolute;
  z-index: 1;
  height: 400px;
  width: 400px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}




.home-img .circle::before{
  content: '';
  position: absolute;
  height: 60px;
  width: 60px;
  background-color:rgba(255,255,255,0.4);

  border-radius: 50%;
  left: 30px;
  top:30px;
  transform-origin: 170px 170px;
  animation: spin_01 10s linear  infinite;
}

/* Video pop */



.section-padding{
  padding: 80px 0;
  
}









/* model */

.model{
  display:flex;
  flex-direction: column;
  width:fit-content;
  align-items:center;
}

.cam{
  width:435px;
  border-radius:5%;
  height: 330px;
  box-shadow: 8px 6px #ccc;
  /* margin-top: 5%; */
  /* margin-left: 5%; */
  /* z-index: 10; */
}

.modelcam{
  width:435px;
  border-radius:5%;
  height:330px;
  box-shadow: 8px 6px #ccc;
margin-top:-20%;
}

.grey-bg {
  padding: 5px 20px;
  border-radius: 10px;
  background-color: #fafafa;
  border: 0;
  margin-top: 2rem;
  /* margin-left: 30%; */
  font-size: 20px;
  box-shadow: 3px 8px #ccc;
  outline: none;
  /* max-width:350px; */
  display: flex;
  flex-direction: column;
  
}

.probability{
  display: inline-block;
  width: 65%;
  margin-left: 18%;

}

.grey-bg h3 {
  display: inline;
  padding: 0.5rem;
  margin: 0.6rem auto;
  color:#fe4a49 ;
}
.grey-bg span {
  color: #000;
}


#inputClassName {
  padding: 5px 10px;
  border-radius: 10px;
  background-color: #fafafa;
  border: 0;
  margin: 10px 50px;
  font-size: 20px;
  box-shadow: 0 8px #ccc;
  outline: none;
}

.add-dataset{
  /* background-color: #000; */
  margin-top: -70px;
  width:800px;
}


#loading{
	position: fixed;
	width: 100%;
	height: 100vh;
	background: #fff
	url('docs/loading.gif')
	 no-repeat center center;	
	z-index: 99999;
}

.addnewimage{
  padding:5px;
  border-radius: 5%;
  border-style: groove;
  border-color: #111;
  background-color: #111;
  color:white;
}
.className{
  color:black;
}
.count{
  color:black;
}
.classinput{
  margin-top:20%;
  margin-left: 5%;
  padding:10px;
  display:grid;
  grid-template-columns: auto;
  /* width:300px; */
  background-color: #FEE140;
background-image: linear-gradient(90deg, #FEE140 0%, #FA709A 100%);

  border-style: groove;
  border-color: black;
  border-radius: 5%;
  font-size: 25px;
  text-align: center;
}
.addbutton{
  padding:10px;
  display: inline-block;
  width: 60%;
  margin-left: 20%;
  margin-right:15%;
  border-style: groove;
  border-color: black;
  border-radius: 5%;
  font-size: 25px;
  text-align: center;
}

.fileinputs{
    color:#ff9900 ;
    margin-top: 15px;
    font-size: 20px;
    margin-left: 0px;
    /* padding-left:120px; */
    
  }



.trainingcard{
  background-color:#09d69c;
}

.newshifter{
 
  padding: 5px 10px;
  border-radius: 10px;
  background-color: #fafafa;
  border: 0;
  margin: 2rem 10px;
  margin-left: 220px;
  font-size: 20px;
  box-shadow: 3px 8px #ccc;
  outline: none;
  max-width:350px;
  display: flex;
  flex-direction: column;

}
.newshifter button{
 
margin-left: 20%;

}

#load_button{
  width: fit-content;
  display:inline-block;
  /* justify-content:center; */
  /* padding-left:35%; */
  width:350px;
  
}





/* ------------------------------- */
html{
  font-family: 'Montserrat';
  font-size: 20px;
}

section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  /* background-color: rgb(37, 37, 37); */
  /* background-color: white; */
  flex-direction: column;
  padding: 50px 0;
  margin-top: 80px;
}

section h1 {
  /* color: rgba(255, 255, 255, 0.322);
  text-align: center;
  width: 100%;
  font-size: 50px;
  margin-bottom: 10px; */
  
  /* color: #0e3742;
  text-transform: uppercase;
  -webkit-box-reflect: below 1px linear-gradient(transparent, #0004);
  text-align: center;
  outline: none; */
  /* animation: animate 5s linear infinite alternate-reverse; */
  
  width: 100%;
  font-size: 50px;
  /* margin-bottom: 10px; */
  /* color: rgba(255, 255, 255, 0.322); */
  /* position: absolute; */
  text-align: center;
  /* transform: translate(10%,10%); */

  color:transparent;
  /* margin-top: 50px; */
  /* font-size:6em; */
   display:flex;
   flex-direction: column;
   gap:0;


  
  
  
}

h1 span:nth-child(1){
  color: rgba(255, 255, 255, 0.322);
  /* padding-top: px; */
  transition: 0.5s;
  
  clip-path: polygon(0 1%, 100% 0, 100% 50%, 0 50%);
  overflow: hidden;
  margin-bottom: -60px;


}
h1:hover span:nth-child(1){
  transform: translateY(-28px)
;}

h1 span:nth-child(2){
  color: rgba(255, 255, 255, 0.322);
  /* padding-top: px; */
  transition: 0.5s;
  
  clip-path: polygon(0 100%, 100% 100%, 100% 50%, 0 50%);
  overflow: hidden;
  
}


h1:hover span:nth-child(2){
  transform: translateY(20px)
  ;}
  
  h1 span:nth-child(3){
    color: rgba(255, 255, 255, 0.322);
    /* padding-top: px; */
    transition: 0.5s;
    margin-top: -60px;
    /* width:91%; */
    font-size:40px;
    /* color:black; */
    
    color:#fff;
    transform: scale(0);
    transform: scale(0);
    
    
    /* overflow: hidden; */
    
  }

  h1:hover span:nth-child(3){
    transform:scale(1)
    ;}
/* @keyframes animate {
  0%{
    color: #fff;
  text-shadow: none;
  }
  100%{
    color:#fff;
    text-shadow: 0 0 10px #03bcf4,
    0 0 20px #03bcf4,
    0 0 30px #03bcf4,
    0 0 40px #03bcf4,
    0 0 80px #03bcf4,
    0 0 120px #03bcf4,
    0 0 160px #03bcf4
    ;
  }
} */

section p {
  text-align: center;
  color: rgba(255, 255, 255, 0.322);
  width: 100%;
  margin-top: 40px;
}

.container-text {
  width: 90%;
  max-width: 500px;
  margin: 0 auto;
  justify-content: center;
}

.texts p {
  color: black;
  text-align: left;
  background-color: white;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

#speech-bubble-one{
  position: relative;
  background: rgba( 255, 255, 255, 0.25 );
box-shadow: 0 8px 30px 0 rgba( 31, 38, 135, 0.37);
backdrop-filter: blur( 4px );
-webkit-backdrop-filter: blur( 4px );



border: 1px solid rgba( 255, 255, 255, 0.18 );




}