* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: #191919;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px 40px;
}

.header {
    margin-bottom: 40px;
}

.wordmark {
    height: 75px;
    width: auto;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 2s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

.intro-text {
    text-align: center;
    margin-top: 30px;
    opacity: 1;
    -webkit-transition: opacity 1.7s ease;
    transition: opacity 1.7s ease;
}

.intro-text.fading {
    opacity: 0;
    pointer-events: none;
}

.intro-text.fading .word {
    opacity: 0 !important;
    -webkit-transition: opacity 1.7s ease;
    transition: opacity 1.7s ease;
}

.intro-text.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    position: absolute;
}

.intro-line {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 32px;
    color: white;
    line-height: 2;
    margin: 0;
}

.intro-line .word {
    opacity: 0;
    display: inline-block;
    transition: opacity 1.5s ease;
}

.intro-line .word.visible {
    opacity: 1;
}

.intro-line .word.bold {
    font-weight: 700;
}

.intro-line .word-img {
    vertical-align: middle;
}

.handwritten-word {
    height: 1.39em;
    width: auto;
    vertical-align: baseline;
    margin: 0;
    position: relative;
    top: 0.22em;
}

.handwritten-word.smiley {
    height: 1.49em;
    margin-left: -0.2em;
    top: 0.37em;
}

.smiley-word {
    display: inline-block;
    width: 0;
    overflow: visible;
    transition: opacity 1.5s ease;
}

.smiley-link {
    cursor: pointer;
    text-decoration: none;
}

.intro-break {
    height: 1.6em;
}

.skip-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 120px;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 10px;
}

.skip-btn.visible {
    opacity: 0.4;
}

.skip-btn:hover {
    opacity: 0.7;
}

.skip-arrow {
    height: 32px;
    width: auto;
}

.circles-container {
    position: relative;
    width: 560px;
    height: 560px;
    margin-top: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.circles-container.visible {
    opacity: 1;
    pointer-events: auto;
}

.circle {
    position: absolute;
    width: 290px;
    height: 290px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    cursor: pointer;
    pointer-events: none;
    transition: opacity 0.5s ease, background-color 0.5s ease;
}

.circle-label {
    transition: color 0.5s ease;
}

.circle.interactive {
    pointer-events: auto;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in;
}

.slideshow-container.active {
    opacity: 1;
}

.slideshow-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.slideshow-img.visible {
    opacity: 1;
}


.gif-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in;
}

.gif-container.active {
    opacity: 1;
}

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

.flash-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.flash-container.active {
    opacity: 1;
}

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

.circle-1 {
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.circle-1.animate-in {
    animation: fadeToIdle1 2s ease forwards;
}

.circle-1.dimmed {
    opacity: 0.4 !important;
}

.circle-2 {
    top: 0;
    left: 270px;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease;
}

.circle-2.animate-in {
    animation: fadeToIdle2SlideRight 2s ease forwards;
}

.circle-2.animation-complete {
    animation: none;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.5s ease;
}

.circle-2.dimmed,
.circle-2.animation-complete.dimmed {
    opacity: 0.4 !important;
}

.circle-2.animation-complete:hover,
.circle-2.animation-complete.active {
    opacity: 1;
}

.circle-3 {
    top: 270px;
    left: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease;
}

.circle-3.animate-in {
    animation: fadeToIdle1SlideDown 2s ease forwards;
}

.circle-3.dimmed {
    opacity: 0.4 !important;
}

.circle-4 {
    top: 270px;
    left: 270px;
    border: none;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    filter: grayscale(0%);
    transition: filter 0.5s ease, opacity 0.5s ease;
}

.circle-4.animate-in {
    animation: fadeToIdle3ColorToGray 2s ease forwards;
}

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

@keyframes fadeToIdle1SlideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeToIdle2SlideRight {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeToIdle3 {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.5;
    }
}

@keyframes fadeToIdle3SlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0.5;
        transform: translateY(0);
    }
}

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

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

.circle-4 .portrait-color {
    opacity: 1;
}

.circle-4.animate-in .portrait-color {
    animation: portraitColorFade 1.5s ease-in-out forwards;
    animation-delay: 1s;
}

.circle-4.animation-complete {
    animation: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.circle-4.dimmed,
.circle-4.animation-complete.dimmed {
    opacity: 0.5 !important;
}

.circle-4.animation-complete:hover,
.circle-4.animation-complete.active {
    opacity: 1;
}

.circle-4:hover,
.circle-4.active {
    opacity: 1 !important;
}

.circle-1,
.circle-2,
.circle-3 {
    z-index: 2;
    transition: opacity 0.5s ease;
}

.circle-1:hover,
.circle-2:hover,
.circle-3:hover,
.circle-1.active,
.circle-2.active,
.circle-3.active {
    opacity: 1 !important;
}

.circle-1:hover,
.circle-1.active,
.circle-3:hover,
.circle-3.active {
    background-color: white;
}

.circle-1:hover .circle-label,
.circle-1.active .circle-label,
.circle-3:hover .circle-label,
.circle-3.active .circle-label {
    color: black;
}

.circle-label {
    opacity: 1;
    text-align: center;
    color: #ffffff;
}

.label-art {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 28px;
    line-height: 1.2;
}

.label-goodeye {
    font-family: 'Boldonse', sans-serif;
    font-size: 24px;
    letter-spacing: 0;
}

.label-moments {
    font-family: 'Chivo', sans-serif;
    font-weight: 700;
    font-size: 30px;
    letter-spacing: 0.1em;
}

.portrait-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.portrait {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.portrait-bw {
    z-index: 1;
}

.portrait-color {
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.circle-4.animation-complete .portrait-color,
.portrait-color.animation-done {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.circle-4.animation-complete:hover .portrait-color,
.circle-4.animation-complete.active .portrait-color {
    opacity: 1;
}

.circle-4:hover .portrait-color,
.circle-4.active .portrait-color {
    opacity: 1;
}

.descriptor {
    position: absolute;
    max-width: 250px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    pointer-events: none;
}

.descriptor.visible {
    opacity: 1;
    pointer-events: auto;
}

.descriptor-1 {
    top: 80px;
    left: -295px;
    text-align: right;
}

.descriptor-2 {
    top: 80px;
    right: -295px;
    text-align: left;
}

.descriptor-3 {
    bottom: 80px;
    left: -295px;
    text-align: right;
}

.descriptor-4 {
    bottom: 60px;
    right: -295px;
    text-align: left;
}

.discover-btn {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.discover-btn:hover {
    opacity: 0.7;
}

.more-img {
    height: 36px;
    width: auto;
}

.contact-btn {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-btn:hover {
    opacity: 0.7;
}

.email-img {
    height: 36px;
    width: auto;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.social-buttons .social-icons-row {
    display: flex;
    gap: 20px;
}

.mobile-social-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    opacity: 0.7;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-buttons .contact-btn,
.mobile-social-buttons .contact-btn {
    margin-top: 0;
}

.mobile-descriptor {
    display: none;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.5;
    margin-top: 40px;
    padding: 0 20px;
    max-width: 320px;
    min-height: 100px;
}

@media (max-width: 900px) {
    .circles-container {
        width: 405px;
        height: 405px;
    }

    .circle {
        width: 210px;
        height: 210px;
        border-width: 1px;
    }

    .circle-1 {
        top: 0;
        left: 0;
    }

    .circle-2 {
        top: 0;
        left: 195px;
    }

    .circle-3 {
        top: 195px;
        left: 0;
    }

    .circle-4 {
        top: 195px;
        left: 195px;
    }

    .descriptor {
        display: none;
    }

    .mobile-descriptor {
        display: block;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 60px 15px 40px;
    }

    .wordmark {
        height: 65px;
    }

    .intro-line {
        font-size: 20px;
    }

    .intro-text {
        -webkit-transition: opacity 1.7s ease;
        transition: opacity 1.7s ease;
    }

    .intro-text.fading {
        opacity: 0;
    }

    .intro-text.fading .word,
    .intro-text.fading .handwritten-word,
    .intro-text.fading .skip-btn {
        opacity: 0 !important;
        -webkit-transition: opacity 1.7s ease;
        transition: opacity 1.7s ease;
    }

    .circles-container {
        width: 318px;
        height: 318px;
    }

    .circle {
        width: 165px;
        height: 165px;
        border-width: 1px;
    }

    .circle-1 {
        top: 0;
        left: 0;
    }

    .circle-2 {
        top: 0;
        left: 153px;
    }

    .circle-3 {
        top: 153px;
        left: 0;
    }

    .circle-4 {
        top: 153px;
        left: 153px;
    }

    .label-art {
        font-size: 18px;
    }

    .label-goodeye {
        font-size: 16px;
    }

    .label-moments {
        font-size: 18px;
    }

    .mobile-descriptor {
        font-size: 18px;
    }

    .discover-btn,
    .contact-btn {
        padding: 8px 20px;
        font-size: 15px;
        margin-top: 35px;
        border-radius: 50px;
    }

    .mobile-social-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 35px;
    }

    .mobile-social-buttons .contact-btn {
        margin-top: 0;
    }

    .mobile-social-buttons .social-icons {
        display: flex;
        gap: 28px;
        margin-top: 15px;
    }

    .mobile-social-buttons .social-icon svg {
        width: 22px;
        height: 22px;
    }
}
