:root {
    --color-fufu-1: #f4cdc0;
    --color-fufu-2: #fce8e2;
    --color-fufu-3: #f7d8ce;
    --color-fufu-4: #ffe3dc;
    --color-fufu-5: #c22d1d;

    --space-fufu-0: 20px;
    --space-fufu-1: 38px;
    --space-fufu-2: 76px;
    --space-fufu-3: 98px;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--color-fufu-1); 
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--color-fufu-5); 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--color-fufu-5); 
}

body {
    background-color: var(--color-fufu-2);
    font-family: 'Rubik', serif;
    margin: 0;
    padding: 0;
    animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

header {
    background-color: var(--color-fufu-1);
    height: 386px;
    padding: var(--space-fufu-2);
    box-sizing: border-box;
}

main {
    background-color: var(--color-fufu-2);
}

header > div,
main > section > div,
footer > div {
    max-width: 1200px;
    min-height: 200px;
    margin: 0 auto;
}

header .content img {
    margin-top: var(--space-fufu-1);
    min-width: 60%;
    max-width: 80%;
}

main > section {
    box-sizing: border-box;
}

main > section:first-child {
    height: 560px;
    background-color: var(--color-fufu-3);
    position: relative;
}

main > section:nth-child(2) {
    height: 720px;
    background-color: var(--color-fufu-4);
}

.content {
    position: relative;
    border-top: 1px solid var(--color-fufu-5);
    max-width: 1126px;
    min-height: 160px;
    margin-bottom: 76px;
}

.content::before {
    content: '';
    position: absolute;
    top: -38px;
    right: 0;
    width: 8px;
    height: 38px;
    background-color: var(--color-fufu-5);
}

.content .title {
    width: 210px;
    position: absolute;
    top: var(--space-fufu-3);
    right: -82px;
    transform: rotate(90deg);
    color: var(--color-fufu-5);
}

.content .title-mobile {
    display: none;
}

#fulana .content .title {
    width: 370px;
    top: 185px;
    right: -166px;
}

#furo .content .title {
    width: 520px;
    top: 276px;
    right: -242px;
}

.content .title p {
    margin: 0;
    font-size: 20px;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 700;
    word-spacing: 12px;
}

.content .title p span {
    font-weight: 300;
    word-spacing: 10px;
}

.content .texts {
    margin-top: var(--space-fufu-1);
}

.content .texts p {
    margin: 0;
    font-size: 58px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-fufu-5);
}

#where .content .texts p {
    font-weight: 300;
}

.content .texts p span {
    font-weight: 300;
}

.content .texts.texts-50,
.content .texts.texts-100 {
    margin-top: var(--space-fufu-0);
}

.content .texts.texts-50 {
    width: 32%;
    float: left;
}

#contents .content .texts.texts-50 {
    width: 34%;
}

.content .texts.texts-50 p,
.content .texts.texts-100 p {
    font-size: 30px;
    margin-bottom: 10px;
}

#contents .content .texts.texts-50 p {
    font-size: 16px;
    line-height: 1.3;
    text-transform: none;
    margin-bottom: var(--space-fufu-0);
}

#contents .content .texts.texts-50 p.sub-title {
    font-weight: 400;
}

.content .texts a,
footer .content a {
    color: var(--color-fufu-5);
    text-decoration: none;
}

.content .texts a:hover,
footer .content a:hover {
    opacity: .7;
}

.content .image-texts {
    margin-top: var(--space-fufu-0);
    display: flex;
    gap: var(--space-fufu-0);
    align-items: flex-end;
}

.image-texts > div:first-child {
    flex: 60% 2 0;
}

.image-texts > div:nth-child(2) {
    flex: 40% 2 0;
}

.content .image-texts img {
    border: 1px solid var(--color-fufu-5);
    width: calc(100% - 2px);
}

.content .image-texts p {
    width: 80%;
    margin: 0;
    color: var(--color-fufu-5);
    font-size: 14px;
    margin-bottom: 80px;
}

.content .image-texts p:last-of-type,
#fulana .content .image-texts p:last-of-type,
#furo .content .image-texts p:last-of-type {
    margin-bottom: 0;
}

#fulana .content .image-texts p,
#furo .content .image-texts p {
    margin-bottom: 4px;
}

.content .image-texts .sub-title {
    font-weight: 700;
    font-style: italic;
}

footer img {
    max-width: 172px;
    max-height: 36px;
}

footer .content::before {
    display: none;
}

footer .content {
    max-width: 1126px;
    min-height: 100px;
    padding-top: var(--space-fufu-0);
    display: flex;
    gap: var(--space-fufu-0);
}

footer .content p {
    margin: 0;
    color: var(--color-fufu-5);
}

.reveal{
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active{
    transform: translateY(0);
    opacity: 1;
}

.margin-left-s {
    margin-left: var(--space-fufu-0);
}

.map__wrapper {
    position: relative;
    margin-top: var(--space-fufu-0);
}

.map__wrapper img {
    position: absolute;
    width: 732px;
    height: 481px;
}

.map__wrapper a {
    position: absolute;
    left: 332px;
    top: 182px;
    z-index: 1;
}

.map__wrapper a .blinking-circle {
    width: 12px;
    height: 12px;
    background-color: #ffca28;
    border: 1px solid var(--color-fufu-5);
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

.map__wrapper a .blinking-circle:hover {
    animation-play-state: paused;
}

.image-legend {
    background-color: var(--color-fufu-5);
    color: #fff;
    margin-top: -4px;
    padding: 2px 4px;
    font-size: 12px;
}

.tag {
    position: absolute;
    top: 320px;
    right: calc(50% - 486px);
    z-index: 1;
    opacity: 0;
    transform: translateY(24px) scale(0.92);
    pointer-events: none;
}

.tag img {
    width: 100%;
    height: 100%;
}

.tag.visible {
    animation: tagReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: auto;
}

@keyframes blink {
0% {
    opacity: 1;
    transform: scale(150%);
}
50% {
    opacity: .5;
    transform: scale(100%);
}
100% {
    opacity: 1;
    transform: scale(150%);
}
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
     }
}

@keyframes tagReveal {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(0.92);
    }
    60% {
        opacity: 1;
        transform: translateY(-6px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 1281px)  { 
    /* tablet landscape */
    header {
        height: 320px;
    }

    main > section {
        padding: var(--space-fufu-2);
        padding-top: 0;
    }

    .content .texts p {
        font-size: 38px;
    }
    
    .content .texts.texts-50 p,
    .content .texts.texts-100 p {
        font-size: 24px;
    }

    footer .content {
        max-width: 876px;
    }
}

@media (max-width: 769px)  { 
    /* tablet portrait */
    .map__wrapper img {
        width: 608px;
        height: 400px;
    }

    .map__wrapper a {
        left: 268px;
        top: 149px;
    }

    main > section:nth-child(2) {
        height: 580px;
    }

    footer .content {
        max-width: 626px;
    }
}

@media (max-width: 426px)  { 
    /* mobile */
    header {
        padding: var(--space-fufu-0);
        height: 160px;
    }

    .tag {
        top: 130px;
        right: calc(50% - 176px);
        width: 40%;
    }

    main > section:first-child {
        height: 620px;
    }

    .content .title {
        display: none;
    }

    .content::before {
        display: none;
    }

    main > section {
        padding: var(--space-fufu-0);
        padding-top: 0;
    }

    .content .texts p {
        font-size: 22px;
    }

    #contents .content .texts.texts-50 {
        width: 82%;
        float: none;
        margin-left: 0;
    }

    #contents .content .texts.texts-50 p {
        font-size: 14px;
        margin-top: 10px;
    }

    .content .title-mobile {
        display: block;
        background-color: var(--color-fufu-5);
        width: 174px;
        padding: 2px;
        font-size: 12px;
        color: #fff;
        margin-bottom: 10px;
    }

    .content .title-mobile p {
        margin: 0;
        text-transform: uppercase;
    }

    .content .title-mobile p .sub-title {
        font-weight: 400;
    }

    #where .content .texts p {
        font-size: 16px;
    }

    .map__wrapper img {
        width: 280px;
        height: 184px;
    }

    .map__wrapper a {
        left: 124px;
        top: 66px;
    }

    main > section:nth-child(2) {
        height: 380px;
    }

    .content .texts.texts-50 p,
    .content .texts.texts-100 p {
        font-size: 14px;
    }

    .content .texts.texts-50 {
        width: 48%;
        margin-top: 0;
    }

    .content .texts.texts-50.texts-50-mobile {
        width: 36%;
    }

    .content {
        min-height: 128px;
    }

    #contact .content {
        margin-bottom: 10px;
    }

    .content .image-texts {
        flex-direction: column;
        margin-top: 0;
        gap: 10px;
    }

    .image-legend {
        font-size: 10px;
    }

    .image-texts > div:nth-child(2) {
        flex: 50% 2 0;
    }

    .content .image-texts p {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .content {
        margin-bottom: 0;
    }

    .content .image-texts p:last-of-type,
    #fulana .content .image-texts p:last-of-type,
    #furo .content .image-texts p:last-of-type {
        margin-bottom: 20px;
    }

    footer .content {
        max-width: 88%;
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-size: 12px;
        margin-bottom: 40px;
    }
}