.button {
       font-family: monospace;       
       font-size: 1.1em;
       font-weight:bold;  
       padding: 5px;
       background-color: #e6e6e6;
       color: black;
       text-decoration: none;
       border-radius: 3px;
       border-width: 3px;
       display: block;
       width: 100%;
       box-sizing: border-box;
       border: 2px solid #cccccc;
       }
.button:hover {
       background-color: #404040;
       color: white;
       font-size: 1.2em; 
       font-weight: bold;
}

.docbutton {
       font-family: monospace; 
       font-style: normal;      
       font-size: 0.9em;
       font-weight:bold;  
       padding: 1px;
       background-color: #f2f2f2;
       color: black;
       text-decoration: none;
       border-radius: 3px;
       border-width: 3px;
       display: block;
       width: 100%;
       box-sizing: border-box;
       border: 2px solid #e6e6e6;
       position: relative;
       }
.docbutton:hover {
       background-color: #404040;
       color: white;
       font-size: 1.2em; 
       font-weight: bold;
}

.button2 {
       font-family: ui-serif, Georgia, 'Times New Roman', Times, serif;     
       font-size: 1em;
       font-weight:bold;  
       padding: 5px;
       background-color: #e6e6e6;
       color: black;
       text-decoration: none;
       border-radius: 3px;
       border-width: 3px;
       display: block;
       width: 100%;
       box-sizing: border-box;
       border: 2px solid #cccccc;
       text-align: left;
       }
.button2:hover {
       background-color: #404040;
       color: white;
       font-size: 1.2em; 
       font-weight: bold;
}

.back-button {
       font-family: monospace;       
       font-size: 1em;
       font-weight:bold;  
       padding: 5px;
       background-color: black;
       color: white;
       text-decoration: none;
       border-radius: 3px;
       border: none;
       display: block;
 }
 
 .back-button:hover {
       background-color: #1a1a1a;
       font-size: 1.2em; 
       font-weight: bold;
}

.ibutton {
       font-family: monospace; 
       font-style: normal;      
       font-size: 0.9em;
       font-weight:bold;  
       background-color: black;
       color: white;
       text-decoration: none;
       border: 2px solid #e6e6e6;
       inline-size: 100%;
       position: relative;
       width: fit-content(100)
       padding: 10px;
       border: 2px solid white;
       margin: 0px;
       height: 1em;
       }
.ibutton:hover {
       background-color: #404040;
       color: white;
       font-size: 1.2em; 
       font-weight: bold;
}

.popup {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
}

.popup-content {
    background-color: white;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    font-family: monospace;       
    font-size: 1.1em;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

@media screen and (min-width: 100px) {
.button {
       font-size: 0.6em;
       }
.button:hover {
       font-size: 0.8em; 
       }
.button2 {
       font-size: 0.6em;
       }
.button2:hover {
       font-size: 0.8em; 
       }
}

@media screen and (min-width: 180px) {
.button {
       font-size: 0.7em;
       }
.button:hover {
       font-size: 0.8em; 
       font-weight: bold;
       }     
.button2 {
       font-size: 0.7em;
       }
.button2:hover {
       font-size: 0.8em; 
       font-weight: bold;
       }   
}

@media screen and (min-width: 320px) {
 .button {
       font-size: 0.7em;
       }
.button:hover {
       font-size: 0.8em; 
       }
.button2 {
       font-size: 0.7em;
       }
.button2:hover {
       font-size: 0.8em; 
       }
}

@media screen and (min-width: 400px) {
.button {
       font-size: 0.9em;
       }
.button:hover {
       font-size: 1em;
       }
.button2 {
       font-size: 0.9em;
       }
.button2:hover {
       font-size: 1em;
       }
}

@media screen and (min-width: 480px) {
.button {       
       font-size: 1em;
       font-weight: 600;
       }
.button:hover {
       font-size: 1.1em; 
       }
.button2 {       
       font-size: 1.1em;
       font-weight: 600;
       }
.button2:hover {
       font-size: 1.1em; 
       }
}

@media screen and (min-width: 720px) {
.button {
       font-family: monospace;       
       font-size: 1.1em;
       font-weight:bold;  
       padding: 5px;
       background-color: #e6e6e6;
       color: black;
       text-decoration: none;
       border-radius: 3px;
       border-width: 3px;
       display: block;
       width: 100%;
       box-sizing: border-box;
       border: 2px solid #cccccc;
       }
.button:hover {
       background-color: #404040;
       color: white;
       font-size: 1.2em; 
       font-weight: bold;
       }
.button2 {  
       font-size: 1.1em;
       font-weight:bold;  
       padding: 5px;
       background-color: #e6e6e6;
       color: black;
       text-decoration: none;
       border-radius: 3px;
       border-width: 3px;
       display: block;
       width: 100%;
       box-sizing: border-box;
       border: 1px solid #f2f2f2;
       }
.button2:hover {
       background-color: #404040;
       color: white;
       font-size: 1.1em; 
       font-weight: bold;
       }   
.popup-content {
    background-color: white;
    margin: 2% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 40%; /* Could be more or less, depending on screen size */
    font-family: monospace;       
    font-size: 1.1em;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}    
}
