@import 'https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.4/css/fontawesome.min.css';

div#registerModal,
div#loginModal {
  background-color: var(--modalBackgroud);
  position: fixed;
  z-index: 5;
  width: 100%;
  height: 100%;
  top: 0px;
  display: none;
  justify-content: center;
  align-items: center;
}

div#registerModal div.modal-content,
div#loginModal div.modal-content {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation-name: animatetop;
  animation-duration: 0.4s;
  background-color: var(--lightPurple);
  width: 90%;
  padding: 10px;
  /* min-height: 400px; */
  height: fit-content;
  margin: 100px auto;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  position: relative;
}

.modalCloseDiv {
  position: absolute;
  right: 10px;
  top: -3px;
}

.modalCloseDiv .close {
  color: #aaa;
  font-size: 40px;
  font-weight: normal;
}

.modalCloseDiv .close:hover,
.modalCloseDiv .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  div#registerModal div.modal-content,
  div#loginModal div.modal-content {
    width: 350px;
    height: fit-content;
    margin: 10% auto;
    -webkit-border-radius: 10px;
    border-radius: 10px;
  }
}

#registerForm,
#loginForm {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
  width: 90%;
  margin: 20px auto 0px auto;
}

#registerForm .formGroup,
#loginForm .formGroup {
  display: flex;
  width: 100%;
  flex-direction: column;
  border-radius: 5px;
}

#registerForm .formGroup .inputGroup,
#loginForm .formGroup .inputGroup {
  display: flex;
  padding-left:10px;
  flex-direction: row;
  width: 100%;
  background: white;
  align-items: center;
  
}

#registerForm .formGroup input,
#loginForm .formGroup input {
  width: 100%;
  min-height: 40px;
  border: none;
  outline: none;
  background: transparent;
  padding-left: 10px;
}

.btnDiv {
  text-align: center;
  margin-top: 10px;
}

.pBtn {
  padding: 10px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.pBtn:hover {
  opacity: 0.8;
}

.pBtn-primary {
  background: #007bff;
  color: white;
}

.newMemberLink,
.alreadyMember {
  width: 90%;
  margin: 10px auto 0px auto;
  text-align: center;
}

.modalHeader {
  margin: 0px;
  padding: 0px 20px;
  font-size: 25px;
}

.pError {
  padding: 5px 0px;
  color: red;
  font-size: 14px;
}

.icon {
  font-size:20px !important;
  opacity: 0.6;
}

.buyContainer{
  display:flex;
  flex-direction: row;
  width:100%;
  align-items: center;
  justify-content: center;
  margin-top:-20px;
}

.itemContainer {
  display: flex;
  padding:10px 20px 30px 20px;
  flex-direction: column;
  align-items: center;
  gap:10px;
  background:white;
  flex:0.55;
  border-radius: 15px;

}

.imageContainer
{
display: flex;
}

.equilibriumImage{
  object-fit: fill;
  width:250px;
  height:250px;
}

.descriptionContainer{
  display: flex;
  flex-direction: column;
  gap:20px;
}

.descriptionContainer .itemTitle{
  font-size: 25px;
  color: #722282;
  font-weight: 700;
}

.descriptionContainer .itemContent{
  font-size: 16px;
  color: #722282;
  font-weight: 700;
}

.descriptionContainer .itemDescription{
  font-size: 14px;
  color: #858585;
  font-weight: 700;
  line-height: 18px;
}


.descriptionContainer .itemPrice{
  color: #FF3D3D;
  font-size: 25px;
  font-weight: 700;
  line-height: 31px;
  font-family: 'Arial';
}

.quantityContainer
{
  display:flex;
  flex-direction: row;
  align-items: center;
  justify-content:flex-start;
  gap:20px;
  font-size: 25px;
}

.itemQuantity{
  font-weight: bold;
  font-size:25px;
}

.addToCartContainer
{
  display:flex;
  flex-direction: row;
  gap:20px;
  justify-content:space-between;
}


.orderIcon{
  cursor: pointer;
  font-size:25px;
}

.orderButtons{
  display: flex;
  gap:10px;
}

#buyNowBtn{
  background:#26abd4;
  color:white;
  width:200px;
  height:30px;
  font-size:18px;
}

#placeOrderBtn{
  background:#26abd4;
  color:white;
  width:max-content;
  font-size:14px;
}

#addToCartBtn{
background:#f57224;
border: 1px solid #f57224;
color:white;
width:200px;
height:45px;
font-size:18px;
}

@media screen and (max-width:768px) {
  .buyContainer
  {
    display:flex;
    flex-direction: column;
    align-items: center;
    gap:20px;
  }
}

#confirmOrder
{
  display:none;
  flex-direction: column;
  width:100%;
  gap:10px;
}

#confirmOrder input
{
padding:10px;
width:100%;
border:2px solid #eee;
outline:none;
border-radius: 5px;
}

#confirmOrder #confirmOrderBtn{
   background:#26abd4; 
  color:white;
 width:max-content;
}

#confirmOrder #cancelOrderBtn
{
  background:red; 
  color:white;
 width:max-content; 
}