*{
    box-sizing: border-box;
}
html{
    width: 100%;
    height: 100%;
}
body{
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    height: 100%;
    margin: 0;
    box-sizing: border-box;
}
.wrapper{
    width: 1170px;
    margin: auto;
}
.main-page{
    /* width: 100%;
    height: 100%; */
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 32px;
    box-sizing: border-box;
}
.goit-logo{
    margin-bottom: 48px;
}
.my-city-container{
    border-radius: 40px;
    background-color: #ffffff;
    padding: 30px;
    box-sizing: border-box;
    width: 573px;
}
.my-city-title{
    color: #1B1D1F;
    font-size: 44px;
    font-weight: 600;
    line-height: 48px;
    margin-top: 0;
    margin-bottom: 36px;
}
.my-city-dscr{
    color: #1B1D1F;
    font-size: 16px;
    font-weight: 400;
    text-align: justify;
    text-indent: 30px; /* Задание отступа "красной строки" */
    line-height: 24px;
    margin: 0;
}
.form-page{
    margin: 60px auto;
    /* flex-shrink: 0; /*устанавливает коэффициент сжатия гибкого элемента */
    border-radius: 40px;
    background-color: #ECF4F8;
    padding: 60px 0;
    text-align: center;
}
.form-title{
    color: #1B1D1F;
    font-size: 44px;
    font-weight: 600;
    line-height: 48px;
    margin-bottom: 40px;
}
.form-field{
    border-radius: 12px;
    border: 1px solid #2B4C5C;
    width: 304px;
    height: 48px;
    padding: 12px 24px;
    margin-right: 24px;
/* Текст */
    /* main */
    font-size: 16px;
    font-weight: 400;
    line-height: 24px; /* 150% */ 
}
.form-btn{
    border-radius: 12px;
    background: #FF6B0A;
    width: 315px;
    padding: 12px 24px;
    text-align: center;
    border: none;
    cursor: pointer;
   /* Текст */
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
.last-page{
    margin: 60px auto 88px auto;
    text-align: center;
}
.last-page-title{
    color: #1B1D1F;
    font-size: 44px;
    font-weight: 600;
    line-height: 48px;
    margin-bottom: 80px;
}
.gallery{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.modal{
    width: calc(25% - (3*24px/4));
     /* формула автоматического растягивания картинок на странице
    - 25% -ширина картинки, 3*24px -3 пробела по 24px, /4 -на 4 картинки на листе - работает !!!*/
    padding: 0;
    background: none;
    border: none;
    margin-bottom: 24px;
    border-radius: 28px;
    cursor: pointer;
}
.photo{
    width: 100%;
    height: 160px;
    border-radius: 28px;
}