@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600&display=swap");

body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    background-color: #232228;
    font-family: "Nunito", sans-serif;
    margin: 0;
}

h2{
    font-size: 32px;
    margin-bottom: 5%;
}

section {
    display: flex;
    gap: 100px;
}

a{
    text-decoration: none;
}



.card {
    width: 350px;
    height: 250px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-transform: capitalize;
    position: relative;
    box-shadow: 2px 10px 25px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}


.green {
    background: radial-gradient(circle at top right, #107667ed 0%, #151419 60%);
}

.orange {
    background: radial-gradient(circle at top right, #ffb74194 0%, #151419 60%);
}

.blue {
    background: radial-gradient(circle at top right, #0a6dd8a7 0%, #151419 60%);
}


.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease-in-out;
}

.card:hover{
    transform: scale(1.05);
    box-shadow: 4px 12px 30px rgba(255, 255, 255, 0.2);
}

.card:hover::before{
    border-color: rgba(255, 255, 255, 0.5);
}

.card h3{
    transition: text-shadow 0.3s ease-in-out;
}

.card:hover h3{
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    section {
        flex-direction: column; 
        align-items: center; 
        gap: 30px; 
    }

    .card {
        width: 280px; 
        height: 200px; 
    }
}
