 @charset "utf-8";
/*@font-face {
font-family: "ivyora-display", serif;
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: "ivyora-display", serif;
font-weight: 500;
font-style: italic;
}

@font-face{
	font-family: "owners", sans-serif;
font-weight: 700;
font-style: normal;
}*/

body {
	margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.menu {
	margin: 0;
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	flex-wrap: wrap;
	width: 100vw;
	justify-content: space-around;
	background: white;
	padding: 1%;
	padding-top: 1.5%;
	padding-bottom: 1.5%;
	list-style: none;
	font-family: "ivyora-display", serif;
	font-weight: 500;
	font-style: italic;
	font-size: clamp(1rem, 2vw, 1.5rem);
	color: #231F20;
	z-index: 20;
}

a {
  color: #231F20;
  text-decoration: none;
}
a:hover {
  color: #5b79ff;
}

.back img{
  position: fixed;
  height: auto;
  width: 200px;
  top: 100px;
  left: -90px;
	z-index: 10;
	transform: rotate(08deg);
	transition: 0.4s ease;
}
.back img:hover{
  position: fixed;
  height: auto;
  width: 210px;
  top: 110px;
  left: -30px;
	z-index: 10;
	transform: rotate(15deg);
	transition: 0.4s ease;
}


/* Initial state */
.page {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Enter animation */
.page.enter {
  opacity: 1;
  transform: translateY(0);
}

/* Leave animation */
.page.leave {
  opacity: 0;
  transform: translateY(-30px);
}

#intro{
  display: flex;
	flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
	padding-left: 5rem;
	padding-top: 10rem;
}


#intro img[src="img/motion/Sopot.jpg"]{
	height: auto;
	width: 50%;
	padding-right: 5rem;
	padding-top: 0.5rem;
}


.text{
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
  	align-items: flex-start;
	max-width: 35%;
	height: auto;
}

.text p{
	padding: 0;
	padding-bottom: 1.5rem;
	margin: 0;
}

.title{
	font-size: clamp(2rem, 5vw, 15rem);
	width: auto;
	text-align: left;
	font-family: "ivyora-display", serif;
	font-weight: 500;
	font-style: italic;
	color: #231F20;
}


.date{
	font-size: clamp(0.5rem, 1.8vw, 1.5rem);
	width: auto;
	text-align: left;
	font-family: "Owners Medium";
	color: #231F20;
}

.text1{
	font-size: clamp(0.5rem, 1.8vw, 1.5rem);
  z-index: 2;
  width: auto;
  text-align: left;
  font-family: "Owners Medium";
  color: #231F20;
}

#video{
  display: flex;
	flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
	padding: 5rem;
	padding-top: 10rem;
	gap: 5rem;
}

video {
width: 40%;
height: auto;
}

@media (max-width: 500px){
.back img{
  position: fixed;
  height: auto;
  width: 120px;
  top: 70px;
  left: -60px;
}
.back img:hover{
  position: fixed;
  height: auto;
  width: 140px;
  top: 70px;
  left: -30px;
}
	#intro{
	padding-left: 2rem;
	padding-right: 2rem;
	padding-top: 3rem;
	}

	#intro img[src="img/motion/Sopot.jpg"]{
  height: auto;
  width: 100%;
	padding-bottom: 1.5rem;
	}
	.text{
	max-width: 100%;
	height: auto;
}
	
	.title{
	font-size: clamp(3rem, 5vw, 15rem);
	}

	.date{
		font-size: clamp(1rem, 2vw, 1.5rem);
	}

	.text1{
		font-size: clamp(1rem, 2vw, 1.5rem);
	}
	
	#video{
  display: flex;
	flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
	padding: 2rem;
	padding-top: 3rem;
	gap: 2rem;
}

video {
width: 100%;
height: auto;
}
	
}



@media (min-width: 501px) and (max-width: 1000px){
	#intro{
	padding-left: 3rem;
	padding-right: 3rem;
	padding-top: 4rem;
	}
	
.back img{
  position: fixed;
  height: auto;
  width: 150px;
  top: 70px;
  left: -60px;
}
.back img:hover{
  position: fixed;
  height: auto;
  width: 160px;
  top: 70px;
  left: -30px;
}

	#intro img[src="img/motion/Sopot.jpg"]{
 	 height: auto;
 	 width: 50%;
	padding-right: 2.5rem;
	}
	
	.text p{
		padding: 0;
		padding-bottom: 1rem;
		margin: 0;
	}
	
	#video{
	  display: flex;
	flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
	padding: 3rem;
	padding-top: 5rem;
	gap: 3rem;
	}

	video {
	width: 42%;
	height: auto;
	}
}