/* 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;
  /* width:100%; */
  /* background-color: #fff; */
  /* background-color:#ff9900; */
  background:linear-gradient(90deg,#F2994A,#FFF94C);
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* background:linear-gradient(90deg,#F2994A,#ffff1c);
  background:linear-gradient(90deg,#f7ff00,#db36a4); */
}

/* Navbar */

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

.navbar > .container {
  padding: 0 15px;
  
}

.navbar-brand {
  font-size: 30px;
  color: #fff;
  font-weight: 500;
  text-transform: capitalize;
}

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



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

.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; 
  
}

.activenoti{  
  height:50px;
}

.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;
  /* width: 100%; */
  padding: 150px 0;
  background-color: var(--main-to-dark-color);
  background-attachment: fixed;

  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;
}


/* ///////////// */


.add-button {
  font-family: 'Helvetica', 'Arial', sans-serif;
  display: inline-block;
  font-size: 1em;
  padding: 1em 2em;
  margin-top: 100px;
  margin-bottom: 60px;
  -webkit-appearance: none;
  appearance: none;
  background-color: #ff0081;
  color: #fff;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: transform ease-in 0.1s, box-shadow ease-in 0.25s;
  box-shadow: 0 2px 25px rgba(255, 0, 130, 0.5);
}
.add-button:focus {
  outline: 0;
}
.add-button:before, .add-button:after {
  position: absolute;
  content: '';
  display: block;
  width: 140%;
  height: 100%;
  left: -20%;
  z-index: -1000;
  transition: all ease-in-out 0.5s;
  background-repeat: no-repeat;
}
.add-button:before {
  display: none;
  top: -75%;
  background-image: radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, transparent 20%, #ff0081 20%, transparent 30%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, transparent 10%, #ff0081 15%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%);
  background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%;
}
.add-button:after {
  display: none;
  bottom: -75%;
  background-image: radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, transparent 10%, #ff0081 15%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%);
  background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%, 20% 20%;
}
.add-button:active {
  transform: scale(0.9);
  background-color: #e60074;
  box-shadow: 0 2px 25px rgba(255, 0, 130, 0.2);
}
.add-button.animate:before {
  display: block;
  animation: topBubbles ease-in-out 0.75s forwards;
}
.add-button.animate:after {
  display: block;
  animation: bottomBubbles ease-in-out 0.75s forwards;
}
@keyframes topBubbles {
  0% {
    background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%;
 }
  50% {
    background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%;
 }
  100% {
    background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%;
    background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
 }
}
@keyframes bottomBubbles {
  0% {
    background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%, 70% -10%, 70% 0%;
 }
  50% {
    background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%;
 }
  100% {
    background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%;
    background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
 }
}


/* ////////////////// */

.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;
  
}



