*{
    margin: 0;
    padding: 0;
}

#main-page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: initial;
    max-height: initial;
    height: 100vh;
    background-image: url("https://images.pexels.com/photos/457882/pexels-photo-457882.jpeg?cs=srgb&dl=beach-calm-clouds-457882.jpg&fm=jpg");
    background-size: cover;
    position: relative;
}

.cards div {
    width: 150px;
    height: 150px;
    cursor: default;
}

#registration-form {
    position: absolute;
    display: flex;
    flex-direction: row;
    top:10px;
    right: 20px;
}

.hideFrom {
    display: none;
}

.form {
    position: absolute;
    display: flex;
    flex-direction: row;
    z-index: 2;
    top:30px;
    right: 20px;
}

#registration-form button {
    padding: 5px;
    margin: 5px;
    cursor: pointer;
    height: 50px;
    width: 90px;
    background-color: aquamarine;
}

#registration-form button:hover {
    background-color:burlywood;
}

#signOutBtn{
    display: none;
}

#logo{
    display: flex;
    height: 350px;
}

#searchbar{
    display: flex;
    width: 70%;
    border: 1px,solid black;
}

#wel-logo{
    max-height:100%;
     max-width:100%;
}

.badge{
    font-size: 9px;
}

.cards{
    display: flex;
    flex-direction: row;
    margin: 15px;
}

.hidden{
    display: none;
}

#result-page-container {
    background: url('../images/1.jpg') no-repeat;

    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: initial;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#searchBtn2{
    width: 140px;
    height: 37px;
    font-size: 1rem;
}

.nav-bar-search{
    display:flex;
    flex-direction: row;
    width: 100%;
}

#nav-logo{
    height: 150px;
}

#nav-searchbar{
    display: flex;
    flex-direction: row;
    width: 60%;
    padding-left: 10px;
    padding-top: 68px;
}

.nav-form-control{
    width:900px;
    height: 50PX;
}

#nav-bar-input-group {
    max-height: 35px;
    width: 100%;
}

#card-wrapper{
    flex-wrap:wrap;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 90%;
}

.result-card{
    cursor: pointer;
    height: 250px;
    width: 250px;
    margin: 10px;
    position: relative;
    overflow: hidden;
    border-radius: 7px;
    box-shadow: 5px 5px 15px #CCC;
}

.result-card h5{
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    padding: 5px;
    font-size: 15pt;
    font-weight: bold;
    width: 100%;
    min-height: 60px;
    color: #000;
    background-color: rgba(255, 255, 255, 0.9);
}

.result-card ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 5px;
    right: 5px;
}

.result-card li {
    margin: 3px;
}

#nav-search-btn{
    height: 50px;
    color: rgb(252,220,16);
    background-color: rgb(232,69,69);
}
/* new css tag */

/* .hiddenFullCard{
    display: none;
}


.card-hidden{
    display: none;
} */



.fullCard{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* .nagBar{
    display: flex;
    flex-direction: row;
}
.jpg{
    position: relative;  
} */
/* 
#lapel1,#lapel2,#lapel3,#lapel4{
    position: absolute;
    height: 20px;
} */

/* .recp{
    display: flex;
    flex-direction: row;
}
.ing{
    display: flex;
    flex-direction: column;
}
.nutri{
    display: flex;
    flex-direction: column;
} */
/* .hiddenFullCard{
display: none;
} */


/* fullcard elements css below*/


#full-card-wrapper{
    position: fixed;
    top:20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 200;
    background-color: #FFF;
}

#fullcard-container{
    z-index: 200;
    width: 700px;
    height: 700px;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgb(119, 119, 119);
    border-radius: 15px;
    box-shadow: 5px 5px 25px #333;
}

#fullcard-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding-left: 5px;
    padding-right: 5px;
    width: 100%;
    text-shadow: 2px 2px 5px #DDD;
}

#fullcard-header h1 {
    font-size: 26pt;
}

#img-lable-container{
    overflow: hidden;
    height: 356px;
    width: 100%;
    position: relative;
}

#img-lable-container img{
    width: inherit; 
}

#label-container{
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    flex-direction: column;
}

#label-container li {
    padding: 5px;
    margin: 7px;
    font-size: 10pt;
}

#card-chart {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    bottom: 10px;
    right: 15px;
    padding-right: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
}

#ingredient-nutri-container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: inherit;
    padding-top: 10px;
}

#ingredient-list {
    overflow: hidden;
    width:400px;
    max-height: 200px;
    font-size: 12pt;
}

#ingredient-nutri-container  a {
    font-weight: bold;
    font-size: 15pt;
}

#nutri-list{
    overflow: scroll;
    width: 200px;
    max-height: 230px;
}

#favBtn{
    position: relative;
    display: inline-block;
    margin-right: 15px;
    background: unset;
    border: none;
    font-size: 25pt;
    cursor: pointer;

}

#favBtn .tooltiptext{
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    font-size: 15pt;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: 150%;
    left: 50%;
    margin-left: -60px;
}

#favBtn .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
  }
  
  #favBtn:hover .tooltiptext {
    visibility: visible;
  }


  #closeBtn{
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
    background: unset;
    border: none;
    font-size: 25pt;
    font-weight: bold;
    cursor: pointer;
}

#closeBtn .tooltiptext{
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: 150%;
    left: 50%;
    margin-left: -60px;
}

#closeBtn .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
  }
  
#closeBtn:hover .tooltiptext {
    visibility: visible;
}

#nutri-li{
    font-size: 10px;
}

/* map elements --------*/

#mapHide{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index:20000;
    background-color:red;
    margin-bottom: 100px;
}

#map {
    height: 100%;
}

#checkbox-container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin:10px;
    padding: 5px;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

#checkbox-container label {
    margin:5px;
}

.checkbox input {
    margin: 3px;
    cursor: pointer;
}

#attributions {
    display: flex;
    flex-direction: row;
    position: fixed;
    left: -20px;
    bottom: 20px;
    z-index: 500;
    padding-right: 20px;
    border-radius: 10px;
    background-color: #FFF;
}

#google-attribution {
    display: flex;
    align-items: center;
    max-height: 100%;
    max-width: 100%;
}

#google-attribution img {
    width: 150px;
}

#mapmapBtn{
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 500;
    box-shadow: 5px 5px 10px #777;
    font-weight: bold;
}

.card-title{
    max-height: 50px;
    overflow: hidden;
}