html,
body {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
}

/* главная информация */
div {
    text-align: center;
    background-color: #ffffff;
}

.outer {
    display: flex;
    align-items: center;
    width: 100%;
}

.conteiner1 {
    display: flex;
    gap: 20px;
    padding: 15px;
    align-items: center;
}

.conteiner1>div{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.Mywork1 {
    display: flex;
    justify-content: center;
    font-size: 25px;
    margin-left: 35;
    align-items: center;
    width: 80%;
}

.conteiner1>img {
    width: 10%;
}

.conteiner2 {
    display: flex;
    align-items: center;
}

.conteiner2>div {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-left: 2%;
}

.conteiner2>img {
    width: 15%;
    gap: 20px;
    align-items: center;
    margin-left: 20%;
}

.conteiner3 {
    display: flex;
    align-items: center;
    margin-right: 5%;
}

.conteiner3>div {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-left: 2%;
}

.conteiner3>img {
    width: 20%;
    gap: 20px;
    align-items: center;
}

/* навигационное меню */
.menu {
    display: flex;
    background-color: darkred;
    align-items: center;
    text-align: center;
    height: 45px;
    justify-content: center;
    gap: 40px;
    font-weight: 500;
    font-size: 20px;
}

.menu>a{
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}

.Mywork {
    font-size: 40px;
    color: darkred;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: transparent;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 50px;
}

.mainphoto {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* вторая страница О нас */
.redwhite {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
}

.redsquare2page {
    display: flex;
    align-items: center;
    height: 100vh;
    background-color: darkred;
    font-size: 50px;
    color: #ffffff;
    text-align: center;
}

.redsquare2page>p {
    width: 25vh;
    text-align: center;
}

.whitesquare2page {
    height: 100vh;
    text-align: center;
    background-color: #ffffff;
    font-size: 30px;
}

.whitesquare2page>p {
    display: block;
    font-stretch: 50%;
    text-align: center;
    color: #000000;
    margin-left: 5vh;
    margin-right: 5vh;
}

.advantages>p {
    font-size: 40px;
    color: darkred;
    font-weight: bold;
}

.advantagesimg {
    width: 100%;
    display: flex;
    gap: 200px;
    align-items: center;
    justify-content: center;
}

.advantagesimg>img {
    width: 200px;
    gap: 30px;
}

.advantagestext {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 25px;
    justify-content: center;
    gap: 150px;
}

/* преимущества */
.text1 {
    width: 250px;
    text-align: center;
    margin-left: 1vh;
}

.text2 {
    width: 250px;
    text-align: center;
    margin-left: 1vh;
}

.text3 {
    width: 250px;
    text-align: center;
    margin-left: 1vh;
}

/* третья страница наши услуги */
.page3 {
    display: flex;
}

.redsquare3page {
    display: flex;
    align-items: center;
    height: 100vh;
    background-color: darkred;
    font-size: 50px;
    color: #ffffff;
    text-align: center;
    width: 25vh;
}

.redsquare3page>p {
    width: 25vh;
    text-align: center;
}

.services {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
}

.servicesimg {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
}

.servicesdiv {
    display: flex;
}

.servicesdiv>img {
    width: 300px;
    margin-left: 50px;
}

.servicesdiv>p {
    margin-top: auto;
    margin-bottom: auto;
    font-size: 30px;
    text-align: center;
    width: 100%;
}

/* Четвертая страница контакты */
.contacts {
    display: flex;
    width: 40%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
}
.headingcontacts{
    font-size: 30px;
    color: darkred;
    font-weight: bold;
}
.schedule, .mail, .address{
    font-size: 25px;
}
.tgws{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.mailurl{
    color: #000000;
    font-weight: bold;
    text-decoration: none;
}
.phoneurl{
    color: #000000;
    font-weight: bold;
    text-decoration: none;
}
.yandexmap{
    display: flex;
    width: 60%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
}
.contactsandmap{
    display: flex;
    width: 100%;
    height: 100vh;
}
#language {
    cursor:pointer;
    margin-left:5px;
    font-size:100%;
}
