html {
  margin: 0;
  padding: 0;
  overflow: auto;
}

/* BODY */

body {
  background-color: #244161a1;
  background-image: url("../pictures/background/background_home.jpg");
  background-repeat: no-repeat;
  background-position: top;
  background-attachment: scroll;
  background-size: cover;
  margin: 0;
  margin-bottom: 10vh;
  padding: 0;
  overflow: hidden;
}

p {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

a {
  font-style: normal;
}

a:hover {
  color: #8c713f;
}

h1 {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

h2 {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

h3 {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

h5 {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

h6 {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

ul li {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

ol li {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.content-wrap {
  display: flex;
  justify-content: center;
  
}

@media screen and (max-width: 1000px) {
  .content-wrap {
    flex-direction: column;
  }
  
}

.info {
  background-color: #415061e6;
  border: solid;
  border-radius: 10px;
  margin: 10px;
  padding: 1em;
  float: left;
  width: 70%;
  max-width: fit-content;
  color: aliceblue;
}

@media screen and (max-width: 1000px) {
  .info {
    width: 100%;
    padding: 10px;
  }
  
}

#banner {
  font-size: 70px;
  font-family: cursive;
  text-align: center;
  background-color: #5a70de;
  border-top: solid;
  border-bottom: solid;
  margin-top: 10px;
}

.sidebar {
  background-color: #415061e6;
  border: solid;
  border-radius: 10px;
  margin: 10px;
  padding: 10px;
  float: right;
  width: 30%;
  text-align: center;
  max-width: 100%;
  color: aliceblue;
}

@media screen and (max-width: 1000px) {
  .sidebar {
    width: auto;
  }
  
}

.sidebar iframe {
  width: 100%;
  height: 100%;
  max-height: 550px;
}

@media screen and (max-width: 1000px) {
  .sidebar iframe {
    width: 100%;
    height: 100vh;
  }
  
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a grey background color */
.prev:hover,
.next:hover {
  background-color: #f1f1f1;
  color: black;
}

.mySlides1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-image {
  width: 100%;
  height: 100%;
}

.zoomed-out-image {
  transform: scale(0.8);
  /* Adjust the scale value as needed */
  height: auto;
}

.house {
  text-align: center;
  background-color: #244161;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.thumb-nail {
  width: 100%;
  clear: both;
  overflow: hidden;
}

.nail {
  width: 140px;
  height: 100px;
  border: 2px solid #f1f1f1;
  overflow: hidden;
  cursor: pointer;
  margin: 10px 10px 0 0;
  float: left;
  line-height: 0;
}

@media screen and (max-width: 1000px) {
  .nail {
    width: 15vw;
    height: 5vh;
  }
  
}

.thumb {
  width: 100%;
  clear: both;
  overflow: hidden;
  height: auto;
  cursor: pointer;
}

.def {
  background-color: #244161;
  padding: 10px;
  border-radius: 10px;
  margin-top: 10px;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #008CBA;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
}

.button:hover {
  background-color: #005876;
  color: #fff;
}

/* HEADER */

header {
  text-align: center;
  background-color: #96BAE0;
  padding-top: 10px;
}

#logo {
  width: 300px;
}

@media screen and (max-width: 1000px) {
  #loc {
    font-size: 1em;
  }
}

nav {
  background-color: #244161;
  padding: 10px;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

@media screen and (max-width: 1000px) {
  .nav-links {
    font-size: 3vw;
  }
}

.nav-links li {
  margin-right: 1rem;
  padding: 0.65em;
}

@media screen and (max-width: 1000px) {
  .nav-links li {
    margin: auto;
  }
}

.nav-links li:last-child {
  margin-right: 0;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem;
  color: lightgray;
}

.nav-links a:hover {
  color: #c39e57;
}

/* FOOTER */

footer {
  background-color: #96BAE0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
}

@media screen and (max-width: 1000px) {
  footer {
    height: 7%;
  }
}

.contact-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  color: #333;
}

@media screen and (max-width: 1000px) {
  .contact-links {
    font-size: 4vw;
  }
}

.contact-links li, a {
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem;
}

.conlink {
  color: blue;
}