@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

:root {
    --utility-height: 40px;
    --navbar-height: 95px;
    --color-bg-for-all: rgb(253, 253, 249);
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    /* уменьшить до 16 более стандартного базового размера */
    background-color: #fff;
    color: #2d2d2d;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-indent: 0;
    scroll-padding-top: var(--navbar-height);
    background-color: var(--color-bg-for-all);
}

h1 {
    font-size: 2.0rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.2rem;
}

/* общая структура */
main {
    /*  var(--navbar-height) 95px; + --utility-height: 40px;  */
    padding-top: 135px;
}

/* ФОНЫ */
.section-bg {
    position: relative;
}

.section-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed; 
/*    background-position: fixed;*/
    z-index: -1;
}

.img-hero::before {
    background-image: url('../images/picStart.webp');
}

.img-acsp::before {
    background-image: url('../images/picSP.webp');
}

.img-acsm::before {
    background-image: url('../images/picSM.webp');
}

.img-acso::before {
    background-image: url('../images/picSO.webp');
}

.img-acst::before {
    background-image: url('../images/picST.webp');
}

.img-contact::before {
    background-image: url('../images/picContact.webp');
}

.section-bg.h100sec {
    min-height: 100svh;
}

.section-bg.h40sec {
    min-height: 40svh;
}

/* Поднять группу div на её высоту для title hero и contact*/
.group-hero {
    transform: translateY(-60%);
}

.group-contact {
    transform: translateY(-40%);
}

.section-title {
    color: rgba(0, 10, 50, 0.7);
    text-align: center;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.section-contact {
    /* background-color: wheat; */
    color: rgba(0, 10, 50, 0.7);
    text-align: left;
    z-index: 2;
}

.section-contact p {
    margin: 0;
    line-height: 1.6;
}

/* текст */
.section-title h1 {
    /* color: rgba(0, 10, 50, 0.7); */
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-title h2 {
    color: whitesmoke;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title h3 {
    color: rgba(0, 10, 50, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.5;

}

.section-content {
    /* background-color: wheat; */
    text-align: justify;
    line-height: 1.5;
    z-index: 2;
    margin: 0;
}

.section-content>p {
    /* отступ для первой строки */
    text-indent: 1.5rem;
    margin: 0.2rem;
}


.bg-zayvka {
    text-align: left;
    border: 1px solid #ccc;
    border-radius: 12px;
    background: #e3f2fd;
    max-width: 100%;
    padding: 10px 15px;
}

.line-break {
    border-bottom: 2px solid #bf2d33;
    width: 200px;
    margin: 15px 0 15px 0;
}

.footer {
    color: whitesmoke;
    background-color: rgba(0, 20, 60, 0.7);
    padding: 10px 0;
    text-align: center;
    line-height: 1.0;
}

.footer a {
    color: whitesmoke;
    text-decoration: none;
}

.footer a:hover {
    color: rgb(213, 241, 255);
}



/* Button TOP */
.myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    color: darkred;
    /*padding-top:1.8em;*/
    /*border-color:white;*/
    text-decoration: none;
    transition: all .3s ease-out;
}

.myBtn:before {
    content: '▲';
    font-size: 1.7em;
    border: 0.1em solid;
    border-radius: 1em;
    /*line-height:1.3em;*/
    /*border-color:inherit;*/
    /*transition:transform .5s ease-in;*/
}

.myBtn:hover {
    color: deeppink;
    transform: rotate(360deg);
}


/* мобильные — отключаем fixed (иначе iOS сломается) */
@media only screen and (max-width: 490px) {
    .logo2 {
        left: -500px !important;
    }

    .section-bg::before {
        background-attachment: scroll;
    }

    .group-hero {
        transform: translateY(-30%);
    }
}

/* Shrink size of text */
@media only screen and (max-width: 767px) {

    html,
    body {
        font-size: 14px;
        font-weight: 200;
    }

    .group-contact {
        transform: translateY(-5%);
    }

    .img-hero::before {
        background-image: url('../images/picStart_sm.webp');
    }

    .img-acsp::before {
        background-image: url('../images/picSP_sm.webp');
    }

    .img-acsm::before {
        background-image: url('../images/picSM_sm.webp');
    }

    .img-acso::before {
        background-image: url('../images/picSO_sm.webp');
    }

    .img-acst::before {
        background-image: url('../images/picST_sm.webp');
    }

    .img-contact::before {
        background-image: url('../images/picContact_sm.webp');
    }

}