:root {
  --website_opened: 0;
}

@font-face {
  font-family: Komoda;
  src: url(../font/komoda/Komoda.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);
    }
}

html {
  scroll-behavior: smooth;
}

.background-image {

  /*animation: movingBackground 60s linear infinite*/
}

.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
{
  transition: all 1s;
}


#toggleableNavbar.collapsed {
  translate: 100%;
}

.hotkeys-container
{
  position: absolute;
  top: 5%;
  left: 0%;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.hotkeys-bottom-container
{
  position: relative;
  top: 5%;
  left: 0%;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.hotkeys-item
{

}

.sidebar-button
{
  background-color: #5b894e00;
  width: 4rem;
  height: 4rem;
  font-family: Komoda;
  font-size: 30px;
  margin: 10px;
  margin-left: 20px;
  scale: 1.35;
}

.sidebar-icon
{
  color: red;
  display: flex;
  align-items: center;
  margin-left: 3rem;
}

.social-media-icon
{
  color: white;
  margin-left: 3rem;
}

.social-media-icon:hover
{
  color: black;
}

.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;
}

.sidebar-bg {
  background: #F60320;
}

.sidebar-item {
  background: linear-gradient(currentColor 0 0) 
    bottom right/
    var(--underline-width, 0%) 0.05em
    no-repeat;

  color: #F9E3EB;
  font-family: Komoda;
  font-size: 50px;
  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: #F9E3EB;
}

.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;
  border-left: 2px solid black;
}
  

.contact-bubble {
  display: none;
  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: #F60320;
  border-radius: 0% 50px 50px 0%;

  box-shadow: #000000 500px;

  font-family: Komoda;
  color: #F9E3EB;
  font-size: 68px;
  padding-left: 40px;
  z-index: 15;

  transition: background-size 0.5s;
}

.contact-bubble:hover {
  --underline-width: 100%;
  cursor: pointer;
  color: #F9E3EB;
}

.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-title {
  font-family: Komoda;
  font-size: 30em;
  
  
  -webkit-text-stroke: 7px #F9E3EB;
  text-decoration: underline 3px;
  white-space: nowrap;

  margin-top: -300px;
  margin-left: 40px;

  -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: Komoda;
  font-size: 125px;

  margin-top: 140px;
  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: 90%;
  height: 40rem;
  margin: 25px;
  overflow: hidden;
}

.content-page-img-container-h {
  position: relative;
  width: 90%;
  height: 30rem;
  margin: 25px;
  overflow: hidden;
}

.content-page-img {
  width: 100%;
  height: auto;
}

.content-page-text {
  padding: 50px;
  font-size: 25px;
  margin: auto auto;
}

.show-on-scroll {
  opacity: 0;
  transition: opacity 1s;
}

.is-visible {
  opacity: 1;
}

.content-page-top-items {
  max-height: 400px;
}

.content-body {
  width: 100%; 
  height: auto;
  padding-top: 100vh;
}

.content-page {
  height: 100%;
  min-height: 100vh;
  padding: 40px;
}

.content-bottom {
  height: 30vh;
  padding: 40px;
}

.card {
  cursor: pointer;
  margin-bottom: 15px;
}

.card-title {
  color: #F60320;
}

.card-text {
  color: rgb(21, 21, 21)
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 999999;
}

.overlay-block {
  background-color: white;
  width: 80vw;
  height: auto;
  margin: auto;
  margin-top: 40px;
  display: block;

  padding: 50px;
}

.close-window {
  width: 60px;
  left: -70px;
  top: -60px;
  position: relative;
  cursor: pointer;
}

.close-window:hover {
  transform: scale(1.1) perspective(1px)
}

.catering-text {
  font-size: normal;
}

.extra-contact-button {
   height: 60px;
   background-color: #F60320;
   color: white;
   padding: 15px;
   border-radius: 10px;
   font-size: large;
}

.extra-contact-button:hover {
   cursor: pointer;
   color: white;
   transform: scale(1.01) perspective(1px)
}

.submit-button {
  background-color: white;
  border-color: white;
  box-shadow: 0;
  border-radius: 5px;
  height: 3rem;
  width: 8rem;
  border: none;
  cursor: pointer;
  outline: none;
}

.submit-button:hover {
  scale: 1.05;
}

.contact-form {
  width: 80%;
}

 /* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #45a049;
}

.proj_card_image {
  max-height: 20rem;
  overflow: hidden;
  object-fit: cover;
}

@media only screen and (hover: none) and (pointer: coarse) and (max-width: 998.98px)
{

p {
  font-size: 2rem;
}

label {
  font-size: 2rem;
}

input {
  font-size: 2rem;
}

button {
  font-size: 2rem;
}

h1 {
  font-size: 3rem;
}

.sidebar
{
  right: -10000px;
  width: 100%;
}
.logo
{
  display: absolute;
  top: calc(10%);
  width: 100%;
  height: auto;
  margin: auto;
  z-index: 300;
  scale: 1.4;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}
.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 {
  margin-top: -100px;
  
}
}

@media (max-width: 998.98px)
{
  .sidebar-bg {
    display: none;
  }

  .contact-bubble {
    display: inline;
  }

  .contact-form {
    width: 100%;
  }
}

@media (max-width: 1200.98px)
{

.content-page-title {
  margin-top: -100px;
  font-size: 40vw;
  -webkit-text-stroke: 2px #F9E3EB;
}
.content-page-top-items {
  max-height: 99999px;
}
}