body {
    font-family: Roboto,"Helvetica Neue",Arial,sans-serif;
}

.wrapper {

}


.sidebar {
	display: none;
}

.box {
    background-color: #FFF;
	border-radius: 5px;
	padding: 5px;
}

.header {
    background-color: #FDF8F4;
	padding-top: 20px;
	padding-bottom: 20px;
}

.work-1,.work-2,.work-3,.work-4 {
	align-self: start;
}

.footer .col-md-4 {
	align-self: start;
	padding-top: 20px;
}

.sidebar1 {
    background-color: #FDF8F4;
}




.navbar-nav a {
    position: relative;
    display: inline-block;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    color: #8B0000;
    text-decoration: none;
    letter-spacing: 1px;
    background-color: white;
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    margin: 6px;
    overflow: hidden;
}

.navbar-nav a:hover {
    background-color: #8B0000;
    color: white;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Волна (имитация ripple) */
.navbar-nav a::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 100%;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar-nav a:active::after {
    opacity: 1;
    transition: none;
}

/* Обводка пунктов */
.nav-item-border .nav-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 4px 8px;
}

/* ========== Сайдбар ========== */

.sidebar1 {
    grid-area: sidebar1;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sidebar1 ul {
    list-style: none;
    padding: 0;
}

.sidebar1 li {
    margin-bottom: 12px;
}

.sidebar1 a {
    text-decoration: none;
    color: #8B0000;
    padding: 10px;
    display: block;
    border-radius: 6px;
    transition: background 0.3s;
}

.sidebar1 a:hover {
    background-color: rgba(139, 0, 0, 0.05);
}

.content {
	min-height:400px;
}

.header-grid {
    grid-template-areas:
		"work-1"
		"work-4"
		"work-2"
		"work-3";
    color: #444;
}

@media (min-width:320px)  { 
	.header-grid {
		grid-template-areas: 
			"work-1 work-4"
			"work-2 work-3";
	}
}
@media (min-width:561px)  { 
	.header-grid {
		grid-template-areas: 
			"work-1 work-4"
			"work-2 work-3";
	}
}

@media (min-width:1024px)  { 
	.header-grid {
		grid-template-areas:  "work-1 work-4 work-2 work-3";
	}
}

.wrapper {
    display: grid;
    grid-gap: 5px;
	grid-template-columns: repeat(7, 1fr);
    grid-template-areas:
		".	header	header	header	header	header	."
		".	sidebar1	sidebar1	sidebar1	sidebar1	sidebar1	."
        ".	content	content	content	content	content	."
        ".	footer	footer	footer	footer	footer	.";
    color: #444;
}

.footer {
	color: #2E2E2E;
	background-color: #dbdad9;
}

.footer span {
	color: #111;
}

.text-with-shadow {
	text-shadow: none;
}

.text-header {
	color: #2E2E2E;
	margin-bottom: 35px;
}

.footer>div {
	
}

@media (min-width:320px)  { 
/* smartphones, iPhone, portrait 480x320 phones */
	.wrapper {
		grid-template-areas:
			"header	header	header	header	header header header"
			"sidebar1	sidebar1	sidebar1	sidebar1	sidebar1 sidebar1 sidebar1"
			"content	content	content	content	content content content"
			"footer	footer	footer	footer	footer footer footer";
	}
}
@media (min-width:561px)  { 
	.wrapper {
		grid-template-areas:
			".	header	header	header	header	header	."
			".	sidebar1	sidebar1	sidebar1	sidebar1	sidebar1	."
			".	content	content	content	content	content	."
			".	footer	footer	footer	footer	footer	.";
	}
	/* tablet, landscape iPad, lo-res laptops ands desktops */
}
.footer-container-fluid {
	
}

.footer-container-fluid .row{
	
}