*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', 'Arial', sans-serif;
}

html {
    background-color: rgba(246, 236, 172, 0.87);
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

section
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    transform-style: preserve-3d;
    width: 900px;
}
.imgRez
{
margin: 5px;
}

section .card
{
  display: flex;
    width: 320px;
    height: 320px;
    margin: 20px;
    transform-style: preserve-3d;
    perspective: 800px;
    transform: rotate3d(0, 1, 0, 3.142rad);
}

section .card .box
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: 2s ease;
}

section .card:hover .box
{
transform: rotate3d(0, 1, 0, 3.142rad);

}

section .card .box .imgBox
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

section .card .box .imgBox img
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-style: preserve-3d;

}

section .card .box .contentBox
{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: cornflowerblue;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;


}

section .card .box .contentBox div
{
    transform-style: preserve-3d;
    padding: 10px;
    background: linear-gradient(45deg, #89aef1, #3471e3);
    transform: translate(0px);
}

section .card .box .contentBox div h2
{
    color: white;
    font-size: 16px;
    letter-spacing: 1px;

}
section .card .box .contentBox div p
{
    font-family: "Arial Narrow";
    color: white;
    font-size: 11px;
    letter-spacing: 0.5px;
    line-height: 120%;
}


section .card .box .contentBox div li
{
    font-family: "Arial Narrow";
    color: white;
    font-size: 11.5px;
    letter-spacing: 0.5px;
    line-height: 120%;
}

.button {
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.button2 {
    background-color: white;
    color: #3471e3;
   /* border: 2px solid #ffdd07;*/
}

.button2:hover {
    background-color: #ffdd07;
    color: #3471e3;
}

