* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    width: 100%;
    background-color: light-dark(#d9dfe2,#000);
    border-bottom: 1px solid #e6e8ea;
}

.flex-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo svg {
    width: 100%;
    height: 76px;
    #Glyph-group{
        fill: light-dark(#000,#fff);
    }
}

.nav-links {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: light-dark(#1d2327,#fff);
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

.nav-links a:hover {
	color: #cf2e2e;
	transition: .4s;
}

.contact-btn {
    background-color: #cf2e2e;
    color: light-dark(#fff,#000);
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
}

.contact-btn:hover{
    color: light-dark(#000,#fff);
    transition: .4s;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: light-dark(#000,#fff);
    display: block;
    margin: 5px 0;
    border-radius: 2px;
}

#header-menu-checkbox {
    display: none;
}

.mobile-nav-links {
    display: none;
    padding: 10px 0;
}

@media (max-width: 768px) {
    .flex-wrapper {
        display: flex;
    	flex-direction: column;
        justify-content: center;
    	gap: 50px;
        align-items: center;
    	text-align: center;
    }

    .logo,
    .menu-toggle,
    .contact-btn {
        width: auto;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
        order: 3;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-btn {
        order: 2;
    }

    .logo {
        order: 1;
    }

	.logo svg {
		width: 200px;
		height: auto;
	}

    .nav-links {
        display: none;
    }

    #header-menu-checkbox:checked ~ .mobile-nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .mobile-nav-links a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        color: light-dark(#1d2327,#fff);
        font-size: 1rem;
        font-weight: 500;
        text-decoration: none;
    }

    .mobile-nav-links a:hover {
        color: #cf2e2e;
    	transition: .4s;
    }
}
