body {
    background: linear-gradient(to right, #000000, #420ce4);
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    margin: 0;
    padding: 0;
   }
 .navbar {
     background-color:rgba(255, 255, 255, 0.594);
    padding: 30px;
    text-align: center;
   color: rgb(6, 5, 5);
   }
nav{
      text-align: center;
   }
  .navbar h1 {
            margin: 0;
        }
        a {  
    text-decoration: none;
}
       .container {
    margin-top: 40px;
    text-align: center;
    background-color: #0000008b;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

        .button-container {
            margin-top: 20px;
        }
        .semester-btn {
            background-color:white;
            border: none;
            color: black;
            font-size: 1.5em;
            padding: 15px 30px;
            cursor: pointer;
            transition: background-color 0.3s;
            border-radius: 10px;
            margin: 10px;
            width: 200px;
            height: 200px;
        }
        .semester-btn:hover {
            background-color: hsl(123, 79%, 83%);
        }

        footer {
            text-align: center;
            padding: 15px;
            background-color: #000000;
            color: white;
            font-size: 0.9rem;
            margin-top: 30px;
        }
        
        li{
            display: inline;
            padding-left: 20px;
            color: aliceblue;
            border: 20px;
            background: linear-gradient(to right, #3700ff, #0a0a00);
            border-color: black;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            border-radius: 6px;
            text-align: center;
            padding-right: 10px;
            padding: 5px;
        }
        li:hover{
            box-shadow: 0 8px 20px black;
            background-color: rgba(240, 255, 253, 0.226);
            padding: 10px;
           
        }
    
        ul li a {
            text-decoration: none;
            color: white;
        }

        label, select {
            display: block;
            margin-top: 10px;
            font-size: 1.2em;
            color: #dcdcdc;
        }

        .dropdown {
            padding: 10px;
            font-size: 1em;
            margin-top: 5px;
            width: 100%;
            border-radius: 5px;
            border: 1px solid #555;
            background-color: #333;
            color: #dcdcdc;

        }

        button {
            margin-top: 20px;
            padding: 10px 20px;
            background-color: #004608;
            font-family: 'Times New Roman', Times, serif;
            font-size: 1.2em;
            border: none;
            color: white;
            cursor: pointer;
            border-radius: 5px;
            transition: background-color 0.3s;
        }

        button:hover {
            background-color: #ffffff;
            color: black;
            transform: scale(1.05);
            box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
        }

        .result {
            margin-top: 15px;
            font-size: larger;
            color: #ffffff;
            font-weight: bold;
        }
        .semester-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background-color: white;
            border: none;
            color: black;
            font-size: 1.2em;
            padding: 12px 20px;
            cursor: pointer;
            transition: background-color 0.3s;
            border-radius: 10px;
            margin: 10px;
            width: 250px;
            height: 200px;
        }
        .semester-btn:hover {
            background-color: rgb(139, 255, 139);
            box-shadow: 0 3px 15px white;
        }

        .semester-home {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background-color: white;
            border: none;
            color: black;
            font-size: 1.2em;
            padding: 12px 20px;
            cursor: pointer;
            transition: background-color 0.3s;
            border-radius: 10px;
            margin: 10px;
            width: 400px;
            height: 200px;
        }
        .semester-home:hover {
            background-color: rgb(230, 255, 139);
            box-shadow: 0 3px 15px white;
        }
            .btn-img {
                width: 100px;
                height: 100px;
                border-radius: 8px;
                 float: left;
            }
            .btn-home {
                width: 200px;
                height: 200px;
                border-radius: 8px;
                 float: left;
            }
   @media screen and (max-width: 768px) {
    .navbar h1 {
        font-size: 1.3rem;
    }

    li {
        display: block;
        margin: 5px auto;
        text-align: center;
        font-size: 1rem;
        width: auto;
    }

    .btn-img,
    .btn-home {
        width: 80px;
        height: 80px;
    }

    label, select {
        font-size: 1rem;
    }

    .dropdown {
        font-size: 1em;
        width: 100%;
    }

    button {
        width: 100%;
        font-size: 1.1em;
        padding: 12px;
    }

    .semester-btn,
    .semester-home {
        width: 90%;
        height: auto;
        flex-direction: column;
    }

    .result {
        font-size: 1.2rem;
    }

    footer {
        font-size: 0.8rem;
    }

    img[alt="kcet Logo"] {
        width: 90%;
        height: auto;
    }

    .navbar img {
        width: 50px;
        height: 50px;
    }
}
