*,*::before, *::after {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

:root {
  --color-main-red: rgb(184,31,41);
  --color-main-blue: rgb(30, 46, 126);
  --color-text-dark: #333;
  --color-text-light: #999;
}

html, body {
  margin: 0;
  padding: 0;
  position: relative;
  height: 100%;
}

body {
  font-family: 'Roboto', sans-serif;
}


.wrapper {
  display: block;
  position: relative;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Roboto', sans-serif;
  margin-left: auto;
  margin-right: auto;
  /* max-width: 1200px; */
  overflow: hidden;
  padding-bottom: 80px;
  background-color: #fff;
}

h1 {
  color: rgb(184,31,41);
  font-size: 2rem;
  font-weight: 900;
  margin: 0 0 20px 0
}

h2 {
  color:var(--color-main-blue);
  font-weight: 400;
  line-height: 1.5;
  font-size: 2rem;
}

h3 {
  margin: 0;
  line-height: 1.5;
  color: rgb(90, 90, 90);
  font-weight: 900;
}

p {
  line-height: 1.5;
  color: rgb(66, 66, 66);
  font-size: 1.5rem;
}

 .sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  background-color: rgb(144, 152, 187);
  padding-top: 60px;
  z-index: 1;
  transition: 0.5s;
  overflow-x: hidden; /*This will hide the anchor tags when the sidebar menu isn't showing*/

}

.sidebar a {
  display: block;
  text-decoration: none;
  list-style: none;
  color: rgb(30, 46, 126);
  padding: 15px;
  padding-left: 35px;
  font-size: 1.2rem;
}

.sidebar a:hover:not(:first-child) {
  background-color: rgba(30, 46, 126, .2);

}

.sidebar__closebtn{
  position: absolute;
  top: 10px;
  right: 25px;
  text-decoration: none;
  font-size: 3rem;
  color: rgb(184,31,41);
  font-weight: 400;
  background-color: transparent;
  border: none;
  transition: 0.5s;
  padding: 0;
  margin: 0;
}

.sidebar__closebtn:hover{
  transform: scale(1.5);
}
.openbtn{
  background-color: transparent;
  color: rgb(184,31,41);
  border: none;
  font-size: 40px;
  cursor: pointer;
  padding: 20px;
  padding-right: 30px;
}

ul li {
  list-style: circle;
  margin-bottom: 20px;
  color: rgb(66, 66, 66);
  font-size: 1.2rem;
}

.header {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  background-color: #fff;
}

.header-logo {
  width: 75%;
  max-width: 375px;
  min-width: 207px;
  margin: 20px;
  align-self: center;
}

.container {
  max-width: 100ch;
  padding: 20px;
  background-color: #fff;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

.showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("../img/header-image-01-50.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  padding: 3rem
}

.showcase__button {
  padding: 1rem 2rem;
  margin-top: 2rem;
  background-color: rgb(184,31,41);
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  outline-style: solid;
  outline-color: rgba(0,0,0,.3);
  outline-width: 20px;
}

.showcase__heading {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: .2rem;
  margin-bottom: 0;
  margin-top: 1rem;
}

.showcase__small-text {
  color: #fff;
  background: rgba(255,255,255, .3);
  padding: .5em;
  text-align: center;
}

.showcase__phone{
  font-size: 2rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: .3rem;
  margin: 0;
}


.showcase__text {
  font-size: 1.5rem;
  color: #fff;
  text-align: center;
  margin-top: 0;
  margin-bottom: 1rem;
}

.showcase__tagline {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  text-align: center;
  border-radius: 5px;
  letter-spacing: 2px;
  margin: 0;
}

.section-heading {
  margin-bottom: 10px;
}

.sub-heading {
  margin:0;
  margin-top: 0;
}

table {
  width: 100%;
  margin: 30px 0;
  border: 1px solid #777;
  border-collapse: collapse;
}

table tr th {
  background-color: var(--secondary-color-light);
  padding: 10px;
}

table tr th {
  border-right: 1px solid #fff;
}

table tr th:last-child {
  border-right: 1px solid #28336A;
}

table tr td {
  text-align: center;
  padding: 10px;
  border: 1px solid #28336A;
}

form {
  width: 100%;
}

input {
  -webkit-appearance: none;
  appearance: none;
  -moz-appearance: none;
  display: block;
  width: 100%;
  font-size: 1.2rem;
  line-height: 1.5rem;
  padding: 5px;
  font-family: 'Roboto', sans-serif;
  border: none;
  border-bottom: 2px solid #999;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.textarea-label {
  font-size: 1.25rem;
  color: #777;
  padding-bottom: 20px;
  font-family: 'Roboto', sans-serif;
}

textarea {
  width: 100%;
  padding: 5px;
  font-size: 1rem;
  margin-bottom: 50px;
  margin-top: 10px;
  border: none;
  color: var(--color-text-dark);
  background-color: rgba(0,0,0,.05);
}

input[type=submit] {
  -webkit-appearance: none;
  appearance: none;
  padding: 20px;
  background-color: rgba(30, 46, 126, .2);
  border: 1px solid var(--color-main-blue);
  color: var(--color-main-blue);
  cursor: pointer;
}

.form-button {
  padding: 1rem 2rem;
}

input[type=submit]:active {
  background-color: rgba(212, 212, 212, 0.5);
}

.divider {
  margin: 5rem 0;
}

.map {
  flex-grow: 2;
}

.address-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.address {
  font-size: 1.5rem;
  color: var(--color-text-dark);
  margin-bottom: 1em;
}

footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  text-align: center;
  padding: 5px;
  background-color: rgb(30, 46, 126);
  margin-left: auto;
  margin-right: auto;
  /* max-width: 1200px; */
}

.footer__text {
  font-size: 1.1rem;
}


footer p {
  color: #fff;
}

@media only screen and (min-width: 768px) {

  .wrapper {
    transform: translateZ(0);
  }

  .container {
    padding: 50px;
  }

  .showcase {
    padding: 5rem;
  }

  .sidebar {
    position: absolute;
  }

  .address {
    margin-right: 2rem;
  }

}

@media only screen and (min-width: 1200px) {

  .openbtn{
    display:none;
  }

  .sidebar__closebtn {
    display: none;
  }

  .header {
    display:flex;
    flex-direction: column;
    align-items: center;

  }

  main {
    display: flex;
    flex-direction: column;
    justify-content: center; 
  }

  .sidebar {
    display: flex;
    align-content: center;
    justify-content: center;
    width: 100%;
    padding: 0; 
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    transition: none;
  }

  .sidebar a{
    padding: 1rem;
    font-size: .9rem;
    color: #fff;
  }


  /* .container {
    margin:0;
  } */
}