/* Tag-Classes */
html,
body {
  font-family: "Montserrat";
  text-align: center;
  overflow-x: hidden;
  /* min-height: 100vh;  */
  /* min-height: -webkit-fill-available; */
  background-color: #28282b;

}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat";
  font-weight: 700;
}

h3 {
  text-align: center;
}

h4 {
  text-align: center;
  font-size: 3rem;
}

h5 {
  font-weight: 700;
}

img {
  width: 50%;
  height: auto;
}

p {
  font-size: 1rem;
}

hr {
  border: 0;
  color: #ff4c68;
  opacity: 1;
}

input {
  border-radius: 5px;
}

/* ID Classes */
#div_id_lovedit input[name='lovedit'] + label:before {
  content:'\F417';
  font-family: "bootstrap-icons";
  font-size: 2rem;
  vertical-align:middle;
}

#div_id_lovedit input[name='lovedit']:checked + label:before {
  content:'\F415';
  font-family: "bootstrap-icons";
  font-size: 2rem;
  vertical-align:middle;
  color:#ff4c68;
}

#div_id_lovedit input[name='lovedit'] {
  display:none;
}

/* Navbar-Bootstrap */
.navbar {
  width: 100%;
  padding-left: 30px;
  padding-right: 30px;
}

.navbar-brand {
  text-align: left;
  margin: 0;
  width: 40rem;
}

.nav-link {
  font-size: 1.2rem;
  font-family: "Montserrat";
  font-weight: 300;
}

.nav-link:hover {
  color: #ff4c68;
}

/* Unique-Classes */
.password {
  padding-top: 0.5rem;
  margin-left: 2%;
  float: left;
}

.text-muted {
  color: #f9f6ee !important;
}

.about-page{
  text-align: left;
  width: 80%;
  margin: 0 auto;
}

.update {
  float: left;
}

.form-group {
  position: relative;
  margin-top: 20px;
  margin-bottom: 20px;
}

.no-gutters {
  margin-right: 0;
  margin-left: 0;
}
.col,
[class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

/* select2 is for adjusting drop down menu styles */
.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: #ff4c68 !important;
  color: white;
}

.select2-selection__rendered {
  margin: -5px;
}

.sauce-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f9f6ee;
}

/* Base-Sections */
.title-section {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 4;
  background-color: #28282b;
  color: #f9f6ee;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f9f6ee;
}

.section-main {
  background-color: #28282b;
  color: #f9f6ee;
  padding-top: 50px;
  padding-bottom: 50px;
}

/* Main-Header */
.main-header-info{
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-header-sub{
  position: relative;
  font-size: .6rem;
  bottom: 8px;
}

/* Modals */
.info-modal {
  display: flex;
  align-items: center;
}

.modal-section {
  background-color: #28282b;
  color: #f9f6ee;
}

.add-form-container{
  margin: 20px;
  text-align: left;
}

.button {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  padding: 5px 10px;
  border: 1px solid #aaa;
  background-color: #eee;
  background-image: linear-gradient(top, #fff, #f0f0f0);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  color: #666;
  text-decoration: none;
  text-shadow: 0 1px 0 #fff;
  cursor: pointer;
  transition: all 0.2s ease-out;
}

.button:hover {
  border-color: #999;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.button:active {
  box-shadow: 0 1px 3px rgba(0,0,0,0.25) inset;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  transition: opacity 200ms;
  visibility: hidden;
  opacity: 0;
  z-index: 3;
  overflow: hidden;
}

.overlay.light {
  background: rgba(255,255,255,0.5);
}

.cancel {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: default;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 120px auto;
  background: #fff;
  border: 1px solid #666;
  width: 400px;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
  position: relative;
  z-index: 3;
}

.popup.light{
  border-color: #aaa;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.popup.h2 {
  margin-top: 0;
  color: #666;
  font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
}

.close {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 20px;
  right: 20px;
  opacity: 0.8;
  transition: all 200ms;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: #666;
}

.close:hover {
  opacity: 1;
}

.content {
  max-height: 600px;
  overflow: auto;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin: 0;
}


/* Main-Cards */
.container-main {
  /* border: 1px solid; */
  width: 95%;
  margin: 0 auto;
  text-align: left;
  padding-bottom: 30px;
}

.card {
  text-align: left;
  padding: 5px;
  margin: 5px;
  background-color: #1e1f21;
}

.card:hover {
  box-shadow: 0 0 11px rgba(194, 193, 193, 0.797);
}

.rating-container {
  /* border: 1px solid orange; */
  float: left;
  width: 120px;
  position: relative;
}

.inner-card-container {
  /* border: 1px solid white; */
  width: 100%;
  height: 100%;
  line-height: 50px;
}

.main-rating {
  /* border: 1px solid white; */
  float: left;
  width: auto;
  font-size: 2rem;
}

.emoji {
  /* border: 2px solid purple; */
  float: left;
  width: auto;
  padding-right: 0.5rem;
  text-align: center;
  font-size: 2rem;
  color: #ff4c68;
}

/* Pagination */
.pagination-container {
  /* border: 1px solid; */
  background-color: #28282b;
  padding-top: 30px;
  width: 100%;
  height: 50px;
  margin: 0 auto;
}

.btn-primary {
  border: 1px solid #f9f6ee;
  background-color: #f9f6ee;
  color: black;
}

.btn-primary:hover {
  background-color: #ff4c68;
  border: 1px solid #424649;
}

.btn-secondary {
  color: #f9f6ee;
}

.btn-secondary:hover {
  background-color: #ff4c68;
}

.info-button {
  float: left;
  width: 5%;
  padding-left: 8px;
  padding-bottom: 4px;
}

.manufacturer-info-button {
  width: 5%;
  position: absolute;
  right: 5rem;
  bottom: 0;
  padding-bottom: .5rem;
  z-index: 2;
}

.sauce-info-button {
  width: 5%;
  position: absolute;
  right: .5rem;
  top: 2rem;
  padding-left: 6px;
  z-index: 2;
}

/* Buttons */
.bi-plus-circle-fill {
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 100px;
  border: 5px solid #ff4c68;
  color: #f9f6ee;
}

.bi-plus-circle-fill:hover {
  -webkit-transition-duration: 0.15s 0.15s;
  -moz-transition-duration: 0.15s 0.15s;
  -o-transition-duration: 0.15s, 0.15s;
  transition-duration: 0.15s, 0.15s;
  color: #ff4c68;
  border: 5px solid #f9f6ee;
}

.main-button {
  background-color: #ff4c68;
  color: #f9f6ee;
}

.main-button:hover {
  background-color: #f9f6ee;
  color: #424649;
}

.btn-dark {
  background-color: #424649;
}

.btn-dark:hover {
  background-color: #ff4c68;
}

/* Footer */
.footer {
  bottom: 0;
  font-size: 1.5rem;
  background-color: #28282b;
  color: #f9f6ee;
  padding: 2rem;
  border-top: 2px solid #f9f6ee;
}

.footer-actions {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.about {
  padding-left: 20px;
}

.footer-fun {
  padding-top: .5rem;
  color: #f9f6ee;
  font-size: 0.6rem;
}

.footer-copyright {
  text-align: center;
  color: #f9f6ee;
  font-size: 0.6rem;
}

.privacy {
  font-size: 0.6rem;
  text-align: center;
}

.social-icon {
  margin: 20px 10px;
}

/* Forms */
.form-search {
  position: relative;
  width: 100%;
}

/* Main-Search */
.search-sauce-form {
  margin-top: 7px;
  margin-right: 20px;
  height: 40px;
  border-radius: 10px;
}

.search-button {
  background-color: #424649;
  height: 31px;
  margin-bottom: 2px;
  border-radius: 10px;
}

.search-button:hover {
  background-color: #ff4c68;
}

/* Alerts */
.alert {
  width: 80%;
  margin: 0 auto;
}

.alert-close {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 5px;
  right: 20px;
  opacity: 0.8;
  transition: all 200ms;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: #666;
}

/* Sauce Detail Page */
/* Collapse-Bootstrap */
  .collapse-container {
    display: flex;
    justify-content: center;
  }

  .collapse-align-header {
    padding-top: 3px;
    float: left;
  }

  .collapse-align {
    position: relative;
    float: left;
    left: 2px;
    top: 8px;
  }

.sauce-top-emoji {
  /* border: 2px solid purple; */
  float: left;
  width: auto;
  padding-right: 0.5rem;
  text-align: center;
  font-size: 2.5rem;
  color: #ff4c68;
}

.sauce-tasting-date {
  position: absolute;
  left: 15px;
  bottom: 15px;
}

.sauce-container {
  border: 1px solid black;
  width: 100%;
  height: auto;
}

.big-sauce-card {
  /* border: 1px solid #F9F6EE; */
  border-bottom: 1px solid #f9f6ee;
  width: 100%;
  height: 50%;
  text-align: left;
  position: relative;
  margin-bottom: 30px;
}

.left-sauce-card {
  position: relative;
  border-right: 1px solid #f9f6ee;
  padding: 5px;
}

.sauce-row {
  height: 70%;
}

.sauce-ratings {
  position: relative;
}

.sauce-sub-emoji {
  text-align: center;
  font-size: 200%;
  margin-top: 13px;
  color: #ff4c68;
}

.inner-sauce-ratings {
  /* border: 1px solid orange; */
  position: relative;
  width: 140px;
  height: 100px;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.sauce-main-rating {
  /* border: 1px solid white; */
  position: absolute;
  font-size: 2rem;
  top: 10px;
  width: 40px;
  left: 85px;
}

.sauce-top-main-rating {
  /* border: 1px solid white; */
  position: absolute;
  font-size: 2.5rem;
  width: 40px;
  left: 60px;
}

.sauce-sub-rating {
  /* border: 1px solid white; */
  position: relative;
  font-size: 1rem;
  width: 85px;
  left: 110px;
  bottom: 50px;
  color: #808080;
}

.sauce-heat-sources {
  /* border-right: 1px solid black; */
  padding: 10px;
  width: 75%;
  margin: 0 auto;
  text-align: center;
  border-bottom: 1px solid #808080;
}

.sauce-flavor-notes {
  padding: 10px;
  width: 75%;
  margin: 0 auto;
  text-align: center;
  border-bottom: 1px solid #808080;
}

.sauce-thickness {
  /* border-left: 1px solid black; */
  padding: 10px;
  width: 75%;
  margin: 0 auto;
  text-align: center;
}

.sauce-tastings {
  /* border: 1px solid black; */
  width: 30%;
  position: absolute;
  right: 10px;
  top: 5px;
  text-align: right;
  margin-right: 5px;
}

.sauce-tasting-card {
  position: relative;
  border: 1px solid #f9f6ee;
  border-radius: 10px;
  margin: 10px;
  text-align: left;
}

.sauce-tasting-card:hover {
  box-shadow: 0 0 11px rgba(33, 33, 33, 0.2);
}

.sauce-tasting-ratings {
  /* border-bottom: 1px solid white; */
  position: relative;
  padding-top: 2rem;
  margin-left: 14%;
}

.sauce-tasting-notes {
  padding: 1rem;
  padding-bottom: 2rem;
  text-align: center;
}

.sauce-tasting-owner {
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.sauce-rating-container {
  /* border: 1px solid orange; */
  float: left;
  width: 130px;
  position: relative;
  margin-bottom: 15px;
}

.sauce-top-rating-container {
  /* border: 1px solid orange; */
  float: left;
  width: 138px;
  position: relative;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Manufacturer Detail Page */
.card-manufacturer {
  /* border: 1px solid; */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.manufacturer-name {
  font-size: 1rem;
  width: 75%;
}

.manufacturer-inner-card-container {
  /* border: 1px solid white; */
  width: 100%;
  height: 100%;
  line-height: 50px;
}

.big-manufacturer-card {
  /* border: 1px solid #F9F6EE; */
  border-bottom: 1px solid #f9f6ee;
  width: 100%;
  height: 50%;
  text-align: left;
  position: relative;
  margin-bottom: 30px;
}

.manufacturer-left-container {
  padding-left: 5rem;
}

.manufacturer-ratings{
  position: relative;
  display: flex;
  width: 75%;
  margin: 0 auto;
  padding-top: 2rem;
  padding-left: 4rem;
}

.manufacturer-tastings {
  /* border: 1px solid black; */
  width: 30%;
  position: absolute;
  right: 10rem;
  text-align: right;
  margin-right: 5px;
}

.manufacturer-rating-container {
  float: left;
  /* border: 1px solid orange; */
  width: 150px;
  position: relative;
  bottom: 10px;
}

.manufacturer-card-section {
  position: relative;
  /* border: 1px solid; */
  width: 95%;
  margin: 0 auto;
}


/* Profile Page */
.profile-card-section {
  background-color: #28282b;
  color: #f9f6ee;
  padding-top: 75px;
  padding-bottom: 75px;
  border-top: 2px solid #f9f6ee;
}

.profile-tasting-card-container {
  width: 100%;
}

.profile-tasting-card {
  position: relative;
  border: 1px solid #f9f6ee;
  border-radius: 10px;
  text-align: left;
  margin-bottom: 10px;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  width: 95%;
}

.profile-flavor-notes {
  width: 50%;
  margin: 0 auto;
  padding: 1rem;
  padding-bottom: 3rem;
  text-align: center;
  border-top: 1px solid #f9f6ee;
}

.profile-tasting-notes {
  /* border-right: 1px solid #f9f6ee; */
  padding: 1rem;
  padding-bottom: 2rem;
  text-align: center;
}

/* Search Page */
.search-card-section {
  position: relative;
  /* border: 1px solid; */
  width: 40%;
  margin: 0 auto;
}

/* Fill Container */
.fillcontainer {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #28282b;
}

.fillbox {
  background-color: #28282b;
  flex: 1;
}

/* Media Queries */
@media (max-width: 1200px) {
.body {
  min-height: 100vh; 
  min-height: -webkit-fill-available;
}

.section-main {
  text-align: center;
}

.big-heading {
  font-size: 4rem;
}

h1 {
  font-size: 2rem;
}

h3 {
  font-size: 1rem;
}

p {
  font-size: 1rem;
}

.card {
  width: 95%;
  left: 5px;
}

.collapse-align-header {
  padding-top: 3px;
  float: left;
}

.collapse-align {
  position: relative;
  float: left;
  left: 2px;
  top: 0;
}

.manufacturer-name {
  width: 80%;
}

.manufacturer-info-button {
  width: 5%;
  position: absolute;
  right: 0;
  bottom: 0;
}

.sauce-info-button {
  width: 5%;
  position: absolute;
  right: 15px;
  padding-left: 0;
  bottom: 2.3rem;
}

.inner-card-container {
  /* border: 1px solid orange; */
  padding-left: .5rem;
}

.sauce-ratings {
  position: relative;
  padding-left: 0;
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
}

.sauce-top-rating-container {
  /* border: 1px solid orange; */
  float: left;
  width: 85px;
  position: relative;
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 0;
}

.emoji {
  font-size: 1.5rem;
  /* border: 1px solid purple; */
}

.sauce-top-emoji {
  font-size: 1.5rem;
}

.main-rating {
  font-size: 1.5rem;
}

.sauce-top-main-rating{
  float: left;
  font-size: 1.5rem;
  left: 30px;
}

.manufacturer-tastings {
  /* border: 1px solid black; */
  width: 30%;
  position: absolute;
  right: 10px;
  top: 5px;
  text-align: right;
}

.manufacturer-left-container {
  padding-left: 0;
}

.manufacturer-ratings {
  padding-left: 1rem;
  width: 100%;
}  

.left-sauce-card {
  /* border-bottom: 1px solid black; */
  position: relative;
  border-right: 0;
  padding: 0;
}

.sauce-tasting-ratings {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 14%;
  border-bottom: 0;
}

.inner-sauce-ratings {
  width: 150px;
  height: 75px;
}

.sauce-main-rating {
  position: absolute;
  left: 60px;
  font-size: 2rem;
}

.navbar-brand {
  text-align: left;
  margin: 0;
  width: 15rem;
}

.container-main {
  position: relative;
  /* border: 1px solid; */
  width: 95%;
}

.search-card-section {
  position: relative;
  /* border: 1px solid; */
  width: 100%;
  margin: 0 auto;
}

.add-form-container{ 
  margin: 10px;
}

.popup {
  margin: 100px auto;
  width: 90%;
}

.taste-button {
  z-index: 2;
}

.footer {
  z-index: 3;
}
}

/* This is for the monster generator */
.monster-card h1, .monster-card h2, .monster-card h3, .monster-card h4 {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: #b01923;
}

.monster-card h2, .monster-card h3, .monster-card h4{
  font-size: 1rem;
}

.monster-card h1 {
  text-align: left;
}

.monster-card h2 {
  margin: 0;
}

.monster-card h3 {
  text-align: center;
}

.monster-card h4 {
  margin-bottom: -1rem;
  text-align: left;
}

.monster-card p {
  font-size: .9rem;
  text-align: left;
}

hr {
  border: 1px solid #b01923;
}

.left {
  display: inline-block;
  text-align: left;
}

p.left {
  margin: 0;
  font-size: 1rem;
}

.monster-main {
  padding: 1rem;
}

.monster-section-main {
  background-color: #28282b;
  color: #f9f6ee;
  padding-top: 50px;
  padding-bottom: 50px;
}

.ability-score-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ability-score {
  width: 90px;
}

.ability-score p {
  text-align: center;
}

.monster-card-container {
  border: 10px solid rgb(95, 95, 95);
  border-radius: 10px;
  width: 100%;
  margin: 0 auto;
  background-color: #f2ecd6
}

.monster-card {
  padding: 20px;
}

.statistics {
  text-align: left;
  margin-bottom: -.5rem;
  margin-top: -.5rem;
}

.attributes-container {
  text-align: left;
}

.monster-legal {
  border-top: 1px solid #f2ecd6;
  width: 100%;
  background-color: #28282b;
  color: #f9f6ee;
  padding: 2rem;
}

@media (min-width: 600px) {
  .monster-main {
    display: flex;
    justify-content: center;
    gap: 5rem;
    padding: 2rem;
  }

  .monster-section-main {
    width: 30%;
  }

  .monster-card-container {
    width: 60%;
    margin: 0;
    margin-top: 3rem;
  }

  .ability-score-container {
    display: flex;
    justify-content: center;
  }

  .ability-score-container {
    margin: -.5rem 0;
    display: flex;
    justify-content: left;
  }
}