* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;

}

:root {
    --main-transetion: 2s;
}

body {
    height: 100vh;
    font-size: 100%;
    background: linear-gradient(0deg, #3f51b5, #9E9E9E);
}

.contaner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contaner section {
    width: 300px;
    background-color: azure;
    margin: 10px;
    text-align: center;
    padding: 5px;
    display: inline-block;
    position: relative;
    height: 230px;
    border-radius: 10px;
    transition: var(--main-transetion);
}
.contaner h1{
    margin-bottom: 60px;
    font-style: oblique;
}
.contaner img {
    border-radius: 10px;
    width: 200px;
    height: 250px;
    position: absolute;
    inset: 0;
    top: -20%;
    left: 15%;
    /* transition: 2s cubic-bezier(0.45, 1.09, 0.12, 0.53); */
    transition: 1s ease-in-out;
}

.contaner .contant {
    opacity: 0;
    transition: var(--main-transetion);

}
.contant a{

    text-decoration-style: double;
    color: #4859b3;
}
.contant p{
    text-align: justify;
    padding: 5px;
    text-indent: 16px;
}
section:hover {
    height: 350px;

}

section:hover img {
    border-radius: 30px;
    cursor: pointer;
    transform: rotate(360deg);

}

section:hover .contant {
    display: block;
    margin-top: 209px;
    opacity: 1;
}
@media(max-width:480px){
    .contaner img {
        left: 16%;
    }
}