/* ==========================================
   NEXTGEN VIRTUAL ACADEMY
   ALERTS LAB
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#EEF3FF;
}

header{
    background:#1E3A8A;
    color:white;
    text-align:center;
    padding:25px;
}

header h1{
    font-size:36px;
}

header p{
    margin-top:8px;
    font-size:18px;
}

.container{
    width:90%;
    max-width:1000px;
    margin:40px auto;
    background:white;
    padding:40px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.container h2{
    text-align:center;
    color:#1E3A8A;
    margin-bottom:30px;
}

.card{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.card button{
    padding:16px;
    border:none;
    border-radius:8px;
    background:#2563EB;
    color:white;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.card button:hover{
    background:#1E40AF;
    transform:translateY(-4px);
}

.result{
    margin-top:30px;
    padding:18px;
    background:#F3F4F6;
    border-left:5px solid #2563EB;
    border-radius:8px;
    font-size:16px;
    font-weight:500;
}

.modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.5);
    justify-content:center;
    align-items:center;
}

.modal-content{
    background:white;
    width:400px;
    padding:30px;
    border-radius:10px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.3);
}

.modal-content h3{
    color:#1E3A8A;
    margin-bottom:15px;
}

.modal-content p{
    margin-bottom:20px;
}

.modal-content button{
    padding:12px 25px;
    border:none;
    border-radius:8px;
    background:#2563EB;
    color:white;
    cursor:pointer;
    font-size:15px;
}

.modal-content button:hover{
    background:#1E40AF;
}

@media(max-width:768px){

    .container{
        width:95%;
        padding:20px;
    }

    .card{
        grid-template-columns:1fr;
    }

    header h1{
        font-size:28px;
    }

    .modal-content{
        width:90%;
    }
}