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

@media screen and (min-width: 900px) {
    h1, h2, h3, p, li{
        color: #333333;
    }



    #pagepicture{
        width: 100vw;
        height: 26vw;
        background-color: #333333;
        margin-top: 4.5vw;
        background-size: contain;
        position: relative;
        border-radius: 0 0 5vw 5vw;
        background-attachment: fixed;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-bottom: 2vw;
    }
    #pagepicture > h1{
        position: absolute;
        width: 80vw;
        color: white;
        font-size: 3.5vw;
        line-height: 5vw;
        text-align: center;
        animation: down backwards 1s;
    }

    #breadol{
        width: 50vw;
        display: flex;
        justify-content: center;
        align-content: center;
        list-style: none;
        position: absolute;
        bottom: 2vw;
        left: 25vw;
        padding: 0;
        margin: 0;
        z-index: 1;
        animation: down backwards 1s;
        animation-delay: .2s;
    }
    #breadol li{
        font-size: 1vw;
        color: white;
        line-height: 1vw;
    }
    #breadol li a{
        display: block;
        color: white;
        height: 1vw;
        padding-right: 1.5vw;
        margin-right: 1vw;
        font-weight: bold;
        position: relative;
    }
    #breadol li a::before{
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: solid .5vw transparent;
        border-left: solid .5vw #fff;
        margin: 0;
        position: absolute;
        right: -.5vw; 
        transform: scale(1, 0.7);
        top: 0;
    }
    #newspage{
        width: 80vw;
        margin: 5vw 10vw;
    }
    .single-img{
        display: block;
        width: 60vw;
        margin: 5vw 10vw;
        border-radius: 1.5vw;
        animation: up backwards 1s;
        animation-delay: .3s;
    }
    .middle-img{
        display: block;
        width: 40vw;
        margin: 5vw 20vw;
        border-radius: 3vw;
        animation: up backwards 1s;
        animation-delay: .3s;
    }
    .small-img{
        display: block;
        width: 20vw;
        margin: 5vw 30vw;
        border-radius: 1.5vw;
        animation: up backwards 1s;
        animation-delay: .3s;
    }
    .double-img{
        display: block;
        width: 80vw;
        display: flex;
        justify-content: space-between;
        margin: 5vw 0;
        animation: up backwards 1s;
        animation-delay: .3s;
    }
    .double-img > img{
        display: block;
        width: 39vw;
        border-radius: 1.5vw;
    }
    .compare-img{
        display: flex;
        justify-content: center;
        animation: up backwards 1s;
        animation-delay: .3s;
    }
    .compare-img > div{
        width: 25vw;
        margin: 1vw;
    }
    .compare-img > div > img{
        width: 25vw;
        border-radius: 1vw;
        box-shadow: 0 .5vw 1vw #999;
    }
    .compare-img > div > div{
        width: 25vw;
        font-size: 1.2vw;
        font-weight: bold;
        text-align: center;
        line-height: 5vw;
    }
    #newspage h2{
        width: 80vw;
        margin: 8vw 0 2vw 0;
        font-size: 3vw;
        line-height: 5vw;
        text-align: center;
        position: relative;
        animation: up backwards 1s;
        animation-delay: .2s;
    }
    #newspage h2::before{
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: solid 8vw transparent;
        border-top: solid 8vw #eee;
        margin: 0;
        position: absolute;
        left: 32vw; 
        transform: scale(0.7, 1);
        top: -4vw;
        z-index: -1;
        opacity: .5;
    }
    #newspage h2::after{
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: solid 15vw transparent;
        border-top: solid 15vw #eee;
        margin: 0;
        position: absolute;
        left: 25vw; 
        transform: scale(0.7, 1);
        top: -2vw;
        z-index: -1;
        opacity: .5;
    }
    #newspage h3{
        width: 80vw;
        margin: 3vw 0;
        font-size: 2vw;
        line-height: 3.5vw;
        text-align: center;
        position: relative;
        animation: up backwards 1s;
        animation-delay: .2s;
    }
    #newspage p{
        width: 50vw;
        margin: 3vw 15vw;
        font-size: 1.2vw;
        line-height: 2vw;
        text-align: justify;
        animation: up backwards 1s;
        animation-delay: .3s;
    }
    #newspage ul{
        width: 50vw;
        margin: 3vw 15vw;
        font-size: 1.2vw;
        line-height: 2vw;
        text-align: justify;
        animation: up backwards 1s;
        animation-delay: .3s;
    }
    #newspage li{
        margin: .5vw 0;
    }
    #newspage table{
        width: 80vw;
        border: solid .2vw #333;
        border-left: none;
        border-right: none;
        border-collapse: collapse;
        margin: 5vw 0;
        animation: up backwards 1s;
        animation-delay: .3s;
    }
    #newspage caption{
        width: 80vw;
        font-size: 1.3vw;
        font-weight: bold;
        margin: 2vw 0;
    }
    #newspage th{
        width: 80vw;
        border: solid .1vw #333;
        border-left: none;
        border-right: none;
        font-size: 1.1vw;
    }
    #newspage tr{
        border: none;
        height: 3vw;
    }
    #newspage td{
        border: none;
        font-size: 1.1vw;
        text-align: center;
    }
    #date{
        display: block;
        width: 80vw;
        font-size: 1vw;
        text-align: right;
        margin: 5vw 0;
    }


    #othernews{
        width: 80vw;
        padding: 5vw 10vw;
    }
    #othernews > h2{
        width: 80vw;
        text-align: center;
        font-size: 3.5vw;
    }
    #pre-fol{
        width: 80vw;
        display: flex;
        justify-content: center;
        margin: 5vw 0;
    }
    #pre-fol > div{
        width: 30vw;
        text-align: center;
        font-size: 2vw;
        font-weight: bold;
        position: relative;
    }
    #pre-fol > div::before{
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: solid 6vw transparent;
        border-bottom: solid 6vw #eee;
        margin: 0;
        position: absolute;
        left: 9vw; 
        transform: scale(0.7, 1);
        top: -5vw;
        z-index: -1;
        opacity: .5;
    }
    #pre-fol > div:nth-child(1)::before{
        transform: translate(-10vw, 0) rotate(-90deg) scale(0.7, 1);
    }
    #pre-fol > div:nth-child(2)::before{
        transform: translate(10vw, 0) rotate(90deg) scale(0.7, 1);
    }
    #media-latest{
        width: 80vw;
        display: flex;
        justify-content: center;
    }
    .media-blog{
        width: 28vw;
        margin: 2vw;
        border-radius: 2vw;
        overflow: hidden;
        transition: all .2s;
    }
    .media-blog:hover{
        box-shadow: 0 .5vw 1vw #999;
        transform: translate(0, -.5vw);
    }
    .media-blog img{
        width: 28vw;
    }
    .media-blog h3{
        width: 24vw;
        font-size: 1.8vw;
        line-height: 2.5vw;
        padding: 1vw 2vw;
    }
    .media-blog p{
        width: 24vw;
        padding: 0 2vw;
        font-size: 1vw;
        line-height: 1.8vw;
        text-align: justify;
    }
    .media-blog time{
        display: block;
        width: 24vw;
        font-size: .8vw;
        line-height: 1.8vw;
        text-align: right;
        padding: 2vw;
        color: #666;
    }
    .coming-soon{
        width: 28vw;
        margin: 2vw;
        border-radius: 2vw;
        overflow: hidden;
        transition: all .2s;
        font-size: 5vw;
        line-height: 6vw;
        font-weight: bold;
        text-align: center;
        color: #999;
    }

    #products-click{
        width: 80vw;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    #products-click > a{
        width: 10vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin: 0 1vw;
    }
    #products-click > a > img{
        width: 5vw;
    }
    #products-click > a > div{
        width: 10vw;
        font-size: 1vw;
        font-weight: bold;
        text-align: center;
        line-height: 1.3vw;
        color: #333;
        margin: .5vw 0;
    }

}












@media screen and (max-width: 900px) {
    h1, h2, h3, p, li{
        color: #333333;
        padding: 0;
        margin: 0;
    }




    #pagepicture{
        width: 90vw;
        background-color: #333333;
        margin: 12vw 0;
        background-size: contain;
        position: relative;
        border-radius: 0 0 15vw 15vw;
        background-attachment: fixed;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15vw 5vw 0 5vw;
        flex-direction: column;
    }
    #pagepicture > h1{
        width: 90vw;
        color: white;
        font-size: 10vw;
        line-height: 12vw;
        text-align: center;
        animation: down backwards 1s;
        padding: 5vw 0;
        margin: 0;
    }
    #pagepicture > p{
        width: 90vw;
        color: white;
        font-size: 4vw;
        line-height: 6vw;
        text-align: center;
        animation: down backwards 1s;
        padding: 1vw 0;
    }

    

    #pagepicture #breadol{
        width: 80vw;
        display: flex;
        justify-content: center;
        align-content: center;
        list-style: none;
        position: relative;
        padding: 10vw 0;
        margin: 0;
        z-index: 1;
        animation: down backwards 1s;
        animation-delay: .2s;
    }
    #pagepicture #breadol li{
        font-size: 3vw;
        color: white;
        line-height: 3vw;
    }
    #pagepicture #breadol li a{
        display: block;
        color: white;
        height: 3vw;
        padding-right: 4.5vw;
        margin-right: 3vw;
        font-weight: bold;
        position: relative;
    }
    #pagepicture #breadol li a::before{
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: solid 1.5vw transparent;
        border-left: solid 1.5vw #fff;
        margin: 0;
        position: absolute;
        right: -1.5vw; 
        transform: scale(1, 0.7);
        top: 0;
    }



    #newspage{
        width: 85vw;
        margin: 15vw 7.5vw;
        overflow: hidden;
    }
    .single-img{
        display: block;
        width: 85vw;
        margin: 15vw 0;
        border-radius: 4.5vw;
        animation: up backwards 1s;
        animation-delay: .3s;
    }
    .middle-img{
        display: block;
        width: 85vw;
        margin: 15vw 0;
        border-radius: 4.5vw;
        animation: up backwards 1s;
        animation-delay: .3s;
    }
    .small-img{
        display: block;
        width: 65vw;
        margin: 5vw 10vw;
        border-radius: 4.5vw;
        animation: up backwards 1s;
        animation-delay: .3s;
    }
    .double-img{
        display: block;
        width: 85vw;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 15vw 0;
        animation: up backwards 1s;
        animation-delay: .3s;
    }
    .double-img > img{
        display: block;
        width: 85vw;
        border-radius: 4.5vw;
        margin: 3vw 0;
    }
    .compare-img{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        animation: up backwards 1s;
        animation-delay: .3s;
    }
    .compare-img > div{
        width: 85vw;
        margin: 3vw;
    }
    .compare-img > div > img{
        width: 85vw;
        border-radius: 3vw;
        box-shadow: 0 1.5vw 3vw #999;
    }
    .compare-img > div > div{
        width: 85vw;
        font-size: 3.6vw;
        font-weight: bold;
        text-align: center;
        line-height: 15vw;
    }
    #newspage h2{
        width: 85vw;
        margin: 24vw 0 6vw 0;
        font-size: 9vw;
        line-height: 12vw;
        text-align: center;
        position: relative;
        animation: up backwards 1s;
        animation-delay: .2s;
    }
    #newspage h2::before{
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: solid 24vw transparent;
        border-top: solid 24vw #eee;
        margin: 0;
        position: absolute;
        left: 18.5vw; 
        transform: scale(0.7, 1);
        top: -12vw;
        z-index: -1;
        opacity: .5;
    }
    #newspage h2::after{
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: solid 45vw transparent;
        border-top: solid 45vw #eee;
        margin: 0;
        position: absolute;
        left: -2.5vw; 
        transform: scale(0.7, 1);
        top: -6vw;
        z-index: -1;
        opacity: .5;
    }
    #newspage h3{
        width: 85vw;
        margin: 9vw 0;
        font-size: 6vw;
        line-height: 9vw;
        text-align: center;
        position: relative;
        animation: up backwards 1s;
        animation-delay: .2s;
    }
    #newspage p{
        width: 85vw;
        margin: 9vw 0;
        font-size: 4.2vw;
        line-height: 8vw;
        text-align: justify;
        animation: up backwards 1s;
        animation-delay: .3s;
    }
    #newspage ul{
        width: 85vw;
        margin: 9vw 0;
        font-size: 4.2vw;
        line-height: 8vw;
        text-align: justify;
        animation: up backwards 1s;
        animation-delay: .3s;
    }
    #newspage li{
        margin: 1.5vw 0;
    }
    #newspage table{
        width: 85vw;
        border: solid .6vw #333;
        border-left: none;
        border-right: none;
        border-collapse: collapse;
        margin: 15vw 0;
        animation: up backwards 1s;
        animation-delay: .3s;
    }
    #newspage caption{
        width: 85vw;
        font-size: 5vw;
        font-weight: bold;
        margin: 6vw 0;
    }
    #newspage th{
        width: 85vw;
        border: solid .3vw #333;
        border-left: none;
        border-right: none;
    }
    #newspage tr{
        border: none;
        height: 10vw;
    }
    #newspage td{
        border: none;
        font-size: 4vw;
        text-align: center;
    }
    #date{
        display: block;
        width: 85vw;
        font-size: 3.5vw;
        text-align: right;
        margin: 15vw 0;
    }


    #othernews{
        width: 100vw;
        padding: 15vw 0;
    }
    #othernews > h2{
        width: 100vw;
        text-align: center;
        font-size: 10.5vw;
    }
    #pre-fol{
        width: 100vw;
        display: flex;
        justify-content: center;
        margin: 15vw 0;
    }
    #pre-fol > div{
        width: 45vw;
        text-align: center;
        font-size: 5vw;
        font-weight: bold;
        position: relative;
    }
    #pre-fol > div::before{
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: solid 10vw transparent;
        border-bottom: solid 10vw #eee;
        margin: 0;
        position: absolute;
        left: 13vw; 
        transform: scale(0.7, 1);
        top: -7vw;
        z-index: -1;
        opacity: .5;
    }
    #pre-fol > div:nth-child(1)::before{
        transform: translate(-20vw, 0) rotate(-90deg) scale(0.7, 1);
    }
    #pre-fol > div:nth-child(2)::before{
        transform: translate(20vw, 0) rotate(90deg) scale(0.7, 1);
    }
    #media-latest{
        width: 100vw;
        display: flex;
        justify-content: center;
    }
    .media-blog{
        width: 42vw;
        margin: 2vw;
        border-radius: 4vw;
        overflow: hidden;
        transition: all .2s;
    }
    .media-blog img{
        width: 42vw;
    }
    .media-blog h3{
        width: 42vw;
        font-size: 5.4vw;
        line-height: 8vw;
        padding: 3vw 0;
        text-align: center;
    }
    .media-blog p{
        display: none;
    }
    .media-blog time{
        display: block;
        width: 42vw;
        font-size: 2.4vw;
        line-height: 3vw;
        text-align: center;
        padding: 3vw 0;
        color: #666;
    }
    .coming-soon{
        width: 42vw;
        margin: 2vw;
        border-radius: 6vw;
        overflow: hidden;
        transition: all .2s;
        font-size: 10vw;
        line-height: 15vw;
        font-weight: bold;
        text-align: center;
        color: #999;
    }

    #products-click{
        width: 85vw;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    #products-click > a{
        width: 30vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin: 3vw;
    }
    #products-click > a > img{
        width: 15vw;
    }
    #products-click > a > div{
        width: 30vw;
        font-size: 3.5vw;
        font-weight: bold;
        text-align: center;
        line-height: 4.5vw;
        color: #333;
        margin: 1.5vw 0;
    }

}
