* {
  margin: 0;
  padding: 0;
  /* For webkit */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
  font-family: "Work Sans", sans-serif;
}

img{
    max-width:100% !important;
}

body{
    font-size:18px;
}

p {
  font-weight: 500;
  padding-bottom: 1em;
}

.block{
    display:inline-block;
}

:root {
  --col1: #d64045;
  --col2: #e9fff9;
  --col3: #9ed8db;
  --col4: #467599;
  --col5: #1d3354;
  --height-of-navbar: 186.48px;
}

.justify {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.adjust {
  margin-left: auto;
  margin-right: auto;
  padding-left: 10%;
  padding-right: 10%;
}

.extra {
  padding-left: 20% !important;
  padding-right: 20% !important;
  padding-top: 30px;
  padding-bottom: 30px;
}

.extra > img {
  max-height: 150px;
  justify-self: center;
}

.extra h2 {
  text-align: center;
  font-weight: 500;
  font-size: 2em;
  line-height: 1.2em;
}

.extra .button {
  text-transform: capitalize !important;
  padding: 0.2em 2.2em;
  font-weight: 400;
  border: solid 2px;
}

.split {
  grid-template-columns: 1fr 1fr !important;
  justify-content: center;
  align-items: center;
}

.list-style-remove {
  list-style-type: none;
}

.accent {
  color: var(--col4);
}

.navbar {
  position: fixed;
  width: 100%;
  box-shadow: rgba(50, 50, 93, 0.137) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.13) 0px 8px 16px -8px;
  z-index: 10;
  background-color: white;
}

.navcontent {
  position: relative;
}

.navlink {
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  text-decoration: none;
  color: black;
}

.to-the-right {
  position: absolute;
  right: 0;
}
.contact-topnav,
.social-media {
  display: inline-grid;
  grid-template-columns: 30px 30px 30px;
  padding-top: 0.5em;
}

.contact-topnav li {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-topnav img,
.social-media img {
  width: 25px;
}

.logowrapper {
  display: grid;
  grid-template-columns: max-content auto;
  text-decoration: none;
  margin-left: 20px;
  padding-top: 20px;
}

.logowrapper img {
  width: 130px;
  border-radius: 100px;
  border: solid 5px #84a98c;
}

.logowrapper h1 {
  font-size: 37px;
  color: var(--col4);
  height: 100%;
  display: grid;
  align-items: center;
  padding-left: 20px;
}

.mainnav {
  display: grid;
  grid-template-columns: repeat(5, fit-content(1em));
  justify-content: center;
  gap: 1em;
}

.mainnav li {
  height: auto;
  padding: 7px 10px;
}

.mainnav li a {
  padding: 7px 10px;
  height: 100%;
  width: 100%;
  font-size: 1.2em;
}

.mainnav li:hover a {
  background-color: var(--col1);
  color: white;
}

.headerwrapper {
  padding-top: var(--height-of-navbar);
  height: 651px;
  width: 100%;
  position: relative;
}

.photoframe {
  position: relative;
  height: 342px;
  width: 100%;
}

.headerwrapper img,
.photoframe img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hoverbox {
  position: absolute;
  grid-template-columns: 1fr 1fr;
  top: 65%;
  left: 75%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.63);
  padding: 2em 1em;
}

.hoverbox p {
  font-size: 50px;
  font-weight: 600;
  text-align: center;
  width: 350px;
}

.hoverbox span {
  display: grid;
  justify-content: center;
}

/************************
BUTTON 
************************/
.red {
  background-color: var(--col1) !important;
  color: white !important;
  border: none !important;
}

.blue {
  background-color: var(--col3) !important;
  color: black;
  border: none !important;
}
.button {
  text-decoration: none;
  margin-top: 10px;
  padding: 0.5em 2em;
  border-radius: 1.5em;
  font-weight: 500;
  text-transform: uppercase;
  color: black;
  border: solid black 1px;
  background-color: white;
  transition: 100ms ease-in-out;
}

.button:hover {
    padding-left: 3em;
    padding-right: 3em;
}

.center-button {
  display: grid;
  justify-content: center;
}

.section-title {
  text-transform: uppercase;
  text-align: center;
  padding-top: 1em;
  padding-bottom: 1em;
}

.gridtwocolumn,
.split {
  display: grid;
  grid-template-columns: auto auto;
}

.special-adjust {
  display: grid;
  row-gap: 30px;
}

.special-adjust * {
  font-family: "Lato", sans-serif;
  font-family: "Open Sans", sans-serif !important;
}
.region {
  position: relative;
}

.left,
.right {
  position: absolute;
  width: 95%;
  height: 100%;
  z-index: -2;
}

.left {
  background-color: var(--col3);
}
.right {
  background-color: var(--col1);
  right: 0;
}

.buttongrid {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 20px;
  justify-content: center;
  padding-top: 1em;
  padding-bottom: 1.5em;
}

.footerlogo {
  display: grid;
  justify-content: end;
  padding-right: 1em;
}

.footerlogo img {
  width: 100px;
  justify-items: center;
}

footer {
  border-top:1px solid #000;
}

.leftcolumn {
  padding: 1em;
}

.secondarynav li {
  margin: 0.4em 0 !important;
}

.bottom-signature {
  display: grid;
  justify-content: end;
  padding-right: 10px;
}

.bottom-signature a {
  color: black;
}

@media screen and (max-width: 771px) {
  .contact-topnav {
    display: none;
  }
  .logowrapper {
    padding: 10px !important;
    margin-left: revert;
    margin-right: 100px;
    justify-items: center;
    align-items: center;
  }
  .logowrapper img {
    width: 80px;
  }
  .logowrapper h1 {
    font-size: 5vw;
  }
  .headerwrapper {
    padding: revert;
    height: 60vh;
  }
  .mainnav {
    display: grid;
    justify-content: center;
  }
  .mainnav li {
    display: grid;
    height: 60px;
    padding: 0;
  }
  .mainnav li a {
    display: grid;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
  }
  .hoverbox {
    top: 60%;
    left: 50%;
    width: auto;
  }
  .hoverbox p {
    width: auto;
    font-size: 7vw;
  }
  .gridtwocolumn,
  .split,
  .buttongrid {
    display: block;
  }
  .extra {
    display: grid;
    grid-template-columns: 1fr !important;
    justify-content: center;
  }
  .extra > img {
    height: 30vw;
  }
  .left,
  .right {
    width: 100%;
  }

  .gridtwocolumn {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
  }
  .leftcolumn {
    display: grid;
    justify-content: center;
  }
  .secondarynav li {
    text-align: center;
    font-size: large;
    padding: 10px;
  }
  .footerlogo {
    display: none;
  }
  .bottom-signature {
    justify-content: center;
    padding-bottom: 10px;
  }
}
