@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap");

/* Color Variables */
:root {
  --white: #fff;
  --black: #222;
  --blue: #006eff;
  --grey1: #f0f0f0;
  --grey2: #d3dee9;
}

/* Basic Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  background-color: var(--white);
  color: var(--black);
  font-weight: 400;
  font-style: normal;
}

a {
  text-decoration: none;
  color: var(--black);
}

li {
  list-style: none;
}

.container {
  max-width: 114rem;
  margin: 0 auto;
  padding: 0 3rem;
}

.d-flex {
  display: flex;
  align-items: center;
}

/* 
=================
Header
=================
*/

.header {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 
=================
Navigation
=================
*/

.navigation {
  position: fixed;
  z-index: 2;
  height: 3rem;
  line-height: 3rem;
  padding-top: 10rem;
}

.navigation a {
  width: 120px;
  height: auto;
}

.navigation .navbar .nav-item {
  font-size: 1.5rem;
}

.container-fluid img {
  width: 100%;
}

@media (max-width: 996px) {
  .navigation a {
    width: 100px;
    height: auto;
  }
}

@media (max-width: 567px) {
  .navigation a {
    width: 100px;
    height: auto;
  }
}

/* Hero */
.hero,
.heroslider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}

.hero img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.header .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  z-index: 1;
  text-align: center;
}

.header .content h1 {
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 7rem;
  color: var(--black);
  margin-bottom: 4rem;
}

.header .search a {
  display: inline-block;
  font-size: 2rem;
  padding: 1.5rem 4rem;
  background-color: var(--blue);
  color: white;
  border-radius: 0.5rem;
}

@media (max-width: 996px) {
  .header .content h1 {
    font-size: 5rem;
    margin-bottom: 3rem;
  }

  .header .search {
    width: 50rem;
  }
}

@media (max-width: 567px) {
  .header .content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
  }

  .header .search {
    width: 100%;
  }

  .header .search input {
    padding: 1rem 0;
    font-size: 1.3rem;
  }

  .header .search a {
    padding: 1rem;
  }

  .header:hover .swiper-button-next {
    right: 5px;
  }

  .header:hover .swiper-button-prev {
    left: 5px;
  }

  .swiper-icon {
    font-size: 3rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    padding: 0.2rem 2.3rem;
  }
}

#cookiePopup {
  font-family: "Ubuntu";
  background-color: var(--white);
  position: fixed;
  padding-left: 20rem;
  padding-right: 20rem;
  margin: auto;
  font-size: 14px;
  z-index: 3;
  text-align: justify;
  align-content: center;
  padding: 2em 1.4em;
  border-radius: 6px;
  transition-delay: 0.2s;
}

#cookiePopup img {
  display: block;
  width: 3.75em;
  transform: translateZ(0);
  position: relative;
  margin: auto;
}

#cookiePopup p {
  text-align: center;
  margin: 1.4em 0;
}

#cookiePopup button {
  border: none;
  color: #ffffff;
  font-size: 1.2em;
  padding: 1rem 1rem;
  display: block;
  width: 20%;
  transform: translateZ(0);
  position: relative;
  margin: auto;
  border-radius: 5px;
}

#cookiePopup a {
  color: #6859fe;
}

.hide {
  visibility: hidden;
  margin: auto;
  bottom: 0;
  left: 20rem;
  right: 20rem;
}

.show {
  visibility: visible;
  left: 20rem;
  right: 20rem;
  bottom: 2em;
}

@media (max-width: 996px) {
  .hide {
      bottom: 2em;
      right: 0;
  }

  .show {
      left: 10rem;
      right: 10rem;
      bottom: 2rem;
  }
}

@media (max-width: 567px) {
  .hide {
      bottom: 2em;
      right: 0;
  }

  .show {
      left: 2rem;
      right: 2rem;
      bottom: 2rem;
  }

  #cookiePopup button {
      width: 40%
  }
}

/* Rent Properties */
.section {
  padding: 5rem 0;
}

.section.rent {
  background-color: var(--grey1);
}

.rent-center {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
  gap: 4rem 2rem;
}

.title {
  text-align: center;
  margin-bottom: 1rem;
  padding: 1rem;
}

.title h1 {
  font-weight: 500;
  font-size: 4rem;
  padding-bottom: 10px;
  margin: auto;
}

.title h2 {
  font-weight: 300;
  font-size: 3rem;
  padding-bottom: 10px;
  margin: auto;
}

.title h3 {
  font-weight: 300;
  font-size: 2rem;
  margin: auto;
  padding: 10px;
}


.title p {
  font-weight: 100;
  font-size: 2rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

.title a {
  display: inline-block;
  font-size: 2rem;
  padding: 1.5rem 4rem;
  background-color: var(--blue);
  color: white;
  border-radius: 0.5rem;
}

@media (max-width: 768px) {
  .title h1 {
    font-size: 4rem;
  }

  .title h2 {
    font-weight: 300;
    font-size: 3rem;
    padding-bottom: 10px;
    margin: auto;
  }
  
  .title h3 {
    font-weight: 300;
    font-size: 2rem;
    margin: auto;
    padding: 10px;
  }
  
  
  .title p {
    font-weight: 100;
    font-size: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

@media (max-width: 567px) {
  .title h1 {
    font-size: 3rem;
  }

  .title h2 {
    font-weight: 300;
    font-size: 2rem;
    padding-bottom: 10px;
    margin: auto;
  }
  
  .title h3 {
    font-weight: 300;
    font-size: 1.5rem;
    margin: auto;
    padding: 10px;
  }
  
  
  .title p {
    font-weight: 100;
    font-size: 1.5rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

.buttom {
  display: inline-block;
  font-size: 2rem;
  padding: 1.5rem 4rem;
  background-color: var(--blue);
  color: white;
  border-radius: 0.5rem;
}

.number {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.rent .box {
  transition: all 300ms ease-in-out;
  background-color: white;
}

.rent .box:hover {
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

.rent .box .top {
  padding: 1rem;
  position: relative;
  height: 20rem;
  transition: all 300ms ease-in-out;
}

.rent .box:hover .top {
  cursor: pointer;
}

.rent .box .top img {
  height: 100%;
  object-fit: cover;
}

.rent .box .overlay {
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem;
  background-color: white;
  height: 20rem;
  width: 100%;
}

.rent .box .overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 300ms ease-in-out;
}

.rent .box .top:hover .overlay::after {
  opacity: 1;
  visibility: visible;
}

.rent .box .pos {
  position: absolute;
  top: 2rem;
  left: 2rem;
}

.rent .box .pos span {
  display: inline-block;
  font-size: 1.3rem;
  color: white;
  margin-right: 0.5rem;
  padding: 0.3rem;
  border-radius: 0.3rem;
}

.rent .box .pos span:first-child {
  background-color: #43c370;
}

.rent .box .pos span:last-child {
  background-color: #e0203b;
}

.rent .box .bottom {
  padding: 1.5rem;
}

.rent .box .bottom p {
  font-size: 2rem;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.rent .box .bottom a {
  font-size: 2rem;
  margin-bottom: 1rem;
}


.rent .box .bottom div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  color: #555;
}

.rent .box .bottom div span {
  font-size: 1.8rem;
}

.rent .box:hover .bottom p {
  color: #006eff;
}

.rent .box .bottom div i {
  font-size: 2.5rem;
}

.grid-layout {
  padding-left: 10rem;
  padding-right: 10rem;
}

/* Grid Properties */
.wrapper {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 1fr 1fr;
}

.box {
  border-radius: 5px;
  overflow: hidden;
}

.box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 500ms ease-in-out;
}

.box:hover img {
  transform: scale(1.1);
}

.box1 {
  grid-column: 1 / span 2;
  height: 35rem;
}

.box2 {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.box3 {
  grid-column: 1;
  grid-row: 2;
}

.box4 {
  grid-column: 2;
  grid-row: 2;
}

@media (max-width: 768px) {

  .grid-layout {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .box1 {
    grid-column: 1 / span 3;
    height: 20rem;
  }

  .box2 {
    grid-column: 3;
    grid-row: 2;
    height: 20rem;
  }
}

@media (max-width: 567px) {

  .grid-layout {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .wrapper .box {
    height: 15rem;
  }
}

.glampingni_about {
  padding-top: 8rem;
  background-color: var(--white);
}

/* Contact */
.contact {
  padding-top: 10px;
  margin: auto;
  width: 100%;
  height: auto;

}

.contact .row {
  display: flex;
  grid-template-columns: 1fr 1fr;
  align-items: top;
}

.contact .row .col {
  display: flex;
  margin: auto;
}

.flexible-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.flexible-container iframe,
.flexible-container object,
.flexible-container embed {
  position: absolute;
  padding: 2rem;
  border: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.map-container {
  display: flex;
  margin: auto;
  width: 100%;
  height: auto;
}

.map {
  display: flex;
  margin: auto;
  max-width: 100%;
  height: auto;
}

input[type=text],
select,
textarea {
  font-size: 1.5rem;
  width: 60%;
  /* Full width */
  padding: 6px;
  /* 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: 6px;
  /* Bottom margin */
  resize: vertical
    /* Allow the user to vertically resize the textarea (not horizontally) */
}

input[type=date],
select,
textarea {
  font-size: 1.5rem;
  width: 60%;
  /* 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) */
}

input[type=email],
select,
textarea {
  font-size: 1.5rem;
  width: 60%;
  /* Full width */
  padding: 6px;
  /* 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] {
  font-size: 1.5rem;
  background-color: var(--black);
  color: white;
  align-content: center;
  padding: 6px 10px;
  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: var(--blue);
}

label {
  font-size: 1.5rem;
  width: 100%;
  /* Full width */
  padding: 6px;
  /* Some padding */
  text-align: center;
  padding-top: 1px;
  resize: vertical
    /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Add a background color and some padding around the form */
.contact-container {
  padding-top: 10rem;
  padding-bottom: 5rem;
  margin: auto;
  max-width: 100%;
  min-height: 100vh;
  background-image: url("countryside_6.jpg");
}

.inner-container {
  max-width: 60%;
  padding: 1rem;
  margin: auto;
  align-content: center;
  text-align: center;
  background-color: var(--white);
  overflow: hidden;
  border-radius: 15px;

}

@media (max-width: 768px) {

  .contact-container {
      padding-top: 10rem;
      padding-bottom: 1rem;
      padding-left: 0.5rem;
      padding-right: 0.5rem;
      margin: auto;
      max-width: 100%;
      min-height: 100vh;
      object-fit: cover;
  }

  .inner-container {
      padding: 1rem;
      max-width: 90%;
      margin: auto;
      align-content: center;
      text-align: center;
  }

}


@media (max-width: 567px) {

  .contact-container {
      padding-top: 10rem;
      padding-bottom: 1rem;
      padding-left: 0.5rem;
      padding-right: 0.5rem;
      margin: auto;
      max-width: 100%;
      min-height: 100vh;
      object-fit: cover;
  }

  .inner-container {
      padding: 1rem;
      max-width: 90%;
      max-height: 100vh;
      margin: auto;
      align-content: center;
      text-align: center;
  }
}

.gallery-outter-container {
  padding-top: 10rem;
  padding-bottom: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
  background-color: var(--grey1);
}

.gallery-container {
  width: 100%;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10rem 8%;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 10px;
  padding: 1rem;
  background-color: var(--white);
}

.gallery-title {
  text-align: center;
  padding-bottom: 1rem;
  padding-top: 2rem;
}

.gallery img {
  width: 100%
}

.booking-container {
  padding-top: 15rem;
  padding-bottom: 15rem;
  margin: auto;
  max-width: 100%;
  min-height: 100vh;
  background-color: var(--grey1);
}

.availability-container {
  max-width: 85%;
  max-height: 100%;
  margin: auto;
  align-content: center;
  text-align: center;
  background-color: var(--white);
}

.availability-container h1 {
  margin: auto;
  font-size: 30px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .booking-container {
    padding-top: 15rem;
    padding-bottom: 1rem;
    max-width: 100%;
    min-height: 100vh;
  }

  .availability-container {
    padding-top: 1rem;
    padding-bottom: 1rem;
    max-width: 100%;
    height: 100vh;
  }

}

@media (max-width: 567px) {
  .booking-container {
    padding-top: 10rem;
    padding-bottom: 1rem;
    max-width: 90%;
    min-height: 100vh;
  }

  .availability-container {
    padding-top: 1rem;
    padding-bottom: 1rem;
    max-width: 900%;
    height: 100%;
  }
  
}

.availability-container h1 {

  margin: auto;
  font-size: 30px;
  font-weight: 500;
}

/* Footer */
.footer {
  padding: 7rem 1rem;
  background-color: #303441;
}

footer .row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 99.6rem;
  margin: 0 auto;
}

.footer .col {
  flex-direction: column;
  color: var(--white);
  align-items: flex-start;
}

.footer .col:last-child {
  flex-direction: row;
  justify-content: center;
}

.footer .col:last-child span {
  font-size: 2.5rem;
  margin-right: 0.5rem;
  color: var(--white);
}

.footer .col a {
  color: var(--white);
  font-size: 1.5rem;
  padding: 0.5rem;
  font-weight: 300;
}

.footer .col h4 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.footer .col p {
  font-size: 1.25rem;
}

.footer .col .socials a {
  font-size: 3rem;
}

@media only screen and (max-width: 567px) {
  footer .row {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }
}