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

.container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #153677, #4e085f);
}

.gpa-cal{
    width: 100%;
    max-width: 540px;
    background: #fff;
    margin: 100px auto 20px;
    padding: 40px 30px 70px;
    border-radius: 10px;
}

.gpa-cal h2{
    color: #002765;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.gpa-cal h2 img{
    width: 30px;
    margin-left: 10px;
}

.row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #edeef0;
    border-radius: 30px;
    padding-left: 20px;
    margin-bottom: 25px;
}

.button{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

input{
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px;
    font-weight: 14px;
}

button{
    border: none;
    outline: none;
    padding: 16px 50px;
    background: #ff5945;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 40px;
}

button:hover{
    background: #d84a3a;
}

a {
    padding-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #edeef0;
    text-decoration: none;
}

#result {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #28a745;
}

@media (max-width: 600px) {
    .gpa-cal {
        width: 75%;
        max-width: 540px;
        margin: 20px;
        padding: 20px;
        border-radius: 10px;
    }

    .row {
        flex-direction: column;
        padding-left: 0;
    }

    input {
        margin-bottom: 10px;
        width: 80%;
        text-align: center;
    }

    button {
        padding: 12px 30px;
        font-size: 12px;
    }
}
