:root {
    --color-foreground: 255, 255, 255;
    --color-background: #1b1b1d;
    --color-ado: #00688f;
    --email-field: #242833;
}


body {
    background-color: var(--color-background);
    margin: 0;
    font-family: Assistant, sans-serif;
}

/* scrollbar */
::-webkit-scrollbar {
    width: 0;
    height: 0;
}

nav {
    height: 10vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    padding: 15px clamp(.5rem, calc(28vw - 6rem), 40rem);
    border-bottom: 2px solid rgba(var(--color-foreground), .05);
    background-color: var(--color-background);
 
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}


nav div {
    display: flex;
    align-items: center;
    gap: calc(2vmin + .3em);
}

nav p {
    color: rgb(var(--color-foreground));
    text-underline-offset: .25em;

    font-size: calc(.6vmin + .5em);
    cursor: pointer;
}
nav img {
    width: calc(4em + 6vmin);
}

nav p:hover {
    color: rgb(var(--color-foreground));

    text-shadow: 
        0 0 4px #fff,
        0 0 6px var(--color-ado),
        0 0 8px var(--color-ado),
        0 0 16px var(--color-ado),
        0 0 24px var(--color-ado); 
}

nav p {
    color: rgba(var(--color-foreground), .75);
}

.active-page {
    text-decoration: underline;
}

#language {
    display: flex;
    align-items: center;
    gap: .6rem;
    cursor: pointer;
    position: relative;
    padding: .4rem .6rem;
}

#language img {
    width: calc(.7vmin + .9em);
    transition: .4s ease;
}

#language.toggle img {
    transform: rotate(180deg);
}

nav > div:last-child {
    position: relative;
}

.switcher {
    gap: 0;
    position: absolute;
    top: 80%;
    right: 0;
    opacity: 0;
    pointer-events: none;
    transition: all ease .2s;
    display: flex;
    flex-direction: column;
    background-color: rgba(27, 27, 29, .95);
    border: 1px solid rgba(var(--color-foreground), .12);
    border-radius: 8px;
    padding: .4rem 0;
    min-width: calc(6em + 3vmin);
    transform: translateY(-5px);
    z-index: 2;
}

.switcher.toggle {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.switcher p {
    width: calc(100% - 4rem);
    margin: 0;
    padding: .75rem 1.4rem;
    color: rgba(var(--color-foreground), .85);
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.switcher :first-child {
    border-radius: 8px 8px 0 0;
}

.switcher :last-child {
    border-radius: 0 0 8px 8px;
}

.switcher p:hover {
    background: rgba(var(--color-foreground), .08);
    color: rgb(var(--color-foreground));
}

.switcher p.active {
    background: rgba(var(--color-foreground), .18);
    color: #fff;
}

.switcher span {
    display: none;
    font-weight: 900;
}

.switcher span.toggle {
    display: inline;
}

.banner {
    height: 90vh;
    box-sizing: border-box;
    position: relative;
}

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

.tour {
    height: 100%;
    width: 100%;
    flex-wrap: wrap;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    padding: 0 3%;

}
.tour img {
    width: 30%;
    min-width: 300px;
}

main {
    padding: 15px clamp(.5rem, calc(28vw - 6rem), 40rem);
    color: rgba(var(--color-foreground), .75);
}

.disclaimer {
    text-align: center;
    width: 60%;
    min-width: 300px;
    margin: 0 auto 40px;
}

.disclaimer h2 {
    color: brown;
    font-size: calc(1.2em + 1vmin);
}

.disclaimer p {
    font-size: calc(.6vmin + .5em);
    margin-top: 0;
}

.hibana, .ado-best {
    display: flex;
    gap: 1%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    
    margin-bottom: max(6%, 20px);
}

.item img {
    width: 100%;
}

.item {
    position: relative;
    flex: 0 0 30%;
    max-width: 30%;
    height: 33%;
    scroll-snap-align: start;
    background: linear-gradient(
      100deg,
      var(--_default-color),
      var(--_default-color) 50%,
      var(--_shimmer-color) 60%,
      var(--_default-color) 70%
    );
    background-size: 200%;
    background-position: 100% 0;
    
    animation: skeleton-shimmer 2s ease-out infinite;
    --_default-color: #e8e8e8;
    --_shimmer-color: #fff;


}

@keyframes skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0% 0;
  }
}

.item span {
    font-size: calc(.6vmin + .4em);
}

.item #name {
    padding: 5px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    color: rgba(var(--color-foreground), 1);
    background: linear-gradient(to top, #1b1b1d, #1b1b1db9);

    font-weight: bold;
}

.item #price {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
    
    background-color: #1b1b1d;
    font-weight: bolder;
}

.item {
    cursor: pointer;
}


.email {
    padding: 40px clamp(.5rem, calc(28vw - 6rem), 40rem);
    background-color: var(--email-field);
}

.email h3 {
    margin-top: 0;
    text-align: center;
    color: rgba(var(--color-foreground), 1);
    font-size: calc(1em + 1vmin);
}

.email p {
    text-align: center;
    color: rgba(var(--color-foreground), .75);
    font-size: calc(.6vmin + .5em);
}

.email form {
    display: flex;
    justify-content: center;
}

.email div {
    text-align: center;
    position: relative;
    width: clamp(300px, 50%, 400px);
}

.email input {
    box-sizing: border-box;
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(var(--color-foreground), .5);
    border-radius: 4px;
    background-color: transparent;
    color: rgba(var(--color-foreground), .75);
    font-size: calc(.6vmin + .5em);

    transition: all .3s ease;
}

.email input:focus {
    outline: none;
    border-color: rgba(var(--color-foreground), 1);
}

.email button {
    position: absolute;
    right: 8px;
    top: 10%;
    
    border: none;
    background-color: transparent;
    color: rgba(var(--color-foreground), .5);
    font-size: calc(1vmin + .8em);
    cursor: pointer;
}

.email span {
    color: rgba(var(--color-foreground), .5);
    font-size: calc(.3vmin + .35em);
    letter-spacing: .06rem;
}


footer {
    padding: 15px clamp(.5rem, calc(28vw - 6rem), 40rem) 40px;
    border-top: 2px solid rgba(var(--color-foreground), .05);
}

footer p {
    color: rgba(var(--color-foreground), .50);
    font-size: calc(.3vmin + .5em);
}

footer .top {
    margin-bottom: calc(.8em + 4vmin);
}

footer .icons {
    display: flex;
    justify-content: space-between;
}

footer .icons div {
    display: flex;
    gap: calc(.1em + .4vmin);
}

footer img {
    width: calc(.6em + 2vmin);
    color: rgba(var(--color-foreground), .05);
}

footer .bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

footer .bottom .highlighted {
    color: var(--color-ado);
    transition: color .25s ease;
}

footer .bottom .highlighted:hover {
    color: #cffcff;
}


footer .bottom a, footer .bottom span {
    letter-spacing: .07rem;
    color: rgba(var(--color-foreground), .50);
    font-size: calc(.12vmin + .44em);
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

footer .bottom a:hover {
    color: rgba(var(--color-foreground), .75);
}

footer .bottom a:not(:first-child, :nth-child(2)) {
    margin-left: 20px;
}

footer .bottom a:not(:first-child, :nth-child(2)):before {
    content: "";
    position: absolute;
    height: 2px;
    width: 2px;
    border-radius: 50%;
    background-color: rgba(var(--color-foreground), .50);
    left: -10px;
    bottom: 50%;
}



@media (max-width: 500px) {
    .tour {
        justify-content: center;
    }
    footer .bottom {
        justify-content: center;
    }
    .item {
        flex: 0 0 45%;
        max-width: 45%;
    }
    .email div {
        width: 80%;
    }
    footer .bottom a:not(:first-child, :nth-child(2)) {
        margin-left: 10px;
    }
    footer .bottom a:not(:first-child, :nth-child(2)):before {
        left: -7px;
    }


}
