/* WEBSITE */
body {
  font-family: "Georgia", Georgia, sans-serif;
  background: #85cfee;
}

/* DIVS */
#header {
  background: grey;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#nav {
  background:aliceblue;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color:white;
  padding: 30px 0;
}

#section {
  background: grey;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

#footer {
  background: floralwhite;
  color: forestgreen;
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.offcanvas-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: dimgrey;
  opacity: 0; / default hidden */
  transition: opacity 0.2s ease;
}
.offcanvas-backdrop.show {
  opacity: 0.5;
}

.contact-section .card hr {
  opacity: 1;
  border-color: palevioletred;
  border-width: 0.25rem;
  width: 3rem;
}
.contact-section .social a:active {
  color: palevioletred;
}

/* NAV */
#nav ul {
  text-align: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color:seagreen;
}
#nav li {
  display: inline-block;
  padding-right: 1rem;
  color:seagreen;
}
#nav a {
  color: seagreen;
  text-decoration: none;
}
#nav a:hover {
  color:palevioletred;
  font-weight: 600;
}

/* LINKS */
a {
  color:seagreen;
  font-weight: 400;
}
a:visited {
  color: darkred;
}
a:hover {
  color: palevioletred;
}


/* TEXT */
h1 {
  color: ghostwhite;
}
h4 {
  color: grey;
  text-align: center;
  font-weight:600;
}
h5 {
  color: rosybrown;
  font-weight: 500;
}
h3 {
  color: whitesmoke;
  font-weight: 700;
}
p {
  color: rosybrown;
  background: whitesmoke;
  line-height: 1.5;
  padding: 0.5rem;
  text-align:left;

}
li {
  line-height: 1.4;
}

/* TABLE */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}
th, td {
  border: 1px solid #ddd;
  padding: 0.5rem;
  text-align: left;
}
th {
  background-color: floralwhite;
  font-weight: 700;
}
tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* IMAGES */
.masthead {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 35rem;
  padding: 15rem 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 75%, #000 100%), url("/assets/img/mermad.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}
.carousel-item img {
  display: block;
  margin: 0 auto;
  width: 300px;
  height: 200px;
  object-fit:cover; 
}

.signup-section {
  padding: 10rem 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 75%, #000 100%), url("../assets/img/myhouse.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}

.img-fluid {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  position: relative;
}


img {
  max-width:400px;
  height: auto;
  display: inline-block;
}

/* banner */
img.banner {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* RESPONSIVE */
.respond {
  width: 100%;
  max-width: 450px;
}


/* SIDEBAR */
.sidebar {
  float: right;
  width: 30%;
  height: auto;
  margin-left: 1rem;
}
.sidebar-bottom {
  display: none;
}

@media screen and (max-width: 930px) {
  .sidebar {
    display: none;
    float: none;
    width: auto;
  }
  .sidebar-bottom {
    display: block;
    width: 95%;
    max-width: 1000px;
    height: auto;
    margin: 0 auto;
  }
}

