* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
    display: flex;
    align-content: center;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}




h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    line-height: 1.8rem;;
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    padding: 15px;
    margin: 10px;
    width: 300px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}



.card:hover {
 color: white;
}


.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #007bff;
    transform: translateY(98%);
    transition: all 1s ease;
    opacity: 1;
    color : #fff;
    z-index: -1;
}

.card:hover::before {
    transform: translateY(0%);
    background-color:rgb(7, 90, 117);
}


.card2 {
    position: relative;
    overflow: hidden;
    transition: all 1s ease;
    padding: 15px;
    margin: 10px;
    width: 300px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.card2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: red;
    clip-path: circle(10% at 100% 0%);
    
    transition: all 1s ease;
    opacity: 1;
    color : #fff;
    z-index: -1;
}

.card2:hover::before {
    clip-path: circle(100% at 50% 50%);
    background-color:rgb(183, 25, 33);
}

.card2:hover {
    color: white;
}



.card3 {
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    padding: 15px;
    margin: 10px;
    width: 300px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.card3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(14, 127, 33);
    transform: scale(0);
    transition: all .5s ease;
    opacity: 1;
    color : #fff;
    z-index: -1;
}

.card3:hover::before {
   transform: scale(1);
    background-color:rgb(67, 90, 58);
}

.card3:hover {
    color: white;
}


.card4 {
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    padding: 15px;
    margin: 10px;
    width: 300px;
    padding: 20px;
    border-radius: 0px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}


.card4:hover {
    transform: rotate(3deg);
    color: navy;
    border-radius: 40px;
}
