body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

section {
    max-width: 1200px;
    width: 80%;
    margin: 0 auto;
    min-height: inherit;
    background-color: white;
    border-bottom: solid cornflowerblue 8px;
}

a {
    transition: 0.3s;
}

#about,
#gallery,
#prices,
#contacts {
    margin-top: -100px;
    position: absolute;
}

.clear {
    clear: both;
}

.head_menu {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    top: 0;
    left: 50%;
    margin-left: -600px;
    position: fixed;
    z-index: 2;
    background-color: cornflowerblue;
    opacity: 0.8;
    color: white;
    border-radius: 0 0 10px 10px;
}

.logo {
    font-family: 'Kaushan Script', sans-serif;
    font-size: 50px;
    margin-left: 25px;
}

nav {
    margin-left: 50px;
    margin-right: 50px;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 375px;
    color: white;
}

nav>a {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 21px;
    font-weight: 400;

}

nav>a:hover,
.book:hover {
    color: deepskyblue;
    text-decoration: none;
}

header {
    height: 100vh;
}

#carousel-example-generic {
    position: fixed;
    width: 100%;
    min-width: 100%;
    top: 0;
}

main,
footer {
    z-index: 1;
    background-color: white;
}

.services {
    position: relative;
    padding-top: 100px;
}

.services>h1 {
    margin-top: 65px;
}

.order {
    position: absolute;
    width: 422px;
    left: 50%;
    margin-left: -211px;
    top: 0;
    margin-top: -77px;
    border-bottom: solid cornflowerblue 8px;
    text-align: center;
    font-size: 24px;
}

.social {
    display: flex;
    justify-content: space-around;
  width: 422px;
}

.social>a {
    opacity: 0.7;
}

.social>a:hover {
    opacity: 1.0;
}

.pluses {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.pluses>div {
    font-size: 16px;
    width: 265px;
    text-align: center;
    background-color: white;
}

.pluses>div>div {
    top: 0;
    height: 350px;
    background-size: cover;
    transition: 0.3s;
}

.view {
    background: url("../img/viewpic.png") no-repeat;
    background-size: cover;
}

.swimming {
    background: url("../img/swimpic.png") no-repeat;
    background-size: cover;
}

.bedroom {
    background: url("../img/bedroompic.png") no-repeat;
    background-size: cover;
}

.wifi {
    background: url("../img/wi-fipic.png") no-repeat;
    background-size: cover;
}

.description {
    text-indent: 30px;
    font-size: 16px;
    text-align: justify;
}

.description img {
    float: right;
    margin-left: 20px;
}

h1 {
    text-align: center;
    font-family: 'Kaushan Script', sans-serif;
    font-size: 50px;
}
.gallery{
}
.skrity{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 102, 102, 0.5);
}
.okno {
    /*позиционируем и центрируем активную картинку*/
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
.skrity:target {
    display: block;
    z-index: 3;
}

.images {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 20px;
}

.images>a>img {
    width: 200px;
}

.images>a {
    box-sizing: border-box;
    transition: 1s;
    margin-top: 22px;
    margin-right: 1px;
}

.images>a:hover {
    z-index: 2;
    transform: scale(1.7);
}

.images>a:active {
    transform: scale(5.0);
    transition: 5s;
}

.prices {
    border-bottom: none;
    margin-bottom: 10px;
}

th {
    background: cornflowerblue;
    color: azure;
}

td,
th {
    border: 1px solid cornflowerblue;
    text-align: center;
    font-size: 20px;
}

caption,
.first_column {
    font-weight: bold;
    font-size: 20px;
}

.map {
    width: 100%;
    max-width: 100%;
    border-bottom: none;
}

.contacts {
    border-bottom: none;
}

.contacts>ul {
    line-height: 30px;
    margin-left: 60px;
    list-style-image: url(../img/list.png);
}

.cont,
.cont b {
    vertical-align: top;
}

footer {
    height: 80px;
    background-color: cornflowerblue;
}

.footer {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 22px;
    background-color: cornflowerblue;
    color: white;
}

.copyright {
    float: left;
}

.social2 {
    display: flex;
    justify-content: space-between;
    float: right;
    width: 200px;
}

.social2>a {
    color: white;
}

.social2>a:hover {
    color: gray;
}

@media screen and (max-width: 1200px) {
    header {
        height: 100%;
    }
    #carousel-example-generic {
        position: relative;
    }
    .head_menu {
        width: 100%;
        left: 0;
        margin-left: 0;
        border-radius: 0;
        position: static;
    }
    #about,
    #gallery,
    #prices,
    #contacts {
        margin-top: 0;
    }
    .images>a:hover {
        transform: none;
    }
}

@media screen and (max-width:768px){
  header{
      display: none;
  }
    .order{
        position: static;
        width: 422px;
        margin: 0 auto;
        text-align: center;
    }
    .services{
    padding-top: 20px
    }
    .description {
        text-indent: 0;
    }
    .description img {
        float: none;
        margin:auto 0 ;
    }
    .pluses>.beautiful{
        flex: 1;
    }

}
