html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background-color: white;
  font-family: "Hepta Slab", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #1e0b0b;
}

.container {
  width: 1000px;
  max-width: 90%;
  margin: auto;
}

main {
  min-height: 100vh;
}

.page {
  display: none;
}
.page h2 {
  font-weight: 200;
  color: #1e0b0b;
  font-size: 70px;
  margin: 30px 0px 40px 0;
  padding: 0;
  text-align: center;
}
.page h3 {
  font-weight: 200;
  color: #1e0b0b;
  font-size: 40px;
  margin: 20px 0;
  padding: 0;
  text-align: center;
}
.page h3.alignleft {
  text-align: left;
}
.page h3.m10 {
  margin-bottom: 10px;
}
.page.active {
  display: block;
}
.page figure,
.page img {
  max-width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
}
.page figure.pictureframe,
.page img.pictureframe {
  border: 6px solid #ffffff;
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}
.page figure.pictureframe {
  height: 600px;
  background-size: cover;
  background-position: 0 0;
}
.page figure.pictureframe.wide {
  height: 420px;
  background-position: center center;
}
.page figure.pictureframe.ultrawide {
  height: 420px;
  background-position: center center;
}
.page figure.pictureframe.high {
  height: 700px;
  background-position: bottom center;
}
.page figure.pictureframe.alignright {
  background-position: right center;
}
.page figure.pictureframe.scroll {
  opacity: 0;
}

.houses {
  position: relative;
  height: 550px;
  margin-top: 30px;
}
.houses .house {
  position: absolute;
  width: 150px;
  height: 150px;
  left: 0;
  top: 0;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  z-index: 5;
}
.houses .house.active figure {
  border-radius: 5px;
}
.houses .house h3 {
  position: absolute;
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
  margin: 0;
  padding: 0;
  color: white;
  top: 85px;
  left: 0;
  right: 0;
  text-align: center;
  text-shadow: 0 0 5px #145d52;
}
.houses .house:nth-child(1) {
  top: 0;
  left: calc(50% - 275px);
}
.houses .house:nth-child(2) {
  top: 0px;
  left: calc(50% - 75px);
}
.houses .house:nth-child(3) {
  top: 0px;
  left: calc(50% + 125px);
}
.houses .house:nth-child(4) {
  top: 200px;
  left: calc(50% - 275px);
}
.houses .house:nth-child(5) {
  top: 200px;
  left: calc(50% - 75px);
}
.houses .house:nth-child(6) {
  top: 200px;
  left: calc(50% + 125px);
}
.houses .house figure {
  margin: 0;
  padding: 0;
  width: 150px;
  height: 150px;
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 5px #145d52;
  background-size: contain;
  transition: transform 0.4s ease-out, border-radius 0.4s ease-out;
}
.houses .house span {
  position: absolute;
  left: 35%;
  bottom: -5px;
  text-align: center;
  color: black;
  white-space: nowrap;
  background-color: #e5cdb3;
  padding: 4px 10px;
  font-size: 14px;
  box-shadow: 1px 1px 5px rgba(56, 72, 67, 0.54);
  transform: rotate(-10deg);
}
.houses .house:hover figure {
  transform: scale(1.1);
}
.houses .houseinfo {
  position: absolute;
  top: 0;
  left: 135px;
  right: 0;
  bottom: 0;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-135px);
  transition: all 0.3s ease-in-out;
}
.houses .houseinfo.active {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
.houses .houseinfo .info {
  position: absolute;
  top: 157px;
  left: 10px;
  width: 120px;
  font-size: 14px;
  z-index: 20;
  font-family: sans-serif;
}
.houses .houseinfo .info .list {
  padding-left: 10px;
}
.houses .houseinfo .content {
  padding-left: 175px;
  position: relative;
  background-color: white;
}
.houses .houseinfo .stars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
  margin-top: 10px;
}
.houses .houseinfo .stars b {
  display: block;
  font-weight: 200;
  font-family: sans-serif;
  text-align: center;
  font-size: 24px;
  width: 100%;
}
.houses .houseinfo .stars span {
  background-image: url("../_img/star.svg");
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 1px;
}
.houses .houseinfo a.button {
  display: block;
  width: 110px;
  height: 44px;
  background-image: url("../_img/airbnb.svg");
  background-size: 80px 25px;
  background-repeat: no-repeat;
  background-position: 10px 14px;
  text-decoration: none;
  border: 1px solid #FF5A5F;
  color: #FF5A5F;
  text-align: center;
  padding-top: 3px;
  font-size: 12px;
  border-radius: 10px;
  margin-top: 20px;
  transition: all 0.1s ease-in-out;
  background-color: white;
}
.houses .houseinfo a.button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 4px #FF5A5F;
}
.houses .houseinfo .soon {
  position: absolute;
  left: 50%;
  top: 80px;
  font-weight: 900;
  font-size: 60px;
  color: white;
  letter-spacing: -2px;
  text-shadow: 0 0 13px #918666;
  transform: translateX(-50%) translateY(-50%) rotate(-10deg);
  text-align: center;
}

#houses {
  margin-top: 60px;
}

#location {
  background-color: #f0f1eb;
  text-align: center;
  padding: 30px 0 50px 0;
}

.address {
  font-size: 14px;
  margin: 0 0 30px 0;
}

#map {
  height: 400px;
  width: 90%;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.routes {
  position: relative;
}
.routes .route {
  display: inline-block;
  width: 80px;
  height: 80px;
  margin: 4px;
  border: 2px solid #7591B3;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  background-color: white;
  position: relative;
  background-image: url("../_img/car.svg");
  background-size: 50px;
  background-repeat: no-repeat;
  background-position: center;
}
.routes .route.carboat {
  background-image: url("../_img/boat.svg");
}
.routes .route.plane {
  background-image: url("../_img/plane.svg");
}
.routes .route.train {
  background-image: url("../_img/train.svg");
}
.routes .route:hover {
  transform: scale(1.1);
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.21);
}
.routes .route label {
  position: absolute;
  left: 0;
  right: 0;
  font-size: 13px;
  line-height: 13px;
  white-space: nowrap;
  text-align: center;
  bottom: -20px;
}
.routes .routeinfo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  text-align: left;
  padding: 20px 40px;
}
.routes .routeinfo .panel {
  display: none;
}
.routes .routeinfo .panel.active {
  display: block;
}
.routes .routeinfo a {
  color: #43546c;
}
.routes .routeinfo a.line {
  display: block;
  margin-bottom: 10px;
}
.routes .routeinfo a.line.top {
  margin-top: 10px;
}
.routes .routeinfo.active {
  pointer-events: all;
  opacity: 1;
  bottom: 150px;
}
.routes .routeinfo .close {
  width: 26px;
  height: 26px;
  position: absolute;
  right: 20px;
  top: 10px;
  background-image: url("../_img/close.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}
.routes .routeinfo .close:hover {
  transform: scale(1.1);
}
.routes .routeinfo h2 {
  font-size: 20px;
  font-weight: 600;
  text-align: left;
  padding: 0 0 0 40px;
  background-image: url("../_img/car.svg");
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: left center;
  margin: 10px 0 20px 0;
}
.routes .routeinfo h2.carboat {
  background-image: url("../_img/boat.svg");
}
.routes .routeinfo h2.plane {
  background-image: url("../_img/plane.svg");
}
.routes .routeinfo h2.train {
  background-image: url("../_img/train.svg");
}
.routes .routeinfo h3 {
  font-weight: 600;
  text-align: left;
  font-size: 18px;
  margin: 0;
  padding: 0;
}
.routes .routeinfo .box {
  line-height: 125%;
}
.routes .routeinfo .lineleft {
  margin: 30px 0 0 30px;
  padding-left: 10px;
  border-left: 4px solid #7591B3;
  border-radius: 5px;
}
.routes .routeinfo .lineleft.min {
  min-height: 90px;
  margin-bottom: 20px;
}
.routes .routeinfo .lineleft.right {
  margin-left: 0;
}

#whoarewe {
  background-color: #f9f5eb;
}

#whoarewe,
#photos,
#about-us {
  text-align: center;
  padding: 30px 0;
}
#whoarewe a.button,
#photos a.button,
#about-us a.button {
  display: inline-block;
  text-decoration: none;
  border: 1px solid #1e0b0b;
  border-radius: 10px;
  padding: 6px 20px;
  color: #1e0b0b;
  margin-top: 20px;
  background-color: white;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}
#whoarewe a.button:hover,
#photos a.button:hover,
#about-us a.button:hover {
  transform: scale(1.1);
}

#concept {
  text-align: center;
  padding: 30px 0;
  background-color: #fdf9f7;
}

.cols {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.cols .col {
  width: 50%;
}
.cols .col.wide {
  width: 65%;
}
.cols .col.narrow {
  width: 35%;
}
.cols .col.c3 {
  width: 33%;
}
.cols .col.c3.right {
  text-align: right;
}
.cols .col.c3.center {
  text-align: center;
}
.cols .col.padded {
  padding: 20px;
  font-size: 17px;
  text-align: left;
}
.cols .col.padded.left {
  padding-right: 40px;
}
.cols .col.padded.right {
  padding-left: 40px;
}
.cols .col.padded.alignright {
  text-align: right;
}
.cols .col.padded.alignright h3 {
  text-align: right;
}
.cols .col.padded.alignleft {
  text-align: left;
}
.cols .col.padded.alignleft h3 {
  text-align: left;
}

#contact b {
  display: block;
  color: #5d142e;
  font-size: 24px;
  margin-bottom: 6px;
}
#contact a {
  display: block;
  margin-bottom: 4px;
  padding: 2px 2px 2px 20px;
  color: #145d52;
  text-decoration: none;
  background-image: url("../_img/phone.svg");
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: 0 50%;
}
#contact a.email {
  background-image: url("../_img/email.svg");
}
#contact a:hover {
  text-decoration: underline;
}

.favtodo {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  padding: 20px 40px;
}
.favtodo h4 {
  font-size: 20px;
  margin: 0 0 20px 0;
  font-weight: 300;
}
.favtodo br {
  display: none;
}
.favtodo a {
  display: block;
  padding: 4px 10px 4px 40px;
  text-decoration: none;
  border-radius: 5px;
  color: black;
  text-align: left;
  position: relative;
  margin-bottom: 10px;
}
.favtodo a i {
  position: absolute;
  width: 30px;
  height: 30px;
  background-image: url("../_img/car.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 0 0;
  left: 0;
  transition: all 0.3s ease-in-out;
}
.favtodo a i.boat {
  background-image: url("../_img/smallboat.svg");
}
.favtodo a i.hiking {
  background-image: url("../_img/hiking.svg");
}
.favtodo a i.swimming {
  background-image: url("../_img/swimming.svg");
}
.favtodo a i.town {
  background-image: url("../_img/town.svg");
}
.favtodo a i.village {
  background-image: url("../_img/village.svg");
}
.favtodo a i.city {
  background-image: url("../_img/city.svg");
}
.favtodo a i.cityhall {
  background-image: url("../_img/cityhall.svg");
}
.favtodo a i.canoe {
  background-image: url("../_img/canoe.svg");
}
.favtodo a i.carabiner {
  background-image: url("../_img/carabiner.svg");
}
.favtodo a i.island {
  background-image: url("../_img/island.svg");
}
.favtodo a i.astrid {
  background-image: url("../_img/astrid.svg");
  background-size: 125%;
  background-position: -5px 0;
}
.favtodo a i.house {
  background-image: url("../_img/house2.svg");
  background-size: 90%;
}
.favtodo a i.windmill {
  background-image: url("../_img/windmill.svg");
}
.favtodo a i.castle {
  background-image: url("../_img/castle.svg");
}
.favtodo a:hover {
  color: #43546c;
  text-decoration: underline;
}
.favtodo a:hover i {
  transform: scale(1.3);
}

.pswp-gallery a {
  display: inline-block;
  width: 150px;
  height: 150px;
}
.pswp-gallery.small a {
  width: 100px;
  height: 100px;
}

.pswp-gallery a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

nav {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 21;
  width: 70px;
  height: 100vh;
  pointer-events: none;
}
nav .menu {
  pointer-events: none;
  background-color: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  padding-top: 80px;
  height: 100vh;
  margin-left: 5px;
}
nav .menu a {
  display: block;
  width: 250px;
  color: #373a33;
  padding: 20px 30px;
  text-decoration: none;
  font-size: 20px;
}
nav .menu a:hover {
  background-color: #deead7;
  color: black;
}
nav .slider {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  overflow: hidden;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
}
nav button {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 0;
  top: 30px;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  pointer-events: all;
  z-index: 10;
}
nav button span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: black;
  border-radius: 4px;
  margin: 6px 0;
  transition: all 0.3s ease-in-out;
}
nav.active .menu {
  pointer-events: all;
}
nav.active .slider {
  width: 250px;
  pointer-events: all;
}
nav.active button span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
nav.active button span:nth-child(2) {
  opacity: 0;
}
nav.active button span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

header {
  height: 100vh;
}
header main {
  background-color: white;
}
header a.logo {
  margin: 0;
  position: absolute;
  top: 10px;
  left: 10px;
  height: 90px;
  width: 178px;
  background-image: url("../_img/barn.png");
  z-index: 20;
  background-size: contain;
  background-repeat: no-repeat;
  text-decoration: none;
}
header h1 {
  position: absolute;
  top: 16px;
  left: 140px;
  color: transparent;
  z-index: 20;
  height: 48px;
  width: 200px;
  pointer-events: none;
  background-image: url("../_img/barnoflife.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top left;
}
header .slideshow {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  bottom: 0;
}
header .slideshow:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 150px;
  background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 10;
}
header .slideshow a.button {
  position: absolute;
  z-index: 10;
  bottom: 20px;
  right: 20px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.5);
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  color: black;
  text-decoration: none;
  white-space: nowrap;
}
header .slideshow a.button:hover {
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}
header .slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
header .slideshow .slide.one {
  background-image: url("https://www.barnoflife.se/wp-content/uploads/2025/03/a.jpg");
  z-index: 2;
  opacity: 0;
  transition: opacity 1s ease;
}
header .slideshow .slide.one.active {
  opacity: 1;
}
header .slideshow .slide.two {
  z-index: 1;
}
header .slideshow.contain:before {
  display: none;
}
header .slideshow.contain .slide {
  background-color: white;
  background-size: contain;
}
header .slideshow.border:before {
  display: none;
}

footer {
  background-color: #e5e8dc;
  margin-top: 80px;
  color: #846b6b;
}
footer .barnoflife {
  padding-top: 30px;
}
footer .barnoflife img {
  width: 300px;
  height: auto;
  display: block;
  margin: auto;
}
footer .languagemenu {
  text-align: center;
}
footer a {
  color: #846b6b;
  text-decoration: underline;
}
footer a:hover {
  color: black;
}
footer .cols .col {
  padding-top: 15px;
  padding-bottom: 30px;
}

.onlymobile {
  display: none;
}

@media only screen and (max-width: 1030px) {
  .houses .pswp-gallery a {
    width: 100px;
    height: 100px;
  }
}
@media only screen and (max-width: 800px) {
  .cols .col {
    width: 100%;
  }
  .cols .col.wide, .cols .col.narrow {
    width: 100%;
  }
  .cols .col.padded.alignright.mobilealignleft {
    text-align: left;
  }
  .cols .col.padded.alignright.mobilealignleft h3 {
    text-align: left;
  }
  .cols .col.padded.right {
    padding-left: 20px;
  }
  .cols .col.padded.left {
    padding-right: 20px;
  }
  .page h2 {
    font-size: 50px;
  }
  .page h3 {
    font-size: 30px;
  }
  .houses .houseinfo .soon {
    font-size: 30px;
    left: 60%;
    text-align: right;
  }
  .houses .pswp-gallery a {
    width: 100px;
    height: 100px;
  }
  .cols .col.padded.mobilecenter {
    max-width: 250px;
    text-align: center;
    margin: auto;
  }
  .routes .routeinfo .lineleft.right {
    margin-left: 30px;
  }
}
@media only screen and (max-width: 700px) {
  .nomobile {
    display: none;
  }
  .onlymobile {
    display: block;
  }
  .cols .col.c3 {
    width: 100%;
  }
  .cols .col.c3.right {
    text-align: center;
    padding-top: 0;
  }
}
@media only screen and (max-width: 600px) {
  #houses .container {
    max-width: 100%;
  }
  .houses {
    height: 700px;
  }
  .houses .house.active .hidewhenparentactive {
    display: none;
  }
  .houses .house.active figure {
    width: 110px;
    height: 110px;
  }
  .houses .house.active h3 {
    width: 110px;
  }
  .houses .house:nth-child(1) {
    top: 0;
    left: calc(50% - 175px);
  }
  .houses .house:nth-child(2) {
    top: 0;
    left: calc(50% + 25px);
  }
  .houses .house:nth-child(3) {
    top: 200px;
    left: calc(50% - 175px);
  }
  .houses .house:nth-child(4) {
    top: 200px;
    left: calc(50% + 25px);
  }
  .houses .house:nth-child(5) {
    top: 400px;
    left: calc(50% - 175px);
  }
  .houses .house:nth-child(6) {
    top: 400px;
    left: calc(50% + 25px);
  }
  .houses .houseinfo .info {
    left: -10px;
  }
  .houses .houseinfo .content {
    padding-left: 125px;
  }
  .houses .houseinfo .soon {
    left: 100px;
    margin-top: 200px;
  }
  .houses .pswp-gallery a {
    width: 60px;
    height: 60px;
  }
}
@media only screen and (max-width: 500px) {
  header a.logo {
    width: 75px;
  }
  header h1 {
    left: 90px;
    width: 140px;
    top: 6px;
  }
  .houses .houseinfo {
    left: 0;
    top: 150px;
  }
  .houses .houseinfo .info {
    left: 120px;
    top: 0;
    display: flex;
    position: relative;
    width: calc(100% - 130px);
    gap: 5px;
    margin-bottom: 10px;
  }
  .houses .houseinfo .info .list {
    padding-left: 0;
    padding-right: 10px;
  }
  .houses .houseinfo .stars {
    margin-top: 0;
  }
  .page figure.pictureframe.high {
    height: 500px;
  }
}
@media only screen and (max-width: 400px) {
  .page h2 {
    font-size: 40px;
  }
  .page h3 {
    font-size: 20px;
    font-weight: 300;
  }
}

/*# sourceMappingURL=main.css.map */