html {
    height: 100%;
}

body {
    min-height: 100%;
}

main {
    background-color: #f5f5f5;
}

main > #content > .container {
    padding-top: 20px;
    padding-bottom: 20px;
}

img {
    max-width: 100%;
}

header {
    background-color: #fff;
    border-bottom: 1px solid #e9e9e9;
    z-index: 1001;
    position: fixed;
    width: 100%;
}

footer {
    padding: 60px 0;
    background-color: #d71304;
    color: #fff;
    position: relative;
}

footer .container {
    position: relative;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

main > #content > .container > p {
    font-size: 16px;
}

.services-block-items .services-item {
    height: 100%;
}

.glass-block-services-mobile button {
    margin: auto auto 0 0;
}

.services-block-items button {
    margin: auto auto 0;
}

.ft-contact {
    display: flex;
    align-items: center;
    gap: 3%;
    color: #fff;
}

.copyright {
    text-align: center;
}

.ft-contacts i {
    color: #fff;
    font-size: 18px;
}

.ft-contacts {
    font-size: 16px;
}

.ft-name {
    font-size: 24px;
    font-weight: 700;
}

.socials-links {
    display: flex;
    gap: 2%;
}

.ft-brand i {
    font-size: 25px;
    color: #fff;
}

.ft-brand {
    height: 50px;
    width: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position:absolute;
    top:0;
    bottom:0;
    right:0;
    left:0;
    background-color: #000;
    opacity: .2;
}

.services-item-name {
    color: #5c5c5c;
    font-weight: bold;
    font-size: 14px;
}

.services-item-price {
    font-weight: bold;
    color: #000;
    font-size: 16px;
}

.services-item-desc {
    color: #6b6b6b;
}

.services-item-info {
    border-left: 3px solid #d71304;
    padding-left: 5px;
}

.services-item {
    box-shadow: 3px 3px 10px #999;
    border-radius: 7px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
}

.services-block-items {
    display: none;
}

.why-us-item-num {
    font-size: 130px;
    position: absolute;
    top: -60px;
    left: -40px;
    color: #d71304;
    font-weight: bold;
}

.why-us-title::after {
    content: "";
    display: block;
    width: 45px;
    height: 2px;
    background-color: #d71304;
    margin: 5px auto 0;
    border-radius: 5px;
}

.why-us-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    background: #000;
    opacity: .6;
    left: 0;
}

.why-us-item-name {
    font-weight: bold;
    font-size: 18px;
    position: relative;
    z-index: 10;
}

.why-us-item-description {
    font-size: 14px;
    position: relative;
    z-index: 10;
}

.why-us {
    background-size: cover;
    position: relative;
}

.why-us-block {
    position: relative;
    z-index: 10;
}

.why-us-item {
    width: 80%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 20px 20px;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    text-shadow: 1px 1px 2px #000;
    margin: 0 auto 30px;
}

.why-us-title {
    text-align: center;
    font-size: 30px;
    color: #fff;
    position: relative;
    z-index: 10;
}

.brands-title {
    color: #1c1c1c;
    font-size: 36px;
    text-align: center;
    font-weight: 400;
}

.brands-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
    gap: 4%;
}

.brand-item {
    width: 22%;
    text-align: center;
    margin-bottom: 40px;
}

.brands {
    background-color: #fff;
}

.selling-glasses-item-btn button:hover {
    background-color: #f60f0f;
}

.selling-glasses-item-info button {
    padding: 6px 55px;
    font-size: 22px;
    margin: auto auto 0;
}

.selling-glasses-title {
    font-size: 36px;
    text-align: center;
}

.selling-glasses-info {
    font-size: 24px;
    text-align: center;
}

.selling-glasses-item {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.selling-glasses-item-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.selling-glasses-item-img img {
    width: 100%;
    height: 100%;
}

.selling-glasses-item-availability {
    position: absolute;
    background-color: #efefef;
    border: 1px solid rgba(130, 130, 130, 0.34);
    font-size: 22px;
    padding: 5px 15px;
    top: 15px;
    left: 15px;
}

.selling-glasses-item-name {
    color: rgb(107, 107, 107);
    font-size: 16px;
    padding-top: 16px;
    padding-right: 0px;
    padding-bottom: 7px;
    text-align: center;
}

.selling-glasses-item-price {
    text-shadow: rgb(0, 0, 0) 0.5px 0px 0px;
    font-size: 22px;
    text-align: center;
}

.selling-glasses-info {
    font-size: 24px;
    text-align: center;
}

.selling-glasses-title {
    font-size: 36px;
    text-align: center;
}

.selling-glasses {
    background-color: #fff;
}

.glass-block-info {
    position: relative;
}

.glass-block-info-title-bcg {
    position: absolute;
    top: 0;
    left: 10px;
    font-size: 40px;
    opacity: 0.3;
    color: #d3d3d3;
    line-height: 0.5;
}

.glass-block-info-title {
    font-size: 26px;
    font-weight: bold;
    position: relative;
    z-index: 1;
    border-left: 4px solid #d71304;
    padding-left: 10px;
}

.glass-block-info-title {
    font-size: 26px;
    font-weight: bold;
    position: relative;
    z-index: 1;
    border-left: 4px solid #d71304;
    padding-left: 10px;
}

.glass-block-info-desc {
    font-size: 16px;
}

.glass-block-certain-type {
    margin-bottom: 30px;
    border: 2px solid #d71304;
    border-radius: 5px;
    padding: 20px;
}

.glass-block-certain-type-name {
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

.glass-block-certain-type-desc {
    color: #a4a4a3;
    font-size: 14px;
}

.header-logo {
    height: 90px;
}

.header-logo img {
    max-height: 100%;
}

.header-block {
    justify-content: space-between;
    align-items: center;
}

.header-phone-block {
    text-align: center;
    display: none;
}

.header-phone {
    display: block;
    font-size: 21px;
    font-weight: bold;
    color: #19191a;
}

.red-btn {
    padding: 7px;
    background-color: #d71304;
    margin-top: 6px;
    color: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: 3px 3px 10px #999;
}

.red-btn:active {
    box-shadow: none;
}

.slider-img {
    display: none;
}

.slider-img div {
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 150%;
    right: -25%;
    background-position: center;
}

.slider-info {
    width: 100%;
    padding: 60px 0 0;
}

.slider-info-line {
    width: 80px;
    height: 3px;
    background-color: #d71304;
    border-radius: 5px;
}

.slider-info-title {
    font-size: 30px;
    font-weight: bold;
}

.slider-info-btn {
    font-size: 20px;
    background-color: #d71304;
    display: inline-block;
    color: #000;
    width: 100px;
    padding: 7px 20px;
}

.slider-info-btn i {
    display: inline;
}

.slider-info-btn:hover {
    width: 100%;
    transition: 1s width;
    color: #000;
}

.slider-info-btn-block {
    display: inline-block;
}

.slider-info-btn i {
    color: #000;
    font-size: 18px;
}

.slider-info-socials i {
    font-size: 36px;
    color: #d71304;
}

.slider-info-socials {
    gap: 15px;
}

@media (min-width: 480px) {
    .selling-glasses-block {
        display: flex;
        gap: 5%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .selling-glasses-item {
        width: 47%;
        display: flex;
        flex-direction: column;
    }
    
    .glass-block-types {
        display: flex;
        flex-wrap: wrap;
        gap: 6%;
    }
    
    .glass-block-certain-type {
        width: 47%;
    }
    
    .why-us-item {
        width: 40%;
    }
    
    .why-us-block {
        display: flex;
        flex-wrap: wrap;
    }
    
    .glass-block-services-mobile {
        display: flex;
        flex-wrap: wrap;
        gap: 6%;
    }
    
    .glass-block-services-mobile .services-item {
        width: 47%;
    }
    
    .selling-glasses-item-info {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 576px) {
    .slider-block {
        display: flex;
        justify-content: space-around;
    }
    
    .slider-info {
        width: 40%;
        padding: 100px 0;
    }
    
    .slider-img {
        width: 30%;
        background-color: #d71304;
        position: relative;
        display: block;
    }
}

@media (min-width: 768px) {
    .glass-block-types {
        gap: 5%;
    }
    
    .glass-block-certain-type {
        width: 30%;
    }
    
    .glass-block-services-mobile {
        display: none;
    }
    
    .services-block-items {
        display: block;
        width: 100%;
    }
    
    .services-block {
        display: flex;
        gap: 5%;
        align-items: center;
        flex-direction: column-reverse;
    }
    
    .brand-item {
        width: 13%;
    }
    
    .why-us-item {
        width: 27%;
    }
    
    .glass-block-services-mobile {
        gap: 5%;
    }
    
    .glass-block-services-mobile .services-item {
        width: 30%;
    }
    
    .selling-glasses-block {
        gap: 1%;
    }
    
    .selling-glasses-item {
        width: 30%;
    }
}

@media (min-width: 992px) {
    .header-phone-block {
        display: block;
    }
    
    .glass-block {
        display: flex;
        justify-content: space-between;
    }
    
    .glass-block-info {
        width: 30%;
    }
    
    .glass-block-types {
        display: flex;
        width: 75%;
        justify-content: space-between;
        gap: initial;
    }
    
    .glass-block-certain-type {
        width: 23%;
    }
    
    .why-us-block {
        gap: 4%;
    }
    
    .why-us-item {
        width: 22%;
    }
    
    .brand-item {
        width: 9%;
    }
    
    .services-block {
        flex-direction: row;
    }
    
    .services-block-items {
        width: 65%;
    }
}

@media (min-width: 1200px) {
    .brands-block {
        gap: initial;
    }
    
    .brand-item {
        width: 10%;
    }
}