html {
    overflow-y: scroll !important;
  }

body {
    font-family: Montserrat;
    overflow-x: hidden;
}


.logo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  max-width: 12rem;
  max-height: 12rem;
  background-color: transparent;
  align-items: center;
  display: flex;
  justify-content: center;
}

.logo_img {
  max-width: 100% !important;
}

.img-blur-wrap {
  position: relative;
  overflow: hidden;
}

.img-blur {
  background: url("../res/Foto_Bio/download.jpg") center no-repeat;
  background-size: 1100px 600px;
  filter: none;
  z-index: 1;
  position: relative;
  height: 500px;
  margin: 0 auto;
  box-shadow:0px 20px 40px #000;
  filter: brightness(60%);
}

.img-blur-bg {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url("../res/Foto_Bio/download.jpg") center no-repeat;
  background-size:auto,cover;
  filter: blur(4px);
  width:100%;
  height:500px;
  position: absolute;
  z-index: 1;
}

.carousel-content h3 {
  margin-top: 1rem;
}

#title {
    position: absolute;
    z-index: 3;
    text-align: center;
    margin: auto;
    width: 100%;
    color: white;
    top: 100px;
}

#title h2 {
    font-size: 3rem;
    font-weight: bold;
}

#menuToggle
{
  display: block;
  position: absolute;
  height: 30px;
  width: 30px;
  top: 40px;
  left: 35px;
  z-index: 3;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a
{
  text-decoration: none;
  color: #232323;
  transition: color 0.3s ease;
}

#menuToggle a:hover
{
  color: rgb(165, 165, 165);
}


#menuToggle input
{
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 4; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: white;
  border-radius: 3px;
  
  z-index: 3;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  
  background: #ededed;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
}

#menuToggle input:checked ~ ul
{
  transform: none;
}

.social {
  font-size: 18px;
}

.social ul {
  list-style-type: none;
}


#description img, #gallery img {
  border-radius: 5px;
}

#description h2, #gallery h2 {
  font-weight: bold;
}

#gallery {
  padding: 0 0 4rem 0;
}

#gallery .img-container {
  width: 100%;
  height: auto;
  cursor: pointer;
  overflow: hidden;
}
#gallery .img-container:hover .img-content-hover {
  display: block;
}

#gallery img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
  transform: scale(1);
  transition: all 0.3s ease-in-out;
}
#gallery img:hover {
  transform: scale(1.05);
}

#gallery .img-content-hover {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  display: none;
  padding: 1rem;
  background: #fff;
  font-weight: 400;
  margin-top: 1.25rem;
  margin-left: -2rem;
}

#gallery .title {
  color: #2e2e2e;
  font-size: 1.5rem;
  font-weight: 700;
}

#gallery .category {
  font-size: 1rem;
  color: #787878;
}

#gallery .img-content {
  display: none;
}


@supports (display: grid) {
  #gallery .grid {
    grid-gap: 1rem;
  }
}

@media screen and (max-width: 1024px) {
  #gallery img:hover {
    transform: none;
  }

  #gallery .img-container {
    height: 100%;
  }
  #gallery .img-container:hover .img-content-hover {
    display: none;
  }

  #gallery .img-content {
    display: block;
    padding: 1rem 0;
  }
}

.footer {
  bottom: 0;
  width: 100%;
}


/* Sticky footer style and color
-------------------------------------------------- */
footer {
  padding-top: 30px;
  background-color: #292c2f;
  color: #bbb;
}

footer a {
  color: #999;
  text-decoration:none;
}

footer a:hover, footer a:focus {
  color: #aaa;
  text-decoration:none;
  border-bottom:1px dotted #999;
}

footer .form-control {
    background-color: #1f2022;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.1);
    border: none;
    resize: none;
    color: #d1d2d2;
    padding: 0.7em 1em;
}

