/*
Container
Intro
Header
Nav
Menu
Services
Rooms
Footer
Slider
Adaptability
*/

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #32312F;
    background-color: #F0FFFF;
    overflow: auto;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

p {
    text-align: justify;
    text-indent: 50px;
    margin: 0;
}

span {
    display: block;
}

/*
.services, .slider, .rooms__slider-1, .rooms__slider-2, .rooms__slider-3, img {
    border-radius: 10px;
}
*/

/* Container */
.container, .tl-container {
    width: 80%;
    margin: 0 auto;
}

.section__title {
    font-size: 34px;
    padding: 20px 0;
    text-align: center;
}

.section__title:after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    margin: 10px auto;
    background-color: #32312F;
}

/* Intro */
.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    position: relative;
    background: url("img/intro.jpg") center no-repeat;
    background-size: cover;
}

.intro__inner {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.logo {
    width: 600px;
}

/* Header */
.header {
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

.header:before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: #32312F;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.header__inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    flex: 0 0 50px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.header__logo img {
    max-width: 100%;
    display: block;
}

/* Nav */
.nav__list {
    display: flex;
    position: relative;
    z-index: 2;
}

.nav__list li{
    list-style: none;
    margin-left: 20px;
}

.nav__link {
    color: #FFFFFF;
    text-transform: uppercase;
    text-decoration: none;
}

.nav__link:hover {
    color: #BEBEBE;
}

/* Menu */
.menu {
    display: none;
}

/* Services */
.with__background {
    width: 100%;
    background: url("img/background.jpg") center no-repeat;
    background-size: cover;
    padding: 20px 0 50px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.with__background .section__title {
    color: #F0FFFF;
    padding: 20px 0;
}

.with__background .section__title:after {
    background-color: #F0FFFF;
}

.services {
    padding: 10px 0;
    color: #000000;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.services__item {
    display: flex;
    padding: 0 10px;
    align-items: center;
}

.services__icon {
    width: 80px;
    height: 80px;
    margin: 0 20px;
}

.services__text {
    display: flex;
    position: relative;
    padding: 0 20px 0 0;
}

.services__text h3 {
    font-size: 20px;
}

.services__text span {
    margin: 0;
}

.services__text-inside {
    margin: auto;
}

/* Rooms */
.rooms__item {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.rooms__icons {
    display: flex;
    justify-content: center;
}

.rooms__icons img {
    width: 50px;
    height: 50px;
    margin: 0 5px;
}

.rooms__text {
    display: flex;
}

.rooms__text span {
    width: 500px;
    padding: 10px 0;
}

.rooms__text-inside {
    text-align: center;
    margin: auto 20px;
}

.price {
    font-weight: bold;
    font-size: 24px;
}

.button {
  text-decoration: none;
  display: inline-block;
  padding: 10px 20px;
  margin: 5px;
  position: relative;
  overflow: hidden;
  border: 2px solid #32312F;
  color: #32312F;
  transition: .3s ease-in-out;
}
.button:before {
  height: 50px;
  width: 50px;
  position: absolute;
}
.button:hover {
  background: #32312F;
  color: #FFFFFF;
}

.rooms__inner {
    margin-bottom: 40px;
}

.room__item {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
}

.room__text {
    display: inline-block;
    text-align: center;
    width: 50%;
    padding: 20px;
    margin: auto;
}

.room__text span {
    padding: 10px 0;
}


/* Footer */
.footer {
    text-align: center;
    height: 620px;
    padding: 30px 0;
    background-color: #32312F;
    color: #F0FFFF;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.footer .section__title {
    padding: 0;
    font-size: 24px;
}

.footer .section__title:after {
    background-color: #F0FFFF;
}

.contacts {
    display: flex;
    align-items: center;
    margin: 20px 0;
    transition: all 0.4s ease 0s;
}

.contacts span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25px;
}

.address, .numbers, .networks {
    flex: 1 1 0;
}

.contacts_text {
    margin: 5px 0;
}

.numbers a {
    text-decoration: none;
    color: #F0FFFF;
}

.map {
    display: block;
    width: 100%;
    height: 400px;
    margin: 20px 0;
}

.address img, .numbers img {
    width: 20px;
    height: 20px;
    margin: 5px;
}

.numbers a {
    margin: 0 5px 0 0;
}

.networks img{
    width: 45px;
    height: 45px;
    margin: 5px;
}

.copyright {
    font-size: 14px;
    color: #A9A9A9;
}

.copyright span {
    padding: 0;
    margin: 0;
}

/* Slider */
.slider {
    position: relative;
    width: 700px;
    height: 450px;
    margin: 40px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider .item img {
    width: 100%;
    height: 450px;
}

.slider .previous, .slider .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -50px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 50px;
    transition: 0.8s ease;
    border-radius: 0 3px 3px 0;
}

.slider .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.slider .previous:hover,
.slider .next:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.slider .item {
    animation-name: fade;
    animation-duration: 2s;
}

@keyframes fade {
    from {
        opacity: 0.5
    }
    to {
        opacity: 1
    }
}

.rooms__slider-1, .rooms__slider-2, .rooms__slider-3 {
    position: relative;
    width: 700px;
    height: 450px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.rooms__slider-1-item img, .rooms__slider-2-item img, .rooms__slider-3-item img {
    width: 100%;
    height: 450px;
}

.rooms__slider-1-previous, .rooms__slider-2-previous, .rooms__slider-3-previous, 
.rooms__slider-1-next, .rooms__slider-2-next, .rooms__slider-3-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -50px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 50px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

.rooms__slider-1-next, .rooms__slider-2-next, .rooms__slider-3-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.rooms__slider-1-previous:hover, .rooms__slider-2-previous:hover, .rooms__slider-3-previous:hover, 
.rooms__slider-1-next:hover, .rooms__slider-2-next:hover, .rooms__slider-3-next:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.rooms__slider-1-item , .rooms__slider-2-item , .rooms__slider-3-item {
    animation-name: fade;
    animation-duration: 2s;
}

/* Adaptability */
@media (max-width: 1350px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 1280px) {
    .footer {
        height: 750px;
    }

    .footer .section__title {
        padding: 20px 0 0 0;
        font-size: 28px;
    }

    .contacts {
        display: block;
        height: 180px;
    }

    .room__text {
        width: 80%;
    }

    .room__text span {
        padding: 0;
    }


    .rooms__slider-1, .rooms__slider-2, .rooms__slider-3, 
    .rooms__slider-1-item img, .rooms__slider-2-item img, .rooms__slider-3-item img {
        height: 400px;
    }
}

@media (max-width: 1180px) {
    .rooms__slider-1, .rooms__slider-2, .rooms__slider-3, 
    .rooms__slider-1-item img, .rooms__slider-2-item img, .rooms__slider-3-item img {
        height: 350px;
    }
}

@media (max-width: 1080px) {
    .main span {
        margin: 10px 0;
    }

    .services__item {
        margin: 20px 0;
    }

    .rooms__item:nth-child(even) {
        flex-direction: column;
    }

    .rooms__item:nth-child(odd){
        flex-direction: column-reverse;
    }

    .rooms__item {
        align-items: center;
        margin: 20px 0 50px 0;
    }

    .rooms__text h2, .price, .button{
        margin: 5px;
    }

    .rooms__text span {
        padding: 0;
    }

    .footer__inner {
        height: 300px;
    }
}

@media (max-width: 800px) {
    body {
        font-size: 14px;
    }

    .section__title {
        font-size: 32px;
        padding: 20px 0;
    }

    .menu {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        z-index: 2;
    }

    .menu span  {
        background-color: #FFFFFF;
        position: absolute;
        width: 100%;
        height: 3px;
        left: 0;
        top: 9px;
        transition: all 0.4s ease 0s;
    }

    .menu:before,
    .menu:after {
        content: "";
        background-color: #FFFFFF;
        position: absolute;
        width: 100%;
        height: 3px;
        left: 0;
        transition: all 0.4s ease 0s;
    }

    .menu:before {
        top: 0;
    }

    .menu:after {
        bottom: 0;
    }

    .menu.active:before {
        transform: rotate(45deg);
        top: 9px;
    }

    .menu.active:after {
        transform: rotate(-45deg);
        bottom: 9px;
    }

    .menu.active span {
        transform: scale(0);
    }

    .nav {
        font-size: 20px;
        width: 100%;
        height: 160px;
        position: fixed;
        padding-top: 60px;
        top: -100%;
        left: 0;
        background-color: #41403C;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        transition: all 0.4s ease 0s;
    }

    .nav.active {
        top:  0;
    }

    .nav__list {
        display: block;
    }

    .logo {
        width: 80%;
    }

    .about__inner p {
        margin: 0 auto;
    }

    .services__item {
        display: block;
    }

    .services__text {
        text-align: center;
        padding: 0 20px;
    }

    h3 {
        font-size: 18px;
    }

    .services__icon {
        display: block;
        width: 70px;
        height: 70px;
        margin: 0 auto;
        text-align: center;
    }

    .slider-item {
        display: flex;
        align-items: center;
    }

    .slider, .rooms__slider-1, .rooms__slider-2, .rooms__slider-3 {
        width: 400px;
        height: 300px;
    }

    .slider .item img, .rooms__slider-1-item img, .rooms__slider-2-item img, .rooms__slider-3-item img {
        height: 300px;
    }

    .slider .previous, .slider .next, 
    .rooms__slider-1-previous, .rooms__slider-1-next, 
    .rooms__slider-2-previous, .rooms__slider-2-next, 
    .rooms__slider-3-previous, .rooms__slider-3-next {
        font-size: 34px;
    }

    .rooms__text {
        display: block;
        width: 400px;
        padding: 0 10px;
    }

    .rooms__text span {
        width: 350px;
    }

    .rooms__text h2 {
        font-size: 20px;
    }

    .rooms__text span {
        font-size: 18px;
        padding: 0;
    }

    .rooms__icons img {
        width: 40px;
        height: 40px;
    }

    .button {
        font-size: 18px;
        padding: 10px 15px;
    }

    .rooms__item {
        margin: 20px auto;
    }

    .booking-window__title {
        padding: 40px 0 20px;
        font-size: 24px;
    }

    .intro {
        min-height: 50vh;
    }

    .networks img {
        width: 40px;
        height: 40px;
    }
}