@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900&display=swap');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
.modal{
    background: #03a9f4;
    height: 1px;
    overflow: hidden;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: width 0.5s ease 0.5s, height 0.5s ease;
    width: 0;
}
.info{
    color: transparent;
    font-size: 2em;
    position: absolute;
    top: 50%;
    text-align: center;
    transform: translate3d(0, -50%, 0);
    transition: color 0.5s ease;
    width: 100%;
}

label{
    padding: 10px 25px;
    top: 20px;
    background: var(--clr);
    text-decoration: none;
    color: #FFF;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    text-align: center;
    transition: color 0.5s ease 0.5s;
    opacity:0.5;
}
label:hover {
    opacity: 1;
    transition: 0.5s;
}

input {
    cursor: pointer;
    height: 0;
    opacity: 0;
    width: 0;
}

input:focus {
    outline: none;
}

input:checked{
    height: 40px;
    opacity: 1;
    position: fixed;
    right: 20px;
    top: 12px;
    z-index: 1;
    -webkit-appearance: none;
    width: 40px;
}

input:checked::before,
input:checked::after {
    border-top: 1px solid #fff;
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 100%;
}

input:checked::after {
    transform: rotate(-45deg);
}

input:checked + label{
    color: #fff;
    transition: color 0.5s ease;
}

input:checked ~ .modal{
    height: 100%;
    width: 100%;
    transition: width: 0.5s ease, height 0.5s ease 0.5s;
}

input:checked ~ .modal .info{
    color: #fff;
    transition: color 0.5s ease 0.5s;
}

body
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #FFF;
}
.container{
    display: flex;
    justify-content: center;
    position: absolute;
    top: 48%;
    align-items: center;
    flex-wrap: wrap;
    padding: 50px 0;
    gap: 40px 60px;
}
.container .droplet
{
    position: relative;
    width: 350px;
    height: 350px;
    box-shadow: inset 20px 20px 20px rgba(0,0,0,0.05),
    25px 35px 20px rgba(0,0,0,0.05),
    25px 30px 30px rgba(0,0,0,0.05),
    inset -20px -20px 25px rgba(255,255,255,0.9);
    transition: 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}
.container .droplet:nth-child(1)
{
    border-radius: 35% 65% 31% 69% / 57% 59% 41% 43%;
}
.container .droplet:hover
{
    border-radius: 50%;
}
.container .droplet .content
{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 40px;
    gap: 15px;
}
.container .droplet .content h2
{
    position: relative;
    width: 80px;
    height: 80px;
    background: #eff0f4;
    border-radius: 50%;
    box-shadow: inset 2px 5px 10px rgba(0,0,0,0.0.1),
    inset -2px -5px 10px rgba(255,255,255,0.9);
    15px 15px 10px rgba(0,0,0,0.05),
    15px 10px 15px rgba(0,0,0,0.025);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    color: var(--clr);
}
.content h2
{
    position: absolute;
    transform: translate(-50%,-100%);
    font-size: 5em;
}
.content h2:nth-child(1)
{
    color: transparent;
    -webkit-text-stroke: 2px #03a9f4;
}
.content h2:nth-child(2)
{
    color: #03a9f4;
    animation: animate 4s ease-in-out infinite;
}
@keyframes animate
{
    0%,100%
    {
        clip-path: polygon(0% 45%, 15% 44%, 32% 50%, 54% 60%, 70% 61%, 84% 59%, 100% 52%, 100% 100%, 0% 100%);
    }
    50%
    {
        clip-path: polygon(0% 60%, 16% 65%, 34% 66%, 51% 62%, 67% 50%, 84% 45%, 100% 46%, 100% 100%, 0% 100%);
    }
}

footer{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-top: 40px;
    background: #FFF;
    height: auto;
    width: 100vw;
    font-family: 'Poppins', sans-serif;
    color: #fff;
}
.footer-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.socials{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 3rem 0;
}
.socials li{
    margin: 0 10px;
}
.socials a{
    text-decoration: none;
    color: #E8E8E8;
}
.socials a i{
    font-size: 1.1rem;
    transition: color .4 ease;

}
.socials a:hover i {
    color: #808080;
}

.footer-bottom{
    background: #000;
    width: 100vw;
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p{
    font-size: 14px;
    word-spacing: 2px;
}
