@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;1,400;1,500&family=Roboto:wght@200;300;400;500;600;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
}

/* header */

.header {
    background-color: #3bbeff;
}

.header-logo>a>img {
    max-width: 50%;
    padding: 4px;
}

.header-tabs {
    display: inline-flex;
    margin: 0;
    align-items: center;
    padding: 0;
    margin-top: 10px;
    max-width: 100%;
}

.header-tabs>a {
    text-decoration: none;
    font-weight: bold;
    font-size: 19px;
    color: white;
}

.header-tabs>form>button {
    padding: 12px 30px;
    font-size: 15px;
    margin-left: 30px;
    border-radius: 8px;
    background-color: red;
}

.header-tabs>form>button>span {
    margin-right: 10px;
    padding-top: 2%;
}

/* main */

.main-foto>img {
    width: 100%;
}

.fact1 {
    background: url(../img/fon/63d90cb35285c6000dce8fde_optimized_1200.jfif);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: auto;
}

.fact2 {
    background: url(../img/fon/639084146c99ad000d69e49a_optimized_3840.jfif);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: auto;
}

.fact3 {
    background: url(../img/fon/63d90bf8d92a24000da645cf_optimized_5120.jfif);
    background-position: center;
}

.fact4 {
    background: url(../img/fon/5-fon.jpg);
    background-position: center;
}

.fact5 {
    background: url(../img/fon/63d90c318ea871000df03d72_optimized_3840.jfif);
    background-position: center;
}

.fact6 {
    background: url(../img/fon/63908615b2eb87000d7833c3_optimized_3840.jfif);
    background-position: center;
}

.fact7 {
    background: url(../img/fon/639080d30b4afe000da0bd67_optimized_2560.jfif);
    background-position: center;
}

.fact8 {
    background: url(../img/fon/639080460b4afe000da0bd0a_optimized_3840.jfif);
    background-position: center;
}

.fact9 {
    background: url(../img/fon/9-fon.jpg);
    background-position: center;
}

.fact10 {
    background: url(../img/fon/8-fon.jpg);
    background-position: center;
}


.facts>img:first-child {
    width: 100%;
    margin-top: 5%;
}

.facts>img:last-child {
    width: 100%;
    margin-bottom: 10%;
    margin-top: 2%;
}

.fact10>.facts>img:nth-child(2) {
    width: 100%;
    margin-top: 2%;
}

.fact10>.facts>a {
    display: flex;
    justify-content: center;
    margin-bottom: 2%;
    margin-top: 8%;    
}

.square-animation {
    animation: wipe-enter 1s 1
  }
  @keyframes wipe-enter {
    0% {
      transform: scale(1, .025)
    }
}

.sleep {
    background: url(../img/fon/down-banka-47.jpg);
    background-size: cover;
    background-repeat: repeat-y;
    background-position: center;
}

.more {
    padding-top: 80%;
}

.more>button {
    background-color: #d51920;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 8px;
    margin-bottom: 2%;
}



/* map */

.map {
    background: url(../img/fon/map-fon.jpg);
}

.map-body {
    background-color: white;
    width: 66%;
    margin-top: 6%;
    margin-bottom: 2%;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
}

.map-body>img:first-child {
    padding-top: 2%;
    max-width: 60%;
}

.map-body>a>img {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 1%;
}

.buttons {
    display: flex;
    justify-content: space-between;
    width: 50%;
    margin-top: .5%;
    margin-bottom: 2%;
}

.buttons>form>button {
    padding: 8px 20px;
    border-radius: 8px;
    background-color: #d51920;
    font-weight: bold;
}

.icon-btn {
    margin-right: 6%;
}

.header-tabs a:hover {
    filter: brightness(90%);
}

button:hover {
    filter: brightness(80%);
}

.buttons>form:last-child>button {
    background-color: white;
    color: #d51920;
    padding-left: 8px;
}

.menu-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 2%;
}

.menu-icon>a>svg {
    color: rgb(213, 25, 32);
}

/* footer */

.footer {
    background: url(../img/fon/polosa_small.jpg);
}

footer>.footer-content>img:first-child {
    width: 26%;
}

footer>.footer-content>img:nth-child(2) {
    margin-left: 6%;
    margin-right: 17%;
    width: 35%;
}

footer>.footer-content {
    display: flex;
    align-items: center;
    padding: 2%;
}

footer>.footer-content>p {
    color: white;
    text-align: right;
}

/* info */

.button-home {
    display: flex;
    justify-content: flex-end;
}

.button-home>a {
    display: flex;
    justify-content: flex-end;
    padding: 5px;
}

.button-home>a>img {
    width: 44%;
}

.main-content {
    background-color: #9cd5f1;
}

.main-text {
    background-color: white;
    color: #0067ac;
}

.pill-info>.row>.img1>img {
    width: 100%;
}

.pill-info {
    display: flex;
    text-align: left;
    margin-bottom: 10%;
}

.info-headers>p {
    font-size: 20px;
}

.info-headers>h4 {
    font-size: 21px;
}

.info-headers>h2:nth-child(2) {
    font-size: 34px;
}

.info-headers {
    margin-bottom: 8%;
}

.info-headers>h3 {
    font-size: 21px;
    margin-bottom: 5%;
}

.h23 {
    font-size: 30px;
    color: #008fd5;
}

.info-headers>h2:nth-child(2) {
    line-height: 40px;
}

.first-block { 
    padding: 10px;
}

.pill-info {
    font-size: 18px;
}

.main-info {
    font-size: 18px;
}

.main-info>p {
    margin-bottom: 2%;
}

.button>form>button {
    padding: 12px 30px;
    font-size: 15px;
    border-radius: 8px;
    background-color: #d51920;
    margin-top: 5%;
    margin-bottom: 5%;
}

.button>form>button>span {
    margin-right: 10px;
    padding-top: 2%;
}

.btn:focus {
    outline: 0;
    outline-offset: 0;
}

.btn:active:focus {
    outline: 0;
    outline-offset: 0;
}

.menu-icon-info {
    width: 70px;
    height: 70px;
    margin-bottom: 2%;
}

.menu-icon-info>a>svg {
    color: rgb(213, 25, 32);
}

/* header mobile */

.header-mobile {
    background-color: #3bbeff;
}

.header-mobile-logo>img {
    width: 50%;
}

.icon-bar {
    background-color: white;
}

.navbar-header>.container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.navbar-header>.container>.button-header {
    display: flex;
    justify-content: flex-start;
}

.main-foto-m>img {
    width: 100%;
}

.facts-m>img {
    width: 70%;
}

.facts-m>img:first-child {
    margin-top: 5%;
    margin-bottom: 5%;
}

.facts-m>img:last-child {
    margin-bottom: 5%;
}

.fact1-m {
    background:rgb(224, 212, 196);
}

.fact2-m {
    background:rgb(191, 212, 215);
}

.fact3-m {
    background:rgb(238, 237, 203);
}

.fact4-m {
    background:rgb(229, 202, 204);
}

.fact5-m {
    background:rgb(205, 221, 206);
}

.fact6-m {
    background:rgb(220, 208, 223);
}

.fact7-m {
    background:rgb(239, 232, 187);
}

.fact8-m {
    background:rgb(248, 208, 152);
}

.fact9-m {
    background:rgb(207, 189, 175);
}

.fact10-m {
    background:rgb(175, 212, 234);
}

.fact10-m>.facts-m>a {
    display: flex;
    justify-content: center;
    margin-bottom: 2%;
    margin-top: 8%;    
}

.nav-pills {
    display: flex;
    flex-direction: column;
}

.nav-pills>li>a {
    color: white;
}

.nav-pills>li>a:hover {
    color: rgb(41, 40, 40);
    background-color: transparent;
}


@media(max-width:1780px) { 
    .buttons {
        width: 70%;
    }

    .map-body {
        width: 66%;
    }
}

@media(max-width:1199px) {

    .img1 {
        width: 50%;
        padding-top: 4%
    }

    .header-logo>a>img {
        max-width: 60%;
    }
    .buttons {
        width: 80%;
    }

    .map-body {
        width: 80%;
    }
}

@media(max-width:992px) {
    
    .img1 {
        width: 50%;
        padding-top: 15%;
        padding-bottom: 15%;
    }

    .header-logo>a>img {
        max-width: 80%;
    }

    .buttons {
        width: 90%;
    } 
    
    .sleep-imgs img {
        width: 90%;
    }

} 

@media(max-width:767px) {

    .header-mobile-logo>img {
        width: 60%;
    }

    .pill-info>.row {
        display: flex;
        flex-direction: column;
        padding: 2%;
    }

    .nav-pills>li>a:focus {
        background: transparent;
    }

    .img1 {
        width: 100%;
        padding-bottom: 0;
    }

    .sleep {
        background: url(../img/fon-m/footer-fon-m.jpg);
        background-size: cover;
        background-repeat: repeat-y;
        background-position: center;
    }

    .sleep>.container>.block>img {
        width: 100%;
        margin-right: 0;
    }

    .sleep>.container>.block>img:nth-child(2) {
        padding-top: 20%;
    }

    .more {
        padding-top: 10%;
    }

    .map-body {
        width: 90%;
    }

    .map-body>img:nth-child(2) {
        width: 100%;
    }

    .buttons {
        width: 100%;
    }

    .buttons>form>button {
        width: 100%;
    }
    
    .buttons>form>button {
        font-size: 12px;
        width: 100%;
        margin-top: 2%;
    }
    
    .map-body>a>img {
        width: 100%;
    }

    footer>.footer-content {
        flex-direction: column;
        justify-content: center;
    }

    footer>.footer-content>img:first-child {
        margin: 0;
        margin-left: 5%;
        margin-bottom: 2%;
        width: 60%;
    }

    footer>.footer-content>img:nth-child(2) {
        margin: 0;
        margin-bottom: 2%;
        width: 60%;
    }

    footer>.footer-content>p {
        text-align: center;
    }
} 

@media(max-width:637px) {

    .map-body {
        width: 100%;
    }

    .header-mobile-logo>img {
        width: 80%;
    }
    
    .buttons {
        display: flex;
        flex-direction: column;
    }

    .more>button {
        width: 100%;
        font-size: 12px;
        padding: 12px 30px;
    }
} 