body{
  height: 100%;
  font-family: "Crimson Pro", serif;
  color: var(--main-text);

}

a{
  text-decoration: none;
  color: inherit;
}

a:hover{
  text-decoration: underline;
}

a.active, .nav-link.active>a{
  text-decoration: underline;
}

.btn{
  text-transform: uppercase;
  padding: 5px 30px;
  cursor: pointer;
  margin-top: .5em;
  margin-bottom: 1em;
}

.btn-primary{
  background: var(--main-text);
  color: var(--bg-color);
  border: 2px solid var(--main-text);
}

.btn-primary:hover{
  background: var(--bg-color);
  color: var(--main-text);
  transition: all .3s;
}

.scrollToTopBtn {
  background-color: var(--secondary);
  border: none;
  color: var(--bg-color);
  cursor: pointer;
  font-size: .8em;
  line-height: 40px;
  width: 40px;

  /* place it at the bottom right corner */
  position: fixed;
  bottom: 20px;
  right: 20px;
  /* keep it at the top of everything else */
  z-index: 100;
  /* hide with opacity */
  opacity: 0;
  /* also add a translate effect */
  transform: translateY(100px);
  /* and a transition */
  transition: all 0.5s ease;
}

.showBtn {
  opacity: 1;
  transform: translateY(0);
}

textarea,
input[type=text],
input[type=email] {
  background: var(--tertiary);
  border: none;
  padding: .5em 1em;
}
/**
  BURGER-MENU
 */
#burger-menu{
  display: inline-block;
  cursor: pointer;
  padding: 15px;
}

.bar1, .bar2, .bar3 {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px);
  transform: rotate(-45deg) translate(-6px, 8px);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-6px, -8px);
  transform: rotate(45deg) translate(-4px, -7px);
}


#navBar{
  display: flex;
  flex-direction: column;
}

#navBar .nav-header{
  height: var(--mobile-nav-height);
  display: flex;
  justify-content: space-between;
  z-index: 1;
  background-color: var(--bg-color);
}

.nav-header .logo{
  max-height: var(--mobile-nav-height);
}

#burger-menu{
  visibility: unset;
}

#navBar .nav-body{
  background-color: var(--bg-color);
  position: absolute;
  width: 100%;
  top: var(--mobile-nav-height);
  transition: top .6s ease-out;
  padding-bottom: 1em;
}

#navBar.hide .nav-body{
  visibility: hidden;
  transition: all .6s ease-in;
  top: -100%;
}

#navBar .nav-links{
  margin: 1em 0;
  display: flex;
  flex-direction: column;
  text-align: center;
  text-transform: uppercase;
}

#navBar .nav-links .nav-link{
  margin-top: .5em;
  padding: 5px 0;
}

#navBar .dropdown-container{
  color: var(--secondary);
  width: max-content;
  margin: 0 auto;
  text-transform: none;
}

#navBar .dropdown-container ol{
  display: none;
  line-height: 1.3em;
  padding-inline-start: 0;
  list-style:  inside upper-roman;
}

#navBar .nav-link.active .dropdown-container ol{
  display: unset;
}


#navBar .social-links{
  font-size: 1.4em;
  text-align: center;
  margin-top: 1em;
}

#navBar .social-links a{
  padding: 10px;
  color: var(--secondary);
}

#navBar .social-links a:hover{
  text-decoration: none;
  color: var(--main-text);
}

#navBar .footer-links{
  margin-top: 10px;
  text-align: center;
  font-size: .6em;
}

#navBar .footer-links a{
  text-transform: uppercase;
  font-size: 1.2em;
}


.lang{
  text-align: right;
  margin-right: 1em;
  margin-bottom: .5em;
}

#content{
  padding: 1em 0;
}

.image-container{
  padding: 0 15px 15px 15px;

}
.image-container img{
  width: 100%;
  max-width: 800px;
}

.gallery-container{
  display: grid;
  grid-gap: 1.5em;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin: 2em 30px;
}

.gallery-container.height-based{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.gallery-element .gallery-image img{
  width: 100%;
}

.gallery-element .gallery-heading, .prints-element .prints-heading{
  text-align: center;
  margin: 10px auto 1em;
  font-size: 1em;
  font-weight: normal;
  color: var(--secondary)
}

.prints-container{
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.prints-element {
  margin: 2em 0;
  text-align: center;
}

.prints-element .prints-heading {
  white-space: nowrap;
}

.prints-element img {
    margin-top: 2em;
  max-width: 85%;
}

.prints-element.framed img {
  border: 3px solid var(--main-text);
  padding: 13px;
}

.about-container{
  display: flex;
  justify-content: center;
  align-items: center; 
}

.about-content{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.about-container .about-text{
  max-width: 95%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-container .about-image {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.about-container .about-image img {
    max-width: 300px;
}

.contact-form-container{
  text-align: center;
  margin: 3em 10px 1em;
  max-width: var(--max-image-size);
  color: var(--secondary);
}

.contact-form{
  margin-top: 1em;
}

.input-group-2{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.input-group-2 .input-field{
  width: 100%;
}

.input-field{
  text-align: left;
  display: flex;
  flex-direction: column;
  margin-bottom: .5em;
  text-transform: uppercase;
}

.alert-message{
    padding: 0 20px;
    border-radius: 5px;
    max-width: var(--max-image-size);
}

.alert-message a {
    text-decoration: underline;
}

.alert-message a:hover {
    text-decoration: none;
    color: var(--main-text);
}

.alert-message.success {
    background-color: #6db56b;
    border: 1px solid #2e702c;
    color: #2e702c;
}

.alert-message.error {
    background-color: #f2a5a5;
    border: 1px solid #db3030;
    color: #db3030;
}

@media screen and (min-width: 768px){
  .wrapper{
    max-width: var(--website-width-max);
    margin: 0 auto;
    height: 100vh;
  }
  #navBar{
    width: 35%;
    max-width: 500px;
    position: fixed;
    height: 100%;
  }

  #navBar .nav-header{
    margin: 1em;
  }

  #navBar .nav-body{
    position: unset;
    width: max-content;
    margin: 0 2em;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  #navBar.hide .nav-body{
    visibility: unset;
    top: auto;
    transition: none;
  }

  #navBar .nav-links {
    text-align: left;
    margin-top: .5em;
  }

  #navBar .nav-links .nav-link {
    margin-top: .1em;
  }

  #navBar .dropdown-container{
    width: unset;
    margin: auto auto auto 2em;
    padding-left: 2em;
    border-left: 1px solid var(--secondary);
  }

  #navBar div.nav-link.active .dropdown-container {
    margin-top: .5em;
  }

  #navBar .dropdown-container ol {
    line-height: 1.1em;
    list-style: upper-roman;
  }

  #navBar .dropdown-container ol a{
    padding-left: 5px;
  }

  #navBar .social-links{
    text-align: left;
    font-size: 1.2em;
  }

  #navBar .social-links a{
    padding: 0 5px 0 0 ;
  }

  #navBar .footer-links{
    text-align: left;
    font-size: .7em;
  }
  #navBar .footer-links a{
    font-size: 1.1em;
  }

  #burger-menu{
    display: none;
  }

  #content{
    margin-left:  35%;
  }

  #content .lang{
    margin-bottom:  2em;
  }



  .gallery-container{
    margin-right: 3em;
  }

  .gallery-image{
    text-align: center;
  }

  .gallery-image img{
    max-width: 350px;
  }
}

@media screen and (min-width: 1024px){
  #navBar .nav-header {
    justify-content: start;
    grid-template-columns: repeat(2, minmax(100px, 401px));

  }

    .about-container {
        height: 60vh;
        margin-top: 5em;
    }

  .about-container .about-text {
    max-width: 50%;
    text-align: left;
    margin-left: 2em;
  }

  .input-group-2 .input-field{
    width: 48%;
  }

  .prints-container {
    flex-wrap: nowrap;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
  }
  .prints-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 2px;
  }

  .prints-element img {
 
    height: 100%;
    object-fit: cover;
  }
}


