@import url('https://fonts.googleapis.com/css?family=Montserrat:500');

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

.header li, a, button {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}

header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 30px 10%;
  background-color: #114071;
}

.logo {
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  color: #fff;
  margin-right: auto;
}

.nav-links {
  list-style: none;
}

.nav-links li {
  display: inline-block;
  padding: 0px 20px;
}

.nav-links li a {
  transition: all 0.3s ease 0s;
}

.nav-links li a:hover {
  color: #235e99;
}

button {
  padding: 9px 25px;
  background-color: #235e99;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
}

button:hover {
  background-color: #1b4d80;
}

/*hero image*/
body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  font-family: "Montserrat", sans-serif;
}

.hero-image {
  position: relative;
  height: 400px;
  overflow: hidden;
  background-size: cover;
}

.image2 {
  position: relative;
  height: 325px;
  overflow: hidden;
  background-size: cover;
}

.image3 {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-size: cover;
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  text-align: center;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.container h1 {
  font-size: 65px;
  margin: 0;
}

.container h1 span {
  border: 10px solid white;
  padding: 6px 14px;
  display: inline-block;
}

.des {
  margin: 20px;
  display: block;
  font-size: 26px;
}

/*main page columns*/

.columns{
  background-color: #fff;
  color: #114071;
  text-align: center;
  padding: 60px 10px 60px;
}

.columns h1 {
  padding-bottom: 20px;
  text-decoration: underline;
}

.columns h2 {
  padding-top: 25px;
  padding-bottom: 15px;
  text-decoration: underline;
}

.column {
  float: left;
  width: 100%;
}

.row {
  display: grid;
}

.row::after {
  content: "";
  display: grid;
  clear: both;
}

.column p {
  padding-bottom: 20px;
  padding-top: 5px;
}

/*about*/
.about-us {
  background-color: #235e99;
  color: #fff;
  text-align: center;
  padding: 75px 10px 60px;
}

.about-us h1 {
  margin-bottom: 50px;
  text-decoration: underline;
}

.about-us h3 {
  padding-bottom: 15px;
}

.about-us p {
  max-width: 640px;
  font-size: 0.85em;
  margin: 0 auto 80px;
  line-height: 1.5em;
}

.about-us button {
  background-color: #114071;
  color: #fff;
  border: none;
  font-size: 1em;
  padding: 8px 30px;
}


/*main for beavers, cubs and scouts*/

.text {
  background-color: #fff;
  color: #114071;
  text-align: center;
  padding: 60px 200px 60px;
}

.text h2 {
  text-decoration: underline;
  padding-bottom: 8px;
}

.text h3 {
  text-decoration: underline;
}

.text p {
  padding-top: 20px;
  padding-bottom: 20px;
}

@media screen and (max-width: 600px) {
  .text {
    background-color: #fff;
    color: #114071;
    text-align: center;
    padding: 60px 20px 60px;
  }
}


/*Events table*/
.container {
  width: 100%;
}

table {
  border-collapse: collapse;
  border: 1px solid #e3e3e3;
  border-radius: 5px;
  width: 60%;
  margin: 0px auto;
  float: none;
}


table th {
  text-align: left;
  background-color: #114071;
  color: #fff;
  padding: 4px 30px 4px 8px;
}

table td {
  text-align: left;
  border: 1px solid #e3e3e3;
  color: #114071;
  padding: 4px 8px
}


/*footer*/

.footer {
  background: #114071;
  width: 100%;
  padding: 20px 0;
  text-align: center;
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

.footer {
  font-size: 14px;
  word-spacing: 2px;
  text-transform: capitalize;
}
@media screen and (max-width: 900px) {
  li, a, button {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 10px;
    color: #fff;
    text-decoration: none;
}
