/*
CSS for Loose Cannon test site
Main Style Sheet
*/

body {
  margin-left: auto;
  margin-right: auto;
  font-family: "Lato", sans-serif;
  }

#banner {
  font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
  height: 300px;
  background-color: #ffe7e7;
  background-image: url("images/sunsetcliffs.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  color: #ef5e8c;
  text-shadow: 2px 3px 6px black;
  margin: 1em 0 1em 0;
//  border: 1px solid black; /*Layout test*/
  padding-top: 1em;
  padding-bottom: .2em;
  padding-left: 5%;
  }

#banner h1 {
  font-size: 3em;
  }

#banner h2 {
  font-size: 2em;
  }

#pagecontainer {
  overflow: auto;
  position: relative;
  width: 90%;
  max-width: 1024px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
//  border: 1px solid green; /*Layout test*/
  }



nav {
  margin: 0
  padding: 0;
  width: 15%;
  background-color: #f1f1f1;
  float: left;
  height: 100%;
  overflow: auto;
//  border: 1px solid blue; /*Layout test*/
  }

nav a {
  display: block;
  color: black;
  padding: 10px;
  text-decoration: none;
  }
 
nav a.active {
  background-color: #4CAF50;
  color: white;
  }

nav a:hover:not(.active) {
  background-color: #555;
  color: white;
  }

#content {
  margin: 5px;
  float: left;
  clear: right;
  width: 45%;
  padding: 1px 16px;
//  border: 1px solid blue; /*Layout test*/

  }

.imgcontent {
  width: 90%;
  margin: 5%;
  }

#sidebar {
  float: right;
  position: relative;
  height: 1200px;
  overflow: hidden;
  min-height: 20em;
  width: 30%;
  margin: 5px 10px 15px 0;
//  border: 1px solid red; /*Layout test*/
  padding: .5em;
  }

.imgcenter {
  display: block;
  margin-top: 25px;
  margin-bottom: 25px;
  margin-left: auto;
  margin-right: auto;
  height: 400px;
  }

.formerrortext {
  color: red;
  }

@media screen and (max-width: 700px) {
  nav {
    width: 100%;
    height: auto;
    position: relative;
  }
  nav a {
    float: left;
  }
  #content {
    margin-left: 0;
  }

#sidebar {
  width: 250px;
  height: 1386px;
  }

}

@media screen and (max-width: 400px) {
  nav a {
    text-align: center;
    float: none;
  }

#banner {
  background-size: 200%;
//  margin-top: 2em;
  }

#banner h1 {
  font-size: 2em;
  margin-top: 2em;
  }

#banner h2 {
  font-size: 1.5em;
  }

#content {
  width: 90%;
  }
  
#sidebar {
  float: none;
  width: 350px;
  margin-left: auto;
  margin-right: auto;
  }
  
}

/* Keyframe Animation */

#sidebarscroll {
  position: relative;
//  margin: 5px;
//  padding: 5px;
  margin-left: auto;
  margin-right: auto;
//  border: 1px solid yellow; /*Layout test*/
  -webkit-animation: scrollphotos 30s linear infinite;
  animation: scrollphotos 30s linear infinite;
}

@-webkit-keyframes "scrollphotos" {
  from {top: 0px;}
  to {top: -1275px;}
}

/* Standard syntax */
@keyframes "scrollphotos" {
  from {top: 0px;}
  to {top: -1275px;}
}

/* Form style */
    .booking-container {
        max-width: 450px;
        margin: 20px auto;
        padding: 30px;
        background: #ffffff;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        font-family: 'Helvetica Neue', Arial, sans-serif;
        border-top: 5px solid #e47911;
    }
    .booking-container h2 {
        text-align: center;
        color: #1a1a1a;
        margin-bottom: 5px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    .booking-container p {
        text-align: center;
        color: #888;
        font-size: 13px;
        margin-bottom: 20px;
    }
    .deposit-box {
        background-color: #fffaf5;
        border: 1px solid #e47911;
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 20px;
        font-size: 14px;
        color: #333;
    }
    .form-group {
        margin-bottom: 18px;
    }
    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
        color: #333;
        font-size: 14px;
    }
    .form-group input, .form-group select {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-sizing: border-box;
    }
    .terms-group {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-top: 20px;
        font-size: 13px;
        color: #555;
        line-height: 1.4;
    }
    .terms-group input {
        width: auto;
        margin-top: 3px;
    }
    .submit-btn {
        width: 100%;
        padding: 16px;
        background-color: #1a1a1a;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
        margin-top: 20px;
        text-transform: uppercase;
    }
    .submit-btn:hover {
        background-color: #e47911;
    }