/******************************  

FONTS

******************************/

@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/open-sans_regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('./fonts/open-sans_regular-italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/open-sans_bold.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url('./fonts/open-sans_bold-italic.woff2') format('woff2');
}





/******************************  

HTML

******************************/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans';
    font-size: 1rem;
}

button {
    appearance: none;
    background-color: transparent;
}

img {
    display: block;
    width: 100%;
}





/******************************  

LEAFLET

******************************/

.leaflet-marker-icon:hover {
    opacity: .8;
}





/******************************  

TOUR

******************************/

.tour {
    display: flex;
    flex-direction: column-reverse;
}

.tour__col2 {
    height: 25vh;
}

.tour__map {
    height: 100%;
    z-index: 0;
}

.tour__text {
    padding: 20px;
    scroll-padding-top: 20px;
}


/* LANG */

.tour__lang {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 20px;
}

.tour__lang-link {
    background: center/cover;
    border-radius: 50%;
    border: 3px solid #fff;
    outline: 1px solid #000;
    display: block;
    font-size: 0;
    height: 30px;
    width: 30px;
}

.tour__lang-link.m--en {
    background-image: url('./images/en_england.svg');
}

.tour__lang-link.m--fr {
    background-image: url('./images/fr_france.svg');
}

.tour__lang-link.m--uk {
    background-image: url('./images/uk_ukraine.svg');
}

/* .tour__lang-link.m--current, */
.tour__lang-link:hover {
    border-color: #000;
}


/* NAV */

.tour__nav {
    background-color: #fff;
    bottom: 0;
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    margin-top: auto;
    padding: 20px;
    position: sticky;
    gap: 20px;
    height: 100px;
}

.tour__nav-btn {
    border: 1px solid #000;
    cursor: pointer;
    font-size: .875rem;
    width: 50%;
}

.tour__nav-btn.m--back {
    background: url('./images/home_black.svg') center/45% no-repeat;
    font-size: 0;
    position: relative;
    width: 80px;
}

.tour__nav-btn.m--back::before {
    background: inherit;
    background-image: url('./images/home_white.svg');
    content: '';
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.tour__nav-btn.m--back:hover::before {
    opacity: 1;
}

.tour__nav-btn.is-disable {
    pointer-events: none;
    opacity: .25;
}

.tour__nav-btn:not(.is-disable):hover {
    background-color: #000;
    color: #fff;
}





/******************************  

ARTICLE

******************************/

.article {
    height: 0;
    overflow: hidden;
}

.article.is-visible {
    height: auto;
}

.article__image {
    margin-top: 20px;
}

.article__text {
    line-height: 1.5;
    font-size: 1rem;
    margin-top: 20px;
}

.article__text p {
    margin-top: 1em;
}

.article__text ul {
    list-style: disc;
    margin-top: 1em;
    padding-left: 1em;
}

.article__list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    list-style: none !important;
    /* margin: 10px; */
    padding: 0 !important;
}

.article__list-item {
    background-size: 0;
    border: 1px solid #000;
    /* border-radius: 10px; */
    cursor: pointer;
    font-size: .875rem;
    padding: 20px 20px 20px 90px;
    position: relative;
    /* box-shadow: 0 0 10px rgba(0,0,0,.5); */
}

.article__list-item::before {
    background: center/cover no-repeat;
    background-image: inherit;
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 60px;
}

.article__list-item:hover {
    background-color: #000;
    color: #fff;
}





/******************************  

MEDIA QUERIES

******************************/

@media screen and (min-width: 768px) {

    /* TOUR */

    .tour {
        flex-direction: row;
        height: 100vh;
    }

    .tour__col1 {
        display: flex;
        flex-direction: column;
        height: 100vh;
        overflow-y: auto;
        width: calc(100% / 3);
    }

    .tour__col2 {
        height: 100%;
        width: calc(100% / 3 * 2);
    }

}