body{
    padding:0px;
    margin:0px;
   position: relative;

}


.container{
    background-color:rgba(173, 216, 230, 0.123);
    position: relative;
    box-sizing: border-box;

}

nav{
    display:flex;
    justify-content: space-between;
    width: 100vw;
    background-color: green;
    box-sizing: border-box;
    height:7vh;
    margin-bottom: 10px;

}

nav .navbar-brand{
    margin: auto;
    color: white;
    font-family:'Roboto', sans-serif ;
    font-size: 18px;
    height:6vh;
    width: auto;

}

h1{
    margin-top:2px;
    padding:1px;
    text-align: center;

}

nav li{
    list-style: none;
    margin-right:80px;
    text-align: center;
    margin-bottom:0;

}

nav div ul{
    background-color: rgb(224, 87, 110);
    background-size:cover;
    border-radius:10px;
    height:7vh;
    text-align:center;
    margin:10px;
}
nav li a{
    color: white;
    text-decoration: none;
    font-size:25px;
    padding:5px;
    margin-bottom:0;
    font-family: 'Montserrat', sans-serif
}

video{
    display: block;
    width: 300px;
    height:240px;
    margin: auto;
    margin-top:0;
}

.media-section{
    position:absolute;
    left:30px;
    background-color:white;
    box-shadow:0px 1px 8px rgb(163, 177, 182);
    border-radius:3px;

}
canvas{
    display:none;
    margin: auto;

}


div.btn{
    margin-top:10px;
}
#capture-btn{
    display:block;
    background-color:green;
    color: white;
    margin: auto;
    padding:10px;
    text-align:center;
    border:1px solid green;
    border-radius:2px;
    font-size:17px;
}

#classify-btn{
    display: none;
    background-color:green;
    text-align:center;
    font-size:17px;
    padding:12px;
    color: white;
    border-style: none;
    margin: auto;
    border-radius:5px;

}
nav .btn{
    position:relative;
    right: 250px;
    background-color:rgb(70, 3, 70);
    border:1px solid rgb(70, 3, 70);
    margin-top:auto;
}

#display-section{
    background-color: chartreuse;
    width:auto;
    height:minmax(0vh,auto);
    display:block;
    background-color:white;
    color: rgba(203, 206, 15, 0.815);
    box-shadow:0px 1px 3px rgba(0, 0, 0, 0.13);
    position: absolute;
    left:400px;
    border: 2px solid black;
    align-items: center;

}

#label-container{
    width: 500px;
    margin: auto;
}


.file-btn{

    width:100px;
    margin:20px auto;
    font-family: 'Roboto', sans-serif;

}

.image-wrapper{
    width: 200px;
    height:200px;
    margin:auto;
    position: relative;
}

.image-label-element{
    margin:0 auto;
    font-family:'Roboto', sans-serif ;
    font-size:bolder;
    width: 100px;
    height:auto;
    padding:5px;
}

.strong{
    padding: 0px;
    font-size:1.2rem;
}


.category-images{
    margin:0;
}

.confidence-level{
    position: absolute;
    bottom:20px;
    left: 20px;
    color:white;
    background-color:rgba(0, 0, 0, 0.768);
    border-style: none;
}



/* media query section */

@media screen and (max-width:600px){

        #display-section{
            background-color: chartreuse;
            width:300px;
            height:minmax(0vh,auto);
            display:block;
            background-color:white;
            color: rgba(203, 206, 15, 0.815);
            box-shadow:0px 1px 8px rgb(163, 177, 182);
            position: absolute;
            left:76px;

            align-items: center;
            border-style: none;
            z-index:1;

        }

        .media-section{
            position:absolute;
            left:76px;
            background-color:white;
            box-shadow:0px 1px 8px rgb(163, 177, 182);
            border-radius:3px;


        }

        .image-wrapper{
            width: 200px;
            height:200px;
            margin:auto;
            position: relative;
        }

        #label-container{
            width: 250px;
        }


        .container{
            background-color:rgba(173, 216, 230, 0.123);
            position: relative;
            box-sizing: border-box;
            width:auto;
        }


        nav{
            display:flex;
            justify-content: space-between;
            width: 100vw;
            background-color: green;
            box-sizing: border-box;
            height:7vh;
            margin-bottom: 10px;
        }


        .loader {
            display: none;
            background-color:transparent;
            position: absolute;
            top:230px;
            left: 190px;
            border: 6px solid #f3f3f3; /* Light grey */
            border-top: 6px solid #6a6c6d; /* Blue */
            border-radius: 50%;
            width: 60px;
            height: 60px;
            animation: spin 0.65s linear infinite;
            z-index:9;


          }

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


          .overlay{
              display: none;
            position: absolute;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index:7;
            background-color: rgba(0,0,0,0.5); /*dim the background*/
          }




          #capture-btn{
            display:block;
            background-color:green;
            color: white;
            margin: auto;
            padding:10px;
            text-align:center;
            border:1px solid green;
            border-radius:2px;
            font-size:17px;
        }

        #classify-btn{
            display: none;
            background-color:green;
            text-align:center;
            font-size:17px;
            padding:12px;
            color: white;
            border-style: none;
            margin: auto;
            border-radius:5px;



        }


}




