/* 
/* BasisCMS Styles v2.00 */
/* BasisCMS.dk
    https://htmlcolorcodes.com/colors/shades-of-gray/
    https://www.colorhexa.com/f2f4f9
    https://placehold.co/ 
    #e0eeee rgb(224,238,238) mint
    #6ba7a4 rgb(107,167,164)
    #0b7e7d rgb(11,126,125)
    #83c7c7 rgb(131,199,199)
    #3ba6a1 rgb(59,166,161)
    #96b2ac rgb(150,178,172) 
    #279a9c rgb(39,154,156)
    #044e43 rgb(4,78,67)
    #0c5454 rgb(12,84,84)
*/
    html { scroll-behavior: smooth; }
    body { margin: 0; padding: 0; }
/* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; margin: 0;}
    h3 { font-size: 1.6rem; }
    h4 { font-size: 1.3rem; }
    h5 { font-size: 1.1rem; }
    p { font-size: 1rem; line-height: 1.5;}
    li { font-size: 1rem; line-height: 1.5; padding-bottom: 1rem;}
/* Layout blocks */
    main { position: relative; padding: 0;}
    .c-white, .container, .img-txt-container-left, .img-txt-container-right, .img-section { box-sizing: border-box; /* Add this to your containers */
      width: 100%; }
    .container { padding: 2rem 1rem; }
    .container img {max-width: 100%;}
    .c-black { background-color: black; color: white;}
    .c-black a { text-decoration: none; color: #ffffff; font-weight: 600; }
    .c-black a:hover { color: #e0eeee; text-decoration: underline; }
    .c-black a:visited { color: #e0eeee; text-decoration: none; }
    .c-white { background-color: white; color: black; }
    .c-white a { text-decoration: none; color: #000000; font-weight: 600; }
    .c-white a:hover { color: #0c5454; text-decoration: underline; }
    .c-white a:visited { color: #0c5454; text-decoration: none; }
    .c-mint { background-color: #e0eeee; color: black;}
    .c-mint a { text-decoration: none; color: #000000; font-weight: 600;}
    .c-mint a:hover { color: #000000; text-decoration: underline; }
    .c-mint a:visited { color: #000000; text-decoration: none; }
    .c-left { margin: 0 auto; max-width: 960px; text-align: left; }
    .c-center { margin: 0 auto; max-width: 748px; text-align: center; }
    .img-txt-container-left, .img-txt-container-right {
      display: flex; align-items: center; /* Vertically align items */
      margin: 0 auto; max-width: 960px; }
    .img-txt-image-right { /* image positioned right / bottom (mobile) */
      width: 50%; /* Adjust as needed */
      margin-left: 2rem; }
    .img-txt-image-left { /* image positioned top / left */
      width: 50%; /* Adjust as needed */
      margin-right: 2rem; }
    footer {
      background-color: black; /* Example footer background color */
      color: white; padding: 1rem 2rem; }
    .footer-container {
      display: flex;
      justify-content: space-around; /* Distribute boxes evenly */
      max-width: 1000px; /* Adjust as needed */
      margin: 0 auto; box-sizing: border-box; }
    .footer-box {
      width: 22%; /* Adjust as needed */
      text-align: left; /* Center content within boxes */
    }
    footer p { font-size: 0.8rem; font-family: Tahoma, sans-serif;  color: #ffffff90; }
    footer .header { font-size: 1rem; text-transform: uppercase; font-weight: 600;}
    footer a { text-decoration: underline; color: #ffffff90; }
    footer a:hover { color: #fff; text-decoration: none; }
/* Components */
    .img-section {
        display: flex;
        padding: 0;
        justify-content: center;
    }
    .button {
      background-color: #000000;
      color: #ffffff;
      border: 2px solid #ffffff;
      padding: 15px 32px;
      text-align: center;
      text-decoration: none;
      display: inline-block;
      font-size: 1.2rem;
      margin: 4px 2px;
      box-shadow: 0px 8px 15px #33333340; /* Drop shadow */
      transition: transform 0.5s ease; /* Smooth transition for the hover effect */
    }
    .button:hover {
      transform: translateY(-10px); /* Makes the button move up slightly */
      box-shadow: 0px 15px 20px #33333380; /* More pronounced shadow on hover */
    }    
    .img-section img {
        width: 100%; 
        height: auto; 
        display: block; /* Optional: prevents spacing issues below the image */
    }
    .img-section-cover {
        width: 100%;
        height: 50vh;
        top: 0;
        left: 0;
        background-size: cover; /* or contain, depending on your needs. Set background-image inline */
        background-position: center;
        display: flex; /* Enable flexbox for positioning */
        align-items: center; /* Vertically center content */
        justify-content: center; /* Horizontally center content */
        text-align: center; /* Center the text */
    }
    .img-section-cover > .text-content {
        font-size: 2rem;
        text-transform: uppercase;
        font-weight: 700;
        color: #ffffff;
        overflow: hidden;
        word-wrap: break-word;
    }
    .white-text-on-image {
        font-size: 1.5rem;
        font-weight: 600;
        color: #ffffff;
        background-color: #00000050;
        padding: 1rem;
    }
    .reveal-on-scroll {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; 
    }
    
    .reveal-on-scroll.show {
      opacity: 1;
      transform: translateY(0);
    }
    .logo {
        position: fixed;
        top: 1.2rem;
        left: 1.2rem;
        z-index: 100;
        float: left;
        width: 30px;
        opacity: 0.7;
        transition:
        width 0.3s cubic-bezier(0, 0, 0.58, 1),
        transform 0.3s cubic-bezier(0, 0, 0.58, 1),
        position 0.3s cubic-bezier(0, 0, 0.58, 1),
        opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    }
    .hide-logo {
      opacity: 0; 
    }
    .logo-link {
        border: 0;    
    }
    /* Legacy v.1.17 */
    .indent {margin: 0 6rem;}
    /* Three boxes */
    .three-boxes-flex { display: flex; justify-content: space-between; }
    .box { width: 30%; padding: 1em; background-color: #f2f4f9; border: 1px solid #8A9A5B; margin: 1em 1em 1em 0; box-shadow: 3px 2px 5px #bbb;}
    .last-box {margin: 1em 0 1em 0;}   
    
    /* Navigation */
        nav {
        height: 3rem;
        position: fixed;
        top: 0;
        width: 100%;
        margin: 0 auto;
        z-index: 50;
        padding: 0.5rem;
        display: inline-grid;
        border-bottom: 1px solid #96b2ac;
        background-color: #ffffff80;  /* BG when scrolled */
        backdrop-filter: blur(10px);
        transition: transform 0.8s ease-in-out;
    }
    nav a {
        color: black;
        opacity: 1;
        text-decoration: none;
        margin-right: 1rem;
        text-transform: uppercase;
        font-size: 1rem;

        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, color 0.3s ease-in-out; /* Add transform transition */
    }
    nav img {
        height: 30px;
        width: 30px;
        border: 0;
    }
    button {
        cursor: pointer;
    }
    .nav-button {
        border: none;
        background-color: transparent;
    }
    .nav-button:hover {
        cursor: hand;
    }
    .utility-nav {
        display: flex;
        justify-content: right;
        padding: 0 0.5rem 0 0;
    }
    .main-nav {
        margin: auto;
    }
    .ani-underline {
      display: inline-block;
      position: relative;
    }
    .ani-underline::after {
      content: '';
      position: absolute;
      width: 100%;
      transform: scaleX(0);
      height: 2px;
      bottom: 0;
      left: 0;
      background-color: black;
      transform-origin: bottom right;
      transition: transform 0.25s ease-out;
    }
    .ani-underline:hover::after {
      transform: scaleX(1);
      transform-origin: bottom center;
    }
    .hero {
        width: 100%;
        top: 0;
        left: 0;
        background-size: cover; /* or contain, depending on your needs. Set background-image inline */
        background-position: center;
        display: flex; /* Enable flexbox for positioning */
        flex-direction: column;
        align-items: center; /* Vertically center content */
        justify-content: center; /* Horizontally center content */
        text-align: center; /* Center the text */
    }
	.h-100 {height: 100vh;} /* sizing of hero sections (% of viewport from top) */
	.h-50 {height: 50vh;}
	.h-33 {height: 33vh;}
    .text-below-middle-100 {
        margin: 12rem auto 0 auto;
    }
    .text-below-middle-50 {
        margin: 6rem auto 0 auto;
    }
    .text-below-middle-33 {
        margin: 1rem auto 0 auto;
    }
    .text-middle {
        margin: auto;
    }
    .text-above-middle-100 {
        margin: 0 auto 12rem auto;
    }
    .text-above-middle-50 {
        margin: 0 auto 6rem auto;
    }
    .text-above-middle-33 {
        margin: 0 auto 1rem auto;
    }
    .fade-in-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: white;
        animation: fade-out 1s linear forwards;
    }
    @keyframes fade-out {
    0% { opacity: 1; }
    20% { opacity: 1; }
    60% { opacity: 0; }
    100% { opacity: 0; }
    }
    .text-content {
        color: #ffffff;
        font-weight: 700;
        font-size: 3rem;
        text-shadow: 2px 2px 4px black;
    }
    /* Table Styles */
    table {
        width: 100%;
        border-collapse: collapse;
        overflow-x: auto;
    }
    th, td {
        border: 1px solid black;
        padding: 8px;
        text-align: left;
    }
    .check-list::before {
      content: url('/images/check-icon.svg');
      display: inline-block;
      height: 1em;
      width: 1em;
      margin-right: 0.5em; }
    .arrow-right::before {
      content: url('/images/arrow-right.svg');
      display: inline-block;
      height: 1em;
      width: 1em;
      margin-right: 0.5em; }
    .tip::before {
      content: url('/images/tip-icon.svg');
      display: inline-block;
      height: 1em;
      width: 1em;
      margin-right: 0.5em; 
    }
    .number-one::before {
      content: url('/images/1-one.svg');
      display: inline-block;
      height: 1em;
      width: 1em;
      margin-right: 0.5em; }

    /* Media Queries */
    @media (max-width: 960px) {
	    h1 { font-size: 1.6rem; }
		h2 { font-size: 1.4rem; }
		h3 { font-size: 1.3rem; }
		h4 { font-size: 1.2rem; }
		h5 { font-size: 1.1rem; }
        nav {
            justify-content: right; /* Align items to the right */
            padding: 1.5rem 3rem 1.5rem 0;
        }
        .container {
            padding: 1rem 0.5rem;
        }
        nav a {
            font-size: 0.8rem;
        }
        .text-content {font-size: 1.5rem;}
        .white-text-on-image {font-size: 1rem; padding: 0.25rem;}
		.text-below-middle-100 {
			margin: 6rem auto 0 auto;
		}
		.text-below-middle-50 {
			margin: 3rem auto 0 auto;
		}
		.text-below-middle-33 {
			margin: 0 auto 0 auto;
		}
		.text-middle {
			margin: auto;
		}
		.text-above-middle-100 {
			margin: 0 auto 2rem auto;
		}
		.text-above-middle-50 {
			margin: 0 auto 0 auto;
		}
		.text-above-middle-33 {
			margin: 0 auto 0 auto;
		}
	}
    @media (max-width: 800px) {
        .hidden-nav {
          transform: translateY(-100%); /* Or whatever you use to hide the nav - diable to show nav on mobile on load */
        }
        main { padding: 0; }
        nav {
            height: auto; /* Allow the nav to shrink */
            padding: 1rem 0;
            justify-content: flex-end; /* Align items to the right */
            flex-direction: column; 
            align-items: flex-end;
            transition: transform 0.8s ease-in-out; /* Add transition for smooth effect */
        }
        .main-nav {
            display: flex;
            flex-direction: column;
            align-items: inherit;
        }
        nav a {
            margin-right: 0; /* Remove right margin */
            padding-bottom: 0.8rem; /* Add bottom margin for spacing */
            padding-right: 0.8rem;
            font-size: 0.8rem;
        }
        .img-txt-container-left {
            flex-direction: column; /* Stack vertically */
        }
        .img-txt-container-right {
            flex-direction: column-reverse; /* Stack vertically */
        }
    .txt-container {margin: 0.5rem;}
    .img-txt-image-left, .img-txt-image-right {
            width: 100%; /* Image takes full width */
            margin-right: 0;
            margin-left: 0;
            margin-bottom: 1rem; 
        }
        .footer-container {
            flex-direction: column;
            align-items: center; 
          }
        .three-boxes-flex { flex-direction: column; }
        .box { width: 90%; margin: 0 0 1em 0; box-shadow: none; background-color: #fff; border: 1px solid #8A9A5B;}
        .last-box {margin: 0 0 1em 0;}       
        .footer-box {
            width: 100%; 
            margin-bottom: 20px; 
        }
        /* Legacy v.1.17 */
        .indent {margin: 0 1rem;}
    }
    @media (max-width: 600px) {
        table {
            display: block;
            width: 100%;
        }
            thead {
            display: none;
        }
        tr {
            display: block;
            margin-bottom: 10px;
        }
        td {
            display: block;
        }
        tr td:first-child { 
          background-color: lightgray; 
        }
    }