@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-size: cover;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
}

.title {
    text-transform: uppercase;
    padding-bottom: 30px;
    font-size: 55px;
    letter-spacing: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));

}

.card {
    display: flex;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.4);
    border-radius: 20px 20px 20px 20px;
    margin: 10% 10% 10% 10%;
}

.card-img {
    width: 200;
    height: 600px;
}

.card-body {
    background: linear-gradient(to top, rgb(255, 200, 19), rgb(70, 224, 65), rgb(255, 255, 255));
}

.btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 48px;
    border-radius: 40px;
    font-size: 19px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(45deg, rgb(255, 200, 19), rgb(70, 224, 65), rgb(255, 200, 19));
    background-size: 200%;
    background-position: 0 0;
    z-index: -1;
    border-radius: 40px;
    filter: blur(5px);
    transition: .5s ease;
}

.btn:hover::before {
    background-position: 100% 0;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(45deg, rgb(255, 200, 19), rgb(70, 224, 65), rgb(255, 200, 19));
    background-size: 200%;
    background-position: 0 0;
    z-index: -1;
    border-radius: 40px;
    transition: .5s ease;
}

.btn:hover::after {
    background-position: 100% 0;
}