@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

.eb-garamond-<uniquifier>
{
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}


.urbanist-<uniquifier>
{
  font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

:root{
  --grey:grey;
  --darker-color:#020202;
}

html
{
    font-family: "Urbanist", sans-serif;
    font-size: 1em;
    font-style: normal;
}

a
{
      text-decoration: none;
      color: var(--darker-color);
      display: block;
      padding-top: 10px;
      padding-bottom: 10px;

}

a:hover {
  color: white;
  transition: .5s all ease-out;
  padding: 10px;
  margin-left: -10px;
  margin-right: -10px;
  border-radius: 2px;

  background-color: var(--grey);
}

header, section{
  padding-block : min(2vh,2rem);
}

section{
  padding-bottom: 20vh;
}

main:last-child{
  padding-bottom: 0px;
}

h3, p{
    font-family: "EB Garamond", serif;
}

h3{
  font-size: 2rem;
}

#BigName
{
  font-size: 2rem;
}

#Head{
  padding-left: 0px;
}

#nav-mobile{
  padding-right: 0px;
}

#nav-mobile ul li:last-child{
  margin-right: 0px;
  padding-right: 0px;
}

p{
  font-size: 1.3rem;
}

ul>li{
  list-style-position: inside;
  list-style-type: none;
  display: inline-block;
  font-family: 'Urbanist', sans-serif;
  font-weight: 200;
  font-size: 1.2rem;
  padding-right: min(2.5vw, 10rem);
}

#mobile-demo li{
  display: block;
  width: 100%;
  text-align: center;
  border-bottom: var(--grey) dotted thin;
  font-size: 1.2rem;


}

.active{
  color: var(--grey);
}

.thumbnail img, .thumbnail a{
  overflow: hidden;
  /*width: 100%;
  text-align: center;
  /*min-width: 100%;*/
  /*max-height: 100vh;*/
/*  position: absolute;
  top:-20vw;
  z-index: 1;*/
/*  max-width: 100%;*/
  opacity: .7;
  /*transition: .5s all ease-out ;
  padding: 20px;*/
  background-color: var(--grey);
  /*margin-bottom: 10px;*/
}

/*border-radius: calc(var(--content-radius) *.25);*/
}
.video{
  display: flex;
  justify-content: center;
}

.video iframe, video {
  aspect-ratio: 16 / 9;
  width: 100% !important;
  height: auto;
  object-fit: cover;

}


.thumbnail>img:hover, .thumbnail>a:hover{
  opacity: 1;
  transition: .5s all ease-out;
  /*transform: scale(95%);*/
}

.thumbnail::after{
  content: "";
  display: block;
  padding-bottom: 100%;
}

.thumbnail img{
  position:absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail{
  /*padding: 10%;*/
  overflow: hidden;
  /*max-height: 50vh;*/
  position: relative;

}

.active{
  object-fit: contain !important;
}

.spacer
{
  margin-left: min( .5vw, 2rem);
  margin-right: min( .5vw, 2rem);
}
