@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Anton&family=Cantarell:wght@400;700&family=Courgette&family=Domine:wght@400;600;700&family=Gwendolyn:wght@700&family=Lobster&family=Megrim&family=Meow+Script&family=Montserrat:wght@300;600&family=Noto+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&family=Oleo+Script+Swash+Caps&family=Open+Sans:wght@300;400;600&family=Poppins:wght@200;300;700&family=Quicksand:wght@300;400;600;700&family=Roboto:wght@300;400;500;700;900&family=Unna:ital,wght@0,400;0,700;1,400&display=swap');

body{
    background: #edf7ff;
    font-family: 'Quicksand', sans-serif;
}


html,body{
    width: auto !important;
    overflow-x: hidden !important;
}


/* Page section */
#particles-js{
    position: relative;
    height: 390px;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../img/ser.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    z-index: 3;
    margin-bottom: 4%;
}
#particles-js p{
    z-index: 4;
    top: 35%;
}


/* cards */
.head{
    text-transform: capitalize;
    font-family: 'Noto Serif', serif;
    font-style: italic;
    font-weight: 700;
    letter-spacing: -2px;
    position: relative;
    color: rgba(247, 249, 251, 0.755);
    -webkit-text-stroke: 0.1vw #424344;
    width: fit-content;
    white-space: nowrap;
    transition: 0.5s;
}
.head::before{
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    -webkit-text-stroke: 0.1vw transparent;
    overflow: hidden;
    white-space: nowrap;
    background: linear-gradient(to left, #ed213a, #93291e); ;
    -webkit-background-clip: text;
    color: transparent;
    animation: animate 6s linear infinite;
}
@keyframes animate{
    0%,10%
    {
        width: 0%;
    }
    70%, 90%, 100%
    {
        width: 100%;
    }
}



.box{
    position: relative;
    height: 420px;
    width: 300px;
    background: #000;
    box-shadow: 0 30px 30px rgba(0,0,0,.5);
}
@media(max-width: 350px){
    .box{
    width: 100%;
}
}
.imgbx{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.imgbx #im{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.box:hover .imgbx #im{
    opacity: 0;
}
.box .content{
    position: relative;
    bottom: -75%;
    width: 80%;
    height: 70px;
    background: #eee;
    transition: 0.5s;
    overflow: hidden;
    box-sizing: border-box;
    padding: 15px;
}
.box:hover .content{
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
}
.box .content h3{
    margin: 0;
    padding: 0;
    font-size: 22px;
    text-align: center;
    font-weight: bold;
    text-transform: capitalize;
}
.box .content p{
    margin: 5% 0;
    margin-right: 11px;
    padding: 0% auto;
    opacity: 0;
    color: rgb(223, 18, 18);
    transition: 0.5s;
    text-align: justify; 
    font-size: 16px;
    font-weight: bold;
    text-transform: capitalize;

}
.box .content img{
    position: absolute;
    margin: 10px 0 0;
    padding: 0;
    opacity: 0;
    transition: 0.5s;
    width: 85px;
    height: 82px;
    text-transform: capitalize;

}
.box:hover .content p{
    opacity: 1;
    transition-delay: .5s;
    position: absolute;
    top: 50%;
}
.box:hover .content h3{
    position: relative;
    top: 140px;
    text-align: center;
    transition-delay: .5s;
    margin: 0% auto;
}

.box:hover .content img{
    top: 5%;
    left: 35%;
    opacity: 1;
    transition-delay: .5s;
}

