/* styles.css */

/* Global styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background: rgb(244, 205, 205);
}

h1,h3,h4{
  text-align: center;
}
h1{
  font-size: 3em;
}
h4{
  margin-bottom: 1em;
}
img{
  display: block;
  margin: -78px auto -160px auto;
  max-width: 500px;
}
.main-div{
  text-align: center;
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
}
.main-div p{
  display: inline-block;
  max-width: 400px;
}

ul{
  list-style: none;
  display: inline-block;
  text-align: left;
  margin: 0;
  padding: 0;
}

a{
  text-decoration: none;
  color:rgb(54, 120, 163);
  transition: 0.3s;
}
a:hover{
  color: rgb(221, 130, 10);
}
.bullet{
  color:white;
}

h2{
  text-align: center;
  margin-bottom: 10px;
  margin-top: 10px;
}

p {
  text-align: center;
  margin-top: 0;
}
.biz-address{
  margin-bottom: 5px;
}
.hours{
  margin: 0;
  font-size: .9rem;
}

form {
  max-width: 400px;
  margin: 0 auto;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 4px;
  background-color: #d2e0fc;
}

label {
  display: block;
  margin-bottom: 5px;
}
.company-contact {
  font-weight: bold;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 10px;
}

select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 10px;
}

input[type="submit"], .overlay a  {
  background-color: rgb(221, 130, 10);
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.2s;
}

input[type="submit"]:hover {
  background-color: rgba(221, 130, 10, 0.72);
}

/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */   
  height: 100%;
  width: 100%;
  transition: opacity 0.3s, display .3s;
  display: none;
  opacity: 0;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(255, 255, 255); /* White fallback color */
  background-color: rgba(255, 255, 255, 0.9); /* White w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 25%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
/* .overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: rgb(54, 120, 163);
  display: block;
  transition: 0.3s; 
} */

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

/* Responsive styles */
@media only screen and (max-width: 600px) {
  form, img {
    max-width: 100%;
  }

  img{
    margin: -15% 0 -33% 0;
  }
}
