main{
    /* border: 2px solid red; */
}

.cards-wrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    width: 1090px;
    /* margin-right: 30%; */
    margin-left: 0;
}

/* .column-1{
    width: 750px;
    border: 1px solid black;
    padding: 20px;
} */

.main-header-wrapper{
display: flex;
justify-content:space-between;
align-items: center;
padding-left: 80px;
/* padding-right: 22px; */
}

main h1{
text-align: center;
font-size: 52px;
margin-top: 30px;
margin-bottom: 30px;
margin-left: 30px;
color: #c1502e;
font-weight: 600;
text-shadow: 2px 2px 8px rgb(168, 183, 184);
}

/*----*/
.dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown:hover .dropdown-content {
    /* display: block; */
    opacity: 1;
    transition: all 0.2s ease-in-out 0.1s;
  }

  .dropdown:hover .bag-button-container {
    background-color: rgb(96, 118, 119);
    /* background-color: rgb(162, 123, 92); */

  }

  .bag-button-container{
    display: flex;
    justify-content: center;
    /* width: 250px; */
    min-width: 350px;
    height: 44px;
    background-color: rgb(63,78,79);
    color: rgb(220,215,201);
    color: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    border-radius: 3px;
    padding: 12px 0;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
}

.bag-button-container i{
    margin-left: 20px;
}

.bag-button-container:disabled{
    background-color:rgb(194, 190, 178);
}




  .dropdown-content {
      /* display: none; */
      opacity: 0;
      position: absolute;
      background-color: #f9f9f9;
      min-width: 350px;
      min-height: 100px;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
      z-index: 1;
  }



  .bag-card-header{
      display: flex;
      justify-content: space-between;
      padding: 10px;
      margin: 0;
      border-bottom: 2px solid rgb(170, 167, 167);
  }

  .bag-card-header p{
      margin: 0;;
      margin-left: 20px;
      font-weight: 600;
      font-size: 1.2em;


  }

  .bag-card-header .bag-confirm-button {
      width: 180px;
      height: 35px;
      background-color: rgb(193, 80, 46);
      color: rgb(255, 255, 255);
      font-weight: 500;
      font-size: 0.8em;
      line-height: 1em;
      text-align: center;
      text-transform: uppercase;
      border-radius: 7px;
      padding: 10px 0px;
      margin-right: 10px;
  }

  .bag-confirm-button:hover{
      background-color: rgb(162, 123, 92);
      transition: all 0.1s ease-in-out 0s;
  }

  .bag-confirm-button:active{
    background-color: rgb(63, 78, 79);
      transition: all 0.1s ease-in-out 0s;
  }



  .dropdown-content .baby-card-wrapper {
    color: black;
    padding: 12px 5px;
  }

  .dropdown-content .baby-card-wrapper:hover {
    background-color: #f1f1f1;
    transition: all 0.1s ease-in-out 0s;
  }


  /*BABY CARD*/

  .baby-card-wrapper{
        display:flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;

  }

  .baby-card-img-wrapper{
      display: flex;
      justify-content: center;
      align-items: center;
      width: 70px;
      overflow: hidden;
      padding: 10px;
  }

  .baby-card-img-wrapper img{
      min-width: 100%;
      min-height: 100%;
      box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 10px 0px;
  }

  .description-wrapper {
    width: 50%;
    padding: 0px;
    /* border: 1px solid black; */
  }

  .description-wrapper p{
    /* border: 1px solid black; */
    margin: 0;
    margin-bottom: 5px;
    font-size: 0.8em;
  }

  .description-wrapper p:last-child{
    /* border: 1px solid black; */
    margin: 0;
    /* margin-bottom: 5px; */
    font-size: 0.8em;
    font-weight: 600;
  }

  .baby-card-wrapper>p{
      color:rgb(126, 96, 72);
      font-weight: 600;
      text-shadow: rgb(168, 183, 184) 2px 2px 8px;
  }


  .baby-close-button{
      cursor: pointer;
      font-size: 1.6rem;
      line-height: 1.6rem;
      font-weight: 600;
      width: 30px;
      height: 30px;
      color: rgb(255, 255, 255);
      text-align: center;
      border-width: initial;
      border-style: none;
      border-color: initial;
      border-image: initial;
      outline: none;
      background: none rgb(193, 80, 46);
      border-radius: 50%;
      margin-left: 10px;
      margin-right: 10px;
  }

  .baby-close-button:hover{
    background-color: rgb(162, 123, 92);
    transition: s 0.1s ease-in-out 0s;
  }

  .baby-close-button:active{
    background-color: rgb(63, 78, 79);
    transition: all 0.1s ease-in-out 0s;
  }

  /*//BABY CARD*/
/*---*/




.card{
    display: flex;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;

    /* padding-top: 40px;
    padding-bottom: 40px; */

    height: 300px;
    width: 520px;
    /* border: 2px solid black; */

    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.img-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

    width: 60%;
    /* box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); */
    padding: 30px 20px 50px 20px;
    /* border: 2px solid black; */
    

}


.img-wrapper img{
    /* flex-shrink: 0; */
    min-width: 100%;
    min-height: 100%;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.img-wrapper > img:hover{
    transform: translate3D(0,-1px,0) scale(1.03);
    transition: 0.1s ease-in-out;
}

.card-content-container{
    display: flex;
    flex-direction: column;
    justify-content:flex-start;

    padding: 30px 0 40px 0;
    width: 60%;
}

.card-header-container{
    display: flex;
    justify-content:flex-start;
    margin-bottom: 10px;
}

.author{
    font-weight: 400;
    font-size: 17px;
    /* margin-top: 10px; */
    /* margin-bottom: 20px; */
    width: 75%;
}

.card-close-button{
    display: none;

    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-size: 1.6rem;
    line-height: 1.6rem;
    font-weight: 600;
    width: 30px;
    height: 30px;
    background-color: #c1502e;
    color: #fff;
    text-align:center;
    border-radius:50%
}

.card-close-button:hover{
    background-color:rgb(162,123,92);
    transition: 0.1s s ease-in-out;
}

.card-close-button:active{
    background-color:rgb(63,78,79);
    transition: 0.1s ease-in-out;
}


.title{
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
    width: 90%;
}


.price{
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 10px;
    color: rgb(162,123,92);
    text-shadow: 0 0 1px #30120a;
}


.show-more{
    font-size: 16px;
    font-style: italic;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgb(168, 183, 184);

}

.show-more:hover{
    color: #c1502e;
}


/*MODAL WINDOW*/
.modal {
    position: relative;
    top:56%;
    left: 20%;
    /* bottom: 40px;
    left: 0; */
    transform: translate(-50%, -50%) scale(0);
    transition: 200ms ease-in-out;
    border: 2px solid rgb(199, 197, 197);
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    border-radius: 10px;
    z-index: 10;
    background-color: white;
    width: 500px;
    max-width: 250%;
    /* visibility: hidden; */
    height: 40px;
}

.modal.active{
    transform: translate(-50%, -50%) scale(1);
    /* visibility: visible; */
    width: 600px;
    height: 550px;

}

.modal-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 2px solid rgb(173, 171, 171);

    /* background-color: rgb(63,78,79, 0.1);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px; */
}

.modal-header .modal-title{
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgb(168, 183, 184);
    width: 90%;
}

.modal-header .close-button{
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-size: 1.6rem;
    line-height: 1.8rem;
    font-weight: 600;
    width: 30px;
    height: 30px;
    background-color: #c1502e;
    color: #fff;
    text-align:center;
    border-radius:50%
}

.modal-header .close-button:hover{
    background-color: rgb(162,123,92);
    transition: 0.1s s ease-in-out;
}

.modal-header .close-button:active{
    background-color: rgb(63,78,79);
    transition: 0.1s ease-in-out;
}

.modal-body{
    padding: 10px 15px;
    overflow: auto;
}

.overlay{
    position: fixed;
    opacity: 0;
    transition: 200ms ease-in-out;
    top:0;
    left:0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,.5);
    pointer-events: none;
}

.overlay.active{
    opacity: 1;
    pointer-events: all;
}

/*// MODAL WINDOW*/



.description{
    display: none;
}

.card-button{
    display: flex;
    justify-content: left;

    /* margin-bottom: 10px; */

}
