body {
    padding: 0;
    margin: 0;
    font-family: "Ubuntu-Regular";
}

@font-face {
  font-family: "Ubuntu-Regular";
  src: url("../fonts/Montserrat/Montserrat-Regular.ttf") format("truetype"); 
  font-style: normal; 
  font-weight: normal; 
}

.logo_block {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo_block img {
    height: 40px;
    margin-right: 20px;
}

h1 {
    text-align: center;
}

@media screen and (max-width: 1000px) {
    .head_panel {
        display: none;
        position: relative;
        top: 0;
        background-color: #B30000;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 100;
    }


    .head_panel a {
        display: block;
        color: white;
        text-align: center;
        padding: 20px 16px;
        text-decoration: none;
    }

    /* Change the link color to #111 (black) on hover */
    .head_panel a:hover {
        background-color: orange;
    }
}

@media screen and (min-width: 1001px) {
    .head_panel {
        position: -webkit-sticky; /* Safari */
        position: sticky;
        top: 0;
        background-color: #B30000;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 100;
    }


    .head_panel a {
        display: block;
        color: white;
        text-align: center;
        padding: 20px 16px;
        text-decoration: none;
    }

    /* Change the link color to #111 (black) on hover */
    .head_panel a:hover {
        background-color: orange;
    }
}

.block h2 {
    text-align: center;
}

.block {
    display: block;
    padding: 10px;
    font-size: 20px;
}

.fl {
    display: flex;
    align-items: center;
    justify-content: center;
}



.fl div p {
    max-width: 400px;
    min-width: 100px;
    text-align: center;
}



@media screen and (max-width: 1000px){
    #b1 {
        color: white;
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../image/desk.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        padding-bottom: 50px;
    }
    
    #b1 img {
        display: none;
    }
    
    .flop {
        padding: 0 20px 0 20px;
        border-radius: 10px;
        font-size: 24px;
    }
}

@media screen and (min-width: 1001px) {
    #b1 {
        color: white;
        background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("../image/desk.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        padding-bottom: 50px;
    }
    
    #b1 img {
        max-width: 300px;
    }
    
    .flop {
        background-color: rgba(144, 144, 144, 0.5);
        padding: 0 20px 0 20px;
        margin-right: 100px;
        border-radius: 10px;
        font-size: 24px;
    }
}

#b2 {
    color: white;
    background-color: #0054b8;
    text-align: center;
}

#b3 {
    position: relative;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.conb3 {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.conb3 div {
    max-width: 300px;
    margin: 10px;
    border-radius: 10px;
    background-color: #efefef;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

#b3 p {
    color: black;
    padding: 20px;
}

.krug {
    border: 1px black solid;
}

.funText {
    background-color: white;
    color: black;
    border: 1px black solid;
}

#b4 {
    text-align: center;
}

@media screen and (max-width: 1001px){
    .imgPhone2 {
        max-height: 350px;
    }

    .imgPhone3 {
        max-height: 200px;
    }
}

@media screen and (min-width: 1000px) {
    .imgPhone2 {
        max-height: 800px;
    }

    .imgPhone3 {
        max-height: 400px;
    }
}

#b5 {
    color: white;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url("../image/back4.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media screen and (max-width: 1001px){
    .blokPlus {
        display: flex;
        flex-direction: column;
        justify-content:  space-around;
        align-items: center;
    }
}

@media screen and (min-width: 1000px) {
    .blokPlus {
        display: flex;
        justify-content:  space-around;
        align-items: center;
    }
}

.blokPlus div {
    max-width: 300px;
}

#b6 {
    text-align: center;
    background-color: #B30000;
    color: white;
}

#b6 img {
    max-height: 200px;
}

#b6 a {
    color: white;
}

#b7 {
    color: white;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../image/bussines.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media screen and (max-width: 1001px){
    .bl8tab {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .bl8tab div {
        width: 250px;
        border-radius: 10px;
        padding: 20px;
        margin: 20px;
        text-align: center;
        background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
    }
}

@media screen and (min-width: 1000px) {
    .bl8tab {
        display: flex;
        justify-content: center;
        align-content: center;
    }
    .bl8tab div {
        width: 400px;
        border-radius: 10px;
        padding: 20px;
        margin: 20px;
        text-align: center;
        background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
        
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

button {
    padding: 15px;
    width: 200px;
    background-color: blue;
    border: none;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
}

button:hover {
    background-color: orange;
}

#b9 {
    font-size: 16px;
    text-align: center;
    background-color: white;
    color: white;
    padding: 30px;
}

#b9 a {
    color: white;
    margin: 10px;
}