@font-face {
    font-family: 'PaluiSPDemo';
    src: url('/static/font/PaluiSPDemo-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'RUBEBASNEUE';
    src: url('/static/font/RUBEBASNEUE.TTF') format('opentype');
}

#loading_gifs {
    width: 500px;
    height: 500px;
}

#div_load {
    width: 100vw;
    height: 100%;
    position: fixed;
    z-index: 20;
}

button {
    letter-spacing: 0.1rem;
}

header {
    position: sticky;
    top: 0;
    background: transparent;
    z-index: 999;
    backdrop-filter: blur(10px);
    transition: background 0.3s;
    height: 100px;
    display: none;
}

.image_logo {
    width: 75px;
    height: 75px;
}

.header_navbar {
    height: 100px;
}

.header_navbar_mobile {
    height: 100px;
}

.header_navbar_icons {
    height: 25px;
    width: 25px;
}

.content-wrapper {
    min-height: calc(100vh - 430px);
}

body {
    margin: 0;
    font-family: 'RUBEBASNEUE', sans-serif;
    background-color: #f5f5f7;
    color: #1d1d1f;
    overflow-x: hidden;
    line-height: 1.6;
    letter-spacing: 0.1rem;
}

h1 {
    font-family: 'PaluiSPDemo', sans-serif;
}

h2 {
    font-family: 'PaluiSPDemo', sans-serif;
}

hr {
    width: 4rem;
    border-top: #c0392b 0.25rem solid;
    opacity: 1;
}

video {
    border-radius: 1rem;
    height: auto;
    width: 100%;
}


.section_pt {
    padding-top: 50px;
}

.section_m_pt {
    padding-top: 1rem;
}

.card {
    border-radius: 2rem;
    border: 0px;
}

.p_price_or_order_price {
    color: #c0392b;
    border-bottom: 1px solid #c0392b;
}

.p_price_or_order_title {
    color: #000;
    border-bottom: 1px solid #c0392b;
}

.span_order {
    width: 250px;
    font-size: 1.2em;
    border-radius: 1rem 0 0 1rem;
}

.label_order {
    font-size: 1.2em;
}

.form-check-input[type=checkbox] {
    height: 20px;
    width: 20px;
    margin-right: 0.75rem;
    border: 1px solid lightgray;
}

.button_order {
    margin-top: 20px;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    background: #c0392b;
    color: #fff;
    font-weight: 700;
    font-size: 1.2em;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: background 0.2s;
    width: 400px;
}

.button_order:disabled {
    color: black;
    background-color: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity)) !important;
}


/* Плавное появление элементов */
.fade-in {
    opacity: 0;
    transform: translateY(75px);
    animation: fadeInUp 2s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Логотип и название */
.logo-group {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #c0392b, #e74c3c); /* красный градиент */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-right: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.logo-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Стиль кнопок навигации */
button.nav-btn {
    background: transparent;
    border: none;
    font-family: 'RUBEBASNEUE', sans-serif;
    font-weight: 600;
    font-size: 1.2em;
    cursor: pointer;
    color: #1d1d1f;
    padding: 0.5rem 0.5rem;
    border-radius: 1rem;
    transition: background 0.2s, color 0.2s;
    transform: scale(1);
}

button.nav-btn:hover {
    background: #e0e0e0;
    color: #c0392b; /* красный при hover */
}


.section_main_plenka {
    position: absolute;
    width: 8%;
    background-image: url('/static/svg/plenka.svg');
    top: 0;
    right: 5rem;
    height: 100%;
    background-size: contain;
    opacity: 0.8
}

.section_about_img {
    height: 75%;
    position: absolute;
    right: 5rem;
    top: 12.5%;
    opacity: 0.85;
    width: 15%
}

footer {
    height: 300px;
}

.footer_contacts_icons {
    width: 20px;
    height: 20px;
}

.div_alert_order_danger {
    z-index: 999;
    display: none;
    position: fixed;
    width: 100%;
    justify-content: center;
}

.alert-danger {
    max-width: 750px;
    width: max-content;
}

.div_alert_order_success {
    z-index: 999;
    display: none;
    position: fixed;
    width: 100%;
    justify-content: center;
}

.alert-success {
    max-width: 750px;
    width: max-content;
}

@media (max-width: 767px) {
    #loading_gifs {
        width: 300px;
        height: 300px;
    }

    .alert-danger {
        max-width: 80%;
    }

    .alert-success {
        max-width: 80%;
    }

    .image_logo {
        width: 50px;
        height: 50px;
    }

    h1 {
        font-size: calc(0.75rem + 1.5vw);
    }

    h2 {
        font-size: calc(0.7rem + 1.5vw);
    }

    h5 {
        font-size: calc(0.55rem + 1.5vw);
    }

    button.nav-btn {
        font-size: 0.6em;
    }

    p {
        font-size: calc(0.5rem + 1.5vw);
    }

    .header_navbar_icons {
        height: 15px;
        width: 15px;
    }

    .span_order {
        width: 100px;
        font-size: 1em;
        white-space: break-spaces;
        text-align: left;
    }

    .label_order {
        margin-left: 0.75rem;
        font-size: 1em;
    }

    .button_order {
        font-size: 1em;
    }

    .form-check-input[type=checkbox] {
        margin-right: 0rem;
    }

    .header_navbar {
        height: 100px;
    }

    .header_navbar_mobile {
        height: 100px;
    }

    footer {
        height: 500px;
    }
}

@media (max-width: 1440px) {
    footer {
        height: 500px;
    }
}

@media (min-width: 2048px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1820px;
    }
}