
.main-content {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 1em;
    max-width: 960px;
}

.title1 {
    text-align: center;
    font-family: var(--exo);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0em;
    text-align: center;
}

.title1 {
    position: relative;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 10px;
    text-shadow: 0 0px 5px #b9c0c7;
}

    .title1 h1 {
        font-size: 60px;
        display: inline-block;
        position: relative;
        z-index: 1;
    }

    .title1 .glow {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        background: rgb(6 62 116);
        z-index: -1;
        rgb(6 62 116);
        top: 0;
        border-radius: 650px/143px;
        filter: blur(52px);
        left: 50%;
        transform: translateX(-50%);
    }

.text_photo {
    display: flex;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row;
    align-content: center;
}

.text-block {
    width: 57%;
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 21px;
}

.text-row {
    width: 9%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.image-block {
    max-width: 374px;
    max-height: 288px;
    line-height: 1;
    color: #fff;
    text-align: center;
    box-shadow: 0 0 20px #fff;
    border-radius: 13px;
    margin: 20px
}

.philo,
.driver_photo {
    text-align: center;
    padding: 70px 0 70px 0px;
}

.title-block {
    text-shadow: 1px 1px 1px black, 0 0 0.2em white, 0 0 0.2em black;
    font-size: 32px;
    text-align: left;
}
.header-bottom {
    padding: 80px 57px;
    bottom: 0;
    position: absolute;
}



.text1 {
    font-family: var(--exo);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0em;
    padding-top: 40px;
    padding-bottom: 20px;
}

body.site-about-bg {
    background: #000B15;
}

.center {
    text-align: center;
}
.philo {
    position: relative;
}

    .philo img {
        max-width: 100%;
        height: auto;
        display: block;
    }

.empty-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    clip-path: polygon(50% 10%, 23% 90%, 77% 90%);
    padding: 70px 0 36px 0px;
}


.sub-block {
    width: 100%;
    height: 19%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

@keyframes flash-block-1 {
    0% {
        transform: scaleX(0);
        opacity: 0;
        transform-origin: left center;
    }

    50% {
        transform: scaleX(1);
        opacity: 1;
        background-color: #ffffff61;
    }

    100% {
        transform: scaleX(1);
        opacity: 0;
        background-color: #ffffff61;
    }
}






#block1 {
    height: 29%;
}

#block2 {
    height: 16.2%;
}

#block3 {
    height: 16.1%;
}

#block4 {
    height: 17.1%;
}

#block5 {
    height: 16.1%;
}



.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    background-color: #0A3359;
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}


.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    background-color: white;
    color: #0A3359;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 5px;
}


.popup-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.popup-image img {
    max-width: 100%;
    height: auto;
}

.popup-title {
    font-size: 24px;
    margin-top: 20px;
}

.popup-text {
    font-size: 16px;
    margin-top: 20px;
}
img.mob {
    width: auto;
    max-height: max(107vw, 75vh);
}
@media (min-width: 1800px) {
    .shapka {
        background-size: auto 100%!important;
    }
    .header-bottom {
        position: relative;
    }
}


    

    @media (max-width: 1356px) {

        .text-block {
            width: 49.9%;
        }
    }

@media (min-width: 993px) {
    .shapka {
        height: 1250px;
    }
    .mob {
        display: none !important;
    }
    .pc {
        display: inline !important;
    }
    .mobile {
        display: none !important;
    }

    .pc1 {
        display: inline !important;
    }
    .empty-block {
        display:none;
    }
}


@media (max-width: 992px) {
    .title-block {
        font-size: 22px;
    }
    .text_photo {
        justify-content: center;
        margin-top: 10px;
    }
    .philo {
        padding-top:20px;
    }
    .driver_photo {
        padding:10px;
    }
    .pc {
        display: none !important;
    }

    .mob {
        display: inline !important;
    }

    .pc1 {
        display: none !important;
    }

    .mobile {
        display: inline !important;
    }

    .popup {
        width: 90%;
    }
}
@media(max-width: 992px) {


    .shapka {
        height: 700px;
    }
}

@media(max-width: 768px) {


    .shapka {
        height: 500px;
    }
}

@media(max-width: 475px) {


    .shapka {
        height: 400px;
    }
}

@media (max-width: 992px) {
    body {
        text-align: center;
        font-size: 16px;
    }

    .text-block {
        width: 100%;
        font-size: 20px;
    }

    .text-row {
        display: none;
    }

    .title1 h1 {
        font-size: 34px;
    }

    .shapka {
        height: 458px;
    }

    .empty-block {
        clip-path: polygon(50% 10%, 14% 90%, 86.8% 90%);
    }
}

    @media (max-width: 475px) {
        .title1 h1 {
            font-size: 25px;
        }

        .text1 {
            font-family: var(--exo);
            font-size: 16px;
            font-weight: 400;
            letter-spacing: 0em;
            
            padding-bottom: 20px;
            line-height: 1.5;
        }

        .text-block {
            font-size: 16px;
        }

        .shapka {
            height: 300px;
        }

        .header-bottom {
            padding: 0;
        }
    }
    @media (max-width: 768px) {
        .empty-block {
            clip-path: polygon(50% 10%, 13% 90%, 86.8% 90%);
        }

        #block1 {
            height: 29%;
        }

        #block2 {
            height: 16.2%;
        }

        #block3 {
            height: 17.1%;
        }

        #block4 {
            height: 16.1%;
        }

        #block5 {
            height: 17.1%;
        }
    }
    @media (max-width: 425px) {
        .empty-block {
            clip-path: polygon(50% 14%, 0% 88%, 99.8% 88%);
        }
        #block1 {
            height: 28%;
        }

        #block2 {
            height: 16.2%;
        }

        #block3 {
            height: 16.1%;
        }

        #block4 {
            height: 16.1%;
        }

        #block5 {
            height: 17.1%;
        }
    }

    @media (max-width: 375px) {
        .empty-block {
            clip-path: polygon(50% 14%, 1% 85%, 99.8% 85%);
        }

        #block1 {
            height: 28%;
        }

        #block2 {
            height: 16.2%;
        }

        #block3 {
            height: 16.1%;
        }

        #block4 {
            height: 16.1%;
        }

        #block5 {
            height: 18.1%;
        }
    }

    @media (max-width: 320px) {
        .empty-block {
            clip-path: polygon(50% 14%, 1% 85%, 99.8% 85%);
        }
        #block1 {
            height: 28%;
        }

        #block2 {
            height: 15.2%;
        }

        #block3 {
            height: 16.1%;
        }

        #block4 {
            height: 15.1%;
        }

        #block5 {
            height: 16.1%;
        }
    }