/* code by: Silvia Mazzoni, 2025*/
/* General Layout */
        body {
            font-family: Arial, sans-serif;
			/*text-align:center;*/
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
        }
        .container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            padding: 20px;
        }
        input[type="text"] {
		    /*height: 22px; /* Adjust input height */
		    padding: 1px 2px; /* Reduce padding */
		    font-size: 1em; /* Adjust font size */
		    border: 1px solid #ccc;
		    border-radius: 4px;
		}

        .checkbox-group {
            margin-top: 10px;
        }
        button {
            margin-top: 15px;
            padding: 10px 15px;
            cursor: pointer;
            background: #007bff;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 16px;
        }
        button:hover {
            background: #0056b3;
        }
        #outputString {
            margin-top: 20px;
            font-weight: bold;
            color: #333;
        }        
        
        .iframe-wrapper {
            text-align: center;
            width: 50vw; /* Half of window width */
        }
        .iframe-wrapper a {
            font-size: 14px;
            color: #007bff;
            text-decoration: none;
            display: block;
            margin-bottom: 5px;
            word-wrap: break-word;
        }
        .iframe-wrapper a:hover {
            text-decoration: underline;
        }
        iframe {
        /*    width: 60vw; /* Half of the window width */
        /*    height: calc(60vw * 0.5); /* 2/3 of the iframe's width */
            border: 2px solid #ccc;
            background-color: white;
        }
        
        .image-container {
            position: relative;
            /*width: 500px;*/ /* Set the image size */
        }

        .image-container img {
            /*width: 100%;*/
            /*height: auto;*/
            /*display: block;*/
        }        
        
        .overlay-text {
            position: absolute;
            top: 50%;
            left: 50%;
           /* transform: translate(-50%, -50%);*/
            color: white;
            font-size: 14px;
            font-weight: bold;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add a shadow for better visibility */
        }
        
        .input-group {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .toggle-container {
            display: flex;
            align-items: center;
        }
        .toggle {
            position: relative;
            display: inline-block;
            width: 34px;
            height: 18px;
        }
        .toggle input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .3s;
            border-radius: 18px;
        }
        .slider:before {
            position: absolute;
            content: "";
            height: 14px;
            width: 14px;
            left: 2px;
            bottom: 2px;
            background-color: white;
            transition: .3s;
            border-radius: 50%;
        }
        input:checked + .slider {
            background-color: #007bff;
        }
        input:checked + .slider:before {
            transform: translateX(16px);
        }    