/* Author: Daniel Leclaire for Shell Motel Hollywood - June 2023 */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300&display=swap');

/* Icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.2.2/css/simple-line-icons.css');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");

/* CSS Styling */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 400 !important;
  line-height: 1.8em;
  color: #373737;
  background-color: #f1f1f1;
  }
  
h1 {
  font-weight: 300;
  text-align: center;
}

h2 {
  color: #4a4a4a;
  font-family: 'Open Sans', sans-serif;
  font-size: 40px;
  font-weight: 300;
}

li, a, button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  color: #373737;
  text-decoration: none;
}

ul {
  padding-left: 0px;
  padding-right: 10px;
}

header {
	position: sticky;
	top: 0;
	display: flex;
	max-width: 1150px;
	height: 100px;
	margin: auto;
	background-color: #ffffff;
	justify-content: flex-end;
	align-items: center;
	padding: 35px 30px;
	border-bottom: solid 6px #1a78cb;
	z-index: 10;
}

form {
  align-items: center;
  justify-content: center;
  margin: auto;
  width: 500px;
  padding: 0 40px;
}

footer {
  padding-top: 2em;
}

.bold {
  font-weight: 700;
}
  
.small {
  font-size: .80em;
}

.large {
  font-size: 1.2em;
}

.red {
  color: hsl(0, 100%, 50%);
}

.blue {
  color: hsl(208, 77%, 45%);
}

.logo-container {
  margin-right: auto;    
}

.logo {
  width: fit-content;
  cursor: pointer;
}  

.nav-links {
  list-style: none;
  margin: auto;
}

.nav-links li {
  display: inline-block;
  padding: 0px 10px;
}

.nav-links li a {
  display: flex;
  flex-direction: column;
  transition: all 0.3 ease;
}

.nav-links li a:hover {
  font-weight: bold;
  color: #1a78cb;
}

.space {
  display: flex;
  padding: 10px;
}

.terms-and-conditions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.terms-and-conditions p {
  font-size: 1.1em;
  line-height: 1.4em;
  text-align: center;
  margin: auto 0px;
}
.terms-and-conditions p span {
  font-size: 1.2em;
}
.terms-and-conditions i {
  font-size: 2.0em;
  padding-right: 12px;
  margin: auto;
}

.footer-content{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  background-color: #1a78cb;
  color: #f1f1f1;
  padding-top: 27px;
}

/* Availability Inquiry Form */ 

.avail-header {
  position: relative;
  display: flex;
  flex-direction: column;
  top: 0;
  background-color: #fff;
  width: 100%;
  justify-content: center; 
}
.avail-header h2 {
  color:#1a78cb; 
  text-align: center;
  padding: 30px 0;
}
.avail-greetings {
  position: relative;
  display: flex;
  background-color: #f1f1f1;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.avail-greetings h2 {
  color: #4a4a4a;
  font-weight: 400;
  text-align: center;
  padding: 25px 0 20px 0;
}
.avail-greetings p {
  font-size: 1.1em;
}
.avail-greetings p span{
  font-size: 1.2em;
}
.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 40px;
}
.form-group label {
  font-weight: bold;
  padding-bottom: 3px;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group.required .form-control:focus {
border-color: blue;
outline: 0;
box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}
.form-group.required.invalid .form-control {
border-color: red;
}
.form-group.required.valid .form-control {
border-color: green;
}

#loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-radius: 50%;
  border-top: 2px solid #3498db;
  animation: spin 1s linear infinite;
  margin-left: 5px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}



@media (max-width: 767px) {
  /* Styles for mobile phones */
}

@media (max-width: 1023px) {
  /* Styles for tablets */
}

@media (max-width: 1279px) {
  /* Styles for laptops */
}

@media (min-width: 1280px) {
  /* Styles for large screens/desktop monitors */
}
