﻿@import url('https://fonts.googleapis.com/css?family=BioRhyme&display=swap');

1body{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: rgb(98, 98, 223);
    font-family: 'BioRhyme', serif;
}

1.container{

    position: relative;
    width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

    /* width: 1000px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; */
}

.box{
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0px;
    1background: #000;
    1box-shadow: 0 30px 30px rgba(0,0,0,.5);

}

.box .imgBx{
    position: absolute;
    top: 0;
    left: 32px;
    width: 48%;
    height: 70%;
}

.box .imgBx img{
    position: absolute;
    top: 0;
    left: 25%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    justify-self: center;
    transition: 0.5s;
}

.box .imgBx:hover img{
    opacity: 1;
}

.box .content{
    position: absolute;
    bottom: 32px;
    left: 0%;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 0px 0px 12px 12px;
    opacity: 0.7;
    transition: 0.5s;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
}

.box .pin{
    position: absolute;
    top: 60px;
    left: 46%;
    z-index: 10;
    opacity: 0;
}

.box:hover .pin img{
    width: 24px;

}

.box:hover .content{
    width: 100%;
    height: 70%;
    bottom: -50px;
    1left: 10%;
    opacity: .85;
    box-shadow: 0 20px 20px rgba(0,0,0,.75);
    z-index: 10;
}

.box:hover .pin{
    opacity: 1;
    transition: 0.5s;
    transition-delay: 0.25s;
}

.box .content h2{
    position: absolute;
    margin: 0px;
    padding: 0px;
    top: 0px;
    font-size: 1.25rem; 
    font-weight: 500;
    1text-align: center;   
}

.box .content p{
    margin: 20px 0 0 0;
    padding: 0;
    opacity: 0;
    line-height: 1.2em;
    transition: 0.5s;
    text-align: left;
}

.box:hover .content p{
    opacity: 1;
    transition-delay: 0.25s;
}

.box .content a{
    margin-bottom: 0px;
}
