@charset "utf-8";
/* CSS Document */

@import url("font-awesome.min.css");
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');


@media screen and (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;    
  }
}


body {
	background-color: #FFFFFF;
	margin: 0;
	font-family: "Poppins", sans-serif;
	padding: 0 0 0 0;
	font-weight: 300;
	font-size: 1.2vw;
	color: #404040;
}
h1,h2,h3,h4,h5 {
	font-family: "Poppins", sans-serif;
	text-transform: lowercase;
}
.clear {
	clear: both;
}
#headstrip {
	width: calc(100% - 2em);

	background-color: #565656;
	position: relative;
	color: rgba(255,255,255,1);
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1em;
	padding: 0 1em;
	font-size: 80%;
	font-family: "Poppins", sans-serif;
	font-weight: 600;
}
#headstrip div {
	display: flex; /* Change display to flex */
	justify-content: center; /* Center horizontally */
	align-items: center;
	padding: .55em 0;
  }
#headstrip div a {
	color: rgba(255,255,255,1);
	text-decoration: none;
  } 
  
#headstrip div a:hover {
	transition: 0.9s ease;
	color:  #8A8A8A;
}  
  
.social {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1em;	font-size: 150%;
}








#menu {
	position: fixed;
	width: 80%;
	margin: 0px auto 0 auto;
	display: flex;
	align-items: center;
	padding: 10% 10% 0 10%;
	transition: .5s ease-in;
	top: 7%;
	z-index: 3;
	background-color: #FFFFFF;
	box-shadow: 0 5px 5px -5px rgba(6,0,0,.25);
	font-size: 100%;
}
#menu.scrolled {
	transition: .5s ease-in;
	padding: 5% 10% 0 10%;
	top: 0px;

}


#menu.scrolled .logo {	width: 20%;	transition: .5s ease-in;}

#menu.scrolled .menu  {


	transition: .5s ease-in;
}

.logo {
	width: 30%;
	position: absolute;
	left: 10%;
	top: 50%;
	transform: translateY(-50%);
	transition: .5s ease-in;
}
.logo img {
	width: 50%;
}
.menu {
	position: absolute;
	font-weight: 400;
	text-transform: uppercase;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: .5s ease-in;
}
.menu ul {
	list-style: none;
	padding: 0;
	display: flex;
	row-gap: 20px;
	column-gap: 20px;
}
.menu li {
	position: relative;
	font-weight: 600;

}
.menu a {
	color: #5A5A5A;
	text-decoration: none;
	padding: 5px;
	position: relative;
	display: inline-block;
	transition: 0.3s ease;
}
.menu a:hover {
	transition: 0.9s ease;
}
.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px; /* Thickness of the line */
    width: 0;
    background: #000;
    transition: width 0.3s ease;
}
.menu a:hover::after {
    width: 100%; /* Extend line to full width on hover */
}

.menu-link {
    text-decoration: none;
    color: black;
    transition: color 0.3s, text-decoration 0.3s;
}

.menu-link.active {
	border-bottom: 1px dotted rgba(0,0,0,1);
}

#content {
	margin: 150px  auto 0 auto;
	position: relative;

}

blockquote {
	color: #555;
	border-left: 4px solid rgba(193,12,49,1);
	margin: 2em auto;
	padding: 10px 20px;
	position: relative;
	width: calc(80% - 44px);
	font-size: 200%;
}


blockquote strong {
	position: relative;
	display: inline-block;
	padding: 0 10px;
	color: rgba(255,255,255,1);
}

blockquote.animal strong:after {
	content: "";
	position: absolute;
	top: 3px;
	width: 100%;
	left: 0%;
	padding: 15% 0 0 0;
	background-color: rgba(193,12,49,1);
	animation: blinkingBorder 2s alternate 1;
	z-index: -1;
}

@keyframes blinkingBorder {
    0% {
        width: 0%;    left: 0%;  
    }
    100% {
        width: 100%;    left: 0%;
    }

}
        
.gallerygrid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: repeat(3, 1fr);
	gap: 1em;
	width: 80%;
	margin: 1em auto;
}



.content {
	width: calc(80% - 2em);
	margin: 0px auto 50px auto;
	padding: 0 1em;
	border: 1px solid rgba(6,0,0,.20);
	font-size: 150%;
	font-family: "Crimson Text", serif;
	clip-path: polygon(0 0, 89% 0, 100% 10%, 100% 100%, 10% 100%, 0 90%);

}
.content h1 {
	text-transform: uppercase;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.content p, .content h1 {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.content h1.animal  {
    opacity: 1;
    animation: fadeIn .5s ease forwards;
}
.content p.animal  {
    opacity: 1;
    animation: fadeIn 1s ease forwards;
}

@keyframes flash {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* Apply the flash animation to .content strong.animal */
.content strong.animal {
    animation: fadeIn 3s ease forwards;
}

.content strong {
	color: rgba(0,0,0,1);
	font-weight: 800;
}


.slide-in-right {
    transform: translateX(100%);
    opacity: 0;
    transition: transform 1.5s ease-out, opacity 1.5s ease-out;
}


.map-container {
            position: relative;
            width: 100%;
            padding-top: 56.25%; /* 16:9 képarány */
 	opacity: 0;
}
.map-container.animal  {
    animation: fadeIn 3s ease forwards;
}
        .map-container embed {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }


/* Final state: positioned on-screen */
.slide-in-right.animal{
    transform: translateX(0);
    opacity: 1;
}


.gallerygrid div:nth-child(1) {
  grid-area: 1 / 1 / 2 / 3;
  background-image: url('images/slider/01.jpg');
}

.gallerygrid div:nth-child(2) {
  grid-area: 2 / 1 / 3 / 3;
  background-image: url('images/slider/02.jpg');
}

.gallerygrid div:nth-child(3) {
  grid-area: 1 / 3 / 3 / 5;
  background-image: url('images/slider/03.jpg');
}

.gallerygrid div:nth-child(4) {
  grid-area: 1 / 5 / 2 / 6;
  background-image: url('images/slider/04.jpg');
}

.gallerygrid div:nth-child(5) {
  grid-area: 1 / 6 / 2 / 7;
  background-image: url('images/slider/05.jpg');
}

.gallerygrid div:nth-child(6) {
  grid-area: 2 / 5 / 3 / 7;
  background-image: url('images/slider/06.jpg');
}

.gallerygrid div:nth-child(7) {
  grid-area: 3 / 1 / 4 / 4;
  background-image: url('images/slider/07.jpg');
}

.gallerygrid div:nth-child(8) {
	grid-area: 3 / 4 / 4 / 7;
	background-image: url('images/slider/08.jpg');
	padding: 25% 0 0 0;
}


.gallerygrid div {
	background-size: cover;
	background-position: center;
	opacity: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallerygrid div:active {
    transform: scale(0.95); /* Feedback effect on click */
}

.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease;
    z-index: 1000;
}
.zoom-overlay.active {}
.zoom-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Add transition effects for the zoomed content */
.zoom-content {
    width: 90%;
    max-width: 70;
    aspect-ratio: 16 / 9;
    background: #fff;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    opacity: 0; /* Hide content initially */
    transition: opacity 0.5s ease, transform 0.5s ease;

}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* When content slides in */
.zoom-content.slide-in {
    animation: slideIn 0.5s forwards;
}

/* When content slides out */
.zoom-content.slide-out {
    animation: slideOut 0.5s forwards;
}

.close-button {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 25px;
	height: 25px;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid rgba(255,255,255,1);
	border-radius: 4px;
	cursor: pointer;
	z-index: 1100;
	transition: background 0.3s ease, transform 0.2s ease;
	color: rgba(255,255,255,1);
}

.close-button:hover {
    transform: scale(1.1);
}

.close-button:active {
    transform: scale(0.9);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1);
    }
}
.gallerygrid.animal div {
    animation: fadeIn 3s ease forwards;
}







.homegrid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1em;
    width: 90%;
    margin: 1em auto;	

}
.homegrid div span {
	color: rgba(255,255,255,1);
	font-size: 150%;
	font-weight: 600;
	margin: 0;
}
.homegrid div {
    position: relative;
    overflow: hidden; /* Fontos, hogy a shine ne lógjon ki az elemből */
    box-shadow: inset 0 0 20px rgba(0, 0, 0, .15);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 2em 1em;
    transition: transform 0.3s ease; /* Opció: enyhe "növekedés" hatás */
	opacity: 0;
}
.homegrid.animal div {
    animation: fadeIn 3s ease forwards;
}


.homegrid div::before {
	content: '';
	position: absolute;
	top: -100%;
	left: -100%;
	width: 600%;
	height: 100%;
	background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0) 100%
    );
	transform: rotate(-45deg);
	transition: all 3.6s ease;
	opacity: 0;
	z-index: 1;
}

.homegrid.animal div::before {
    top: 0%;
    left: 0%;
    opacity: 1;
    transition: all 3.1s ease;
}




.homegrid div a {
    color: rgba(255, 255, 255, 1);
}

.homegrid div:nth-child(1) { grid-area: 1 / 1 / 2 / 3; background-color: rgba(150, 150, 150, 0.8); }
.homegrid div:nth-child(2) { grid-area: 2 / 1 / 3 / 3; background-color: rgba(200, 200, 200, 0.8); }
.homegrid div:nth-child(3) { grid-area: 1 / 3 / 3 / 5; background-color: rgba(100, 100, 100, 0.8); color: rgba(255, 255, 255, 1); }
.homegrid div:nth-child(4) { grid-area: 1 / 5 / 2 / 6; background-color: rgba(0, 0, 0, 0.5); }
.homegrid div:nth-child(5) { grid-area: 1 / 6 / 2 / 7; background-color: rgba(50, 50, 50, 0.8); }
.homegrid div:nth-child(6) { grid-area: 2 / 5 / 3 / 7; background-color: rgba(230, 230, 230, 0.8); }


#footer {
	width: 100%;
	position: relative;
}
.footer {
	width: 80%;
	margin: 0 auto;
	border-top: 1px solid #9B9B9B;
	font-size: 75%;
	padding: 1.5em 0 3em 0;
}
.footer a  {
	color: #404040;
	border-bottom: 1px dashed #9B9B9B;
	text-decoration: none;
}
.footersocial {
	position: absolute;
	right: 10%;
	top: 1em;
}
.footersocial i {
	font-size: 200%;
	margin: 0 .3em;
}
.footersocial a  {
	color: #969696;
	border-bottom: 0px;
}
.footersocial a:hover  {
	color: #404040;

}




.scroll-to-top {
	display: none;
	position: fixed;
	bottom: 10px;
	right: 50%;
	transform: translateX(50%);
	cursor: pointer;
	background-color: #666666;
	border-radius: 2%;
	box-shadow: inset 0px 5px 25px 5px rgba(0,0,0,.1);
	filter: drop-shadow(0 0 10px rgba(0,0,0,.3));
	color: rgba(255,255,255,1);
	padding: .8em 1em;
}

.show {
    display: block;
    opacity: 1;
    transition: opacity .6s ease;
}

.hide {
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s ease;
}




.mobil{
	display: none;
}
.nomobil{
	display: inline;
}
/* mobil*/
@media screen and (max-width: 768px) {
.mobil{
	display: inline;
}
.nomobil{
	display: none;
}
body {

	font-size: 15px;

}

#headstrip {
	position: relative;
	display: block;
	height: 100px;
}
#headstrip div {
	display: none;

  }

#headstrip img {
	position: absolute;
	left: 30%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: 50px;
	width: auto;
}
#menu {
	top: 100px;
	font-size: 80%;
	height: 70px;
	width: 98%;
	padding: 0 1% 0 1%;
}
#menu.scrolled {


	transition: .5s ease-in;
	padding: 0 1% 0 1%;
	top: 0px;


}


#content {
	margin: 100px  auto 0 auto;


}
blockquote {

	margin: 30px auto;
	padding: 10px 10px;

	width: calc(90% - 24px);
	font-size: 160%;
}

blockquote.animal strong:after {

	padding: 13% 0 0 0;


}

.content {
	width: calc(100% - 3em);
	margin: 0 auto 50px auto;
	padding: 0 1em;
	border: 1px solid rgba(6,0,0,.20);
	font-size: 150%;
	font-family: "Crimson Text", serif;
	clip-path: polygon(0 0, 89% 0, 100% 10%, 100% 100%, 10% 100%, 0 90%);

}
.content h1 {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 120%;
	margin: 10px 0 0 0;
}

    .homegrid {
        grid-template-columns: 1fr; /* Single column */
        grid-template-rows: auto;  /* Automatic height */
    }

.homegrid div:nth-child(1),
.homegrid div:nth-child(2),
.homegrid div:nth-child(3),
.homegrid div:nth-child(4),
.homegrid div:nth-child(5),
.homegrid div:nth-child(6),
.homegrid div:nth-child(7)
.homegrid div:nth-child(8) {
               grid-area: unset;


}

    .gallerygrid {
	grid-template-columns: repeat(2, 1fr); /* 2 columns */
	grid-template-rows: repeat(4, auto);   /* 4 rows */
	width: 90%;
    }


.gallerygrid div:nth-child(1),
.gallerygrid div:nth-child(2),
.gallerygrid div:nth-child(3),
.gallerygrid div:nth-child(4),
.gallerygrid div:nth-child(5),
.gallerygrid div:nth-child(6),
.gallerygrid div:nth-child(7),
.gallerygrid div:nth-child(8) {
               grid-area: unset;

}

.gallerygrid div {
    padding: 100% 0 0 0;
}


.footersocial {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 75px;
    width: 80%;  /* Teljes szélesség */
    height: 200px; /* Állítsd be a kívánt magasságot */
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Négy egyenlő oszlop */
    gap: 10px;  /* Kisebb rés az oszlopok között (keret vastagsága) */
}

.footersocial i {
    font-size: 250%; /* Az ikonok méretének beállítása */
    display: block;
    margin: auto;  /* Középre igazítja az ikonokat */     /* Külső keret */

}

.footersocial a {
    display: flex;
    justify-content: center;  /* Középre igazítja az ikonokat */
    align-items: center;      /* Középre igazítja az ikonokat */
    color: #969696;
    transition: color 0.3s ease, transform 0.2s ease;
    height: 40%;  /* Magasság, hogy kitöltse a négyzetet */
    border: 1px solid #ddd; /* 1px keret minden egyes négyzet körül */
}

.footersocial a:hover {
    color: #404040;
    transform: scale(1.1); /* Ikon nagyítása hover alatt */
}


.zoom-content {
    width: 100%;
    max-width: 90%;
    aspect-ratio: 9 / 16;

}

}




