html {
  scroll-behavior: smooth;
}

canvas {
  background-color: #f2f2f2;
}

body {
    background-color: #333333;
    color: #FFFFFF;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: 300;
    //overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 300;
}

h3 {
    font-size: 1.3rem;
}

.tm-site-logo {
    width: 175px;
    height: 175px;
    border: 2px solid white;
    display: inline-block;
    vertical-align: middle;
    background-image: url(../img/logo.png);
    background-position: center center;
    background-color: #000;
    background-size: 100$;
    background-size: contain;
    background-repeat: no-repeat;
}

.tm-site-title {
    display: block;
    vertical-align: middle;
    margin-top: 50px;
    margin-bottom: 0;
    color: #e8b024;
}

.tm-site-header {
    padding-top: 45px;
    padding-bottom: 45px;
    margin-bottom: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tm-video-text-overlay h1 {
	font-size: 3.4rem;
}
.tm-welcome-text {
    margin-top: 65px;
    margin-bottom: 65px;
    font-size: 2.2rem;
}

.tm-font-400 {
    font-weight: 400;
}

.tm-text-light-gray {
    color: #CDCDCD;
}

.tm-text-gray {
    color: #CCCCCC;
}

.tm-text-white {
    color: #FFFFFF;
}

a.tm-text-white:hover,
a.tm-text-white:focus {
    color: #FFFFFF;
}

.tm-text-green {
    color: #99CC66;
}

.tm-text-cyan {
    color: #33CCCC;
}

.tm-text-yellow {
    color: #FFFF66;
}

.tm-text-orange {
    color: #CC9966;
}

.tm-bg-dark {
    background-color: #262626;
}

.tm-bg-dark-light {
    background-color: #404040;
}

hr {
    border-color: #666666;
    max-width: 70%;
}

.tm-video-iframe {
    height: auto;
}

.tm-timeline-item {
    //margin-left: 70px;
}

.tm-timeline-description-wrap {
  margin: 0px auto;
}

.tm-timeline-item-inner {
    display: flex;
    align-items: center;
}

.tm-img-timeline {
    width: 160px;
    height: 160px;
    display: inline-block;
    vertical-align: middle;
}

.tm-timeline-connector {
    width: 55px;
    height: 3px;
    background-color: #404040;
}

.tm-timeline-connector-vertical {
    height: 60px;
    width: 3px;
    background-color: #404040;
    margin-left: 260px;
}

.tm-timeline-description {
    display: inline-block;
    vertical-align: middle;
    border-radius: 20px;
    padding: 35px 40px;
    max-width: 850px;
}

.tm-section-mb {
    margin-bottom: 85px;
}

.tm-section-mt {
    margin-top: 85px;
}

input,
textarea,
[contenteditable] {
    caret-color: #FFFFFF;
}

p {
    line-height: 1.9;
}

.container {
  max-width: fit-content !important;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1310px;
    }
    .tm-container-2 {}
}

//@media (max-width: 1199px) {}

@media (max-width: 991px) {
  .tm-timeline-item {
    margin-left: 25px;
  }
}

@media (max-width: 767px) {
    .tm-timeline-item {
        margin-left: 0;
    }
}

@media (max-width: 584px) {
    .tm-timeline-item-inner {
        flex-direction: column;
    }
    .tm-timeline-connector {
        width: 3px;
        height: 55px;
    }
    .tm-timeline-connector-vertical {
        margin-left: auto;
        margin-right: auto;
    }
}

//@media (max-width: 575px) {}
//@media (max-width: 480px) {}

i.fa {
  padding-right: 20px;
  color: Tomato;
}

i.fa:hover {
  opacity: 0.5
}

.item-key-mode-incompatibility,
#item-full-incompatible {
  margin-top: 100px;
}

.compatible-filter-item, 
.incompatible-filter-item {
  display: none;
  opacity: 0;
  transition: opacity 2000ms;
}

.compatible-filter-item.scrolled,
.incompatible-filter-item.scrolled {
  opacity: 1;
}

.chart-container {
  margin: auto;
  height: 80vh;
  width: 80vw;
  max-width: 780px;
  max-height: 945px;
}

@font-face {
  font-family: cursive2;
  src: url(./../fonts/cursive.ttf);
}

.vanillajs {
    font-family: cursive2;
    color: #9e946e;
    font-size: 120%;
    padding-right: 0.1em;
}

img.clickToZoom:hover {opacity: 0.7;}

img.clickToZoom {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  display: block;
  margin-left: auto;
  margin-right: auto
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.modal-content {
  margin: auto;
  display: block;
  width: 75%;
  //max-width: 75%;
}


#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(1)}
  to {-webkit-transform:scale(2)}
}
@keyframes zoom {
  from {transform:scale(0.4)}
  to {transform:scale(1)}
}

@-webkit-keyframes zoom-out {
  from {transform:scale(1)}
  to {transform:scale(0)}
}
@keyframes zoom-out {
  from {transform:scale(1)}
  to {transform:scale(0)}
}

/* Add Animation */
.modal-content, #caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

.out {
  animation-name: zoom-out;
  animation-duration: 0.6s;
}

@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}
