/* Global Reset & Body Styling */
/* Import Montserrat for headings */
    @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    margin: 0;
	padding: 0;
    box-sizing: border-box;
    font-family: 'Futura Bk BT', sans-serif; /* Using Inter, fallback to generic sans-serif */
    background-color: #FFFFFF; /* White background for the "canvas" */
    color: #333333; /* Dark gray font color */

    /* Flexbox for perfect vertical and horizontal centering */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;     /* Center vertically */
    min-height: 100vh;       /* Full viewport height */
	overflow: hidden;        /* Prevent scrollbars if content slightly overflows */
}

 /* Headings use Montserrat */
 h2, h3, h4 {
 	font-family: 'Montserrat', sans-serif;
    color: #333333;
    margin-bottom: 0.5em;
}

/*Footer*/
.footer {
    position:absolute;
    bottom:20px;
    left:0;
    width:100%;
    text-align:center;
    color:#aaaaaa;
    font-size:0.9rem;
    padding:0 10px;
}

.footer a {
    color:#aaaaaa;
    text-decoration:none;
    cursor:pointer;
}

.footer a:hover {
	text-decoration:underline;
}

/*Modaloverlay*/
.modal-overlay {
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    background-color:rgba(0,0,0,0.6);
    display:none;
    justify-content:center;
    align-items:flex-start;
    padding:20px;
    z-index:1000;
    overflow-y:auto;
}

/*Modalcontent*/
.modal-content {
    background-color:#ffffff;
    max-width:800px;
    width:100%;
    margin:0auto;
    border-radius:8px;
    /*topandsidepadding:30px;bottompadding:60pxtoaddextraspace*/
    padding:30px 30px 60px;
    position:relative;
    box-shadow:02px 10px rgba(0,0,0,0.1);
    /*ensuretheboxneverexceedsviewportheightminusoverlaypadding*/
    max-height:calc(100vh - 40px);
    overflow-y:auto;
}

/*Paragraphspacing*/
.modal-section p {
    margin-bottom:1em;
    color:#444444;
    font-size:0.95rem;
    line-height:1.5;
}

/*Listsindentationandspacing*/
.modal-section ul {
    margin-left:1.5em;
    margin-bottom:1em;
}
.modal-section li {
	margin-bottom:0.5em;
}

/*Linksinsidemodal*/
.modal-section a {
    color:#0066cc;
    text-decoration:none;
}

.modal-section a:hover {
	text-decoration:underline;
}

/*Closebutton*/
.modal-close {
    position:absolute;
    top:16px;
    right:16px;
    font-size:1.4rem;
    background:none;
    border:none;
    color:#555555;
    cursor:pointer;
}

.modal-close:hover {
	color:#000000;
}

/*Responsiveadjustments*/
@media(max-width:600px) {
    .logo-containerimg{
    max-width:60%;
}

.footer {
    bottom:10px;
    font-size:0.85rem;
}

.modal-content{
	padding:20px20px40px;/*slightlyreducedpaddingonsmallscreens*/
}
