@font-face {
  font-family: "VINCI Sans Medium";
  src: url("../fonts/VINCI Sans Medium.otf");
}

@font-face {
  font-family: "VINCI Sans Regular";
  src: url("../fonts/VINCI Sans Regular.otf");
}

@font-face {
  font-family: "VINCI Sans Bold";
  src: url("../fonts/VINCI Sans Bold.otf");
}

@font-face {
  font-family: "VINCI Sans Light";
  src: url("../fonts/VINCI Sans Light.otf");
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "VINCI Sans Regular", "Open Sans", sans-serif;
  line-height: 12px;
  font-size: 12px;
  background-color: black;
  color: #646464;
  overflow-y: hidden;
}

html {
  -webkit-text-size-adjust: none; /* Prevent font scaling in landscape while allowing user zoom */
}

.container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  background-size: cover;
}

.menu {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
  height: 110px;
  display: flex;
  justify-content: space-between;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.logo-cuisine,
.logo-vinci {
  align-self: center;
}

.logo-cuisine {
  height: 50px;
  margin-left: 20px;
}

.logo-vinci {
  height: 40px;
  margin-right: 20px;
}

#btn-back {
  margin-top: 30px;
  cursor: pointer;
}

#btn-back img {
  width: 44px;
  height: 44px;
}

.elements {
  height: 100%;
  display: flex;
}

.components {
  margin-top: 10px;
  display: flex;
}

.component {
  width: 114px; /* 80 + 4 + 15 + 15 */
  text-align: center;
  display: flex;
  flex-direction: column;
}

.component img {
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 3px;
  height: 80px;
  width: 80px;
  border: 1px solid #eee;
}

.component span {
  padding-top: 5px;
  font-family: "VINCI Sans Light";
  margin-left: 5px;
  margin-right: 5px;
}

.sub-elements {
  height: 100%;
  display: flex;
}

.button {
  padding: 10px 10px 8px 10px;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-self: center;
  flex-direction: column;
}

.button img {
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 3px;
  height: 60px;
  width: 60px;
}

.button span {
  /*padding-top: 5px;*/
  font-size: 1.2rem;
  font-family: "VINCI Sans Regular";
}

.button.selected {
  background: #e94849;
}

.button.selected span {
  background: #e94849;
  color: white;
}

.layers {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #d3cdba;
}

.layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: 50% bottom;
}

/*
@media (min-aspect-ratio: 3/2) {
 .layer {
    object-fit: contain;
 }
}
*/

#select-ambiance {
  display: flex;
  padding-left: 0px;
  padding-right: 10px;
  color: #e94849;
  font-family: "VINCI Sans Bold";
  font-size: 1.2rem;
  width: 130px;
  text-align: center;
}

@media (max-width: 1400px) {
  #contactme-container {
    position: absolute;
    left: 0;
    top: 110px;
    padding: 20px;
    /* background-color: rgba(255, 255, 255, 0.9); */
  }
}

@media (min-width: 1200px) {
  #select-ambiance {
    font-size: 1.4rem;
    width: 260px;
  }

  .button span {
    font-size: 1.4rem;
  }

  .logo-cuisine {
    margin-left: 40px;
  }

  .logo-vinci {
    margin-right: 40px;
  }

  #select-ambiance {
    padding-left: 15px;
    padding-right: 15px;
  }

  .button img {
    margin-left: 20px;
    margin-right: 20px;
  }
}

#select-ambiance span {
  align-self: center;
}

.details-link {
  padding-left: 0px;
  font-family: "VINCI Sans Bold";
  font-size: 1.2rem;
  text-transform: uppercase;
  display: flex;
  align-items: stretch;
  height: 45px;
}

.details-link span {
  align-self: center;
}

.details-link a {
  padding-right: 10px;
}

.arrow-down {
  width: 22px;
  height: 22px;
  transform: rotate(-90deg);
  cursor: pointer;
}

.arrow-up {
  width: 22px;
  height: 22px;
  transform: rotate(90deg);
  cursor: pointer;
}

.details-link a {
  align-self: center;
  display: block;
  color: #e94849;
  text-decoration: none;
}

.details-link a:hover {
  text-decoration: underline;
}

.details-panel {
  position: absolute;
  top: 110px;
  right: 50px;
  display: flex;
  flex-direction: column;
  width: 355px;
  padding: 0px 15px 0px 15px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.details-panel.collapsed {
  width: 220px;
  margin-right: 135px;
}

.details-panel-inner {
  font-size: 1.4rem;
  line-height: 1em;
  max-height: 72vh;
  overflow-y: auto;
  overflow-x: none;
}

@media (min-height: 960px) {
  .details-panel-inner {
    overflow-y: scroll;
  }
}

.details-panel-inner div {
  padding-bottom: 0.5em;
}

.details-panel ul {
  list-style-type: square;
  line-height: 1.2em;
  padding-left: 40px;
  margin-top: 0.2em;
  margin-bottom: 1em;
}
.details-panel li {
  padding-left: 10px;
}

.discreet {
  font-size: 1.1rem;
}

#loading {
  position: absolute;
  display: flex;
  top: 0;
  left: 0;
  font-size: 4em;
  width: 100%;
  height: 100%;
  margin-top: 110px;
  color: white;
  background-color: rgba(0, 0, 0, 0.47);
}
#loading span {
  display: block;
  width: 100%;
  height: 3em;
  z-index: 999;
  text-align: center;
  align-self: center;
}

.info {
  padding: 20px;
  width: 30px;
  height: 30px;
  position: absolute;
  cursor: pointer;
}

#info {
  bottom: 25%;
  left: 53%;
}

#info-box {
  bottom: 18%;
  left: 48%;
}

#info2{
  bottom: 25%;
  left: 23%;
}

#info2-box {
  bottom: 18%;
  left: 18%;
}

#info3{
  bottom: 25%;
  left: 43%;
}

#info3-box {
  bottom: 18%;
  left: 38%;
}

.info-box {
  display: flex;
  background-color: rgba(0, 0, 0, 0.47);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 180px;
  position: absolute;
  color: white;
  padding: 10px 15px;
  border: 1px solid white;
}

.info-box img {
  width: 30px;
  height: 30px;
  padding-right: 20px;
}

.info-box span {
  align-self: center;
}

#fullscreen {
  position: absolute;
  bottom: 40px;
  left: 40px;
  width: 72px;
  height: 72px;
  cursor: pointer;
}

/* Chrome, Safari and Opera syntax, via requestFullscreen */
:-webkit-full-screen #fullscreen {
  display: none;
}

/* Firefox syntax, via requestFullscreen */
:-moz-full-screen #fullscreen {
  display: none;
}

/* IE/Edge syntax */
:-ms-fullscreen #fullscreen {
  display: none;
}

/* Standard syntax */
:fullscreen #fullscreen {
  display: none;
}

/* Chrome, Firefox via F11 */
@media (display-mode: fullscreen) {
  #fullscreen {
    display: none;
  }
}

/* only show the button on desktop, above 1024px */
@media screen and (max-width: 1024px) {
  #fullscreen {
    display: none;
  }
}

/* Android Chrome, home icon */
@media (display-mode: standalone) {
  #fullscreen {
    display: none;
  }
}

.rounded-btn {
  border: none;
  border-radius: 40px;
  padding: 15px 40px;
  color: white;
  font-size: 1.2rem;
  font-family: "VINCI Sans Medium";
  cursor: pointer;
}

#contactme-container {
  align-self: center;
  display: flex;
}

.btn-primary {
  background-color: #003c71;
}

#download-brochure {
  background-color: #e94849;
  margin-top: 15px;
  margin-bottom: 25px;
}

#message-box {
  align-items: flex-start;
}

#message-box .modal-inner {
  margin-top: 165px;
  font-size: 1.4rem;
  line-height: 1.5rem;
}

.modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  z-index: 99999;
}

.modal-inner {
  padding: 40px 70px;
  width: 350px;
  background-color: white;
  position: relative;
  max-height: 70%;
  overflow-y: auto;
  margin-bottom: 40px;
}

.modal h2 {
  color: #003c71;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

#contactform-bottom {
  padding-bottom: 40px;
}

.close-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  font-size: 1.4rem;
  margin: 10px 0 0 0;
  line-height: 1.5rem;
}

input,
textarea {
  border-radius: 5px;
  border: 1px solid #a7a7a7;
  font-size: 1.4rem;
  display: block;
  margin: 0;
  padding: 6px 6px 5px 6px;
  font-family: "VINCI Sans Regular";
}

input[type="text"],
textarea {
  -webkit-appearance: none;
}

input[type="radio"],
input[type="checkbox"] {
  margin: 2px 6px 0 0;
}

.fieldset-inline {
  flex-direction: row;
}

.fieldset-inline label,
.fieldset-inline legend {
  margin-right: 10px;
}

.fields {
  padding-top: 10px;
}

.justify {
  text-align: justify;
}

.primary-color {
  color: #003c71;
}

.error-msg {
  color: #e94849;
  margin-top: 5px;
}

.error fieldset,
.error input,
.error textarea {
  border: 1px solid #e94849;
}

#contactform button[disabled] {
  cursor: not-allowed;
  background-color: gray;
}

#contactform button {
  margin: 20px 0;
}

#contactform .discreet {
  margin-top: 5px;
}

#contactform p {
  margin: 0;
}

.discreet,
.discreet a,
.discreet a:visited {
  color: #a2a2a2;
}

.discreet a,
.discreet a:visited {
  text-decoration: underline;
}

.discreet a:hover {
  text-decoration: underline;
}

#params-link,
#params-link:visited {
  color: #646464;
  text-decoration: underline;
}

#params-link-container {
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
}

#params-link-container img {
  margin-bottom: 2px;
  margin-right: 4px;
  margin-left: -4px;
}

.inline,
.fieldset-inline {
  display: flex;
  align-items: flex-start;
}
