@keyframes up{
    0%{transform: translate(0, 10vw); opacity: 0;}
    100%{transform: translate(0, 0); opacity: 1;}
}
@media screen and (min-width: 900px) {
	#page404{
		width: 100vw;
		height: 100vh;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		text-align: center;
		overflow: hidden;
	}
    #page404::before{
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: solid 24vw transparent;
        border-left: solid 24vw #eee;
        margin: 0;
        position: absolute;
        left: 55vw; 
        transform: scale(1, .7);
        top: calc(50vh - 24vw);
        z-index: -1;
        opacity: .35;
    }
    #page404::after{
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: solid 45vw transparent;
        border-left: solid 45vw #eee;
        margin: 0;
        position: absolute;
        left: 20vw; 
        transform: scale(1, .7);
        top: calc(50vh - 45vw);
        z-index: -1;
        opacity: .35;
    }
	#p404{
		width: 100vw;
		font-size: 10vw;
		font-weight: bold;
		color: #e83719;
        animation: up backwards 1s;
	}
	#tagp1{
		width: 50vw;
		margin: 0 25vw;
		color: #333;
		font-weight: bold;
		font-size: 5vw;
	}
	#tagp2{
		width: 50vw;
		margin: 0 25vw;
		color: #666;
		font-weight: bold;
		font-size: 3vw;
		line-height: 4vw;
        animation: up backwards 1s;
        animation-delay: .1s;
	}
	#gohome{
		display: block;
		width: 20vw;
		height: 3.5vw;
		font-size: 1.5vw;
		line-height: 3.5vw;
		border-radius: 3vw;
		font-weight: bold;
		margin: 2vw 40vw;
		background-color: #e83719;
		color: #fff;
		transition: all .2s;
        animation: up backwards 1s;
        animation-delay: .2s;
	}
	#gohome:hover{
		background-color: #333;
	}
	#productswords{
		display: flex;
		padding: 3vh 0;
        animation: up backwards 1s;
        animation-delay: .3s;
	}
	#productswords > a{
		display: block;
		width: 6vw;
	}
	#productswords > a:hover{
		transform: translate(0, -.5vw);
	}
	#productswords > a > img{
		width: 3.5vw;
		margin: 0 1.25vw;
	}
	#productswords > a > p{
		width: 6vw;
		font-size: 1.2vw;
		font-weight: bold;
		color: #333;
	}
}



@media screen and (max-width: 900px) {
	p, h1, h2, h3{
		padding: 0;
		margin: 0;
	}
	#page404{
		width: 100vw;
		height: 100vh;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		text-align: center;
		overflow: hidden;
	}
    #page404::before{
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: solid 48vw transparent;
        border-left: solid 48vw #eee;
        margin: 0;
        position: absolute;
        left: 65vw; 
        transform: scale(1, .7);
        top: calc(50vh - 48vw);
        z-index: -1;
        opacity: .35;
    }
    #page404::after{
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: solid 90vw transparent;
        border-left: solid 90vw #eee;
        margin: 0;
        position: absolute;
        left: 0vw; 
        transform: scale(1, .7);
        top: calc(50vh - 90vw);
        z-index: -1;
        opacity: .35;
    }
	#p404{
		width: 100vw;
		font-size: 30vw;
		font-weight: bold;
		color: #e83719;
        animation: up backwards 1s;
	}
	#tagp1{
		width: 80vw;
		margin: 0 10vw;
		color: #333;
		font-weight: bold;
		font-size: 15vw;
	}
	#tagp2{
		width: 80vw;
		margin: 0 10vw;
		color: #333;
		font-weight: bold;
		font-size: 9vw;
		line-height: 12vw;
        animation: up backwards 1s;
        animation-delay: .1s;
	}
	#gohome{
		display: block;
		width: 60vw;
		height: 10.5vw;
		font-size: 4.5vw;
		line-height: 10.5vw;
		border-radius: 9vw;
		font-weight: bold;
		margin: 6vw 20vw;
		background-color: #e83719;
		color: #fff;
		transition: all .2s;
        animation: up backwards 1s;
        animation-delay: .2s;
	}
	#gohome:hover{
		background-color: #333;
	}
	#productswords{
		display: flex;
		padding: 2vh 0;
        animation: up backwards 1s;
        animation-delay: .3s;
	}
	#productswords > a{
		display: block;
		width: 18vw;
	}
	#productswords > a > img{
		width: 10.5vw;
		margin: 0 3.75vw;
	}
	#productswords > a > p{
		width: 18vw;
		font-size: 3.6vw;
		font-weight: bold;
		color: #333;
	}
}
