﻿@import url('https://fonts.googleapis.com/css?family=BioRhyme|Fredericka+the+Great&display=swap');
/* 

    font-family: 'Fredericka the Great', cursive;

    font-family: 'BioRhyme', serif;

  */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url(img/TexturesCom_WoodPlanksBare0137_1_seamless_S.jpg);
    background-repeat: repeat;
    1background-attachment: fixed;
}

.material-icons {
  padding: 0 6px;
}

.container{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 1280px;
    height: 100vh;
    transform-style: preserve-3d;
}

.container .box{
    position: relative;
    width: 400px;
    height: 267px;
    margin: 20px 0;
    perspective: 1000px;
    overflow: hidden;
}

.container .titel{
	position:relative;
	height:64px;
	width:100%;
	1background-color:#CCCCCC;
	padding: 10px auto;
	font-family: 'Fredericka the Great', cursive;
	font-size:3rem;
	font-weight:700;
	color:#FFFFFF;
	display: flex;
    justify-content: center;
    align-items: center;
    1min-height: 100vh;
}

.container .box .imgBx{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: top;
    transform-style: preserve-3d;
    transition: 0.5s;
    transition-delay: 0.2s;
}

.container .box:hover .imgBx{
    transform: rotateX(-90deg);
    opacity: 0;
    transition-delay: 0.2s;
}

.container .box .imgBx img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container .box .contentBx{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    transform-origin: bottom;
    transform-style: preserve-3d;
    transition: 0.5s;
    transform: rotateX(90deg);
    opacity: 0;
    color: #fff;
}

.container .box:hover .contentBx{
    transform: rotateX(0deg);
    opacity: 1;
    transition-delay: 0.2s;
}

footer{
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    height:30px;
    margin-top:-50px; /* HÃ¶he des Footers */
}

@media (min-width: 300px){
    .container .box{
        width: 360px;
        height: 267px;
        margin: 20px 0px;
        /* width: 252px;
        height: 168px;
        margin: 20px 0; */
    }
}

@media (min-width: 560px){
    .container .box{
        width: 400px;
        height: 267px;
        margin: 20px 0;
    }
}