/*! Matt Laurence cases page v4.0                                   */
/*           with special thanks to                                */
/*!      HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
/* SASS file */
/* =====================================================
//    Custom variables
//    ===================================================== */
/*@import url(http://fonts.googleapis.com/css?family=Droid+Serif);
@import url(http://fonts.googleapis.com/css?family=Sorts+Mill+Goudy);*/
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@200;300;400;600;700&display=swap");
@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700,300|Nunito:400,700);
/* this is ALL nav bar colors */
/*$navItemHover: $tan;
*/
body {
  /*font-family: 'myriad-pro', MyriadPro, 'Myriad Pro', 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;*/
  /*font-family: Nunito, 'myriad-pro', MyriadPro, 'Myriad Pro', 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;*/
  font-family: "Raleway", "Open Sans", "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6rem;
  color: #121212;
  background-color: #ffffff;
}

body.modal-open {
    overflow: hidden; /* Prevent scrolling */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /*box-sizing: border-box;  this might cause weirdness */
  background: none;
  background-color: #ffffff;
}

.main {
  max-width: 1440px;
  margin: 0 auto;
}

h1 {
  font-size: 3rem;
  line-height: 0.8em;
  margin: 0.5em 0em 0.3em 0.2em;
  padding: 0;
  letter-spacing: 0em;
}

img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

.btn {
  transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  color: #5a1522;
  padding: 0.8rem;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 4px;
  font-weight: 400;
  display: block;
  width: 100%;
  cursor: pointer;
  border: none;
  background-color: #f4f1ee;
}

.btn2 {
  color: #bbbbbb;
  padding: 0.8rem;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 4px;
  font-weight: 400;
  display: block;
  width: 100%;
  border: 1px solid #bbbbbb;
  background-color: #f4f1ee;
  border: none;
}


.cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cards ul {
  display: block;
  list-style-type: none;
  margin-top: 1em;
  margin-bottom: 1 em;
  margin-left: 0;
  margin-right: 0;
  padding-left: 40px;
}
.cards a, .cards a:visited {
  border: none;
}

.cards_item {
  display: flex;
  padding: 1rem;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (min-width: 280px) {
  .cards_item {
    width: 100%;
    padding: 0.5rem;
  }
}
@media (min-width: 480px) {
  .cards_item {
    width: 50%;
  }
}


@media (min-width: 980px) {
  .cards_item {
    width: 33.3333%;
    padding: 1rem;
  }
}
@media (min-width: 1440px) {
  .cards_item {
    width: 25%;
  }
}
.card {
  background-color: #f4f1ee;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card_content {
  padding: 1rem;
  background-color: #f4f1ee;
  /*@include trans;*/
}

.card_title {
  color: #5a1522;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0px;
  /*letter-spacing: .05rem;*/
  /*@include trans;*/
}

.card_text {
  color: #121212;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  font-weight: 400;
  /*@include trans;*/
}


/*li .btn {
  border: 1px solid #666666;
}*/

li:hover .btn {
  background-color: #8c7a74;
  color: #ffffff;
}




/********************
 * Simple Modal CSS *
 ********************/

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease-in-out; 
    z-index: 900;
    /*overflow-y: initial !important;*/
}

.modal {
    background: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: auto;
    max-width: 1000px; 
    max-height: 90%; 
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 950;
}



.modal-header img {
    position: relative;
    overflow: hidden;
}

.images {
  display: block;
}

.modal-image {
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    object-fit: contain; /* This ensures the image fits proportionally */
}

.modal-content {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto; 
}

.close {
    position: fixed;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 999;
}




.container {
  text-align: left;
}

.container h2 {
  font-size: 1.5rem;
  color: #2b2f79;
  line-height: 0.8em;
  margin: 0em 0em 1em 0em;
  padding: 0;
  letter-spacing: 0em;
}

.case-controls {
  padding: 0.1rem;
}

.case-controls a {
  background-color: #eee;
  color: #333;
  font-size: 14px;
  cursor: hand;
  text-transform: uppercase; 
  border: none;
  border-radius: 4px;
  padding: 0.8rem;
  margin: 1rem 0.5rem 1rem 0;
}

.case-controls a:hover {
  background-color: #dad4ce;
  transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
}

.btn_coming {
  width: 200px;
  display: block;
  justify-content: center;
  font-size: 14px;
  align-items: center;
  text-align: center;
  background-color: #eee;
  color: #999;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.5rem;
  /*margin: 0.3rem 0.5rem 0.3rem 0;*/
  border: none;
  border-radius: 4px;
}

.info {
  font-size: 1rem;
  color: black;
  line-height: 1.5rem;
  /*text-indent:-20px each-line; margin-left: 20px;*/
}



.mainContent {
  text-align: left;
}

.mainContent p {
  font-size: 1rem;
  color: black;
  line-height: 1.5rem;
  padding: 0;
  margin: 1em 0em 0em 0em;
  /*text-indent:-20px each-line; margin-left: 20px;*/

}

