@font-face {
    font-family: cool; /* set name */
    src: url(/good-times/Good\ Times\ Rg.otf); /* url of the font */
}

.josefin-sans-font {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
  }

body {
  background-image: url(/IMAGES/TILES/0starbg.gif);
  --sb-track-color: #290202;
  --sb-thumb-color: #fdc5c5;
  --sb-size: 14px;
}

body::-webkit-scrollbar {
  width: var(--sb-size)
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 3px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 3px;
  
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}

.back-button {
    font-family: 'Josefin Sans';
    font-size: medium;
    padding: 20px;
    background-image: linear-gradient(#fbc6c6, #ce6e6e);
    box-shadow: inset 0px 0px 12px 2px #280408;
    border: 1px solid rgba(250, 236, 236, 0.4);
    border-radius: 5px;
    position: sticky;
}

.back-button:hover {
    background-image: linear-gradient(#d79292, #a34242);
    box-shadow: inset 0px 0px 12px 2px #1e0205;
}

.tabs {
  width: 1500px;
  margin: auto;
}

p {
  font-family: 'Josefin Sans';
}

h1 {
  font-family: cool;
}

.divider {
  margin-top: 30px;
  max-width: 800px;
  margin-bottom: 0;
}

.divider img {
  width: 100%;
}

.comm-section {
    width: 700px;
    padding: 10px;
    border-image: url(/IMAGES/TILES/whitelace.png) 34 round;
    background-clip: padding-box;
    border: 20px solid transparent;
}

.comm-section h3 {
  font-family: 'Josefin Sans';
}

.comm-section a {
  color: #000000;
  transition: transform 0.3s;
  display: block;
}

.comm-section a:hover {
  transform:scale(1.05);
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 8px;
  font-family: 'Josefin Sans';
}

.comm-header {

}

.example-images {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.example-images img {
  max-height: 450px;
  align-self: flex-end;
}

.terms h2 {
  font-family: cool;
}

.terms li {
  font-family: 'Josefin Sans';
}

.tab {
  overflow: hidden;
  margin-top: 30px;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: #42060d;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  border-radius: 20px 20px 0 0;
  color: #e6c8c8;
  font-family: 'Josefin Sans';
  border: 3px solid #f5a1a1;
  border-bottom: none;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #7c0808;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #110000;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 20px;
  border-top: none;
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
  overflow: auto;
  background-image: linear-gradient(#d37e7e, #862f2f);
  box-shadow: inset 0px 0px 25px 2px #280408;
  height: 700px;
  border: 3px solid #f5a1a1;
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}
