@font-face {
  font-family: 'OpenSansV';
  src: url('OpenSans-VariableFont_wdth,wght.ttf') format('truetype-variations');
  font-weight: 300 800;
  font-stretch: 85% 100%;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSansVItalic';
  src: url('OpenSans-Italic-VariableFont_wdth,wght.ttf') format('truetype-variations');
  font-weight: 300 800;
  font-stretch: 85% 100%;
  font-style: italic;
}

@font-face {
  font-family: 'RobotoV';
  src: url('Roboto-VariableFont_wdth,wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-style: normal;
}

@font-face {
  font-family: 'Lato';
  src: url('Lato-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  src: url('MaterialSymbolsOutlined.woff2') format('woff2');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('MaterialIcons.woff2') format('woff2');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

body {
  margin: auto;
  max-width: 1600px;
  font-family: 'OpenSansV', sans-serif;
  font-weight: 400;
  font-stretch: 100%;
  color: #222;
  background-color: #edebe7;
  font-size: 16px;
  line-height: 1.4;
}

main {
  margin-bottom: 50px;
  padding: 20px;
  min-height: 400px;
}

.logo {
  margin-left: 20px;
  max-height: 120px;
}

.mobile {
  display: initial;
}

.bg {
  background-color: #edebe7;
}

.robot {
  font-family: 'RobotoV', sans-serif;
  font-size: 32px;
  font-weight: 800;
  font-stretch: 100%;
}

.lato {
  font-family: 'Lato', sans-serif;
  font-size: 24px;
  font-weight: 700;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
  height: 400px;
  width: 100%;
}

.nav-toggle, .hide {
  display: none;
}

.nav-toggle-label {
  display: block;
  font-size: 2rem;
  cursor: pointer;
}

.nav {
  display: none;
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  color: #b4c2ca;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.nav a {
  background-color: #2da8b0;
  color: #fff;
}

.nav a:hover, .nav a.currentpage {
  background-color: #eecb36;
  color: #000000;
  font-weight: 800;
}

.nav div {
  width: 98%;
  text-align: center;
}

.nav div a {
  display: block;
  text-align: left;
  margin-left: 6px;
}

/* Show nav when checkbox is checked */
.nav-toggle:checked ~ .nav {
  position: fixed;
  right: 0;
  background-color: #2da8b0;
  width: 200px;
  display: block;
  height: 100%;
}

.image1, .image2, .image3 {
  background-image: none;
  background-repeat: no-repeat;
}

.accent {
  color: #2da8b0;
  line-height: 1.1em;
  margin-bottom: 10px;
}

a {
  text-decoration: none;
}

header {
  background-color: #a4c0c6;
  position: sticky;
  z-index: 1000;
  top: 0;
}

header .expandbutton a {
  color: #eee;
}

header .expandbutton:hover a {
  color: #000;
}

.center {
  text-align: center;
}

footer {
  background-color: #a4c0c6;
}

footer div {
  padding: 20px;
}

.question {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-around;
  padding-bottom: 20px;
}

input, select, textarea {
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  font-size: 1rem;
  padding: 8px 0 6px;
  background-color: #dddbd7;
  transition: border-color 0.3s;
}

input:focus {
  border-bottom: 2px solid #3f51b5;
}

input::placeholder {
  color: #000;
  opacity: .8; /* override default browser opacity if needed */
}

.expandable {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.expandable.expanded {
  max-height: max-content;
}

.expandbutton {
  display: inline-block;
  text-align: center;
  color: #edebe7;
  background-color: #2da8b0;
  border: 2px solid #2da8b0;
  border-radius: 9999px; /* fully rounded */
  padding: 0.5em 1em;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.5s ease;
}

.goldbutton {
  text-decoration: none;
  display: inline-block;
  text-align: center;
  background-color: #eecb36;
  border: 1px solid black;
  border-radius: 9999px; /* fully rounded */
  padding: 0.5em 1em;
  margin: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.5s ease;
}

.desktop {
  display: none;
}

.goldbutton a {
  color: #000;
}

.expandbutton:hover {
  background-color: #edebe7;
  color: #2da8b0;
}

.goldbutton:hover {
  background-color: #edebe7;
  color: #eecb36;
}

.material-icons, .material-icons-outlined, .material-symbols-outlined {
  align-items: center;
  vertical-align: middle;
}

.material-symbols-outlined {
  font-size: 2.5rem;
}

.grid-placeholder {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 150px);
  gap: 10px;
}

.grid-placeholder img {
  max-height: 150px;
}

.grid-placeholder div {
  background-color: #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  border-radius: 8px;
}

.map {
  border:0;
  width: 99%;
}

.navbar {
  position: relative;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.content {
  display: inline-block;
  margin-left: 0;
  padding: 20px;
}

.mobilemenu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 20px;
}

.founderimg {
  max-height: 400px;
  max-width: 100%;
  margin: 0;
}

@media (min-width: 768px) {
  .mobile {
    display: none;
  }

  .desktop {
    display: initial;
  }

  .block {
    display: block;
  }

  .nav-toggle-label {
    display: none;
  }

  .nav {
    width: 100%;
    background-color: #2da8b0;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .nav div {
    width: 20%;
  }

  .nav div a {
    text-align: center;
  }

  footer {
    background-color: #a4c0c6;
    display: flex;
    align-items: start;
    justify-content: space-around;
    flex-direction: row;

  }

  .question {
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    width: 700px;
  }

  textarea {
    height: 200px
  }

  .map {
    width: 600px;
  }

  .image1 {
    background-image: url('/img/index-bg.jpeg');
  }

  .image2 {
    background-image: url('/img/poolside.jpeg');
  }

  .image3 {
    background-image: url('/img/services.jpeg');
  }

  .content {
    width: 50%;
    margin-left: 100px;
  }

  .foundercontent {
    display: flex;
    flex-direction: row;
  }

  .foundercontent div {
    width: 50%;
  }

  .grid-placeholder {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 150px);
  }

  .founderimg {
    max-height: 500px;
    margin: 0;
  }
}
