html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  box-sizing: border-box;
  font-size: 62.5%;
}

.h2-heading {
  font-size: 1.5rem;
  line-height: 1.2; 
  margin: 4.2rem 0 0;
  color: #32302f;
  font-weight: 600;
  font-family: 'Lato';
}

h2 {
  color: #A2A6AD;
}

p {
  color: #A2A6AD;
}

.other {
  font-family: 'Roboto'
}

body {
  background-color: #2F3E4E;
  overflow-x: hidden;
  background: #2F3E4E;
  font-family: futura-pt,"system-ui",Helvetica Neue,sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  min-height: 100%;
  position: relative;
}

.action-box {
  position: relative;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 0 7px 0 #0003;
  margin: 3.2rem 0;
  overflow: hidden;
  padding: 3.2rem;
}

.action-box ol {
  padding-left: 1rem;
}

.action-box:before {
  background: #849F97;
  content: "";
  height: 1.5rem;
  left: 0;
  position: absolute; 
  right: 0;
  top: 0;
  box-sizing: inherit;
  -moz-border-radius: 10px 10px 0 0;
}

.main-content {
  /* max-width: 1200px; */
  margin-left: auto; 
  margin-right: auto;
  width: 100%;
}

/* @media (min-width: 768px) {
  .main-content {
    grid-row-gap: 10px;
    padding: 0 48px;
  }
}

@media (min-width: 960px) {
  .main-content {
    column-gap: calc(30px + 3vw);
    display: grid; 
    grid-template-areas: "Main Sidebar";
    grid-template-columns: minmax(0,1fr) 300px;
  }
} */

@media (min-width: 1280px) {
  body {
    /* font-size: 2.4rem; */
  }
}


h3 {
  font-size: 2.1rem;
  line-height: 1.4;
  color: #849F97;
  margin: 3.2rem 0 0;
}

.main { 
  grid-area: Main;
  grid-row: 2;
}

.sidebar {
  grid-area: Sidebar;
  grid-row: 2;
}

/* .item {
  margin: 5px;
  padding: 2px;
  width: 64px;
  height: 64px;
}

.item-image {
  width: 64px;
  height: 64px;
}

.item-block {
  margin: 5px;
  padding: 2px;
  width: 256px;
  height: 64px;
  background-color: rgba(0, 0, 255, 0.26); 
} */

/* .item:hover {
  background-color:rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  cursor: pointer;
}
 */


.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 1rem 1.5rem;
  width: 24rem;
  border-radius: 0.5rem;
}

.close-button {
  float: right;
  width: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  cursor: pointer;
  border-radius: 0.25rem;
  /* background-color: lightgray; */
}

.close-button:hover {
  color: darkgray;
}

.show-modal {
  opacity: 1;
  visibility: visible;
  transform: scale(1.0);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

.header {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333;
}

.header-item {
  float: left;
  border-right:1px solid #bbb;
}

.header-item:last-child {
  border-right: none;
}

.header-item a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.header-item a:hover:not(.active) {
  background-color: #111;
}

.active {
  background-color: #04AA6D;
}

.main-section {
  max-width: 1000px;
  margin: 0 auto;
  background-color: #2F3E4E;
}

.item-holder {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* width: 1200px; */
}

.item-block {
  display: flex;
  margin: 5px;
  padding: 2px;
  width: 285px;
  height: 55px;
  background-color: #E6E8E9; 
  border-width: 2px;
  border-style: solid;
  border-color: #96A6A6;
}

.item-content {
  margin: auto 0px;
  margin-left: 10px;
}

.item-image {
  width: 55px;
  height: 55px;
}

.item-title {
  font-size: 12px;
  color: black;
  font-weight: 600;
}

.item-description {
  font-size: 10px;
  color: black;
  /* white-space: nowrap; */
  /* overflow: hidden; */
  /* text-overflow: ellipsis */
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");


.footer {
  position: relative;
  width: 100%;
  background: #3586ff;
  min-height: 100px;
  /* padding: 20px 50px; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.social-icon,
.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  padding-left: 0px;
  flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
  list-style: none;
}

.menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.menu__link:hover {
  opacity: 1;
}

.footer p {
  color: #fff;
  margin: 15px 0 10px 0;
  font-size: 1rem;
  font-weight: 300;
}

ul {color: #A2A6AD;}

/* for the don't starve boxes */


.ingredient-image {
  width: 35px;
  height: 35px;
}

.recipe-block {
    display: flex;
    margin: 5px;
    padding: 2px;
    width: 285px;
    height: 75px;
    background-color: #E6E8E9; 
    border-width: 2px;
    border-style: solid;
    border-color: #96A6A6;
}


/* for the recipe test card */
.test-card {
  /* display: flex; */
  margin: 5px;
  padding: 2px;
  width: 285px;
  /* height: 75px; */
  background-color: #1A1A1A; 
  border-width: 2px;
  border-style: solid;
  border-color: #96A6A6;
  border-radius: 5px;
  padding: 10px;
  padding-bottom: 30px;
}

.test-card-title {
  font-size: 25px;
  font-weight: 500;
  text-align: center;
  color: #ffffff;
  padding-top: 15px;
}

.test-crockpot-recipe img {
  display: flex;
  margin: auto;
  width: 75px;
}

.text-ingredients-title {
  text-align: center;
  color: #ffffff;
  font-size: 16px;
  margin-top: 10px;
}
.test-ingredients {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

.test-ingredients img{
  text-align: center;
  width: 45px;
}

.test-ingredients-written {
  text-align: center;
  font-size: 14px;
}

.test-stats-title {
  text-align: center;
  color: #ffffff;
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.test-stats {
  text-align: center;
  font-size: 14px;
}

.test-special-note-title {
  text-align: center;
  color: #ffffff;
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.test-special-note {
  text-align: center;
  font-size: 14px;
  /* margin-bottom: 10px; */
}



.ds-recipe-title {
  color: #ffffff;

  font-size: 14px;
}

.ds-recipe-stats {
  height: 80px;
  width: 80px;
  display: grid; 
  grid-template-columns: 40px;
  grid-template-rows: 40px;
  grid-template-areas:
    "health hunger"
    "sanity perish";
  text-align: center;
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  margin: 10px auto;
  border: 2px solid rgb(33, 33, 33);
  border-radius: 5px;
  opacity: .5;
}

.recipe-health {
  grid-area: health;
  background-color: #9A2D24;
  display: flex;
  justify-content: center;
  align-items: center;
}
.recipe-hunger {
  grid-area: hunger;
  background-color: #D3AE34;
  display: flex;
  justify-content: center;
  align-items: center;
}
.recipe-sanity {
  grid-area: sanity;
  background-color: #B47831;
  display: flex;
  justify-content: center;
  align-items: center;
}
.recipe-perish {
  grid-area: perish;
  background-color: #677D7B;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ds-frame {
  background: url(./dont-starve-together/ds-food-recipe/background.png) center;
  background-size: cover;
  width: 45px;
  height: 45px;
  margin-left: 8px;
}

.stat-bubble {
  display: flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid black;
  text-align: center;
  align-items:center;
  justify-content:center;
  color: black;
  font-weight: 600;
  font-size: 14px;
}

.ds-recipe {
  /* display: flex; */
  /* text-align: center; */
  width: 305px;
  margin: 15px;
  /* border: 2px solid blue; */
  background-color: #1B1B1B;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 4px;
  border-radius: 5px;
}

.stat-container {
  display: flex; 
}

.stat-box {
  display: flex; 
  align-items: center;
  font-weight: 500;
  color: white;
  margin-left: 4px;
  font-size: 12px;
}

.stat-icon {
  width: 20px;
  height: 20px;
  margin-right: 2px;
}

.stat-number {
  color: #ffffff;
}

.recipe-title {
  font-size: 12px;
  font-weight: 500;
  color: white;
}

.ds-recipe-top {
  display: flex; justify-content: space-between; align-items: center;
}

.ds-recipe-bottom {
  display: flex; align-items: center;
}

.recipe-image {
  width: 55px; height: 55px;
}

.crock-pot-image {
  margin-right: 8px; margin-left: 9px;
}

.ds-recipe-ingredients {
  display: flex;
}

.ingredient-img {
  width: 45px; height: 45px;
}

.ds-recipe:hover {
  background-color: #323232;
  cursor: pointer;
}


.caret-margin {
 margin-left: 10px;
}


#commonItems .item-block { background-color: #E6E8E9;}
#uncommonItems .item-block { background-color: #BFE1A5;}
#legendaryItems .item-block { background-color: #F1AEA5;}
#bossItems .item-block { background-color: #DAE09B;}
#lunarItems .item-block { background-color: #A4DFF1;}
#voidItems .item-block { background-color: #D466AB;}
#equipmentItems .item-block { background-color: #E6C8A4;}
#lunarEquipmentItems .item-block { background-color: #A4DFF1;}
#eliteEquipmentItems .item-block { background-color: #DA842B;}


.synergy {
  height: 175px;
  width: 175px;
  margin: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  border: 2px solid rgb(33, 33, 33);
  border-radius: 5px;
  background-color: #1b1b1b;
  text-align: center;
}

/* .synergy-image {
  grid-area: synergy-image;
  width: 80px;
  margin-left: 8px;
} */
/* .synergy-info {
  grid-area: synergy-info;
  text-align: center;
} */
.synergy-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-transform: capitalize;
}
.synergy-description {
  font-size: 12px;
  font-weight: 400;
  color: #b1b1b1;
}
.combination {
 
}
.combination-names {
  font-size: 10px;
  padding: 5px;
}

.combination-image {
  width: 36px;
}

@media screen and (min-width: 930px) {
  .synergy-title {
    font-size: 18px;
  }
.synergy {
  height: 200px;
  width: 275px;
  margin: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.synergy-description {
  font-size: 16px;
  font-weight: 400;
  color: #b1b1b1;
}
.combination-names {
  font-size: 14px;
  padding: 5px;
}
.combination-images img{
  width: 48px;
  margin-top: 5px;
  margin-bottom: 5px;
}
}

.synergy-text {
  text-align: center;
  max-width: 900px;
  margin: 20px auto;  
}

.rorr-char-img:hover {
  cursor: pointer;
}


.main .synergy-item img {
  display: inline-block !important;
}

h1 { 
  color: #A2A6AD;
}

h4 { 
  color: #A2A6AD;
}

strong {
  color: #A2A6AD;
}

li {
  color: #A2A6AD;
}

img {
  width: 45px;
  height: 45px;
}

  /* Table styling */
  table {
    border-collapse: collapse;
    width: 100%;
    font-family: Arial, sans-serif;
  }

  /* Table header */
  th {
    background-color: #f2f2f2;
    text-align: left;
    padding: 8px;
  }

  /* Table rows */
  tr:nth-child(even) {
    background-color: #f9f9f9;
  }

  tr:nth-child(odd) {
    background-color: #b0a4a4;
  }

  /* Table cells */
  td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
  }

  /* Add hover effect to rows */
  tr:hover {
    background-color: #e6e6e6;
  }

  table {
    table-layout: fixed;
    width: 100%;
}