/* General instructions */

html, body {
    margin: 0;
}

body {
    width: 100vw;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

a {
    color: white;
    text-decoration: none;
}

.button {
    font-family: Cardo;
    font-size: 1.5rem;
    color: white;
    text-align: center;
    background-color: #f7c8d8;
    border-radius: 200px;
    padding: 1rem 2rem;
    border: none;
    line-height: 100%;
    cursor: pointer;
    transition: 150ms ease-in-out;
}

.button:hover {
    background-color: #e8abbf;
}

/* Navigation */

.nav {
    position: relative;
    width: calc(100vw - 2rem);
    height: 3rem;
    z-index: 2;
    padding: 1rem;
    background-color: #f7c8d8;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    height: 3rem;
    width: 3rem;
    padding: 0.2rem 0.1rem 0.1rem 0.2rem;
    border-radius: 50%;
    background-color: white;
}

.nav__menu {
    height: 2rem;
    width: 2rem;
    cursor: pointer;
}

.nav__links__mobile {
    position: absolute;
    height: calc(100vh - 5rem);
    width: 100vw;
    top: 5rem;
    left: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f7c8d8;

    transform: translate3d(0, -100%, 0);
    transition: transform 500ms ease-in-out;
}

.nav__links__mobile-open {
    transform: translate3d(0, 0, 0);
}

.nav__links__link {
    position: relative;
    display: inline-block;
    font-family: Cardo;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    padding: 0.3rem;
    margin: 1rem;
}

.nav__links__link::after {
    position: absolute;
    width: 100%;
    height: 1.5px;
    bottom: 0;
    left: 0;
    content: '';
    transform: scaleX(0);
    background-color: white;
    transition: transform 0.25s ease-out;
}

.nav__links__link:hover::after {
    transform: scaleX(1);
}

/* Header */

.header__background {
    position: relative;
    width: 100vw;
    height: calc(90vh - 5rem);
    background-image: url('img/header-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header__title {
    margin: 0;
    font-family: Cardo;
    font-size: 3rem;
    color: black;
    text-shadow: 0px 3px 2px #6666;
    text-align: center;
    line-height: 100%;
}

.header__subtitle {
    margin: 0;
    font-family: Cardo;
    font-size: 2rem;
    color: black;
    text-align: center;
    line-height: 100%;
}

.header__description {
    margin: 1rem 0;
    font-family: Cardo;
    font-size: 1.5rem;
    color: black;
    text-align: center;
    line-height: 100%;
}

.header__button {
    position: absolute;
    bottom: 1rem;
}

.header__img {
    height: 40vh;
    max-width: 80vmin;
    border: solid 4px #f7c8d8;
    border-radius: 24px;
}

/* Sections */

section {
    position: relative;
    min-height: 70vh;
    padding: 10vmin;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.section__title {
    position: relative;
    display: inline-block;
    margin: 0;
    font-family: Cardo;
    font-size: 2rem;  
    color: #44413c;
    text-shadow: 0px 3px 2px #6666;
    text-align: left;
    line-height: 100%;
}

.section__title::after {
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    content: '';
    background-color: #f7c8d8;
    transition: transform 0.25s ease-out;
}

.section__motif__top, .section__motif__bottom {
    display: none;
}

/* 1 - About */

.about__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 2rem;
}

.about__content__img {
    max-width: 60vmin;
    border: solid 4px #f7c8d8;
    border-radius: 24px;
}

.about__content__descr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.about__content__descr__txt {
    margin: 2rem 0;
    font-family: Cardo;
    font-size: 1.2rem;  
    font-weight: 600;
    color: black;
    text-align: left;
    line-height: 120%;
}

/* 2 - Travel */

.travel {
    position: relative;
    background-image: url('img/about-background.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.travel__title {
    color: white;
    text-shadow: 0px 3px 2px #6666, 0px 0px 2px #111F, 0px 0px 10px #111F;
}

.travel__content {
    width: 100%;
    margin-top: 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.travel__content__panel {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: white;
    margin: 1rem 0;
    transition: 250ms ease-in-out;
}

.travel__content__panel:hover {
    transform: translate3d(0, -6px, 0);
}

.travel__content__panel__title {
    margin: 0;
    font-family: Cardo;
    font-size: 1.5rem;  
    color: #44413c;
    text-align: center;
    line-height: 100%;
}

.travel__content__panel__txt {
    margin: 1rem 0 0;
    font-family: Cardo;
    font-size: 1.2rem;  
    color: #44413c;
    text-align: center;
    line-height: 120%;
}

.travel__pinkbg {
    position: absolute;
    width: 100vw;
    height: 30%;
    bottom: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    background-color: #f7c8d8;
}

/* 3 - Offers */

.offers__maintitle {
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.offers__maintitle::after {
    height: 4px;
    bottom: -8px;
}

.offers__content {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.offers__content__descr {
    align-items: flex-start;
}

.offers__content__descr__txt {
    margin-bottom: 0;
    font-weight: 300;
}

.offers__content__descr__txt>b, .offers__content__descr__txt>li>b {
    font-weight: 600;
}

.offers__content__img {
    width: 80vw;
    height: 80vw;
    border: solid 4px #f7c8d8;
    border-radius: 24px;
    object-fit: cover;
    object-position: center;
}

.offers__content__offer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 2rem 0;
}

.offers__content__offer__img {
    width: 60vw;
    height: 60vw;
    border: solid 4px #f7c8d8;
    border-radius: 24px;
    object-fit: cover;
    object-position: center;
}

.offers__content__offer__title {
    margin: 1rem 0 0;
    font-family: Cardo;
    font-size: 1.5rem;  
    color: #44413c;
    text-align: center;
    line-height: 100%;
}

.offers__content__offer__txt {
    margin: 1rem 0 0;
    font-family: Cardo;
    font-size: 1.2rem;  
    color: #44413c;
    text-align: center;
    line-height: 120%;
}

.offers__button {
    margin: 0 auto;
}

/* 4 - Japanese */

.japanese {
    background-color: #f7c8d8;
}

.japanese__title::after {
    background-color: white;
}

.japanese__subtitle {
    width: 100%;
    margin: 1rem 0 0;
    font-family: Cardo;
    font-size: 1.5rem;  
    color: #44413c;
    text-align: left;
    line-height: 100%;
}

.japanese__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.japanese__content__img {
    width: 80vw;
    margin: 2rem 0 0;
}

.japanese__content__descr {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.japanese__content__descr__txt {
    margin: 2rem 0;
    font-family: Cardo;
    font-size: 1.2rem;
    color: black;
    text-align: left;
    line-height: 120%;
}

.japanese__content__descr__button {
    margin-top: 2rem;
    background-color: white;
}

.japanese__content__descr__button>a {
    color: black;
}

.japanese__offers__content__img {
    border: solid 4px white;
}

/* 5 - Notices */

.notices {
    align-items: flex-start;
}

.notices__container {
    width: 100vw;
    margin: 2rem 0 0 -10vmin;
    background-color: #f7c8d8;
    overflow-x: scroll;
}

.notices__content {
    width: max-content;
    max-height: 69vh;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: hidden;
}

.notices__content__notice {
    width: 80vw;
    max-width: 320px;
    height: 67vh;
    padding: 5vmin 10vmin;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: scroll;
}

.notices__content__notice__title {
    margin: 0 0 1rem;
    font-family: Cardo;
    font-size: 1.5rem;
    color: black;
    text-align: left;
    line-height: 120%;
}

.notices__content__notice__author {
    margin: 0 0 1rem;
    font-family: Cardo;
    font-size: 1.2rem;
    color: black;
    text-align: left;
    line-height: 120%;
}

.notices__content__notice__txt {
    margin: 0;
    font-family: Cardo;
    font-size: 1.2rem;
    color: black;
    text-align: left;
    line-height: 120%;
}

.notices__content__arrows {
    width: 100%;
    margin-top: -1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.notices__content__arrow {
    position: sticky;
    bottom: 1rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #b49977;
    border-radius: 50%;
    cursor: pointer;
}

.notices__content__arrow__left {
    left: 10vmin;
}

.notices__content__arrow__right {
    right: 10vmin;
}

.notices__content__arrow__img {
    fill: white;
    width: 2.5rem;
}

.notices__content__arrow__img__left {
    margin-left: -3px;
}

.notices__content__arrow__img__right {
    margin-right: -3px;
}

/* About page */

.story {
    background-color: #f7c8d8;
}

.story__title::after {
    background-color: white;
}

.story__content__txt {
    margin: 2rem 0;
    font-family: Cardo;
    font-size: 1.2rem;
    color: black;
    text-align: left;
    line-height: 120%;
}

.about__content__logo {
    padding: 0.8rem;
    border-radius: 50%;
}

/* Footer */

footer {
    padding: 5vmin 10vmin;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}
  
.footer__element {
    height: 3rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
  
.footer__element__icon {
    height: 2rem;
}
  
.footer__element__text {
    display: none;

    margin: 0 1rem;
    font-family: Cardo;
    font-size: 1.2rem;  
    font-weight: 600;
    color: black;
}

@media (min-width: 600px) {
    .nav__menu {
        display: none;
    }

    .nav__links__mobile {
        position: relative;
        height: 5rem;
        width: initial;
        top: inherit;
        left: inherit;
        z-index: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        background-color: inherit;
    
        transform: translate3d(0, 0, 0);
        transition: 0ms;
    }

    section {
        align-items: flex-start;
    }

    .about__content {
        flex-direction: row-reverse;
    }

    .about__content--reversed {
        flex-direction: row;
    }

    .about__content__img {
        max-width: 25vw;
    }

    .offers__content__img {
        width: 33vw;
        height: 33vw;
    }

    .about__content__descr__txt {
        margin-right: 5rem;
    }

    .about__content__descr__txt--reversed {
        margin-right: 0;
        margin-left: 5rem;
    }
    
    .offers__content__offer__img {
        width: 50vw;
        height: 50vw;
    }

    .japanese__subtitle {
        width: auto;
        text-align: center;
    }

    .japanese__content {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }

    .japanese__content__img {
        width: 50vw;
    }

    .japanese__content__descr {
        align-items: flex-start;
    }

    .japanese__content__descr__txt {
        margin: 2rem 2rem 2rem 0;
        line-height: 150%;
    }
}

@media (min-width: 900px) {
    .section__motif__top {
        display: block;
        position: absolute;
        left: -4rem;
        top: 3rem;
        z-index: 5;
        width: 8rem;
        height: 2.3rem;
        background-image: url('./img/motif.png');
        background-size: contain;
        background-repeat: no-repeat;
    }

    .section__motif__bottom {
        display: block;
        position: absolute;
        right: -4rem;
        bottom: 6rem;
        z-index: 5;
        width: 8rem;
        height: 2.3rem;
        background-image: url('./img/motif.png');
        background-size: contain;
        background-repeat: no-repeat;
    }

    .travel__content {
        margin-top: 5rem;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    .travel__content__panel {
        max-width: 20vw;
        padding: 3vw;
        margin: 0;
    }

    .travel__pinkbg {
        opacity: 1;
    }

    .offers__content {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
    
    .offers__content__offer {
        margin: 2rem;
        flex: 1 1 0px;
    }
    
    .offers__content__offer__img {
        width: 20vw;
        height: 20vw;
    }
  
    .footer__element__text {
        display: block;
    }
}