/* Load FONTILIT font */
@font-face {
    font-family: 'FONTILIT';
    src: url('../fonts/FONTILIT.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Ensures the font is loaded properly */
}

/* Default font for all links (Helvetica) */
a {
    font-family: Helvetica, Arial, sans-serif;
    text-decoration: none;
    color: white;
    font-weight: 300;
}

/* Apply FONTILIT font only for navigation links and links on works-page */
.nav-link, .works-page a {
    font-family: 'FONTILIT', sans-serif;
	text-decoration: none;    
	padding: 0; /* Remove padding */    
	margin: 0;  /* Remove margin */    
	border: none !important; /* Remove any borders */
}
/* Existing styles for navbar */
.nav {
    position: relative;
    /* Your other positioning or styling rules */
}

/* Apply Flexbox to the nav container */
.nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    height: 100%;
}

/* Styling for nav links */
.nav-link {
    font-family: 'FONTILIT', sans-serif;
    color: white;
    text-decoration: none;
    padding: 0;
    margin: 0;
    border: none;
    line-height: 1.5;
}

/* Hover effect for links */
a:hover {
    text-decoration: none;
    color: white;
	font-family: 'FONTILIT', sans-serif;
}

/* Other styles... */


/* Body and Background */
body {
    background: black;
    color: white;
    font-size: 1vw; /* Ensures text is white on black background */
    margin: 0;
    padding: 0;
}

/* Layout and Positioning */
/* Fix the nav column */
.nav {
    position: relative;
}

/* Adjust the content positioning */
.content {
    margin-left: 210px; /* Space for the fixed nav */
    padding-top: 10px;  /* Adjust as needed */
}

/* Adjust the left content if needed */
.lefti {
    padding-top: 10px;  /* Fine-tune this if necessary */
}

/* Optional: Adjust for mobile view */
@media only screen and (max-width: 767px) {
    .nav {
        position: static; /* Or adjust for mobile */
    }

    .content {
        margin-left: 0;  /* Remove margin for smaller screens */
    }
}


/* Remove any border that might exist around nav links */
.nav-link {
    border: none !important; /* Remove borders around links */
}

/* Styling for the left and right columns */
.lefti {
    padding-top: 165px;
    text-align: left;
    line-height: 23px;
}

.lefti p:hover {
    color: white;
    text-decoration: none;
}

.righti p {
    text-align: right;
    color: white;
}

.righti {
    margin-top: 70px;
}

/* Ensure all text is white where needed */
.text-white {
    color: white;
}

/* Flex Column Layout */
.flex-column {
    margin-left: -1em;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: left;
    list-style-type: none;
    background-color: black;
}

/* Image Styling */
.bilder img {
    width: 100%;
    display: flex;
    padding: 1% 0% 0% 0%;
    align-content: center;
}

/* Column Styling */
.col-md-4 p {
    width: 100%;
    font-weight: 300;
}

/* Carousel and Slides Styling */
.slides {
    margin-top: 0px;
}

.slides p {
    font-weight: 300;
    padding: 20px 8px;
}

.slides img {
    height: 100%;
    padding-bottom: 2px;
}

.carousel .carousel-control-next-icon {
    background-image: url('data:image/svg+xml,<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-chevron-right" fill="#D2D2D2" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/></svg>');
    cursor: e-resize;
}

.carousel .carousel-control-prev-icon {
    background-image: url('data:image/svg+xml,<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-chevron-left" fill="#D2D2D2" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/></svg>');
    cursor: w-resize;
}
/* Iframe Styling */
iframe {
    width: 700px;
    height: 399px;
}

/* Cursor Styling for Buttons and Links */
a[href],
input[type='submit'],
input[type='image'],
label[for],
select,
button,
.pointer {
    cursor: pointer;
}

/* Mobile Styling */
@media only screen and (max-width: 767px) {
    a {
        font-size: 5vw;
        line-height: 5vw;
    }

    p {
        font-size: 5vw;
    }

    iframe {
        height: 100%;
        width: 100%;
    }

    .slides {
        overflow-x: hidden;
        width: 100%;
    }
}
/* Carousel navigation: remove default icons */
.carousel-control-next-icon,
.carousel-control-prev-icon {
    display: none; /* Hides the default arrows */
}

/* Add the custom cursor to the left side (Previous) */
.carousel-control-prev {
    position: absolute;
    left: 0;
    top: 0;
    height: 110%;
    width: 55%; /* Cover the left side */
    cursor: none; /* Hide default cursor */
}

.carousel-control-prev:hover {
    cursor: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="40"><text x="10" y="30" font-size="15" font-family="helvetica" fill="white">← previous</text></svg>') 16 16, auto;
}

/* Add the custom cursor to the right side (Next) */
.carousel-control-next {
    position: absolute;
    right: 0;
    top: 0;
    height: 110%;
    width: 55%; /* Cover the right side */
    cursor: none; /* Hide default cursor */
}

.carousel-control-next:hover {
    cursor: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="40"><text x="10" y="30" font-size="15" font-family="helvetica" fill="white">next →</text></svg>') 16 16, auto;
}
}
p {
    white-space: nowrap; /* Prevents breaking of words */
    word-break: keep-all; /* Ensures hyphen is visible */
}

