
@keyframes up{
	0%{transform: translate(0, 5vw); opacity: 0;}
	100%{transform: translate(0, 0); opacity: 1;}
}
@media screen and (min-width: 600px) {
	main{		
		background-color: #eee;
		color: #000;
		transition: color .2s;
	}
	main::before{
		content: attr(data-bg);
		position: absolute;
		left: 0;
		top: 8vw;
		width: 100vw;
		height: calc(100vh - 8vw);
		transform-origin: center;
		font-size: 25vw;
		font-weight: bold;
		text-align: center;
		line-height: calc(100vh - 8vw);
		pointer-events: none;
		color: #ddd;
		opacity: .3;
		z-index: 1;
	}
	#media-bg > div{
		width: 100vw;
		height: 100vh;
		position: absolute;
		left: 0;
		top: 0;
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
		opacity: 0;
		transition: all .2s;
	}
	#media-bg > div:nth-child(3){
		background-image: url("image/media/gallery.jpg");		
	}
	#media-bg > div:nth-child(2){
		background-image: url("image/media/tools.jpg");		
	}
	#media-bg > div:nth-child(1){
		background-image: url("image/media/blog.jpg");		
	}
	#pagepicture{
		width: 100vw;
		height: calc(100vh - 8vw);
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		z-index: 2;
		position: relative;
	}
	#pagepicture > h1{
		font-size: 7vw;
		line-height: 9vw;
		animation: up 1s backwards;
	}
	#pagepicture > p{
		width: 30vw;
		text-align: center;
		font-size: 1.5vw;
		line-height: 2.5vw;
		margin: 3vh;
		animation: up 1s backwards;
		animation-delay: .2s;
	}
	#breadol{
	    width: 100vw;
	    display: flex;
	    align-content: center;
	    justify-content: center;
	    list-style: none;
	    position: relative;
	    padding: 0;
	    margin: 0;
	    z-index: 1;
		animation: up 1s backwards;
		animation-delay: .1s;
	}
	#breadol::before{
		content: "";
		width: 15vw;
		height: 2vw;
		background-color: rgba(255, 255, 255, 0.3);
		position: absolute;
		left: 42.5vw;
		top: -.5vw;
		z-index: -1;
		transform: skew(-15deg);
	}
	#breadol li{
	    font-size: 1.2vw;
	    color: #000;
	    line-height: 1vw;
	    display: flex;
	}
	#breadol li a{
	    color: #000;
	    margin-right: 2vw;
	    display: block;
	    position: relative;
	}
	#breadol li a::after{
		content: "";
		display: block;
		width: .2vw;
		height: 1vw;
		background-color: #000;
		transform: skew(-15deg);
		position: absolute;
		top: 0vw;
		right: -1.1vw;		
	}
	#media-btn{
		display: flex;
		justify-content: center;
		padding-bottom: 5vh;
		animation: up 1s backwards;
		animation-delay: .3s;
	}
	#media-btn > a{
		font-size: 1.3vw;
		width: 10vw;
		height: 3.5vw;
		color: #000;
		border: solid .2vw #ddd;
		border-radius: 5vw;
		line-height: 3.5vw;
		text-align: center;
		font-weight: bold;
		display: block;
		margin: 1vw;
		transition: all .2s;
	}
	#media-btn > a:hover{
		background-color: #ddd;
	}


}





















@media screen and (max-width: 600px) {
	main p{
		text-align: center;
	}
	body{
		color: #000 !important;
		overflow: hidden;
		position: relative;
	}
	.button{
		box-shadow: .9vw .9vw 2.4vw #a1a1a1, 
		            -.9vw -.9vw 2.4vw #fefefe;
		transition: all .1s;
		cursor: pointer;
	}
	.button:active{
		box-shadow: .45vw .45vw 1.2vw #a1a1a1, 
		            -.45vw -.45vw 1.2vw #fefefe;
	}

	#media-bg::before{
		content: "MEDIA";
		position: absolute;
		left: -50vw;
		top: calc(50vh - 10vw);
		width: 200vw;
		height: 20vw;
		line-height: 20vw;
		transform-origin: center;
		transform: rotate(-90deg);
		font-size: 50vw;
		font-weight: bold;
		text-align: center;
		pointer-events: none;
		color: #ddd;
		opacity: .3;
		z-index: 1;
	}
	main{
		background-color: #eee;
	}
	#pagepicture{
		width: 100vw;
		height: 100vh;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		position: relative;
		z-index: 2;
	}
	#pagepicture > h1{
		font-size: 21vw;
		line-height: 27vw;
		animation: up 1s backwards;
	}
	#pagepicture > p{
		width: 70vw;
		text-align: center;
		font-size: 4.5vw;
		line-height: 7.5vw;
		margin: 10vw;
		animation: up 1s backwards;
		animation-delay: .2s;
	}
	#breadol{
	    width: 100vw;
	    display: flex;
	    align-content: center;
	    justify-content: center;
	    list-style: none;
	    position: relative;
	    padding: 0;
	    margin: 0;
	    z-index: 1;
		animation: up 1s backwards;
		animation-delay: .2s;
	}
	#breadol li{
	    font-size: 3.6vw;
	    color: #000;
	    line-height: 3vw;
	    display: flex;
	}
	#breadol li a{
	    color: #000;
	    margin-right: 6vw;
	    display: block;
	    position: relative;
	}
	#breadol li a::after{
		content: "";
		display: block;
		width: .6vw;
		height: 3vw;
		background-color: #000;
		transform: skew(-15deg);
		position: absolute;
		top: 0vw;
		right: -3.3vw;		
	}
	#media-btn{
		animation: up 1s backwards;
		animation-delay: .3s;
	}
	#media-btn > a{
		font-size: 4.5vw;
		width: 45vw;
		height: 10vw;
		color: #000;
		border: solid .8vw #333;
		border-radius: 15vw;
		line-height: 10vw;
		text-align: center;
		font-weight: bold;
		display: block;
		margin: 3vw;
		transition: all .2s;
	}


}








