@charset "UTF-8";

html div{
  scroll-behavior:smooth;
}

.card-img-top{
  height: 300px;
  width: 300px;
  object-fit: cover;
  object-position: center;
}


#login{
  margin-left: 6px;
}

#login-panel{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
  width: 100%;
  height: 100vh;
}

#add-item{
  display: flex;
  flex-direction: column;
  margin: 6px 6px;
  justify-content: space-between;
  align-items: center;
}

#add-item div{
  display: flex;
  overflow: hidden;
  margin: 3px 1px;
}


#add-item button{
    font-size: 1em;
    font-weight: normal;
    border-radius: 0px;
}

.change-values{
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: center;
  margin: 24px 0;
}

.change-values div{
  width: 100%;
}

.change-values div input{
  width: 100%;
  text-align: center;
}

#change-site-title{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 36px 0;
}

#change-site-title input{
  margin-right: 20px;
}

.login-panel-content{
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-panel-inner-content{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

.close-panel{
  position: absolute;
  top: 20px;
  right: 20px;
}


.box{
  width: 400px;
  height: 450px;
  border: 2px solid  #625d5d;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  background: transparent;
}

h2{
  font-size: 2em;
  color: #fff;
  text-align: center;
}

.inputbox{
  position: relative;
  margin: 30px 0;
  width: 300px;
  border-bottom: 2px solid#fff;
}

.inputbox label{
  position: absolute ;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  color: #fff;
  opacity: .25;
  font-size: 1em ;
  pointer-events: none;
  transition: 0.5s;
}

input:focus ~ label{
  top: -5px;
}

input:focus ~ label{
  top: -5px;
}


.inputbox input{
  width: 100%;
  height: 50px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1em;
  padding: 0 35px 0 5px;
  color: #fff;
}

.inputbox ion-icon{
  position: absolute;
  right: 8px;
  color: #fff;
  font-size: 1.2em;
  top: 20px;
}


button{
  width: 100%;
  height: 40px;
  border-radius: 40px;
  background-color: #e6e2e2;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.3em;
  font-weight: 700;
}

.btn-author{
  color: #04AA6D;
  transition: color .4s;
}

.btn-author:hover{
  color: #fff;
}

.forget{
  display: flex;
  justify-content: space-between;
  margin: 10px 0 15px;
  font-size: 0.9em;
  color: #fff;
}

.forget label:nth-child(2){
  order: 1;
}

.forget label{
  display: flex;
  align-items: center;
}

.forget label input[ type="checkbox"]{
  margin-right: 6px
}

.forget label a {
  color: #fff;
  text-decoration: none;
}

.forget label a:hover{
  text-decoration: underline;
}

#admin-panel{
  display: none;  /*will be change to none after testing session*/ 
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: scroll;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10;
  width: 100%;
  height: 100vh;
}

.admin-panel-content{
  display: flex;
  justify-content: center;
  align-items: center;
}

.admin-panel-inner-content{
  position: absolute;
  top: 30px;
  color: #fff;
}

.close-admin-panel{
  position: absolute;
  top: -26px;
  right: -22px;
}

.edit-panel div{
  margin: 6px 0;
}

#products {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  height: 100px;
}

#products img{
  object-fit: cover;
  object-position: center;
}

#products td, #products th {
  border: 1px solid #ddd;
  padding: 8px;
  max-width: 150px;
  max-height: 100px;
}

#products tr{background-color: #000000;}

#products th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #04AA6D;
  color: white;
}

#products td:last-child div:first-child{
  margin-right: 10px;
}

#products .btn{
  color: #fff;
}
#products .edit{
  color: #fff;
  background-color: #ffc107;
  border-radius: 4px;
  transition: opacity .5s;
  width: 100%;
}

#products .delete{
  color: #fff;
  background-color: crimson;
  border-radius: 4px;
  transition: opacity .5s;
  width: 100%;
}

#products .edit:hover, #products .delete:hover{
  opacity: .8;
}

.prodInfos{
  display: flex;

}

.wp-icon{
  position: fixed;   
  z-index: 5; 
  width: 50px;
  height: 50px;
  bottom: 15px;       
  left: 25px; 
  opacity: 1; 
  overflow: hidden;
  animation: bounce 2s infinite;
}

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

.wp-icon :hover{
  opacity: 0.9;
}

/* .slide {
  display: none;
} */
