
:root {
  --pico-form-element-spacing-vertical: 0.2rem;
  --pico-form-element-spacing-horizontal: 0.6rem;
}

html, body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14pt;
  background-color: var(--pico-background-color);
  height: 100%;
  margin:0;
  color: var(--pico-color);
}

.heading-container {
  text-align: center; 
  position: relative; 
  margin: -50px 0 30px 0;
  padding-bottom: 10px;
}
h1 {
  margin: 0;
  padding: 0 0 10px 0;
}
.underline {
  position: absolute;
  left: 0;
  right: 0;
  top:calc(100% - 15px); 
  height: 4px; 
  background-color: var(--pico-h1-color);
}
h2 {
  font-size: 1.2rem !important;
}

.image-text {
  display: flex;
  flex-wrap: wrap; 
  flex-direction: row;
  align-items:center;
  justify-content: center;
  gap:1rem;
  margin-bottom: 3rem;
}

.image-text-right {
  flex-direction: row-reverse;
}

.image-text img {
  max-width: 400px;
  border: 5px solid var(--pico-color);
}

.image-text-text {
  flex:1;
  min-width: 400px;
  max-width: 100%;
}

.contact-container {
  width: 100%;
  display:flex;
  justify-content:center;
  flex-direction: row;
}
.contact-col {
  flex:1;
  display:flex;
  flex-direction: column;
}
.contact-cell {
  display:flex;
  flex-direction: row;
  margin-top:20px;
  align-items: top;
}
.contact-cell-icon {
  width: 30px;
}
.contact-cell-value {
  flex:1;
  margin-left: 20px;
}

.over-video {
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height: calc(100vh - 50px);
  padding: 16px;
  margin-top:50px;
  background-color: transparent;
  display:flex;
  justify-content: center;
}

.over-video div {
  flex:1;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
 
.over-video div div {
  flex: 1;
  justify-content: center;
  text-shadow: 0px 0px 16px rgba(0,0,0,1);
  text-align: center;
}

.over-video div div p {
  font-size: calc(2vw + 2vh);
  margin:0;
}

.over-video div div p.large {
  font-size: calc(2.5vw + 2.5vh);
  font-family: "Antonio", serif;
  margin:0;
}

.logo {
  height:calc(10vw + 10vh);
  max-height: 400px;
}



body div.pico {
  display: flex;
  justify-content: center;
}

.container {
  padding: 16px;
  background-color: var(--pico-background-color);
}

.outer-container {
  max-width: 800px;
  min-width: 265px;
}

.target  {
  padding-top: 4rem;
}

.offset-anchor {
  position: relative;
}

.offset-anchor::before {
  content: '';
  display: block;
  height: 50px;
  margin-top: 50px;
}



button {
  margin-right: 0.2rem;
}

.video-container {
  display: flex;
  flex-direction: row;
  position: relative;
  top:50px;
  justify-content:center;
  align-items:stretch;
  height: calc(100vh - 50px);
  overflow: hidden;
  margin-bottom: 50px;
}

.video-container video {
  flex:1;
  max-height: 100%;
  max-width: 100%;
  object-fit: cover;
  cursor: pointer;
  pointer-events: none;
}

.overlay {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

header {
  margin:0;
}

.top-header {
  z-index:1000;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  display:flex;
  align-items: center;
}

.header-bar {
  background:linear-gradient(to bottom, #ffffff,#cccccc );
  width: 100%;
  display:flex;
  justify-content:center;
  align-items: center;
  box-shadow: 0 5px 5px #000000;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.8);
}

.menu-bar {
  flex-shrink:0;
  padding:4px;
}

.menu-logo {
  display:none;
}

.menu-bar ul {
  list-style-type: none;
  margin:0;
  padding:0;
}

.menu-items li {
  padding: 4px;
  margin:0;
  display: inline-block;
  white-space: nowrap;
} 

.menu-items li a {
  cursor:pointer;
  text-decoration:none;
  color: #20315c;
  padding:12px 12px;
} 

.menu-items li a:hover {
  display: inline;
  color:blue;
  font-family: Arial;
  padding: 12px 12px;
  box-shadow: 0 0 16px #000000;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.8);
  background-color: #ccdaff;
  background:linear-gradient(to bottom, #ffffff, #cccccc );
}

.menu-items li a:active {
  display: inline;
  color:blue;
  font-family: Arial;
  padding: 12px 12px;
  box-shadow: 0 0 16px #000000;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.8);
  background: white;
} 

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  margin-right:16px;
}

.menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.filler {
  margin-bottom:100px;
}


@media (min-width: 576px) {
  .container {
    max-width: 510px;
    padding-right: 0;
    padding-left: 0;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 700px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 950px;
  }
}



@media screen and (max-width: 660px) {

  .header-bar {
    justify-content:space-between;
  }

  .menu-bar {
    margin-left: 12px;
    height: 44px;
    display:flex;
    flex-direction: column;
    justify-content: center;
  }

  .menu-logo {
    display:inline;
    text-align: right;
    height: 16px;
    margin-right: 12px;
  }
  
  .menu-items {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 40px;
    left: 0;
    background:linear-gradient(to bottom, #ffffff,#cccccc );
    box-shadow: 0 2px 4px #000000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .menu-items li {
    text-align: center;
    padding: 0;
  }

  .menu-items li a {
    display:list-item;
    text-align: center;
  }

  .menu-items li a:hover {
    display:list-item;
  }
  
  .menu-items li a:active {
    display:list-item;
  } 

  .menu-icon {
    display: block;
  }

  .menu-toggle:checked ~ .menu-items {
    display: flex;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

