@font-face {
  font-family: "playwrite";
  src: url(fonts/playwrite-be-wal_5.2.10/webfonts/playwrite-be-wal-latin-400-normal.woff2) format('woff2'),
       url(fonts/playwrite-be-wal_5.2.10/webfonts/playwrite-be-wal-latin-400-normal.woff) format('woff'),
       url(fonts/playwrite-be-wal_5.2.10/ttf/playwrite-be-wal-latin-400-normal.ttf) format('truetype');
  font-weight: normal;
  font-style: normal;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}



/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  html{
    font-size: 7px;
  }
  #bookingSite{
    display: grid;
    grid-template-columns: 100%; 
    grid-template-rows: 1fr 1fr;

  }
  #gallerywrapper {
     width:300px;
     height:266px;
  }
  #exploreSite{
    section{
      display: grid;
      grid-template-columns: 1fr; 
      grid-template-rows: min-content min-content 100%;
      header{
        grid-column: 1 / span 1;
      }
    }
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  html{
    font-size: 12px;
  }
  #bookingSite{
    display: grid;
    grid-template-columns: 100%; 
    grid-template-rows: 1fr 1fr;
  }
  #gallerywrapper {
     width:550px;
     height:487px;
  }
  #exploreSite{
    section{
      display: grid;
      grid-template-columns: 1fr; 
      grid-template-rows: min-content min-content 100%;
      header{
        grid-column: 1 / span 1;
      }
    }
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  html{
    font-size: 15px;
  }
  #bookingSite{
    display: grid;
    grid-template-columns: 100%; 
    grid-template-rows: 1fr 1fr;
  }
  #gallerywrapper {
     width:550px;
     height:487px;
  }
  #exploreSite{
    section{
      display: grid;
      grid-template-columns: 1fr; 
      grid-template-rows: min-content min-content 100%;
      header{
        grid-column: 1 / span 1;
      }
    }
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  html{
    font-size: 18px;
  }
  #bookingSite{
    display: grid;
    grid-template-columns: 50% 50%; 
    grid-template-rows: 100%;
  }
  #gallerywrapper {
     width:900px;
     height:797px;
  }
  #exploreSite{
    section{
      display: grid;
      grid-template-columns: 1fr; 
      grid-template-rows: min-content min-content 100%;
      header{
        grid-column: 1 / span 1;
      }
    }
  }

}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  html{
    font-size: 20px;
    
  }
  #bookingSite{
    display: grid;
    grid-template-columns: 50% 50%; 
    grid-template-rows: 1fr;
  }
  #gallerywrapper {
     width:1100px;
     height:975px;
  }
   #exploreSite{
    section{
      display: grid;
      grid-template-columns: 1fr; 
      grid-template-rows: min-content min-content 100%;
      header{
        grid-column: 1 / span 1;
      }
    }
  }
} 

:root {
  interpolate-size: allow-keywords;
}


body{
  background-color: rgb(250 250 250);
  padding: 0rem;
  margin: 0rem;
  width: 100%;
  font-family: Arial;
}
footer{
  display: grid;
  grid-template-columns:  1fr 1fr;
  text-align: center;
  background-color: rgb(250 250 250);
  height: min-content;
  p {
    font-size: small;
  }
  address {
    font-size: smaller;
  }
}
p {
  font-size: larger;
  padding: 0.5em;
  width: 70%;
  margin: auto;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
header {
  text-align: center;
  font-size: 2rem;
  margin-block-end: 0.1em;
  margin-block-start: 0.1em;
  height: min-content;
}
iframe {
  margin: auto;
}
.siteHeader {
  z-index: 1;
  width: 100%;
  margin: 0rem;
  top: 0rem;
  background-color: #5d9d3c;
  h1 {
    display:  flex;
    justify-content: center;
    font-family: "playwrite";
    font-weight: normal;
    font-style: normal;
    text-align: center;
    margin: 0px;
    height: min-content;
    a {
      color: black;
      text-decoration: none;
      font-size: 3rem;
    }
  }
  #langSelcet{
    z-index: 2;
    margin-right: 0.3em;
    padding: 0.2em;
    border-radius: 1em;
    display: inline-block;
    align-content: center;
    font-size: 1.5rem;
    position: absolute;
    top: 0px;
    right: 0px;
    transition: all 0.2s;
    overflow: hidden;
    height: 1em;
    width: min-content;

    ul{
      list-style-type: none; 
      margin: 0;
      padding: 0;
      a{
        text-decoration: none;
        color: black;
      }
      li{
        margin: 0;
        padding: 0;
      }
    }
  }
  #langSelcet:hover{
    height: min-content;
    background-color: #4c8a2d;
    .selected {
    font-weight: bold;
    }
    
    

    }
   #langSelcet:focus{
    height: min-content;
    background-color: #4c8a2d;
    .selected {
    font-weight: bold;
    }

    }
  
}
#navigation{
  position: sticky;
  top: 0rem;
  background-color: #5d9d3c;
  opacity: 1;
  padding: 0;
  padding-top: 0.25em;
  margin-bottom: 4rem;
  height: 2.8rem;
  width: 100%;
  z-index: 1;
  text-align: center;
  nav {
    padding-top: 0.4rem;
    p{
      display: grid;
      grid-auto-flow: column;
      justify-content: center;
      gap: 0.5vw;
      margin-bottom: 0.5%;
    }
      a {      
        font-size: 1.5rem;
        width: min-content;
        height: 1.2em;
        padding-top: 0.3vw;
        padding-bottom: 0.3vw;
        padding-left: 0.5em;
        padding-right: 0.5em;
        background-color: rgb(240 240 240);
        color: black;
        border: 0.07em solid black;
        border-radius: 0.5em;
        text-decoration: none;
      }
      a:hover{
        background-color: rgb(191 191 191);
      }
    }
}
#mainHome{
  #aboutUs{
    margin: auto;
    font-size: 1.2rem;
    height: min-content;
    padding-bottom: 5rem;
    p{
      height: min-content;
    }
    h1{
      text-align: center;
    }
  }
}

 #gallerywrapper {
     margin:0 auto;
     position: relative;
     top: -5rem;
 } 

 #gallerywrapper #gallery {
     position:absolute;
     left:0;
     top:0;
     width:100%;
     height:100%;
     overflow:hidden;
     text-align:center;
 } 

 #gallerywrapper #gallery div {
     width:100%; 
     height:200%; 
     padding-top:10px; 
     position:relative;
     
 } 

 #gallerywrapper #gallery div img {
     clear:both; 
     display:block; 
     margin: 3rem auto; 
     border:0;
     width: 100%;
 } 

 #gallery .previous, 
#gallery .next {
    display: inline-block;
    position: absolute;
    top: 25%;
    transform: translateY(-50%);
    padding: 0.1em 0.2em;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-decoration: none;
    border-radius: 0.1em;
}

 #gallery .previous{ 
     display:inline;
     left: 0.1em;
     text-decoration:none;
 } 

 #gallery .next{ 
     display:inline;
     right: 0.1em;
     text-decoration:none;
 }

.footerHomer{
  position: static;
  bottom: 0px; 
}
#bookingSite{
    gap: 0.1rem;
    width: 100%;
    margin: auto;
  justify-content: center;
  }
#tablehead{
 grid-column: 1 / span 3;
}
.calender{
  height: min-content;
  background-color: rgb(250 250 250);
  display: grid;
  grid-template-columns: 30% 30% 30%;
  grid-template-rows: min-content 12em 12em;
  grid-gap: 0.2em;
  justify-content: center;
  align-content: center;
  padding: 0rem;
  margin: 0.5rem;
  
  
  table{
    background-color: rgb(252 252 252);
    border: black 0.1rem solid;
    border-collapse: separate;
    border-spacing: 0.15rem 0.15rem;
    table-layout: fixed;
    width: 100%;
    height: 90%;
  }
  .weekdays th{
    border-left-style: solid;
    border-width: 0.15em;  
    height: 0.8em;
    font-size: 0.69rem;
  }
  tbody{
    td{
      text-align: center;
      background-color: lightgray;
      border-radius: 3em;
      height: 0.7rem;
      font-size: 0.69rem;
      }
    .booked{
        background-color: rgb(224 95 75);
     }
  }
}
.legend{
  display: grid;
  grid-auto-flow: column;
  p{
    margin: 0;
  }
  
  #legendIconFree{
  background-color: lightgray;
  border-radius: 3em;
  width: 2rem;
  height: 1em;
  margin: auto;
}
   
  #legendIconBooked{
    background-color: rgb(224 95 75);
    border-radius: 3em;
    width: 2rem;
    height: 1em;
    margin: auto;
  }
}
.booking{
  text-align: left;
  overflow: hidden;
  background-color: rgb(250 250 250);
  justify-content: center;
  padding: 0rem;
  margin: 0.5rem;
  p {
    width: 95%;
  }
}

#informationSite{
  display: grid;
  grid-template-columns: 100%; 
  grid-template-rows: min-content min-content;
  gap: 0.1em;
  margin: auto;
  section{
   background-color: rgb(250 250 250);
   justify-content: center;
   padding: 0.3em;
   margin: 2.5rem;
  }
  #houseInfo{

    #gallerywrapper {
      margin: 0 auto;
      position: relative;
      top: -5rem;
      width: 90%;
    } 

    #gallerywrapper #gallery {
        position:absolute;
        left:0;
        top:0;
        width:100%;
        height:100%;
        overflow:hidden;
        text-align:center;
    } 

    #gallerywrapper #gallery div {
        width:100%; 
        height:200%; 
        padding-top:10px; 
        position:relative;
        
    } 

    #gallerywrapper #gallery div img {
        clear:both; 
        display:block; 
        margin: 3rem auto; 
        border:0;
        width: 100%;
    } 

    #gallery .previous, 
    #gallery .next {
        display: inline-block;
        position: absolute;
        top: 25%;
        transform: translateY(-50%);
        padding: 0.1em 0.2em;
        font-size: 2rem;
        background: rgba(0, 0, 0, 0.5);
        color: white;
        text-decoration: none;
        border-radius: 0.1em;
    }

    #gallery .previous{ 
        display:inline;
        left: 0.1em;
        text-decoration:none;
    } 

    #gallery .next{ 
        display:inline;
        right: 0.1em;
        text-decoration:none;
    }
  }

  iframe{
    box-sizing: border-box;
    width: 70%;
    height: 20rem;
    padding: 2em;
    border: 0px;
    float: left;
    
      
  }
}


#exploreSite{
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 1fr 1fr;
  gap: 0.1em;
  margin: auto;
  section{
    background-color: rgb(250 250 250);
    padding: 0.3em;
    margin: 2.5rem;
  }
  iframe{
    box-sizing: border-box;
    width: 100%;
    height: 20rem;
    padding-top: 3rem;
    border: 0px;
    margin-top: 0px;
  }

  p{
  padding-top: 3rem;
  margin-top: 0px;
  }
  

  
}
