﻿
@keyframes up{
	0%{transform: translate(0, 5vw); opacity: 0;}
	100%{transform: translate(0, 0); opacity: 1;}
}

@media screen and (min-device-width: 1000px) {
	h2{
		text-align: left;
		font-size: 20px;
		color: #333333;
		font-weight: bold;
	}
	h3{
		font-size: 18px;
		color: #333333;
	}

	main p{
		color: #333333;
		width: 900px;
		text-align: justify;
	}


	#pagepicture{
        width: 100vw;
        position: relative;
        padding-bottom: 1vw;
    }
    #pagepicture > h1{
        width: 100vw;
        color: #333;
        font-size: 6vw;
        line-height: 6vw;
        text-align: center;
        animation: down backwards 1s;
        padding: 6vw 0 0 0;
		animation: up 1s backwards;
    }
	#breadol{
	    width: 100vw;
	    display: flex;
	    align-content: center;
	    justify-content: center;
	    list-style: none;
	    position: relative;
	    padding: 2vw 0 0 0;
	    margin: 0;
	    z-index: 1;
		animation: up 1s backwards;
		animation-delay: .1s;
	}
	#breadol li{
	    font-size: 1.2vw;
	    color: #333;
	    line-height: 1vw;
	    display: flex;
	}
	#breadol li a{
	    color: #333;
	    margin-right: 2vw;
	    display: block;
	    position: relative;
	}
	#breadol li a::after{
		content: "";
		display: block;
		width: .2vw;
		height: 1vw;
		background-color: #333;
		transform: skew(-15deg);
		position: absolute;
		top: 0vw;
		right: -1.1vw;		
	}


	#newspage{
		width: 100vw;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		padding: 2.5vw 0;
		animation: up 1s backwards;
		animation-delay: .2s;
	}
	#newspage > a{
		width: 45vw;
		margin: 1vw;
		position: relative;
		background-color: #eee;
		border-radius: 2vw;
		background-size: cover;
	}

	.news-price h2{
		text-align: center;
		color: #333;
		font-size: 3vw;
		line-height: 3.5vw;
		margin: 1vw 0 0 0;
	}
	.current-price{
		text-align: center;
		color: #333;
		font-size: 2.5vw;
		font-weight: bold;
		position: relative;
		width: 45vw;
	}
	.current-price > span{
		font-size: 6vw;
	}
	.price-lm{
		width: 10vw;
		height: 3vw;
		line-height: 3vw;
		text-align: center;
		color: #fff;
		font-size: 1.5vw;
		font-weight: bold;
		border-radius: 3vw;
		background-color: #333;
		margin: 1vw 17.5vw 3.5vw 17.5vw;
	}
	#price-table{
		width: 35vw;
		height: 18vw;
		pointer-events: none;
		margin: 0 5vw;
	}
	#price-table > div{
		width: 35vw;
		display: flex;
		align-items: flex-end;
		height: 18vw;
		border-bottom: solid 0.3vw #333;
	}
	.price{
		width: 3vw;
		margin: 0 0.7vw;
		position: relative;
		border-radius: 0.5vw 0.5vw 0vw 0vw;
		cursor: pointer;
		transition: all 0.3s;
		border-bottom: none;
	}
	#nickel-price > .price{	
		background-color: #32558e;
	}
	#nickel-price{
		opacity: 1;
		transition: all 0.3s;
		pointer-events: inherit;
	}
	#molybdenum-price > .price{	
		background-color: #B7C8B5;
	}
	#molybdenum-price{
		transition: all 0.3s;
		pointer-events: none;
	}
	#niobium-price > .price{	
		background-color: #B9314F;
	}
	#niobium-price{
		transition: all 0.3s;
		pointer-events: none;
	}
	#cobalt-price > .price{	
		background-color: #7FB285;
	}
	#cobalt-price{
		transition: all 0.3s;
		pointer-events: none;
	}
	.price:hover .current-price{
		transform: scale(1.5, 1.5);
	}



}





















@media screen and (max-device-width: 1000px) {
	h2{
		text-align: left;
		font-size: 20px;
		color: #333333;
		font-weight: bold;
	}
	h3{
		font-size: 18px;
		color: #333333;
	}

	main p{
		color: #333333;
		text-align: justify;
	}	
	#pagepicture{
        width: 100vw;
        position: relative;
        padding-bottom: 6vw;
    }
    #pagepicture > h1{
        width: 100vw;
        color: #333;
        font-size: 18vw;
        line-height: 18vw;
        text-align: center;
        animation: down backwards 1s;
        padding: 25vw 0 0 0;
		animation: up 1s backwards;
    }
	#breadol{
	    width: 100vw;
	    display: flex;
	    align-content: center;
	    justify-content: center;
	    list-style: none;
	    position: relative;
	    padding: 3vw 0 0 0;
	    margin: 0;
	    z-index: 1;
		animation: up 1s backwards;
		animation-delay: .1s;
	}
	#breadol li{
	    font-size: 3.6vw;
	    color: #333;
	    line-height: 3vw;
	    display: flex;
	}
	#breadol li a{
	    color: #333;
	    margin-right: 6vw;
	    display: block;
	    position: relative;
	}
	#breadol li a::after{
		content: "";
		display: block;
		width: .6vw;
		height: 3vw;
		background-color: #333;
		transform: skew(-15deg);
		position: absolute;
		top: 0vw;
		right: -3.3vw;		
	}


	#newspage{
		width: 100vw;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		padding: 2.5vw 0;
		animation: up 1s backwards;
		animation-delay: .2s;
	}
	#newspage > a{
		width: 90vw;
		margin: 2vw;
		position: relative;
		background-color: #eee;
		border-radius: 6vw;
		background-size: cover;
	}

	.news-price h2{
		text-align: center;
		color: #333;
		font-size: 6vw;
		line-height: 7vw;
		margin: 2vw 0 0 0;
	}
	.current-price{
		text-align: center;
		color: #333;
		font-size: 6vw;
		font-weight: bold;
		position: relative;
		width: 90vw;
	}
	.current-price > span{
		font-size: 15vw;
	}
	.price-lm{
		width: 30vw;
		height: 9vw;
		line-height: 9vw;
		text-align: center;
		color: #fff;
		font-size: 5vw;
		font-weight: bold;
		border-radius: 6vw;
		background-color: #333;
		margin: 2vw 30vw 7vw 30vw;
	}
	#price-table{
		width: 70vw;
		height: 25vw;
		pointer-events: none;
		margin: 0 10vw;
	}
	#price-table > div{
		width: 70vw;
		display: flex;
		align-items: flex-end;
		height: 25vw;
		border-bottom: solid 0.6vw #333;
	}
	.price{
		width: 6vw;
		margin: 0 1.4vw;
		position: relative;
		border-radius: 1vw 1vw 0vw 0vw;
		cursor: pointer;
		transition: all 0.3s;
		border-bottom: none;
	}
	#nickel-price > .price{	
		background-color: #32558e;
	}
	#nickel-price{
		opacity: 1;
		transition: all 0.3s;
		pointer-events: inherit;
	}
	#molybdenum-price > .price{	
		background-color: #B7C8B5;
	}
	#molybdenum-price{
		transition: all 0.3s;
		pointer-events: none;
	}
	#niobium-price > .price{	
		background-color: #B9314F;
	}
	#niobium-price{
		transition: all 0.3s;
		pointer-events: none;
	}
	#cobalt-price > .price{	
		background-color: #7FB285;
	}
	#cobalt-price{
		transition: all 0.3s;
		pointer-events: none;
	}




}