*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url(pexels-pixabay-40568.jpg);
    background-size: cover;
}
/* Headings */
h1 {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}
#header {
    background-color:#2c7a7b;
    color: white;
    font-style: inherit;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
   
}
.features {
    display: flex;
    text-align: center;
    justify-items: center;
    color: rgb(7, 48, 7);
    font-style: italic;
    padding-top: 20px ;
    text-decoration: dotted;
}

.container {
    width: 300px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


input, select, button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background: #5cb85c;
    color: white;
    border: none;
}

/* confirmation for the confirmation message */
.confirmation {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    
}

.confirmation-box {
    background-color: rgb(151, 191, 209);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 90%;
    border: 2px solid blueviolet;
}


/* Paragraph styling */
p {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

/* Button styling */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2c7a7b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px;
    font-size: 16px;
}

.button:hover {
    background-color: #285e61;
    transition: background-color 0.3s ease;
}

 /* removed
.img {
    
    background-image: url(pexels-cottonbro-7583382.jpg);
    background-size: cover;
    display: flex;
    justify-content: center;
    text-align: center;
    height: 150px;
    width: 100px;
    margin: 0px;
   
} */
.content {
    flex-wrap: wrap;
    display: flex;
    justify-content:space-evenly;
    align-content: space-evenly ;
}
#doctorList {
    height: 150px;
    width: 300px;
    justify-content: center;
    align-items: center;
    
}
h3 {
    color: #5cb85c;
}
#book {
    background-color:azure;
}

/* Media Queries for responsiveness */

/* For devices with width up to 600px (mobile devices) */
@media screen and (max-width: 600px) {
    body {
        font-size: 14px;
    }

    .container {
        width: 60%;
        margin: 20px auto;
        padding: 15px;
    }

    h1 {
        font-size: 20px;
    }

    .features {
        flex-direction: column;
        padding-top: 10px;
    }

    .img {
        flex-direction: column;
        height: auto;
        width: 100%;
    }

    #doctorList {
        width: 100%;
        height: auto;
        text-align: center;
        justify-content: center;
    }
    #book {
        height: 20px;
    }
}

/* For tablets (width between 601px and 1024px) */
@media screen and (min-width: 601px) and (max-width: 1024px) {
    body {
        font-size: 16px;
    }

    .container {
        width: 50%;
        margin: 30px auto;
    }

    h1 {
        font-size: 22px;
    }

    .features {
        padding-top: 15px;
    }

    .img {
        height: 200px;
        width: 150px;
    }

    /* #doctorList {
        width: 250px;
        height: 200px;
    } */

    #book {
        height: 20px;
    }
}

/* For desktops (width 1025px and above) */
@media screen and (min-width: 1025px) {
    body {
        font-size: 18px;
    }

    .container {
        width: 30%;
    }

    h1 {
        font-size: 24px;
    }

    .features {
        padding-top: 20px;
    }

    .img {
        height: 250px;
        width: 200px;
    }
    
    #book {
        height: 20px;
    }
}