#section-certificates {
    background-image: url(../img/fon-certificates2.jpg);
    background-position: center;
    background-size: cover;
}

#section-sale {
    background-image: url(../img/back-test.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.text-red {
    color: red;
}

.section_p {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.--has-shadow {
    box-shadow: 0 0 10px black;
}

.panel {
    padding: 2rem;
}

.panel_color_black-transparent {
    background-color: rgba(0, 0, 0, 0.7);
}

.panel_color_white-transparent {
    background-color: rgba(255,255,255,0.8);
}

.panel_rounded {
    border-radius: 8px;
}

.header {
    font-size: 3rem;
    font-weight: bold;
    padding: 5px 0 5px;
    text-align: center;
    background: linear-gradient(to right, #000000 0%, #ff0000 100%);
    color: white;
}

.header__title {
    padding-bottom: 8px;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
}

#section-nav {
    max-height: 80px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, .8);
}

.nav__img {
    height: 80px;
}

.nav__link {
    padding: 5px 20px;
    color: white;
    font-weight: 700;
    font-size: 1em;
}

@media (min-width: 1200px) {
    .nav__link {
        font-size: 1.2em;
    }
}

.nav__link:hover,
.nav__link:focus {
    color: white;
    text-decoration: none;
}

.nav__link_transition {
    color: white;
    position: relative;
    transition: color ease 300ms;
}

.nav__link_transition:hover {
    color: greenyellow;
    text-decoration: none;
}

.nav__link_transition::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: greenyellow;
    content: "";
    transition: width ease 300ms;
}

.nav__link_transition:hover::after,
.nav__link_transition.active::after {
    width: 100%;
}

.nav__link_callback {
    background-color: #71ac18;
    border-radius: 4em;
    font-size: 1em;
    padding: 2px 20px;
    margin-left: 5px;
    margin-right: 5px;
}

.nav__link_callback:hover {
    background-color: #7dbf19;
}

.nav__link_tel {
    background-color: #555;
    border-radius: 4em;
    font-size: 1em;
    padding: 2px 20px;
    margin-left: 5px;
    margin-right: 5px;
}

.nav__link_tel:hover {
    background-color: #777;
}

#section-main {
    padding-top: 8rem;
    padding-bottom: 8rem;
    background-image: url(../img/fon-main.jpg);
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
}

#section-advantages {
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 1rem;
    margin-top: -5rem;
}

/*#section-catalog {
    background-image: url(../img/fon-catalog.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}*/

.fancybox-container{
    z-index: 9999;
}

.popover {
    z-index: 9999;
}
.section-main-title {
	font-size: 2rem; 
	font-weight: bold;
}
.fw-semibold {
    font-weight: 600;
}
.fw-bold {
    font-weight: bold;
}
.fs-48 {
    font-size: 3rem;
}

@media screen and (max-width: 480px) {
	.header__title {
		font-size: 32px;
	}
	.section-main-title { 
		font-size: 1.7rem;
	}
    .lightcountdown__digit {
        width: 1.5em;
    }
    #section-advantages {
        margin-top: 0;
    }
}
