
/* Styling van header/mega menu */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');
	
body {
	font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
}
/* Top Pages Styling */
.top-pages {
    margin-top: 20px;
    border-top: 1px solid #bbb;
}

.top-pages-title {
    font-size: 1.2rem; /* Slightly larger font for the 'Top pages' label */
    font-weight: 700;  /* Extra bold */
    color: #333;       /* Dark gray for contrast */
    margin-bottom: 10px;
}

.top-pages ul {
    padding-left: 0;
}

.top-pages li {
    list-style: none;
    margin-bottom: 10px;
}

.top-page-link {
    font-weight: 600;
    font-size: 1.1rem;
    color: #000; /* Black text color */
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
}

.top-page-link:hover {
    color: #007bff; /* Blue color on hover */
    border-bottom: 2px solid #007bff; /* Blue underline on hover */
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .top-page-link {
        font-size: 1rem;
    }
}

/*css for homepage blurbs */
.category-title {
    font-weight: 700;
    /* margin-top: 30px; */
    margin-bottom: 20px;
}

.tools-row {
    margin-right: -10px;
    margin-left: -10px;
}

.tool-card-wrapper {
    padding-right: 10px;
    padding-left: 10px;
}

.tool-card {
    transition: box-shadow 0.3s ease-in-out;
}

.tool-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tool-card .card-title {
    font-weight: 600;
}

.tool-card .card-text {
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.right input[type="text"] {
    width: 100%;
    margin-bottom: 15px;
}

.card-title.h5-style {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

/* Menu  navbar styling */
.navbar {
	background-color: #ffffff;
	padding: 0.5rem 0;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.navbar-brand {
	color: #333333;
	font-size: 1.5rem;
	font-weight: bold;
	padding: 10px 15px;
}
.nav-link {
	color: #333333 !important;
	padding: 15px !important;
	font-weight: 500;
	transition: color 0.3s ease;
}
.nav-link:hover, .nav-link:focus {
	color: #4a77e5 !important;
	background-color: transparent;
}
.dropdown-menu {
	border: none;
	border-radius: 0;
	margin-top: 0;
	width: 100%;
	padding: 20px;
	background-color: #ffffff;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.dropdown-item {
    padding: 5px 0;
    color: #333333;
    font-weight: 400;
    margin-left: -15px;  /* Dit compenseert de standaard container padding */
}
.dropdown-item:hover {
	background-color: transparent;
	color: #4a77e5;
}
.mega-menu-column h6 {
	font-weight: 600;
	margin-bottom: 10px;
	color: #333333;
}
.navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%2851, 51, 51, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-nav {
	width: 100%;
	align-items: center;
}
.ms-lg-auto {
	margin-left: auto !important;
	margin-right: 15px !important;
}
.go-premium-btn {
	background-color: #4a77e5 !important;
	color: #ffffff !important;
	border-radius: 5px !important;
	padding: 8px 20px !important;
	transition: background-color 0.3s ease;
	display: inline-block;
	line-height: 1.5;
	vertical-align: middle;
}
.go-premium-btn:hover {
	background-color: #3a67d5 !important;
}
@media (max-width: 991px) {
	.ms-lg-auto {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.go-premium-btn {
		margin-top: 10px;
		text-align: center;
		display: block;
	}
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    background-color: #f0f0f0;
    font-family: Arial, Helvetica, sans-serif;
}

header {
    background-color: #007bff;
    color: white;
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

header h1 {
    margin: 0;
}

nav {
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.menu {
    list-style-type: none;
    display: flex;
    flex-direction: row;
}

.menu > li {
    position: relative;
}

.dropbtn {
    display: block;
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    background-color: #007bff;
    border: none;
    cursor: pointer;
}

.dropdown:hover .dropbtn {
    background-color: #003d80;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #007bff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #003d80;
}

.dropdown:hover .dropdown-content {
    display: block;
}

main {
    max-width: 1000px;
    background-color: white;
    margin: 20px auto;
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.left, .right {
    padding: 20px;
}

.left {
    flex: 2;
    border-right: 1px solid #bbb;
}

.left textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
}

.left button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    width: 100%;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.left > button:hover {
    background-color: #0056b3;
}

.left > p {
    margin: 20px 0;
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.left > ul{
    padding: 0;
    margin: 0;
    margin: 20px 0;
    margin-top: 10px;
    list-style: none;
}

.left > ul > li{
    margin: 5px 0;
}

.left input[type="file"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.left input[type="number"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.left label[for="uploadImage"] {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    width: 100%;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.left label[for="uploadImage"]:hover {
    background-color: #0056b3;
}

.left input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    background: #007bff;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    border-radius: 5px;
}

.left input[type="range"]:hover {
    opacity: 1;
}

.left input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: black;
    cursor: pointer;
    border-radius: 50%;
}

.left input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: black;
    cursor: pointer;
    border-radius: 50%;
}

.left select {
    display: inline-block;
    padding: 10px;
    font-size: 16px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    color: #333;
    margin-bottom: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

.left select:focus {
    border-color: #007bff;
    outline: none;
}

.left #previewCanvas{
    margin: 0 auto;
    width: 100%;
}

.right {
    flex: 1;
    border-left: 1px solid #bbb;
}

.right > input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}


@media (max-width: 900px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
    }

    .menu > li {
        width: 100%;
    }

    .dropbtn {
        width: 100%;
        padding-left: 0;
    }

    main {
        flex-direction: column;
        max-width: 95vw;
        margin: 20px 2.5vw;
    }

    .left, .right {
        width: 100%;
        border: none;
    }

    .right {
        border-top: 1px solid #bbb;
    }

    .nav-item:not(:last-child){
        width: 100%;
    }

    .row{
        display: block !important;
    }
    
}

@media (max-width: 1100px) {
    h1{
        font-size: 24px;
    }

    .dropbtn{
        padding: 7px 10px;
    }
}