body {
    font-size: 14px;
    color: #222222;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

a, .a {
    color: #0d67b6;
}

main{
    max-width: 1200px;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 80px;
    position: relative;
}

header button {
    margin: 0 40px;
}

header .logo {
    display: block;
}

header .logo img{
    width: 180px;
    height: 120px;
}

header .lang_logo {
    width: 16px;
    height: 11px;
}

header .hreflangs {
    display: flex;
    height: 34px;
    justify-content: space-between;
    flex-direction: column;
    position: absolute;
    right: 35px;
    font-size: 18px;
    color: #46589c;
}

header .hreflangs .active{
    text-decoration: underline;
}

button {
    color: white;
    background: linear-gradient(45deg, #3a9638, #2e9e6b);
    padding: 10px 45px;
    border: none;
    outline: none;
    font-size: 18px;
    cursor: pointer;
}

.contacts {
    font-size: 12px;
}

.adress {
    font-size: 12.7px;
}

.phones {
    letter-spacing: 3px;
}

.phones [data-href] {
    display: block;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: dimgray;
    text-decoration: none;
}

.phones span {
    color: #e63239;
}

.banner {
    position: relative;
    height: calc(100vh - 80px);
}

.banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    position: absolute;
    text-align: center;
    top: 50%;
    left: calc(50% - 20px);
    transform: translate(-50%, -50%);
    max-width: 900px;
    width: calc(100% - 10px);
    box-sizing: border-box;
    font-size: 60px;
    font-weight: bolder;
    color: white;
    text-shadow: 5px 3px 5px #00000087;
    margin: 0 auto;
    padding: 40px 40px 30px;
}

.main-icons a, .main-icons .a {
    font-size: 21px;
    display: block;
    text-decoration: underline;
}

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

.flex.countries > a {
    width: calc(50% - 20px);
    height: 300px;
    margin-bottom: 20px;
}

.flex.countries .header {
    padding: 10px 20px;
    color: white;
    background: #25252573;
    font-size: 18px;
}

.resorts .item,
.sights .item {
    width: 30%;
    margin-bottom: 25px;
    border: solid 1px #8f8f8f;
    background: #f7f7e9;
    border-radius: 4px;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
}

.resorts-box, .sights-box{
    justify-content: center;
}

.resorts .item .title,
.sights .item .title {
    font-weight: bold;
    font-size: 24px;
    background: #2e9e6b;
    color: white;
    padding: 5px 10px;
    flex: 1 1 auto;
}

.resorts .item p,
.sights .item p {
    padding: 0 10px 8px 10px;
}

.sights .h3,
.resorts .h3 {
    text-align: center;
    font-size: 28px;
    margin: 20px auto;
    flex: 1 1 auto;
}

.sights img,
.resorts img {
    width: 100%;
}

.resorts .h3,
.sights .h2 {
    margin: 18px 0 18px 0;
    font-size: 28px;
}

.main-icons {
    display: flex;
    width: 80%;
    justify-content: space-evenly;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
}

.main-icons .col {
    width: 280px;
}

.gallery-box {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding-top: 40px;
    margin: 0 auto;
}

.gallery-box .header {
    padding: 10px 20px;
    color: white;
    background: #25252573;
    font-size: 18px;
    position: relative;
    margin-top: 15px;
}

.gallery-box .col {
    width: calc(45% - 20px);
    height: 300px;
    margin-bottom: 20px;
}

.winter-country-title h1 {
    max-width: 1120px;
    color: #46589c;
    text-shadow: 5px 3px 5px #00000038;
}

.emoji {
    width: 16px;
    height: auto;
    position: absolute;
    padding: 3px 0 0 3px;
}

.breadcrumbs {
    display: block;
    width: 100%;
    padding: 0;
    margin: 20px 0 0 0;
    list-style: none;
}
.breadcrumbs .link {
    display: inline;
    font-size: 17px;
}
.breadcrumbs .link+.link:before {
    padding: 3px;
    color: black;
    content: "»";
}
.breadcrumbs .link a {
    color: #0d67b6;
    text-decoration: none;
}
.breadcrumbs .link a:hover {
    color: #0d67b6;
    text-decoration: underline;
}

.container {
    max-width: 90%;
    margin: 0 auto;
}

@media (max-width: 1170px) {

}

@media (max-width: 915px) {
    header {
        flex-direction: column;
        height: 305px;
        margin-bottom: 30px;
        flex: 1 1 auto;
    }
    header .hreflangs {
        top: 25px;
    }
}

@media (max-width: 768px) {
    article img {
        width: 100%;
        height: auto;
    }
    .flex.countries > a:nth-child(odd){
        margin-right: 0;
    }
    .banner{
        height: 300px;
    }
    h1 {
        font-size: 55px;
        margin: 0 24px 0 24px;
    }
    header {
        flex-direction: column;
        height: 305px;
        margin-bottom: 30px;
    }
    header .hreflangs {
        top: 25px;
    }
    .phones a {
        font-size: 28px;
        font-weight: bold;
    }
    .adress {
        padding-bottom: 3px;
        font-size: 12.6px;
    }

    .main-icons {
        width: 95%;
    }
    .main-icons a, .main-icons .a {
        font-size: 18px;
    }

    .flex.countries > a {
        width: 100%;
    }
    .resorts .h3,
    .sights .h2 {
        font-size: 25px;
    }

    .gallery-box .col {
        width: 100%;
        height: 300px;
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 54px;
        margin: 0 24px 0 24px;
    }
    .main-icons {
        flex-direction: column;
        align-items: center;
    }
    .main-icons a {
        font-size: 18px;
    }
    .main-icons .col {
        margin-top: 20px;
        height: 179px;
    }
    .main-icons p {
        margin: 0;
    }
    .main-icons .h2 {
        margin: 9px;
    }
}

@media (max-width: 510px) {
    h1 {
        font-size: 45px;
    }
    header {
        padding: 0;
    }
}

@media (max-width: 365px) {

    header {
        padding: 0;
    }
    header button {
        width: 252px;
        font-size: 17px;
    }
    h1 {
       font-size: 36px;
    }
    .resorts h3,
    .sights h3 {
        font-size: 24px;
    }

}

aside nav{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

aside nav .title {
    text-transform: uppercase;
    padding: 15px 10px;
    color: #fff;
    background: linear-gradient(45deg,#79389e,#4c7fb4);
    font-weight: bold;
    letter-spacing: .5px;
}

aside nav .title, aside nav a, aside nav span {
    text-align: center;
    padding: 5px 15px;
    cursor: pointer;
    display: block;
    border: solid 1px #8f8f8f;
    background: #f7f7e9;
    color: #222;
    border-radius: 4px;
    text-decoration: none;
}

aside nav .active{
    color: black;
    border: 1px solid #2c9e6c;
    font-weight: bold;
    text-decoration: underline;
}