@font-face {
  font-family: 'EBGaramond';
  src: url('../fonts/EBGaramond-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'EBGaramond';
  src: url('../fonts/EBGaramond-Italic.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'EBGaramond';
  src: url('../fonts/EBGaramond-ExtraBoldItalic.woff2') format('woff2');
  font-weight: 800;
  font-style: italic;
}

body {
  margin: 0;
  background-color: #bfbfbf;
  font-family: 'EBGaramond', serif;
  overflow: hidden;
}

.top-bar {
  height: 75px;
  background-color: black;
  color: white;
  display: flex;
  align-items: center;
  padding: 0 20px;
  overflow: hidden;
  position: relative;
  justify-content: flex-start;
}
.bottom-bar {
  height: 40px;
  background-color: black;
  color: white;
  display: flex;
  align-items: center;
  padding: 0px;
  overflow: hidden;
  position: absolute;
  bottom: 0px;
  width: 100%;
}


.logo {
  height: 68px;
  margin-right: 20px;
}
.main-frame {
  font-size: 10vw;
  font-weight: 800;
  font-family: 'EBGaramond', serif;
}
.header-logo {
  font-size: 4vmin;
  font-weight: 800;
  font-style: italic;
  font-family: 'EBGaramond', serif;
}
.header-text {
  font-size: 4vmin;
  font-weight: 800;
  font-style: normal;
  font-family: 'EBGaramond', serif;
}


.header-mobile {
	display: none;
}

@media (width < 768px) {
	.header-mobile {
		display: flex;
		flex-direction: column;
		justify-content: left;
	}
	.header-main-div {
		display: none;
	}
}

.bottom-bar .scrolling-text {
  margin-top: auto;
  margin-bottom: auto;
  white-space: nowrap;
  position: absolute;
  left: 100%;
  font-weight: 600;
  font-style: normal;
  font-size: 14px;
  font-family: 'EBGaramond', serif;
  align-content: center;
  animation: scroll-left 40s linear infinite;
  @keyframes scrollLeft {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
}

@keyframes scroll-left {
  0% { left: 100%; }
  100% { left: -40%; }
}

#body {
  height: calc(100vh - 115px);
  display: flex;
  justify-content: center;  
	
	
}

.main-frame {
  background-color: #bfbfbf;
  padding: 10px;
  margin: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-top: auto;
  margin-bottom: auto;
  height: inherit;
}

.main-frame img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: opacity 0.5s ease-in-out;
}

.popup {
  position: fixed;
  top: 33%;
  left: 33%;
  background-color: #e85e5e;
  color: black;
  font-size: 18px;
  padding: 20px;
  font-family: 'EBGaramond', serif;
  display: none;
  z-index: 1000;
  overflow-y: auto;
}

a {
  color: white;
  font-style: italic;
  font-weight: 700;
  text-decoration: none;
}