<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>M|System Solutions</title>
    <style>
        @font-face {
            font-family: 'Varela Round';
            src: url('tools/fonts/VarelaRound-Regular.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }
        body, html {
            font-family: "Varela Round", sans-serif;
            margin: 0;
            padding: 0;
            width: 100vw;
            height: 100vh;
            background-color: #F5F5F5;
            overflow: hidden;
        }
        .header, .footer {
            width: 100%;
        }
        .remarks {
            height: 20vh;
        }
        .tools {
            height: 45vh;
        }
        #dropdownMenu {
            width: 100%;
            border: 0px solid #ccc;
            height: 30px;
            font-family: "Varela Round", sans-serif;
        }
        .content-container {
            font-family: "Varela Round", sans-serif;
            height: 30vh;
            background-color: #F5F5F5;
            overflow: hidden;
            margin-left: 5px;
        }
        .content {
            font-family: "Varela Round", sans-serif;
            width: 100%;
            height: 100%;
            display: none;
        }
        .content.active {
            font-family: "Varela Round", sans-serif;
            display: block;
            overflow: hidden;
        }
        iframe {
            font-family: "Varela Round", sans-serif;
            width: 100%;
            height: 100%;
            border: none;
        }
    </style>
</head>
<body>
    <div class="remarks">
        <iframe src="tools/remarks.htm"></iframe>
    </div>
    <div class="tools">
        <iframe src="tools/calc.htm"></iframe>
    </div>
    <div class="dropdown-container">
        <select id="dropdownMenu" onchange="showContent()">
            <option value="BibleVerse">-----</option>
            <option value="translateID">Translate ID (How to)</option>
            <option value="bookingdates">Booking Date Adjusted</option>
            <option value="VIP">VIP</option>
        </select>
    </div>
    <div class="content-container">
        <div id="BibleVerse" class="content active">
            <iframe src="https://www.biblegateway.com/votd/get?format=html"></iframe>
        </div>
        <div id="translateID" class="content">
            <iframe src="tools/translateid.htm"></iframe>
        </div>
        <div id="bookingdates" class="content">
            <iframe src="tools/bookingdates.htm"></iframe>
        </div>
        <div id="VIP" class="content">
            <iframe src="tools/VIP.htm"></iframe>
        </div>
    </div>
    <script>
        function showContent() {
            const contents = document.querySelectorAll('.content');
            contents.forEach(content => content.classList.remove('active'));

            const selectedValue = document.getElementById('dropdownMenu').value;

            const selectedContent = document.getElementById(selectedValue);
            if (selectedContent) {
                selectedContent.classList.add('active');
            }
        }

        document.addEventListener("DOMContentLoaded", function() {
            document.getElementById('dropdownMenu').value = 'BibleVerse';
            showContent();
        });
    </script>
</body>
</html>
