@font-face {
    font-family: "suisseintl";
    src: url("fonts/SuisseIntl-Light-WebS.woff2");
    font-weight: normal;
}

@font-face {
    font-family: "suisseintl";
    src: url("fonts/SuisseIntl-Bold-WebS.woff2");
    font-weight: bold;
}

:root {
    --card-initial-scale: 1;
}

* {
    box-sizing: border-box;
}

html, body {
    font-family: "suisseintl", "Helvetica", sans-serif;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.75em;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    width: 100%;
    
}


body{

    position: relative;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
}

body.requires-no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0; /* Ensures the body stays fixed at the top */
}

/* CSS */
body.no-scroll {

  overflow: hidden;

}

#wrapperContainer.no-scroll{

    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
    position: relative;
    overflow: hidden;

}


body{

    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.04) 100%), #0C161D;

}



section:not(.min-height) {
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    position: relative;
    overflow-x: hidden;
}

section.min-height {
    width: 100%;
    min-height: calc(var(--vh, 1vh) * 100);
    position: relative;
    overflow-x: hidden;
}


canvas {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    background: transparent;
}





#onLandscapeMobile{

    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    background-color: #0C161D;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    opacity: 0;
    display: none; /* Ensure it's always in the document flow */
    transition: opacity 0.5s ease-in-out; /* Optional fallback */

}

#landscapeMessage{


    bottom: 50%;
    transform: translate(-50%, 50%);

}





/* Container */
.next-prev-button-wrapper {
    position: fixed;
    left: 50%;
    transform: translate(-50%);
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#nextButton {
    bottom: 5vh;
}

#prevButton {
    top: 5vh;
}

/* Outer Circle */
.outer-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    border: 1px solid white;
    border-radius: 50%;
    background-color: transparent;
    box-sizing: border-box;
    transform: translate(-50%,-50%);
    transition: all 0.3s ease;

}

/* Yoyo Growth Animation */
@keyframes yoyo-growth {
    0%, 100% {
        width: 40px;
        height: 40px;
    }
    50% {
        width: 50px;
        height: 50px;
    }
}


/* Inner Small Circle */
.inner-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10%;
    height: 10%;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

/* Line Extending from the Center of the Circle */
.next-prev-button-wrapper .line {
    position: absolute;
    left: 50%;
    width: 1px;
    height: 75%;
    background-color: white;
    transform: translateX(-50%);
    transition: height 0.3s ease;
}

#nextButton .line {
    top: 50%;
}

#prevButton .line {
    bottom: 50%;
}

/* Arrow at the End of the Line */
.next-prev-button-wrapper .arrow {
    position: absolute;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    transform: translateX(-50%);
    transition: 0.3s ease;
}

#nextButton .arrow {
    top: 125%;
    border-top: 10px solid white;
}

#prevButton .arrow {
    bottom: 125%;
    border-bottom: 10px solid white;
}

/* Hover Effect */
#nextButton:hover .line,
#prevButton:hover .line {
    height: 100%;
}

#nextButton:hover .arrow {
    top: 150%;
}

#prevButton:hover .arrow {
    bottom: 150%;
}

#nextButton:hover .inner-circle, #prevButton:hover .inner-circle {
    width : 5px;
    height : 5px;
}

#nextButton:hover .outer-circle, #prevButton:hover .outer-circle {
    width : 100%;
    height : 100%;
}


.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}
.lazy-loaded {
  opacity: 1;
}

.lang-menu {
    display: flex;
    width: 100%;
    padding: 1em 20px;
    box-sizing: border-box;
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    justify-content: flex-end;
    align-items: center;
}

.lang-menu strong {
    color: #d2e4ea;
    display: inline-block;
}

.lang-menu a {
    color: #7acfba;
}

.lang-menu .separator {
    border-right: white 1px solid;
    height: 100%;
    margin: 0 10px;
}


.logo {
    width: 150px;
    height: 150px;
}

.logo-bottom {
    display: flex;
    height: 100% !important;
    width: 110px;
    aspect-ratio: 1/1;
}

.logo.fixed {
    position: fixed;
    z-index: 15;
    top: 60px;
    left: 60px;
}








/* Style for the counter display */

.counter-display {
    position: fixed;
    bottom: 20px;
    left: 2%;
    transform: translateX(-50%);
    font-size: 24px;
    color: black;
    font-family: Arial, sans-serif;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #ccc;
    width: 60px;
    text-align: center;
    opacity: 0;

}



/*TEXT STYLES*/

.subtitle {
    color: #FFF;
    font-family: "suisseintl", "Helvetica", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 275;
    line-height: 32px;
}

/*TEXTBOX*/

.overlayCanvas{

    width: 100%;
    height : 100%;
    position: fixed;
    bottom: 0;
    background: linear-gradient(0deg, rgba(12, 22, 31, 0.7) 20%, rgba(12, 22, 31, 0.00) 40%)

}

#canvasBackground{

    background: url('img/intaglio.jpg');
    background-size: cover;
    background-position: center center;
    width: 100%;
    height : 100%;
    position: fixed;
    bottom: 0;
    opacity: 0;

}

.year2025{

    position: absolute;
    top: 10%;
    right: 10%;
    height : 40%;
    opacity: 0.1;

}

.textbox {
    text-wrap: balance;
    bottom: 140px;
    position: absolute;
    left: 50%;
    width: 80%;
    max-width: 1200px;
    text-align: center;
    transform: translateX(-50%);
    color: #FFF;
    font-family: "suisseintl";
    font-size: 32px;
    font-style: normal;
    font-weight: normal;
    line-height: 48px;
    letter-spacing: -0.8px;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 1)
}




/*WISHES*/

#sectionWishes{


}

#wishes-svg{

   position: absolute;
   top: 20%;
   right: 100px;
   height: 50vh;

}

.footer{

    max-height: 20vh;
    width: 100%;
    position: absolute;
    padding-left: 100px;
    padding-right: 100px;
    display: flex;
    justify-content: space-between;
    bottom: 100px;
    align-items: center;
    line-height: 20px;

}

.footerPart{

    display: inline-flex;
    gap: 40px;
    align-items: center;



}

a:not(.lang-menu){

    color: white !important;
    text-decoration: underline ! !important;

}





/*MENU*/

/* Show menu coming from bottom with animation */
#menu.active {
    display: flex;
    animation: fadeIn 0.6s forwards;
}

#menu.inactive {
    display: flex;
    animation: fadeOut 1s forwards;
}

@keyframes fadeIn {
    0% {
        display: flex;
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        display: none;
        opacity: 0;
    }
}

@keyframes slideIn {
    0% {
        display: flex;
        transform: translateY(100vh);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes slideOut {
    0% {
        transform: translateY(0);
    }
    100% {
        display: none;
        transform: translateY(100vh);
    }
}

#menu {
    display: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    overflow-x: auto;
    background: radial-gradient(107% 107% at 72% 20%, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 100%), radial-gradient(332% 141% at 0% 100%, rgba(12, 22, 31, 0.95) 0%, rgba(15, 27, 37, 0.95) 100%);
}

#menu img {
    height: 100%;
}

.card-menu-container{
    display: flex;
    align-self: center;
    flex-direction: initial;
    position: relative;
    padding: 0 15vw;
}

.card-menu {
    width: auto;
    height: 40vh;
    max-height: 500px;
    background: rgba(217, 217, 217, 0.05);
    animation: fadeIn 1.5s forwards;
}

.card-menu.past {
    transition: opacity 0.3s, visibility 0.3s;
}

.card-menu.past img {
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 0.4;
}

.card-menu.past img:hover {
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 1;
}

.card-menu.transparent {
    background: transparent;
    border: none;
}


.hamburger {

    width: 60px;
    height: 60px;

    position: fixed;
    z-index: 10;
    top: 100px;
    right: 100px;
    border: 1px solid white;
    border-radius: 50%;
    cursor: pointer;

    transition: all 0.3s ease;

    background-color: rgba(255, 255, 255, 0);

}

.hamburger:hover{

    background-color: rgba(255, 255, 255, 0.2);
}



.bar {
    background-color: white;
    height: 2px;
    width: 26px;
    position: absolute;
    left: 16px;
    transition: all 0.3s ease;
}

.top {
    top: 20px;
}

.middle {
    top: 50%;
    transform: translateY(-50%);
}

.bottom {
    bottom: 20px;
}

#menu-container {
    z-index: 11;
}

#menu-container.active .top {
    transform: rotate(45deg);
    top: 50%;
    margin-top: -1px;
}

#menu-container.active .middle {
    opacity: 0;
}

#menu-container.active .bottom {
    transform: rotate(-45deg);
    bottom: 50%;
    transform-origin: center;
    margin-bottom: -1px;
}














/*CARD*/
.space {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    margin-bottom: 250px;
}



.card {
    
    aspect-ratio: 6/9;
    transform-style: preserve-3d;
    max-height: 65vh;
    height: auto;
    width: auto;
    max-width: 90vw;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.5);
    border-radius: 4px;

}

#card-static-UV{

    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.8s ease;

}

#card-static{
    
    transition: all 0.8s ease;

}

#card-static-UV.UVactive{

    opacity: 1;

}

#card-static.UVactive{

    opacity: 0;

}

#space-dynamic.UVactive{

    background: black;

}


#space-dynamic{

    opacity: 0;
    background: transparent;
    transition: all 0.8s ease;
    
}

.imageContainer {
    
    position: fixed;
    width: fit-content;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; /* Adjust as needed */
    padding: 10px;
    text-align: center;

    width: 100%;
    height: 100%;
}

/* Tooltip Container */
.tooltip {
    position: absolute;
    display: inline-block;
    pointer-events: auto;
    cursor: pointer;
    overflow: visible;
}

/* Tooltip Circle */
.tooltipCircle {
    display: inline-block;
    vertical-align: middle;
    border-radius: 20px;
    border: 1px solid white;
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    height: 40px;
    max-width: 40px;
    box-sizing: border-box;
    transition: background-color 0.8s ease, max-width 0.8s ease;
    overflow: hidden;
    white-space: nowrap;
    min-width: 40px;
}

/* Expanded width when open */
.tooltip:not(.closed) .tooltipCircle {
    max-width: 500px;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Icon Styling */
.icon {
    position: absolute;
    top: 50%;
    
    width: 16px;
    height: 16px;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
}

.icon.fromLeft{

    left: 12px; /* Adjust as needed to center horizontally */
}


.icon.fromRight{

    right: 12px; /* Adjust as needed to center horizontally */
}


/* Plus sign setup */
.icon::before,
.icon::after {
    content: '';
    position: absolute;
    background-color: #fff;
    width: 2px;
    height: 16px;
    left: 50%;
    top: 50%;
    transform-origin: center;
    transform: translate(-50%, -50%);
}

/* Vertical and horizontal lines to form plus */
.icon::before {
    transform: translate(-50%, -50%) rotate(0deg);
}
.icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* Cross transformation when open */
.tooltip:not(.closed) .icon {
    transform: translateY(-50%) rotate(45deg);
}

/* Text Styling */
.text {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    line-height: 38px;
    color: white;
    white-space: nowrap;
    opacity: 0;
    width: auto;
    transition: opacity 0.3s ease, width 0.3s ease;
    overflow: hidden;
}

/* Show text when tooltip is open */
.tooltip:not(.closed) .text.fromRight {
    opacity: 1;
}

.text.fromRight {
 
    margin: 0 40px 0 16px ;

}



.tooltip:not(.closed) .text.fromLeft {
    
    opacity: 1;
    
}

.text.fromLeft {
 
    margin: 0 16px 0 40px ;
    
}



#tooltip1 {

    left: 10% !important;
    top : 10% !important;

}

#tooltip2 {

    right: 20% !important;
    top : 80% !important;
    
}

#tooltip3 {

    left: 10% !important;
    top : 90% !important;
    
}

#tooltip4 {

    right: 50% !important;
    top : 30% !important;
    
}

#tooltip5 {

    right: 25% !important; 
    top : 60% !important;
    
}


/* Tablet (Medium screens, e.g., between 768px and 1024px) */
@media screen and (max-width: 1024px) {
    .logo {
        width: 80px;
        height: auto;
    }

    .logo.fixed {
        position: fixed;
        z-index: 15;
        top: 60px;
        left: 60px;
    }


    
    .hamburger {
        width: 50px;
        height: 50px;
        top: 60px;
        right: 60px;
    }


    .bar {
        background-color: white;
        height: 2px;
        width: 26px;
        position: absolute;
        left: 11px;
        transition: all 0.3s ease;
    }

    .top {
        top: 16px;
    }

    .middle {
        top: 50%;
        transform: translateY(-50%);
    }

    .bottom {
        bottom: 16px;
    }

    .right {
        right: -35vw;
    }

    .footer{

        flex-direction: column;
        bottom: 60px;

    }

    #rightFooter{

        text-align: center;

    }


}

/* Mobile Phones (Small screens, e.g., less than 768px) */
@media screen and (max-width: 1200px) {

    .textbox {
        
        width: 95vw;
        font-size: 24px;
        line-height: 32px;
        bottom: 100px;
    
    }


}

/* Mobile Phones (Small screens, e.g., less than 768px) */
@media screen and (max-width: 768px) {
   
    .imageContainer {
    
        top: 52%;

    }

    .footer{

        flex-direction: column;
        padding-left: 30px ;
        padding-right: 30px ;
        max-height: 30vh;
        gap: 24px;
        bottom: 40px;

    }

    .footerPart{

        font-size: 12px;
        line-height: 16px;
        gap : 16px;
    }

    .textbox {
        
        width: 95vw;
        font-size: 18px;
        line-height: 24px;
        bottom: 80px;
    
    }

    .tooltipCircle{

        height: 20px;
        max-width: 20px;
        min-width: 20px;

    }

    .text{

        font-size: 12px;
        line-height: 18px;
        display: block;

    }

    .icon{

        width: 8px;
        height: 8px;

    }

    .icon.fromLeft{

        left: 6px;
        top: 15px;

    }


    .icon.fromRight{

        right: 6px;
        top: 15px;
    }

    .icon::before, .icon::after{

        height: 8px;
        width: 1px;
    }



    .tooltip:not(.closed) .text.fromLeft{

        margin: 0 8px 0 20px;
    }

    .tooltip:not(.closed) .text.fromRight{
        
        margin: 0 20px 0 8px;


    }

    .next-prev-button-wrapper{

        width: 25px;
        height: 25px;
    }

    .year2025{

        height: 20%; 
        top: 15%;


    }

    .logo {
        width: auto;
        height: 80px;
    }

    .logo.fixed {
        position: fixed;
        z-index: 15;
        top: 30px;
        left: 30px;
    }


    .hamburger {
        width: 50px;
        height: 50px;
        top: 50px;
        right: 50px;
    }


    .bar {
        background-color: white;
        height: 2px;
        width: 26px;
        position: absolute;
        left: 11px;
        transition: all 0.3s ease;
    }

    .top {
        top: 16px;
    }

    .middle {
        top: 50%;
        transform: translateY(-50%);
    }

    .bottom {
        bottom: 16px;
    }

    #rightFooter {

        text-align: center;
    }

    .logo-bottom{

        width: 80px;

    }

    #wishes-svg {
        top: 22%;
        right: 40px;
        max-height: 40vh;

    }

}


@media screen and (max-width: 420px) {
   
    .footerPart{

        font-size: 9px;
        line-height: 12px;
    }

    .logo-bottom{

        width: 50px;

    }

    #wishes-svg {
        top: 22%;
        right: 40px;
        max-height: 40vh;

    }
    #rightFooter {

        text-align: center;
    }


}




