/**************************************************************************************************/
/**************************************************************************************************/
/* ОБЩЕЕ ФОРМАТИРОВАНИЕ */

* { margin: 0px; 
    padding: 0px;
    box-sizing: border-box;                                                                         
    font-size: 0;
}

/* ОБЩЕЕ ФОРМАТИРОВАНИЕ */
/**************************************************************************************************/
/**************************************************************************************************/


/**************************************************************************************************/
/**************************************************************************************************/
/* header */
header { 
    background-color: rgb(102, 102, 116); 
    height: 750px;
    color: white;
    padding: 1% 22.5%;
}

.pervii {                                                           /* основной блок Яндекс БЭМ */
    display: flex;
    padding: 50px 0px;
}

.pervii > div:first-child {
    margin-right: auto;
}

.pervii__name {                                                     /* элемент Яндекс БЭМ */
    font-size: 32px;
    display: inline-block;
}

.pervii__menu {                                                     /* элемент Яндекс БЭМ */
    display: inline-block;
}

.pervii__string {                                                   /* элемент Яндекс БЭМ */
    display: inline-block;
    width: 275px;
}

.pervii__link {                                                     /* элемент Яндекс БЭМ */
    font-size: 32px;
    display: block;
    text-decoration: none;
    background-color: #72BF94;
    border: 1px solid white;
    color: white;
    text-align: center;
    transition: 1.5s all;
}

.pervii__link:hover {
    transform: scale(2.0);
    color: black;
    border: 1px solid black;
}

@media (max-width: 1849px){                                     
    .pervii__string { display: list-item; }                         /* возвращает li в обычный для него вид с inline-block в list-item */
    .pervii__name { font-size: 24px; }
    .pervii__link { font-size: 24px; }
}
/***********************************************/
.line{                                                              /* основной блок Яндекс БЭМ */
    height: 2px;
    border-top: 1px dotted #72BF94;
}
/***********************************************/
.vtoroi {                                                           /* основной блок Яндекс БЭМ */
    padding: 125px 0px;
}

.vtoroi__main-name {                                                /* элемент Яндекс БЭМ */
    font-size: 50px;
    text-align: center;
}

.vtoroi__menu {                                                     /* элемент Яндекс БЭМ */
    margin-top: 40px;
}

.vtoroi__string {                                                   /* элемент Яндекс БЭМ */
    display: inline-block;
    width: 33.33%;
}

.vtoroi__link {                                                     /* элемент Яндекс БЭМ */
    font-size: 32px;
    text-decoration: none;
    color: white;
    display: block;
    text-align: center;
    height: 75px;
    line-height: 75px;
}

.vtoroi__list > li:not(:last-child) {
    border-right: 1px dotted #72BF94;
}

.vtoroi__start-button {                                             /* элемент Яндекс БЭМ */
    border: 1px solid #72BF94;
    width: 275px;
    margin: 60px auto 0 auto;
    border-radius: 30px;
    transition: 1.5s all;
}

.vtoroi__link-button {                                              /* элемент Яндекс БЭМ */
    font-size: 24px;
    text-align: center;
    display: block;
    color: #72BF94;
    height: 50px;
    line-height: 50px;
    text-decoration: none;
}

.vtoroi__start-button:hover {
    background-color: rgba(114, 191, 148, 0.3);
}

@media (max-width: 1849px){                                     
    .vtoroi__main-name { font-size: 32px; }
    .vtoroi__link { font-size: 24px; }
    .vtoroi__string { display: list-item; width: 100%; }
    .vtoroi__list > li:not(:last-child) { border: none; }
    .vtoroi__link { height: 50px; line-height: 50px; }
}
/* header */
/**************************************************************************************************/
/**************************************************************************************************/


/**************************************************************************************************/
/**************************************************************************************************/
/* Кнопка галереи */
.photo__icon {                                                      /* элемент Яндекс БЭМ */
    background-image: url(./pictures/photo.jpg);    
    height: 200px;
    width: 200px;
    background-position: 50% 50%;
    background-size: auto;
    border-radius: 50%;
    margin: 100px auto 0 auto;
    filter: blur(2px) sepia(50%);
}

.photo__string {                                                    /* элемент Яндекс БЭМ */
    font-size: 32px;
    text-align: center;
    font-weight: 600;
    margin-top: 20px;
}

.photo__button {                                                    /* элемент Яндекс БЭМ */
    border: 1px solid #72BF94;
    width: 275px;
    margin: 60px auto 0 auto;
    border-radius: 30px;
    transition: 1.5s all;
}

.photo__link-button {                                              /* элемент Яндекс БЭМ */
    font-size: 24px;
    text-align: center;
    display: block;
    color: #72BF94;
    height: 50px;
    line-height: 50px;
    text-decoration: none;
}

.photo__button:hover {
    background-color: rgba(114, 191, 148, 0.3);
}
/* Кнопка галереи */
/**************************************************************************************************/
/**************************************************************************************************/


/**************************************************************************************************/
/**************************************************************************************************/
footer {
    height: 100px;
    background-color: rgb(102, 102, 116);
    margin-top: 200px;
}
/**************************************************************************************************/
/**************************************************************************************************/