@-webkit-keyframes MOVE-BG {
	from {
		transform: translate(0, 0);
	}
	25% {
		transform: translate(-100vw, -22vh);
	}
	50% {
		transform: translate(0, -22vh);
	}
	75% {
		transform: translate(-100vw, 0);
	}
	to { 
		transform: translate(0, 0);
	}
}

body {
    background-color: pink;
    padding: 0;
    margin: 0;
}
html {
    width: 100%;
    height: 100%;
}

body.homepage {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

body.homepage .bg-wrapper {
    position: absolute;
    top: 0;
	left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body.homepage .bg {
	width: 200%;
	height: 122%;
	
	background-image: url("/files/pin.webp");
	background-size: cover;
/* 	background-position: 0 -316px; */

	animation-name: MOVE-BG;
	animation-duration: 30s;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
}

body.homepage h1 {
    color: white;
    margin: 0;
    padding: 3%;
    position: relative;
}

.player-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    width: 95vw;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.97;
}


parent,
parent * {
    box-sizing: border-box;
}


.parent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 40% 0;
}

.parent {
    padding: 0.8rem;
    background: black;
    height: 95vh;
    min-height: 500px;
    width: 100%;
    max-width: 600px;
    margin: auto;
    margin-top: 2.5vh;
    border: 1px solid #c9b473;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 0.7fr 0.3fr 1fr;
    grid-template-rows: 20% 40% 20% 20%;
    grid-template-areas: "one two two three" "four five five five" "six five five five" "six seven eight eight";
}

.child:nth-child(1) img,
.child:nth-child(2) img,
.child:nth-child(3) img {
    width: 120%;
    height: 120%;
}

.child:first-child {
    grid-area: one;
    -webkit-clip-path: polygon(0% 0%, 93.24% 0%, 105.04% 110.16%, 0% 90%);
    clip-path: polygon(0% 0%, 93.24% 0%, 105.04% 110.16%, 0% 90%);
}

.child:nth-child(2) {
    grid-area: two;
    -webkit-clip-path: polygon(0% 0%, 108.28% 0%, 96.45% 110.13%, 10.55% 110.93%);
    clip-path: polygon(0% 0%, 108.28% 0%, 96.45% 110.13%, 10.55% 110.93%);
}

.child:nth-child(3) {
    grid-area: three;
    -webkit-clip-path: polygon(15.05% 0%, 100% 0%, 99.35% 91.7%, 3.08% 108.48%);
    clip-path: polygon(15.05% 0%, 100% 0%, 99.35% 91.7%, 3.08% 108.48%);
}

.child:nth-child(4) {
    grid-area: four;
    -webkit-clip-path: polygon(0% -0.85%, 106.34% 9.98%, 121.32% 65.63%, 99.66% 109.89%, 1.86% 124.41%);
    clip-path: polygon(0% -0.85%, 106.34% 9.98%, 121.32% 65.63%, 99.66% 109.89%, 1.86% 124.41%);
}

.child:nth-child(4) img {
    width: 135%;
    height: 135%;
}

.child:nth-child(5) {
    grid-area: five;
    -webkit-clip-path: polygon(6.4% 6.48%, 47.24% 5.89%, 100% 0%, 98.41% 96.85%, 53.37% 100%, 53% 63.21%, 3.23% 73.02%, 14.3% 44.04%);
    clip-path: polygon(6.4% 6.48%, 47.24% 5.89%, 100% 0%, 98.41% 96.85%, 53.37% 100%, 53% 63.21%, 3.23% 73.02%, 14.3% 44.04%);
}

.child:nth-child(6) {
    grid-area: six;
    -webkit-clip-path: polygon(2.14% 29.3%, 99.34% 15.42%, 98.14% 100.82%, 1.57% 101.2%);
    clip-path: polygon(2.14% 29.3%, 99.34% 15.42%, 98.14% 100.82%, 1.57% 101.2%);
}

.child:nth-child(7) {
    grid-area: seven;
    -webkit-clip-path: polygon(7.92% 33.47%, 96.31% 23.39%, 95.38% 100%, 5.3% 100.85%);
    clip-path: polygon(7.92% 33.47%, 96.31% 23.39%, 95.38% 100%, 5.3% 100.85%);
}

.child:nth-child(8) {
    grid-area: eight;
    -webkit-clip-path: polygon(2.5% 22.35%, 100% 0%, 100% 100%, 1.55% 100%);
    clip-path: polygon(2.5% 22.35%, 100% 0%, 100% 100%, 1.55% 100%);
}

.child:nth-child(9) {
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 2;
    grid-column-end: 4;
    -webkit-clip-path: polygon(5.94% 28.66%, 100.61% -0.67%, 101.1% 108.57%, 5.4% 126.28%);
    clip-path: polygon(5.94% 28.66%, 100.61% -0.67%, 101.1% 108.57%, 5.4% 126.28%);
}

.child:nth-child(9) img {
    object-position: 30% 50%;
    height: 135%;
}
