/* -------------- style.css reeglitäiendus -------------*/

h1 {text-align: left;}

@media only screen and (max-width: 767px) {
  h1 {
    font-size: 4rem;
  }
 }

 #s2de {opacity: 0.5}

 #kontakt {margin-top: 6rem;}

 @media only screen and (max-width: 767px) {
  #kontakt {margin-top: 2rem;}
 }

/* -------------- tekstiblokindus -------------*/

  .tekstblokk {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 2rem;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
  }


  .tekstblokk i {
    font-size: min(5vmin, 1.7rem);
    padding: 0 1.5vmin;
  }

  .tekstblokk .kagu {
    transform: rotate(-45deg);
    color: lightgray;
  }

  .tekstblokk p {
    margin: 0;
    max-width: 50ch;
  }

  .tekstblokk.ava {
    padding-top: 8rem;
  }

  .tekstblokk.galerii-juures {
    padding-left: 60px
  }

  @media only screen and (max-width: 1600px) {
    .tekstblokk.ava {
      padding-top: 4rem;
    }
    .tekstblokk.galerii-juures {
      padding-left: 2rem;
    }
   }

  .tekstblokk p.small-desc, .tekstblokk p.small-desc a {
    font-family: 'Aalto Sans UltraLight', Fallback, sans-serif !important;
    text-decoration: none !important;
    color: white !important;
  }

  .tekstblokk .proj-konteiner {
    display: flex;
    flex-direction: row;
    gap: 2ch;
    justify-content: space-between;
    width: 100%;
  }

  .tekstblokk .proj.kirjeldus {
    color: lightgray;
  }

@media only screen and (max-width: 1000px) {
  .tekstblokk .proj-konteiner {
    flex-direction: column;
  }
 }



  /* -------------- esitluspildindus -------------*/



.galerii {
  height: auto;
  width: 100%;
  max-height: none;
  box-sizing: border-box;
  grid-gap: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
  position: relative;
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
  padding: 4rem 2rem;

}

.galerii img {
  max-height: 50rem;
  max-width: 1370px;
}

.galerii img {
  height: fit-content;
  max-width: 48%;
  max-height: unset;
  height: auto;
}

.galerii.max {
  padding: 2rem;
}

.galerii.max img {
  max-width: 100%;
}

@media only screen and (max-width: 1000px) {
  .galerii img {
    max-width: 100%;
  }
}

p.section-desc {
  position: relative;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: -3rem;
  color: lightgray;
  z-index: 2;
  padding: 0 2rem;
}

p.section-desc:nth-of-type(1){
  margin-top: 2rem;
}

@media only screen and (max-width: 767px) {
  p.section-desc {
    text-align: left;
    margin-top: 0;
  }
}

.height100 { height: 100% !important};

  /* ---------------------- 2 - SHOKOKOHVIK ----------------------------- */

  
/* montserrat-300 - latin-ext_latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('font/montserrat-v25-latin-ext_latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('font/montserrat-v25-latin-ext_latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('font/montserrat-v25-latin-ext_latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('font/montserrat-v25-latin-ext_latin-300.woff') format('woff'), /* Modern Browsers */
       url('font/montserrat-v25-latin-ext_latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('font/montserrat-v25-latin-ext_latin-300.svg#Montserrat') format('svg'); /* Legacy iOS */
}
/* montserrat-regular - latin-ext_latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('font/montserrat-v25-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('font/montserrat-v25-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('font/montserrat-v25-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('font/montserrat-v25-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
       url('font/montserrat-v25-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('font/montserrat-v25-latin-ext_latin-regular.svg#Montserrat') format('svg'); /* Legacy iOS */
}
/* montserrat-600 - latin-ext_latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('font/montserrat-v25-latin-ext_latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('font/montserrat-v25-latin-ext_latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('font/montserrat-v25-latin-ext_latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('font/montserrat-v25-latin-ext_latin-600.woff') format('woff'), /* Modern Browsers */
       url('font/montserrat-v25-latin-ext_latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('font/montserrat-v25-latin-ext_latin-600.svg#Montserrat') format('svg'); /* Legacy iOS */
}

@media only screen and (min-width: 769px) { .scrollSnapPoint {scroll-snap-align: start;} }




.eksemplar.fullscreen {
  min-height: unset;
  max-height: unset;
  scroll-snap-align: center;
}

.eksemplar.fullscreen img {
  max-height: 100rem;
  padding: 10vmin 0;
  margin: auto;
}

@media only screen and (min-width: 1400px) and (min-height: 1200px) {
  .eksemplar.fullscreen {
    min-height: 100vh;
  }
}



@media only screen and (max-width: 767px) { .eksemplar.fullscreen img { padding: 0}  }