@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,300&display=swap');
 body {
	 font-family: 'Source Serif 4', serif;
	 background: #1f211e;

  height: 100vh;
  width: 100vw;


}
 *, *::before, *::after {
	 box-sizing: border-box;
}
h1,
p,
a{
  margin: 0;
  padding: 0;
  font-family: 'Source Serif 4', serif;
  color: #fbfaa4;
}

h1 {
  padding: 0;
  font-size: 3.8em;
  font-weight: 800;
  line-height: 80%;
  margin-top: 0 ;
  margin-bottom: 0 ;
  text-shadow: -2px 0px #000000;
}

p {
  font-size: 1 em;
  font-weight: 300;
  <!--letter-spacing: 5px;-->
}

.header {
  width: 100%;
  padding:0 0;
  text-align: center;
  background: #33cccc;
  color: #fbfaa4;
}

.btn-bgstroke {
  font-size: 20px;
  display: inline-block;
  border: 1px solid white;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 300;
  margin-top: 30px; 
}

.btn-bgstroke:hover {
  background-color: white;
  color: #cc3375;
}
.logo {
  width: 150px;
  height: 105px;
  max-width: 20%;
  object-fit: scale-down;
  top: 0;
  left: 0;
  position:fixed;
}
 .emrefoto {
	 display: flex;
	 flex-wrap: wrap;
	 list-style: none;
	 justify-content: center;
	 align-items: center;
	 max-width: 1200px;
	 margin: 0 auto;
	 padding: 0;
	 transform: translateY(34.375px);
}
 .emrefoto-cell {
	 flex: 0 1 250px;
	 max-width: 250px;
	 height: 137.5px;
	 margin: 65.4761904762px 12.5px 25px;
	 position: relative;
	 padding: 0.5em;
	 text-align: center;
	 z-index: 1;
}
 .emrefoto-cell__title {
	 height: 100%;
	 display: flex;
	 flex-direction: column;
	 justify-content: center;
	 hyphens: auto;
	 word-break: break-word;
	 text-transform: uppercase;
	 color: #fff; /*Betű színe-->*/
	 font-weight: 700;
	 font-size: 1.75em;
	 transition: opacity 350ms;
     
 
}
 .emrefoto-cell__title > small {
	 font-weight: 300;
	 margin-top: 0.25em;
}
 .emrefoto-cell__image {
	 object-fit: cover;
	 object-position: center;
}
 .emrefoto-cell::before, .emrefoto-cell::after {
	 content: '';
}
 .emrefoto-cell::before, .emrefoto-cell::after, .emrefoto-cell__image {
	 top: -50%;
	 left: 0;
	 width: 100%;
	 height: 200%;
	 display: block;
	 position: absolute;
	 clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
	 z-index: -1;
}
 .emrefoto-cell::before {
	 background: #ceccc3; /*keret színe-->*/
	 transform: scale(1.055);
}
 .emrefoto-cell::after {
	 background: #b42859; /*owelay színe-->*/

	 opacity: 0.3; 
	 transition: opacity 350ms;
}
 .emrefoto-cell:hover .emrefoto-cell__title {
	 opacity: 0;
}
 .emrefoto-cell:hover::before {
	 background:  #6f9bbe;    /*keret színe egérrel-->*/
}
 .emrefoto-cell:hover::after {
	 opacity: 0;
}
 .emrefoto__placeholder {
	 display: none;
	 opacity: 0;
	 width: 250px;
	 margin: 0 12.5px;
}
 @media (max-width: 550px) {
	 .emrefoto-cell {
		 margin: 81.25px 25px;
	}
}
 @media (min-width: 550px) and (max-width: 825px) {
	 .emrefoto-cell:nth-child(3n) {
		 margin-right: calc(50% - 125px);
		 margin-left: calc(50% - 125px);
	}
	 .emrefoto__placeholder:nth-child(3n + 5) {
		 display: block;
	}
}
 @media (min-width: 825px) and (max-width: 1100px) {
	 .emrefoto-cell:nth-child(5n + 4) {
		 margin-left: calc(50% - 275px);
	}
	 .emrefoto-cell:nth-child(5n + 5) {
		 margin-right: calc(50% - 275px);
	}
	 .emrefoto__placeholder:nth-child(5n), .emrefoto__placeholder:nth-child(5n + 3) {
		 display: block;
	}
}
 @media (min-width: 1100px) {
	 .emrefoto-cell:nth-child(7n + 5) {
		 margin-left: calc(50% - 400px);
	}
	 .emrefoto-cell:nth-child(7n + 7), .emrefoto-cell:nth-child(7n + 5):nth-last-child(2) {
		 margin-right: calc(50% - 400px);
	}
	 .emrefoto__placeholder:nth-child(7n + 7), .emrefoto__placeholder:nth-child(7n + 9), .emrefoto__placeholder:nth-child(7n + 11) {
		 display: block;
	}
}
.container{
    width: 40 wh;
    font-family: 'Source Serif 4', serif;
    font-size: 2.8em;
    text-shadow: -2px 0px #000000;
}
#scroll-container {
  border: 3 px solid black;
  border-radius: 5px;
  overflow: hidden;
}

#scroll-text {
  /* animation properties */
  -moz-transform: translateX(40%);
  -webkit-transform: translateX(400%);
  transform: translateX(40%);
  
  -moz-animation: my-animation 20s linear infinite;
  -webkit-animation: my-animation 20s linear infinite;
  animation: my-animation 20s linear infinite;
}

.emrefoto-slideshow {
  top: 1vw;
  height: 60px;
  max-width: 90%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
}

.emrefoto-slideshow > div {
  height: 5vw;
  width: 3900px;
  background: url('img/scroll.png');
  background-size: 70%
  background-repeat: no-repeat;
  position: center;
  left: 0;
  height: 100%;
  transform: translate3d(0, 0, 0);
}

.emrefoto-slideshow .mover-1 {
  animation: moveSlideshow 15s linear infinite;
}
.emrefoto-slideshow .mover-2 {
  opacity: 0;
  transition: opacity 0.5s ease-out;
  background-position: 0 -40px;
  animation: moveSlideshow 15s linear infinite;
}
.emrefoto-slideshow:hover .mover-2 {
  opacity: 1;
}


@keyframes moveSlideshow {
  from {
    -moz-transform: translateX(0%) translateX(100vw);
    -webkit-transform: translateX(0%);
    transform: translateX(calc(100vw));
  }
  to {
    -moz-transform: translateX(-66.66660%);
    -webkit-transform: translateX(-66.6666%);
    transform: translateX(-66.6666%);
  }
}


/* for Firefox */
@-moz-keyframes my-animation {
  from { -moz-transform: translateX(100%); }
  to { -moz-transform: translateX(-100%); }
}

/* for Chrome */
@-webkit-keyframes my-animation {
  from { -webkit-transform: translateX(100%); }
  to { -webkit-transform: translateX(-100%); }
}

@keyframes my-animation {
  from {
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  to {
    -moz-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
.css3{
  background-color:rgb(159, 233, 243);
}    
