@font-face {
  font-family: Poppins;
  src: url(../fonts/Poppins-Light.ttf);
}

:root {
  --primary: 237, 94%, 81%;
  --background: 266, 16%, 92%;
  --background-secondary: 256, 12%, 12%;
  --background-secondary-dark: 256, 10%, 10%;
  --background-secondary-light: 257, 11%, 16%;
  --text-primary: 0, 0%, 0%;
  --transition-main: 0.175, 0.685, 0.32;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  -webkit-tap-highlight-color: transparent;
}

/*
body {
  min-height: 100vh;
}
  */

html,
body {
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  scroll-behavior: smooth;
  font-family: "Poppins";
  text-align: center;
  color: #333;
}

.flexbox {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flexbox-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.flexbox-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.flexbox-col {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.flexbox-col-left {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
}
.flexbox-col-left-ns {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
}
.flexbox-col-right {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  align-items: flex-end;
}
.flexbox-col-start-center {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
}

.flexbox-space-bet {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/*--------------navbar--------------*/

#navbar {
  top: 0;
  padding: 40px 0 0 0;
  width: 5em;
  height: 100%;
  position: fixed;
  background-color: #1b1a1e;
  transition: width 0.35s cubic-bezier(var(--transition-main), 1);
  overflow-y: auto;
  overflow-x: hidden;
}
#navbar:hover {
  width: 16em;
}

@media only screen and (min-width: 1401px) {
  #navbar.forceOpenNav {
    width: 16em;
  }
}

#navbar::-webkit-scrollbar-track {
  background-color: #d0a8a6;
}

#navbar::-webkit-scrollbar {
  width: 8px;
  background-color: #d0a8a6;
}

#navbar::-webkit-scrollbar-thumb {
  background-color: #807789;
}

.navbar-items {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.navbar-item {
  padding: 0 0.5em;
  width: 100%;
  cursor: pointer;
}

.navbar-item-inner {
  padding: 1em 0;
  width: 100%;
  position: relative;
  border-radius: 0.25em;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(var(--transition-main), 1);
}

.navbar-item-inner:hover {
  color: hsl(var(--white));
  background: hsl(var(--background-secondary-light));
  box-shadow: 0 17px 30px -10px hsla(var(--black), 0.25);
}

.navbar-item-inner.menuOpen {
  margin-top: 30px;
}

.navbar-item-inner.menuOpen:hover {
  background: none;
  box-shadow: none;
}

.navbar-item-inner-icon-wrapper {
  width: calc(5rem - 1em - 4px);
  position: relative;
}

.navbar-item-inner-icon-wrapper ion-icon {
  position: absolute;
  font-size: calc(var(--navbar-buttons) - 1rem);
}

.link-text {
  color: #d0a8a6;
  margin: 0;
  width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: all 0.35s cubic-bezier(var(--transition-main), 1);
  overflow: hidden;
  opacity: 0;
}

@media only screen and (min-width: 1401px) {
  #navbar:hover .link-text {
    width: calc(100% - calc(5rem - 8px));
    opacity: 1;
  }
  #navbar.forceOpenNav .link-text {
    width: calc(100% - calc(5rem - 8px));
    opacity: 1;
  }
}

/*--------------hamburger & menu open icon--------------*/

.hamb {
  display: none;
}

/*--------------language menu--------------*/

.langNav {
  position: absolute;
  top: 40px;
  right: 40px;
  text-align: center;
  width: 160px;
}

.langNav ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #d0a8a6;
  width: 160px;
}

.langNav ol li a,
.dropbtn {
  text-decoration: none;
  font-size: 14px;
  padding: 15px 17px;
  color: #fff;
}

.langNav ol li a:hover,
.dropdown:hover {
  background-color: #d0a8a6;
}

.langNav ol li.dropdown {
  display: inline-block;
}

.langNav .dropDownContent {
  display: none;
  position: absolute;
  right: 0;
  min-width: 160px;
  z-index: 1;
}

.langNav .dropdown a {
  display: block;
}

.langNav .langHome.dropdown:hover .dropDownContent {
  display: block;
  background-color: rgba(0, 177, 186, 0.351);
}

.langNav .dropdown:hover .dropDownContent {
  display: block;
  background-color: #d0a8a680;
}

.langNav ol li a.current {
  background-color: #d0a8a680;
  width: 160px;
}

.langNav.langHome ol li a.current {
  background-color: #449fa1;
}

.langNav ol li a.current:hover {
  background-color: #d0a8a65b;
}

.langNav.langHome ol li a:hover {
  background-color: #449fa1;
}

.langNav img {
  width: 18px;
  margin: 5px 12px 0 10px;
  float: right;
}

/*--------------selectors--------------*/

::selection {
  color: hsl(var(--white));
  background: hsla(var(--primary), 0.33);
}

::-webkit-scrollbar-track {
  background-color: #d0a8a6;
}
::-webkit-scrollbar {
  width: 8px;
  background-color: #d0a8a6;
}
::-webkit-scrollbar-thumb {
  background-color: #807789;
}

/*--------------headers--------------*/

header#parallax {
  padding: 100px 0 100px 75px;
  background-image: url("../images/diabedandbreakfastSea.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

header.home #logo {
  width: 35%;
}

header#parallax2 {
  background-image: url("../images/diabedandbreakfastSky.jpg");
  padding: 50px 0 50px 75px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

header img {
  width: 20%;
}

/*--------------main--------------*/

main {
  margin: 0 0 0 5em;
}

main .homeContent h4 {
  color: #5e2f5d;
  margin: 60px 0 10px 0;
  width: 100%;
  font-weight: 300;
}

main .homeContent p {
  margin: 60px 0 0 0;
}

main .homeContent h3 {
  margin-top: 50px;
}

main .homeContent .bookBtn {
  margin-top: 30px;
}

main .homeContent .bookBtn a {
  text-decoration: none;
  background-color: #449fa1;
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
}

main .homeContent .bookBtn a:hover {
  background-color: #d0a8a6;
}

main .homeIcons {
  width: 80%;
  margin: 0 auto;
}

main .homeIcons div {
  display: inline-block;
  margin: 0;
  width: 140px;
  padding-bottom: 50px;
  vertical-align: top;
}

main .homeIcons img {
  width: 60%;
}

main .homeIcons p {
  margin: 0;
  vertical-align: top;
}

main .homeIconsDescription p {
  display: inline-block;
}

main .bgimg1 {
  z-index: -1;
  clear: both;
  position: relative;
  background-attachment: fixed;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("../images/diabedandbreakfastSea.jpg");
  min-height: 400px;
}

main .captionFirst {
  position: absolute;
  left: 0;
  top: 50%;
  color: #fff;
}

main h4 {
  width: 100%;
  margin: 50px 0 50px 0;
  padding: 10px 0;
  font-size: 24px;
  border-top: 1px solid #fff;
}

main .ourStory {
  width: 80%;
  margin: 0 auto;
  padding-bottom: 20px;
}

main .ourStory img {
  width: 30%;
}

main .ourStory .ourStoryInfo {
  text-align: justify;
  margin: 0;
}

main .wePhoto {
  float: left;
  text-align: left;
  width: 40%;
  margin-top: 5px;
}

main .wePhoto img {
  width: 90%;
}

main .house img {
  width: 60%;
}

main .rooms {
  width: 80%;
  margin: 0 auto;
}

main .rooms h2 {
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 300;
  border-bottom: 1px solid #333;
  padding-bottom: 3px;
  margin: 80px 0;
}

main .rooms a {
  color: #333;
  text-decoration: none;
  margin: 0 15px;
}

main .rooms a:hover {
  color: #d0a8a6;
}

main .roomInfo {
  margin: 80px 0 30px 0;
  padding-left: 4px;
  text-transform: uppercase;
}

main .rooms ul {
  width: 80%;
  padding: 0;
  margin: 0 auto;
  list-style-type: none;
}

main .rooms ul li {
  display: inline-block;
  margin: 0 20px;
}

main .roomsInfo {
  margin-bottom: 50px;
}

main .roomInfo img {
  width: 80px;
  margin: 10px 30px 10px 0;
}

main .cuisine .icons {
  width: 40%;
  margin: 30px auto;
}

main .cuisine .icons img {
  width: 10%;
  margin: 0 30px;
}

main .cuisine .icons .dinnerTitle,
main .cuisine .icons .breakfastTitle,
main .rooms .roomIconsTitle,
main .booking .bookingTitle,
main .contact .contactTitle {
  font-weight: bold;
  margin: 30px 0 50px 0;
  text-transform: uppercase;
}

main .stro {
  font-weight: bold;
}

main .diaMap iframe {
  margin: 80px 0 0 0;
  padding: 0;
  width: 100%;
}

/*--------------lightbox gallery--------------*/

main .image-gallery {
  width: 80%;
  margin: 70px auto 20px auto;
}

main .image-gallery .galleryThumbnail {
  width: 20%;
}

/*--------------booking form--------------*/

.bookingForm {
  width: 30%;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
}

.bookingForm h2 {
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 300;
  text-align: left;
  border-bottom: 1px solid #333;
  padding-bottom: 3px;
  margin: 40px 0;
}

.booking .bookingMessTrue,
.booking .bookingMessFalse {
  font-weight: bold;
  padding: 30px;
  width: 30%;
  margin: 0 auto 60px auto;
}

.booking .bookingMessTrue {
  background-color: #c2dbbe;
  border: 2px solid #99c3ad;
  color: #2f493c;
}

.booking .bookingMessFalse {
  background-color: #f8d7da;
  border: 2px solid #842029;
  color: #842029;
}

.booking .bookingMessTrue p,
.booking .bookingMessFalse p {
  margin: 0;
}

.bookingForm .optional {
  margin-bottom: 0;
}

input#arrive::-webkit-calendar-picker-indicator,
input#depart::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

.controls {
  text-align: left;
}

.controls input[type="text"],
.controls input[type="email"],
.controls input[type="number"],
.controls input[type="date"],
.controls input[type="tel"],
.controls textarea,
.controls button,
.controls select {
  padding: 12px;
  font-size: 14px;
  border: 1px solid #a09e9e;
  width: 100%;
  margin: 8px 0 10px 0;
  border-radius: 4px;
}

.controls input[type="text"]:focus,
.controls input[type="text"]:hover,
.controls input[type="email"]:focus,
.controls input[type="email"]:hover,
.controls input[type="number"]:focus,
.controls input[type="number"]:hover,
.controls input[type="date"]:focus,
.controls input[type="date"]:hover,
.controls input[type="tel"]:focus,
.controls input[type="tel"]:hover,
.controls textarea:focus,
.controls textarea:hover,
.controls button:focus,
.controls button:hover,
.controls select:focus,
.controls select:hover {
  outline: none;
  border-color: #449fa1;
}

.controls input[type="text"]:focus + label,
.controls input[type="text"]:hover + label,
.controls input[type="email"]:focus + label,
.controls input[type="email"]:hover + label,
.controls input[type="number"]:focus + label,
.controls input[type="number"]:hover + label,
.controls input[type="date"]:focus + label,
.controls input[type="date"]:hover + label,
.controls input[type="tel"]:focus + label,
.controls input[type="tel"]:hover + label,
.controls textarea:focus + label,
.controls textarea:hover + label,
.controls button:focus + label,
.controls button:hover + label,
.controls select:focus + label,
.controls select:hover + label {
  color: #449fa1;
  cursor: text;
}

.controls select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

.controls textarea {
  resize: none;
  height: 150px;
}

button {
  cursor: pointer;
  width: 40%;
  background-color: #449fa1;
  border: none;
  color: #fff;
  padding: 12px;
  margin: 0 10px;
  border-radius: 5px;
}

button:hover {
  background-color: #d0a8a6;
}

.clear:after {
  content: "";
  display: table;
  clear: both;
}

input[type="checkbox"] {
  outline: 2px solid #333;
  outline-offset: -2px;
  margin-top: 15px;
}

/*--------------footer--------------*/

footer {
  font-size: 14px;
  margin: 0;
  padding: 50px 20px 0 20px;
  text-align: center;
  width: 100%;
}

footer p {
  margin: 0 0 10px 75px;
}

/*--------------back on top button--------------*/

#myBtn {
  width: 31px;
  height: 31px;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  cursor: pointer;
  background-image: url("../icons/topPink.png");
  background-repeat: no-repeat;
  border-radius: 51px;
}

#myBtn:hover {
  background-image: url("../icons/topDark.png");
}

#myBtn img {
  width: 45px;
}

/*--------------@media--------------*/

@media only screen and (min-width: 1401px) {
  .cuisineFooter {
    position: fixed;
    bottom: 0;
    padding-top: 30px;
  }
}

@media only screen and (min-width: 993px) and (max-width: 1400px) {
  header#parallax2 {
    padding: 100px 0;
  }

  header img {
    width: 30%;
  }

  main {
    margin: 0;
  }

  main .homeContent {
    padding: 0 28px 0 30px;
  }

  main .bookingForm {
    width: 50%;
  }

  main .booking .bookingMessTrue,
  main .booking .bookingMessFalse {
    width: 50%;
  }

  main .cuisine .icons img {
    width: 20%;
  }

  footer {
    font-size: 12px;
  }
}

@media only screen and (max-width: 1220px) {
  .view-width {
    width: 70%;
  }
}

@media only screen and (max-width: 1024px) {
  :root {
    /* Sizes */
    --heading-large: 5rem;
    --heading-medium: 3rem;
    --heading-small: 1.8rem;
  }
  .view-width {
    width: 75%;
  }
}

@media only screen and (min-width: 300px) and (max-width: 1400px) {
  nav {
    display: none;
  }

  #navbar {
    padding-top: 80px;
    width: 16em;
    background-color: #1b1a1e;
  }

  .navbar-item {
    padding: 0 0.1em;
  }

  .navbar-item-inner {
    padding: 1em 0.5em;
    position: relative;
    transition: none;
  }

  .link-text {
    overflow: visible;
    opacity: 10;
    transition: all 1s cubic-bezier(var(--transition-main), 1);
  }

  .hamb {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    text-align: left;
    padding: 30px 0 14px 26px;
  }

  .langNav {
    top: 12px;
    right: 12px;
    text-align: right;
  }

  .langNav ol {
    background-color: #d0a8a600;
  }

  .langNav ol li a:hover,
  .dropdown:hover {
    background-color: #d0a8a65b;
  }

  .langNav .langHome.dropdown:hover .dropDownContent {
    display: block;
    background-color: rgba(0, 177, 186, 0.351);
  }

  .langNav .dropdown:hover .dropDownContent {
    display: block;
    background-color: #d0a8a65b;
  }

  .langNav ol li a.current {
    background-color: #d0a8a600;
    width: 160px;
  }

  .langNav.langHome ol li a.current {
    background-color: #449fa100;
  }

  .langNav ol li a.current:hover {
    background-color: #d0a8a65b;
  }

  .langNav.langHome ol li a:hover {
    background-color: rgba(0, 177, 186, 0.186);
  }

  .langNav img {
    margin: 5px 12px 0 7px;
  }

  header#parallax,
  header#parallax2 {
    padding-left: 0;
  }

  main {
    margin-left: 0;
  }

  footer p {
    margin-left: 0;
  }
}

@media only screen and (min-width: 577px) and (max-width: 992px) {
  header#parallax {
    padding: 100px 0;
  }

  header.home #logo {
    width: 50%;
  }

  header#parallax2 {
    padding: 50px 0 50px 0;
  }

  header img {
    width: 50%;
  }

  main .homeContent {
    padding: 0 30px;
  }

  main .bgimg1 {
    min-height: 300px;
  }

  main .ourStory,
  main .rooms {
    width: 90%;
    padding: 0 30px;
  }

  main .cuisine .icons {
    width: 80%;
    margin: 30px auto;
  }

  main .cuisine .icons img {
    width: 15%;
    margin: 0 30px;
  }

  main .bookingForm {
    width: 80%;
  }

  main .booking .bookingMessTrue,
  main .booking .bookingMessFalse {
    width: 70%;
    margin: 0 auto 60px auto;
  }

  main .wePhoto {
    width: 60%;
  }

  main .rooms ul li {
    margin: 10px 10px;
    text-align: center;
  }

  main .cuisine .icons {
    width: 80%;
    margin-top: 50px;
  }

  .cuisineFooter {
    position: fixed;
    bottom: 0;
    padding-top: 30px !important;
  }
}

@media only screen and (max-width: 576px) {
  header#parallax {
    padding: 100px 0;
  }

  header.home #logo {
    width: 70%;
  }

  header#parallax2 {
    padding: 100px 0;
  }

  header img {
    width: 70%;
  }

  .langNav {
    right: 0;
  }

  main .homeContent {
    padding: 0 30px;
  }

  main .homeIcons {
    display: inline;
  }

  main .ourStory {
    width: 80%;
    margin: 0 auto;
  }

  main .wePhoto {
    width: 350px;
    margin-bottom: 30px;
  }

  main .ourStoryInfo {
    text-align: center !important;
  }

  main .rooms ul {
    padding: 0;
  }

  main .rooms ul li {
    margin: 20px 10px;
  }

  main .roomInfo {
    margin-top: 0;
  }

  main .image-gallery {
    width: 90%;
  }

  main .image-gallery .galleryThumbnail {
    width: 40%;
  }

  main .cuisine .icons {
    width: 80%;
    margin-top: 50px;
  }

  main .cuisine .icons img {
    width: 25%;
    margin: 0 0 20px 0;
  }

  main .booking2 {
    text-align: left;
    padding: 0 30px;
  }

  main .bookingForm {
    width: 100%;
    padding: 15px 30px 0 30px;
  }

  main .booking .bookingMessTrue,
  main .booking .bookingMessFalse {
    width: 80%;
  }
}
