/* Made by KodeWeb.net */
/* Imports */
@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url('navbar.css');
@import url('footer.css');
@import url('checkmark.css');

@font-face {
    font-display: auto;
    font-family: "OpenSansModern";
    font-style: normal;
    font-weight: 300;
    src: url(/fonts/OpenSans300.ttf);
}

@font-face {
    font-display: auto;
    font-family: "OpenSansModern";
    font-style: normal;
    font-weight: 400;
    src: url(/fonts/OpenSans400.ttf);
}

@font-face {
    font-display: auto;
    font-family: "OpenSansModern";
    font-style: normal;
    font-weight: 500;
    src: url(/fonts/OpenSans500.ttf);
}

@font-face {
    font-display: auto;
    font-family: "OpenSansModern";
    font-style: normal;
    font-weight: 700;
    src: url(/fonts/OpenSans700.ttf);
}

:root {
    --color-primary: #2E3F55;
    --color-secondary: #3EACC4;
    --color-tertiary: #F5F5F5;
    --default-mobile-padding: 0 15px;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'OpenSansModern', sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: #333;
    padding: 0;
    margin: 0;
}

html[editmode] body {
    transform: scale(0.95);
    transform-origin: center;
    position: relative;
    z-index: 999999;
    box-sizing: border-box;
    border: 5px dashed crimson;
    /* Other styles specific to body in edit mode */
}

html[editmode] body::before {
    content: 'Redigeringsmodus aktivert';
    position: fixed;
    top: calc(50% + 100px);
    /* Adjust this value as needed */
    left: 50%;
    transform: translate(-65%, -100%) rotate(35deg);
    font-size: 2em;
    /* Adjust font size as needed */
    color: white;
    opacity: 0.75;
    z-index: 9999;
    pointer-events: none;
}

html[editmode] body::after {
    content: 'KLADD';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(35deg);
    background: rgba(0, 0, 0, 0.2);
    z-index: 9998;
    /* Lower than ::before to keep 'KLADD' in the background */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10em;
    color: white;
    opacity: 0.75;
    width: 5000px;
    height: 5000px;
    pointer-events: none;
}

.edit-button {
    position: fixed;
    top: 100px;
    right: 75px;
    background-color: #3592A7;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: background .2s ease-in-out;
}

.edit-button:hover {
    background-color: #273648;
}

.edit-button i {
    pointer-events: none;
}

::-webkit-scrollbar {
    inline-size: 5px;
}

::-webkit-scrollbar-track {
    background: var(--color-tertiary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.margin-top-sm {
    margin: 1.5em 0;
}

.margin-top-md {
    margin: 2.5em 0;
}

.margin-top-lg {
    margin: 3.5em 0;
}

hr.custom5 {
    border: 0;
    border-top: 3px solid lightblue;
    width: 15%;
    margin: 0;
}