﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100%;
    width: 100%;
    text-align: center;
    background: #f2f2f2;
}

.wrapper {
    width: 90%;
    height: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px auto;
}

.box {
    width: 270px;
    height: 300px;
    position: relative;
    border: ridge #f2f2f2;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 255, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    overflow: hidden;
    cursor: pointer;
    margin: 10px 5px;
}

    .box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        align-items: center;
    }

.info {
    display: grid;
    place-content: center;
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, rgba(135, 206, 250, 0.8), rgba(135, 206, 250, 0.5));
    transition: all 0.5s linear;
    clip-path: circle(0% at 50% 50%);
    
}

    .info h2 {
        font-family: impact;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 30px;
        color: #ffffff;
        line-height: 1.5;
        letter-spacing: 2px;
    }

    .info p {
        font-size: 15px;
        color: #ffffff;
        line-height: 1.6;
    }

.box:hover .info {
    clip-path: circle(70% at 50% 50%);
}
