html, body {
    height: 100%;
    padding: 0;
    margin: 0;
    margin-left: 3px;
    margin-right: 5px;
    font-family: Arial;
}

.container-fluid {
    height: 100%;
}

header {
    background-color: white;
}

#banner-img {
    z-index: 0;
    width: 100%;
}

#banner-heading {
    z-index: 1;
    margin-top: -50px;
    margin-left: 20px;
}

#banner-heading-wrapper {
    position: relative;
    z-index: 1;
    margin-left: 60px;
    margin-right: 60px;
    background-color: white;
    box-shadow:1px 1px grey;
    border-radius: 10px;
}

a.nav-link {
    color: green;
    padding-right: 60px;
    font-size: 16px;
}

.sign {
    color: green;
    background-color: darkgrey;
}

#toggle {
    display: none;
}

main {
    background-color: white;
}

.main-wrap .btn1 {
    position: absolute;
    top: 70%;
    left: 40%;
    transform: translate(-40%, -70%);
    -ms-transform: translate(-40%, -70%);
}

.main-wrap .btn2 {
    position: absolute;
    top: 70%;
    left: 60%;
    transform: translate(-60%, -70%);
    -ms-transform: translate(-60%, -70%);
}

.card {
    border: 1px solid green;
    height: 250px;
}

.card-attention {
    border: 1px solid blue;
    height: 250px;
}

.card-title {
    padding-top: 20px;
    padding-left: 20px;
}

    .card-title > span {
        padding-left: 10px;
    }

.card-body {
    padding-top: 0;
    padding-left: 20px;
    color: black;
}

a:hover {
    text-decoration: none;
}

footer {
    background-color: white;
}


li.mitems:hover {
    background-color: #ffa07a;
    color: #E2FFD2;
}

.fab {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-right: 40px;
    padding-top: 20px;
    font-size: 30px;
    width: 30px;
    text-align: center;
    text-decoration: none;
    color: blue;
}

    .fab:hover {
        color: red;
    }

.card:hover {
    opacity: 0.5;
}

.button-position {
    position: absolute;
    right: 20px;
    top: 0px;
}

.modal-dialog.a02module1achoose {
    width: 768px;
    top: 10%;
    left: 5%;
    max-width: 768px; /* New width for default modal */
}

@media only screen and (max-width: 1200px) {
    .modal-dialog.a02module1achoose {
        width: 768px;
        top: 10%;
        left: 5%;
        max-width: 768px; /* New width for default modal */
    }
    #banner-img {
        position: relative;
        z-index: 0;
    }

    #banner-heading-wrapper {
        position: relative;
        z-index: 1;
        background-color: white;
        margin-left: 50px;
        margin-right:50px;
    }

    #banner-heading {
        z-index: 1;
        margin-top: -25px;
        font-size: 25px;
        margin-left: 15px;
    }
    .main-wrap .btn1 {
        position: absolute;
        top: 70%;
        left: 37%;
        transform: translate(-37%, -70%);
        -ms-transform: translate(-37%, -70%);
    }

    .main-wrap .btn2 {
        position: absolute;
        top: 70%;
        left: 70%;
        transform: translate(-70%, -70%);
        -ms-transform: translate(-70%, -70%);
    }
}

@media only screen and (max-width: 820px) {
    .modal-dialog.a02module1achoose {
        width: 100%;
        top: 0%;
        left: 0%;
        max-width: 768px; /* New width for default modal */
    }

    #banner-heading-wrapper {
        position: relative;
        z-index: 1;
        margin-left: 40px;
        margin-right: 40px;
        background-color: white;
    }

    #banner-heading {
        z-index: 1;
        margin-top: -25px;
        font-size: 25px;
        margin-left: 10px;
    }

    .button-position {
        position: absolute;
        right: 10px;
        top: 0px;
    }

    .main-wrap .btn1 {
        position: absolute;
        top: 70%;
        left: 30%;
        transform: translate(-30%, -70%);
        -ms-transform: translate(-30%, -70%);
    }

    .main-wrap .btn2 {
        position: absolute;
        top: 70%;
        left: 70%;
        transform: translate(-70%, -70%);
        -ms-transform: translate(-70%, -70%);
    }

}

@media only screen and (max-width: 768px) {
    .modal-dialog.a02module1achoose {
        width: 100%;
        top: 0%;
        left: 0%;
    }
}

    @media only screen and (max-width: 600px) {
        .modal-dialog.a02module1achoose {
            width: 100%;
            top: 0%;
            left: 0%;
            max-width: 600px; /* New width for default modal */
        }

        .nav {
            display: none;
        }

        a.nav-link > li {
            display: none;
        }

        #toggle {
            align-self: flex-end;
            display: initial;
            position: absolute;
            cursor: pointer;
        }

        #banner-heading-wrapper {
            position: relative;
            z-index: 1;
            margin-left: 20px;
            margin-right: 20px;
            background-color: white;
        }

        #banner-heading {
            z-index: 1;
            margin-top: -5px;
            font-size: 25px;
            margin-left: 5px;
        }

        .main-wrap .btn1 {
            position: absolute;
            top: 70%;
            left: 20%;
            transform: translate(-20%, -70%);
            -ms-transform: translate(-20%, -70%);
        }

        .main-wrap .btn2 {
            position: absolute;
            top: 70%;
            left: 75%;
            transform: translate(-75%, -70%);
            -ms-transform: translate(-75%, -70%);
        }

        .card {
            border: 1px solid green;
            height: auto;
        }

        .card-attention {
            border: 1px solid blue;
            height: auto;
        }

        .modal-backdrop {
            /* bug fix - no overlay */
            display: inline-block;
        }
    }

    @media only screen and (max-width: 414px) {
        .modal-dialog.a02module1achoose {
            width: 100%;
            top: 0%;
            left: 0%;
            max-width: 414px; /* New width for default modal */
        }

        .nav {
            display: none;
        }

        a.nav-link > li {
            display: none;
        }

        #toggle {
            align-self: flex-end;
            display: initial;
            position: absolute;
            cursor: pointer;
        }

        #banner-heading-wrapper {
            position: relative;
            z-index: 1;
            margin-left: 20px;
            margin-right: 20px;
            background-color: white;
        }

        #banner-heading {
            z-index: 1;
            margin-top: -5px;
            font-size: 25px;
            margin-left: 5px;
        }

        .main-wrap .btn1 {
            position: absolute;
            top: 70%;
            left: 20%;
            transform: translate(-20%, -70%);
            -ms-transform: translate(-20%, -70%);
        }

        .main-wrap .btn2 {
            position: absolute;
            top: 70%;
            left: 75%;
            transform: translate(-75%, -70%);
            -ms-transform: translate(-75%, -70%);
        }

        .card {
            border: 1px solid green;
            height: auto;
        }

        .card-attention {
            border: 1px solid blue;
            height: auto;
        }

        .modal-backdrop {
            /* bug fix - no overlay */
            display: inline-block;
        }
    }

@media only screen and (max-width: 375px) {
    .modal-dialog.a02module1achoose {
        width: 100%;
        top: 0%;
        left: 0%;
        max-width: 375px; /* New width for default modal */
    }
}