:root {
  --website_opened: 0;
}

.background-image {
  --main-font: Home
  /*animation: movingBackground 60s linear infinite*/
}

@font-face {
  font-family: --main-font;
  src: url(../font/winter-home/Winter\ Home.otf);
}

@keyframes scalingForegroundDown {
  0% {
    transform: scale3d(1, 1, 1)
  }
  100% {
    transform: scale3d(0, 0, 0)
  }
}

@keyframes scalingForegroundDUp {
  0% {
    transform: scale3d(1, 1, 1)
  }
  100% {
    transform: scale3d(0, 0, 0)
  }
}

@keyframes movingBackground {
    0% {
      transform: translate3d(0, 0, 0);
    }
    100% {
      transform: translate3d(-1920px, 0, 0);
    }
}



.overlay {
  position: absolute;  
  background-image: url("../img/fg-popup.png");;
  width: 5000px;
  height: 5000px;
  top: calc(-2500px + 50vh);
  left: calc(-2500px + 50vw);
  z-index: 9998;
  overflow: hidden;
  will-change: transform;
  transition: scale 2s;
}

.overlay.shrunk {
  scale: 0;
}

#toggleableNavbar
{
  border-left: 2px solid black;
  transition: all 1s;
}


#toggleableNavbar.collapsed {
  translate: 100%;
}

.hotkeys-container
{
  position: fixed;
  top: 0px;
  right: 0px;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.hotkeys-item
{
  
}

.sidebar-button
{
  background-color: #5b894e00;
  width: 4rem;
  height: 4rem;
  font-family: --main-font;
  font-size: 30px;
  margin: 10px;
  margin-left: 20px;
  scale: 1.35;
}

.sidebar-icon
{
  width: 2rem;
  height: 4rem;
  color: #000000; 
  font-size: 3rem;
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.smaller
{
  font-size: 2.35rem;
}

.sidebar-icon:hover
{
  color: black;
}

.logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  top: calc(50% - 350px);
  width: 700px;
  height: 700px;
  position: relative;
  z-index: 99999;
  pointer-events: none;
  image-rendering: -moz-crisp-edges;
}

.content-body {

}

.sidebar-bg {
  background: #5b894e;
}

.sidebar-item {
  background: linear-gradient(currentColor 0 0) 
    bottom right/
    var(--underline-width, 0%) 0.05em
    no-repeat;

  color: #fff1f6;
  font-family: --main-font;
  font-size: 30px;
  text-align: right;
  text-decoration: none;
  letter-spacing: 1px;

  padding: 0 .5em 0.2em;
  padding-right: 20px;

  margin-bottom: 10px;
  display: inline-block;

  transition: background-size 0.5s;
}

.sidebar-item:hover {
  --underline-width: 100%;
  color: #fff1f6;
}

.navbar-default {
  box-shadow: none;
}

body {
    background-image: url("../img/bg.png");
    background-repeat: repeat;
    overflow: scroll;
  }

.page-container {
  position: absolute;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

.sphere-container {
  position: relative;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}
  
  /* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  padding-top: 70px; /* Height of navbar */
  width: 300px;
  z-index: 600;
}
  

.contact-bubble {
  background: linear-gradient(currentColor 0 0) 
    bottom left/
    var(--underline-width, 0%) 0.05em
    no-repeat;

  position: fixed;
  left: 0;
  top: 83vh;

  width: 250px;
  height: 100px;

  background-color: #5b894e;
  border-radius: 0% 50px 50px 0%;

  box-shadow: #000000 500px;

  font-family: --main-font;
  color: #fff1f6;
  font-size: 44px;
  padding-left: 20px;
  padding-top: 20px;
  z-index: 15;

  transition: background-size 0.5s;
}

.contact-bubble:hover {
  --underline-width: 100%;
  cursor: pointer;
  color: #fff1f6;
}

.sidebar .active {
  border-radius: 5px;
  box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}
  
.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: 0.5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}  

.hamburger-container {
  display: inline-block;
  cursor: pointer;
  padding: 12px;
}

.hamburger-bar1, .hamburger-bar2, .hamburger-bar3 {
  width: 35px;
  height: 5px;
  background-color: #000000;
  margin: 6px 0;
  transition: 0.4s;
}

.change .hamburger-bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

.change .hamburger-bar2 {opacity: 0;}

.change .hamburger-bar3 {
  transform: translate(0, -11px) rotate(45deg);
}

.carousel-image {
  max-height: 60vh;
  object-fit: cover;
  z-index: 10;
}

.content-page-body {
  position: absolute;
  background-color: #fff1f6;
  width: 90vw;
  margin-top: 10vh;
  margin-left: 5%;
  z-index: 11;
}

.content-page-title-bg {
}

.content-page-title {
  -webkit-text-stroke: 0px;
  position: relative;
  font-family: --main-font;
  font-size: 400px;
  z-index: 1000;
  text-wrap: nowrap;
  margin-top: -149px;
  width: 500px;
  height: 400px;
  /*margin-left: 62px; */

  -webkit-user-select: none; /* Safari */        
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none;
}


.content-page-subtitle {
  position: relative;
  font-family: --main-font;
  font-size: 125px;

  margin-top: 20vw;
  margin: 20px;

  -webkit-user-select: none; /* Safari */        
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none;
}

.content-page-img-container-v {
  position: relative;
  width: 80%;
  max-width: 40rem;
  /* min-width: 30rem; */
  height: auto;
  margin: 25px;
  align-self: center;

  display: block;
  margin-left: auto;
  margin-right: auto;
  /*overflow: hidden;*/
}

.content-page-img-container-h {
  position: relative;
  width: 80%;
  max-width: 50rem;
  min-width: 32vw;
  max-height: 50vh;
  height: auto;
  
  display: block;
  margin-left: auto;
  margin-right: auto;
  
  overflow: hidden;
  /*margin: 25px;
  overflow: hidden;*/
}

.BBB {
  /* border: 2px solid red; */
}

.hr-limit {
  width: 80%;
  margin: auto auto;
}

.content-page-img {
  /*position: static;*/
  max-width: 100%;
  height: auto;
  overflow-x: hidden;
  overflow-y: visible;
}

.content-page-text {
  padding: 50px;
  font-size: 25px;
  margin: auto auto;
  margin-top: auto;
}

.show-on-scroll {
  opacity: 0;
  transition: opacity 1s;
}

.is-visible {
  opacity: 1;
}

.content-page-top-items {
  max-height: 400px;
}


@media only screen and (hover: none) and (pointer: coarse) and (max-width: 998.98px)
{
.sidebar 
{
  width: 100%;
}
.logo
{
  display: absolute;
  top: calc(10%);
  width: 100%;
  height: auto;
  margin: auto;
  z-index: 300;
  scale: 1.4;
}
.sidebar-item
{
  padding-top: 10px;
  font-size: 10rem;
}
.sidebar-icon
{
  font-size: 4.5rem;
  margin-right: 90px;
  scale: 1.25;
}
.smaller
{
  margin-right: 70px;
  font-size: 4rem;
}
.sidebar-button
{
  scale: 3;
  margin: 40px;
}
.contact-bubble 
{
  scale: 2;
  left: 10vw;
}
.overlay {
  top: calc(-2500px + 50vh - 10%);
}
.content-page-text {
  font-size: 50px;
}
.content-page-title-bg {
  -webkit-text-stroke: 20vw #fff1f6;
}
.content-page-title {
  margin-top: -65vw;
}
}

@media (max-width: 1200.98px)
{
.content-page-title-bg {
  margin-top: calc(400px - 50vw);
  -webkit-text-stroke: 15vw #fff1f6;
}
.content-page-title {
  margin-top: -40vw;
}

.content-page-top-items {
  max-height: 99999px;
}
}

.row {
  margin-bottom: 200px;
}

/* .content-page-img-container-v {
  position: relative;
  width: 80%;
  max-width: 20rem;
  min-width: 20rem;
  height: auto;
  margin: 25px;
  align-self: center;

  display: block;
  margin-left: auto;
  margin-right: auto;
}

.content-page-img-container-h {
  position: relative;
  width: 80%;
  max-width: 30rem;
  min-width: 30rem;
  height: auto;
  
  display: block;
  margin-left: auto;
  margin-right: auto;

} */