html, body{
  overscroll-behavior-y: none;
  margin:0;
}

header{
  background-color:white;
  border-bottom: solid #f0ecec 0.5px;
  position: sticky;
  top:0;
  width:100%;
  z-index: 3;
}

img {
  max-width: 100%;
  height: auto;
}

a, a:visited{
  color: grey;
}

a:hover{
  color: lightgrey;
  transition: color 0.1s ease-out;
}

.logo{
  height:50px; 
  margin:10px 20px;
  vertical-align:middle;
  width:105; 
}


h1{
  display: block;
  font-family:"helvetica-condensed-bold", sans-serif; 
  font-size: 2.5em;
  text-align: center;
  text-transform: uppercase;
  font-weight: 100;
}

p{
  font-family: helvetica, sans-serif;
  font-size: 1.1em;
  font-weight: lighter; 
  line-height: 30px; 
  margin: auto;
  max-width: 700px;
  text-align: center;
}

b{
  font-weight: 400;
}

label{
  display: block;
  font-family: "helvetica-condensed-bold";
  font-size: 1.4em;
  font-weight: lighter;
  line-height: 30px; 
  max-width: 700px;
}

.center {
  width: 35%;
  border: 1px solid #f0ecec; 
  padding: 50px; 
  margin: auto;
}

@media (max-width: 900px){
  .center {
    width: 70%;
  }
}

.watch {
  border: 1px solid #f0ecec;
  width: 80%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  text-align: center;
}

@media (max-width: 900px){
  .watch {
    width: 95%;
  }
}

.speeches {
  width: 100%;
  padding: 50% 0 0 0;
  position: relative;
}

@media (max-width: 900px){
  .speeches {
    width: 95%;
  }
}

div.gallery {
  margin: 5px;
  border: 1px solid #f0ecec;
  float: left;
  width: 15.7%;
  transition: opacity 0.05s ease-in;
  transition: all 0.1s ease-out;
}

@media only screen and (max-width: 1257px) {
div.gallery {
  margin: 5px;
  border: 1px solid #f0ecec;
  float: left;
  width: 18.5%;
}
}

@media only screen and (max-width: 990px) {
div.gallery {
  margin: 5px;
  border: 1px solid #f0ecec;
  float: left;
  width: 23.5%;
}
}

@media only screen and (max-width: 850px) {
div.gallery {
  margin: 5px;
  border: 1px solid #f0ecec;
  float: left;
  width: 28%;
}
}

@media only screen and (max-width: 850px) {
div.gallery {
  margin: 5px;
  border: 1px solid #f0ecec;
  float: left;
  width: 31%;
}
}

@media only screen and (max-width: 700px) {
div.gallery {
  margin: 5px;
  border: 1px solid #f0ecec;
  float: left;
  width: 47.5%;
}
}

@media only screen and (max-width: 549px) {
div.gallery {
  margin: 5px;
  border: 1px solid #f0ecec;
  float: left;
  width: 97%;
}
}

div.gallery:hover {
  opacity: 70%;
  transition: opacity 0.05s ease-out;
}

div.gallery img {
  background-position: 100% 100%;
  background: #efefef;
  width: 100%;
  height:200px;
  object-fit: cover; 
  object-position: 100% 50%;
}
@media only screen and (max-width: 549px) {
    div.gallery img {
    width: 100%;
    height: 100%;
  }
}

div.desc {
  padding: 15px;
  text-align: left;
  font-family: helvetica;
  font-weight: 400;
  font-size: 12pt;
}


.pop-up {
  width: 100vw;
  height: 213vh;
  background: white;
  position: absolute;
  top: 0;
  background-color:rgba(200, 200, 200, 0.6);
  visibility: hidden;
  z-index: 10;
  overscroll-behavior-y: none;
}

@media (max-width: 900px){
  .pop-up {
    height: 221vh;
  }
}

.pop-up:target {
  visibility: visible;
}


.pop-up-content{
  height: 180vh;
  background: white;
  position: absolute;
  top: 0;
  width: 80%;
  left: 50%;
  transform: translate(-50%,-26.5%);
  padding: 30px;
  margin-top: 55vh;
  color: #333;
  z-index: 999;
}

.pop-up-content img {
  width: 500px; 
  margin-top: 0px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.pop-up-content p {
  margin: 50px 0px 50px 0px;
  text-align: left;
}

.pop-up-content h1 {
  text-align: left;
}

.pop-up-content b {
  font-size: 1.2em;
}

.content-fixed {
    position: fixed;
}

@font-face {
  font-family: "helvetica-condensed-bold";
  font-weight: 100;
  src: url("../files/fonts/31550F_9_0.woff2");
  }

.close{
  top:1.5%;
  left:95.5%;
  font-size:29px;
  position: absolute;
  z-index: 2;
  cursor: pointer;
  font-family:"helvetica-condensed-bold", sans-serif; 
  font-weight: bold;
  color: #605c5c;
}

.close:hover{
 color:black
}

@media (max-width: 900px){
  .close {
    top:1.5%;
    left:90%;
  }
}

video {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width:80%;
  height:80%;
}

