* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    height: 100vh;
    width: 100%;
    background: linear-gradient(to right, #3f6f9f, #1e3c72);
    color: white;
}

#main {
    padding: 60px 0px;
}

.container {
    padding: 10px 10%;
}

nav {
    margin: 1rem;
    padding: 15px;
    display: flex;
    align-items: center;
    color: #ffffff;
    border-bottom: 2px solid #00d9ff;
    box-shadow: 0px 4px 10px rgba(0, 217, 255, 0.2);
}

.logo {
    width: 160px;
    background: #ffffff;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.1);
}

nav p {
    margin-left: 1rem;
    font-size: 16px;
    opacity: 0.8;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.col-1 {
    flex-basis: 60%;
}

.sub-title {
    /* text-shadow: 0 0 15px #00d9ff; */
    text-shadow: 0 0 10px black;
    font-size: 60px;
    font-weight: 700;
    color: #00d9ff;
    margin-bottom: 1rem;
    transition: color 0.3s ease-in-out;
}
.description {
    font-size: 18px;
    opacity: 0.9;
    transition: transform 0.3s ease-in-out;
    color: #ffffff;
}

.description:hover {
    transform: scale(1.02);
}

.col-2 {
    flex-basis: 35%;
    margin-top: -2rem;
}

.calculator {
    margin-top: -15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border: 2px solid #00d9ff;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0px 0px 20px rgba(0, 217, 255, 0.4);
    transition: transform 0.3s ease-in-out;
    color: #ffffff;
}

.calculator:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 25px rgba(3, 208, 249, 0.4);
}

.calculator h2 {
    text-shadow: 0 0 10px black;
    font-weight: 700;
    margin-bottom: 1rem;
}

input {
    margin: 5px 0;
    width: 100%;
    height: 2rem;
    padding: 1rem;
    /* border: 2px solid #00d9ff; */
    border-radius: 1rem;
    background-color: rgba(37, 36, 36, 0.2);
    color: white;
    transition: background-color 0.3s ease-in-out, border 0.3s ease-in-out;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

input:hover,
input:focus {
    background-color: rgba(46, 44, 44, 0.3);
    border: 2px solid #00ffdd;
    outline: none;
}

button {
    margin: 1rem 0;
    padding: 0.5rem;
    font-size: 1rem;
    width: 100%;
    border-radius: 15px;
    border: none;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

button:hover {
    background: #00d9ff;
    color: white;
    transform: scale(1.1);
}

#ans {
    font-size: 22px;
    /* font-weight: bold; */
    margin-top: 10px;
    transition: color 0.5s ease-in-out;
}

@media screen and (max-width: 599px) {
    nav p {
        display: none;
    }

    .col-1,
    .col-2 {
        flex-basis: 100%;
    }

    .col-1 {
        margin-bottom: 30px;
        font-size: 14px;
    }

    .col-2 {
        margin-top: 0;
    }

    .sub-title {
        font-size: 40px;
    }

    .row {
        margin-top: 0px;
    }

    #main {
        padding: 0px 0px;
    }
}

