/* for all elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #181818;
    color: white;
    transition: transform 0.5s ease, opacity 0.5s ease;
    overflow: hidden; /* Prevent scroll during transition */
}


/* Class to zoom-in the page */
.zoom-in {
    transform: scale(1.2); /* Zoom in */
    opacity: 0; /* Optional: fade to make it more dramatic */
}

/* Optionally, you can add a dark background to the body during zoom */
body.zooming {
    background-color: rgba(0, 0, 0, 0.8);
}

.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.logo h2 {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    background-color: #ff6699;
    padding: 10px;
    color: white;
}

.main-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.couple-image {
    width: 750px;
    height: 500px;
}
.couple-image img {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    top: -6vh;
}
.graphics-container {
    position: absolute;
    width: 784px; 
    height: 401px;
    min-height: 401px;  
    top: 24.667vh; 
    display: flex;
    z-index: 3;
    pointer-events: none;
    /* border: 1px wheat solid; */
}
.shapes{
    position: absolute;
    left: 80%;  
    top: 8.667vh; 
    display: flex;
    z-index: 3;
}
.rectangle-corner{
    position: absolute;
    left: 96%;  
    top: 40vh; 
    display: flex;
    z-index: 3;
}

.polygon{
    position: absolute;
    left: 83%;  
    top: 85vh; 
    display: flex;
    z-index: 3;
    height: 50px;
}

.svg-polygon{
    position: absolute;
    width: 30vmin; /* Smaller size */
    height: 30vmin;
    top: 74vh;
    left: 78%;  
    z-index: 4;
    
}
.svg-rectangle{
    position: absolute;
    width: 30vmin; /* Smaller size */
    height: 40vmin;
    left: 87%;  
    top: 40vh; 
    z-index: 4;
    
}
.svg-shapes{
    position: absolute;
    width: 30vmin; /* Smaller size */
    height: 30vmin;
    left: 75%;  
    top: 1vh; 
    z-index: 4;
   
}

.svg {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    
}
 
.svg.show {
    visibility: visible;
    opacity: 1;
    animation: zoom-in 2s ease-in-out forwards;
}

.rectangle-corner, .shapes, .polygon, .purple-box, .red-circle {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.rectangle-corner.hidden, .shapes.hidden, .polygon.hidden, .purple-box.hidden, .red-circle.hidden, .line-shape.hidden, .uca.hidden {
    opacity: 0;
    pointer-events: none;
}
.svg-purple{
    position: absolute;
    width: 30vmin; /* Smaller size */
    height: 30vmin;
    left: 3%;  
    top: 35vh;  
    z-index: 4;
}
.svg-gucci{
    position: absolute;
    width: 30vmin; /* Smaller size */
    height: 30vmin;
    left: 0%;  
    top: 70vh;
    z-index: 4; 
}
/* Zoom effect */
@keyframes zoom-in {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
.purple-box{
    position: absolute;
    left: 10%;  
    top: 45vh; 
    display: flex;
    z-index: 3;
}
.red-circle{
    position: absolute;
    left: 5%;  
    top: 78vh; 
    display: flex;
    z-index: 3;
    border-radius: 50%;
    width: 55px;
    height: 55px;
}
.line-shape {
    width: 27.933vw;
    height: 3px;
    min-height: 3px;
    background-color: white;
    position: absolute;
    left: 5%;
    top: 93vh; 
    
}
.info{  
    position: absolute;
    z-index: 5;
    font-family: "Prata", serif;
    font-size: 10px;
    pointer-events: all;
}
.uca{
    left: 5%;
    top: 90vh; 
}
.date{
    left: 75%;  
    top: 87vh; 
}
.time{
    left: 89.5%;  
    top: 23vh; 
    z-index: 5;
    writing-mode: vertical-rl; 
    text-orientation: upright;
    transform: translateY(-50%);
}
.graphic {
    width: 60px; 
    height: 60px;
    position: absolute;
    pointer-events: all;
}
.graphic-1{    
    top:90%;
    left: 20%;
}
.graphic-2{
    top:90%;
    left: 75%;
}
.graphic-3{
    top:14%;
    left: 22%;
}
.graphic-4{
    top:20%;
    left: 70%;
    width: 80px;
    height: 53.34px;
}
.scribble{
    height: 50px;
    width: 50px;
    position: absolute;
    top: 2%;
    left: 10%;
    z-index: 3;
}
.lines-container {
    position: absolute;
    top: 43.5vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 20vh !important;
    min-height: 150px;
    max-height: 150px;
    z-index: 2;
    pointer-events: none;
}


.line {
    width: 27.933vw;
    height: 5px;
    min-height: 5px;
    background-color: white;
    position: relative;
    flex-grow: 1 1 auto; /* Prevents flex items from stretching */
    
}

.vertical-line{
    width: 5px;
    height: 80px;
    background-color: white;
    position: absolute;
    
}

.circle {
    width:80px; 
    height: 80px; 
    border-radius: 50%;
    border: 5px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    overflow: hidden;
    position: relative; 
}
.circle-container {
    display: flex;
    align-items: center;
    justify-content: center; 
}
/* Animation to smoothly move circles */
@keyframes moveLeftRight {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-100px); /* Move to the left */
    }
}

@keyframes moveRightLeft {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(100px); /* Move to the right */
    }
}



.circle {
    transition: transform 0.1s ease;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.text-section {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.top-left-text, .top-right-text, .bottom-center-text {
    font-size: 18px;
    text-align: center;
}




.box{       
    position: relative; 
    opacity: 100%;
    z-index: 3;

}
.circle-shape{
    position: relative;  
    border-radius: 50%;   
    opacity: 100%;
    z-index: 3;
}
.triangle-right {
    position: relative;
    top: 62%; 
    left: 23%; 
    width: 0;
    height: 0;
    z-index: 3;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 50px solid #FF535380; 
  }

 
  

/* Initial state for big letters */
.big-letter {
    position: absolute;
    font-size: 200px;
    font-weight: 400;
    font-family: "Prata", serif;
    z-index: -1;   
    width: 271px;
    text-align: center;
    opacity: 0; /* Start invisible */
    transform: scale(0.8); /* Scale down for entrance effect */
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

/* Smmothly fade in the letters W, L, & */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}




.front-links{
    text-align: center;
    position: absolute;
    z-index: 5;
    font-family: "Prata", serif;
    width: 8.5333vw;
    font-size: 10px;
    pointer-events: all;
    cursor: pointer;
}
#rectangleLink{
    top: 48%;
    left:79%;
}
/* animation to zoom in and out the graphics(wade and leta works) */
.graphic {
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.graphic:hover {
    transform: scale(2.5);
    z-index: 10;
}



.vector{
    width: 20px;
    height: 20px;
    z-index: 3;
    position: absolute;
}

.vector-2{
    top:2%;
    left: 30%;
}
.vector-3{
    top:25%;
    left: 19%;
}
.vector-4{
    top:5%;
    left: 75%;
}
.vector-5{
    top:63%;
    left: 77%;
}
.vector-6{
    top:65%;
    left: 61%;
}
.vector-7{
    top:82%;
    left: 15%;
}
.vector-8{
    top: 110%;
    left: 35%;
}
.vector-9{
    position: absolute;
    top: 122%;
    left: 52%;
    width: 35px;
}
.vector-10{
    position: absolute;
    top: 110%;
    left: 68%;
}
.star-1{
    position: absolute;
    top: 83%;
    left: 85%;
    width: 50px;
    height: 50px;
    z-index: 3;
}
.group-lines{
    height: 64px;
    width: 82px;
    position: absolute;
    top:20%;
    left: 87%;
    z-index: 3;
    
}
.w{
    top: 10vh; left: 42.4vw;
}
.and{
    top: 38vh; left:27.5vw;
}
.l{
    top: 38vh; left:  55vw;
}

.logo-section {
    position: absolute;
    display: inline-block;
}

.top-left {
    width: 183px;
    position: absolute;
    top: 0;
    left: 0;
}

.text-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 14vw;
   
    overflow: visible;
}

.text-animation {
    font-size: 20px;
    fill: white;
    font-family: "Prata", serif;
    letter-spacing: 15px; 
}

#scrollingText4{
    display: none;
}

/* Keyframe animation for dynamic floating, scaling, and rotating for vectors, scribble, stars, shapes*/
@keyframes floatRotateScale {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    20% {
        transform: translate(20px, -20px) scale(1.05) rotate(15deg);
    }
    40% {
        transform: translate(-20px, 20px) scale(0.95) rotate(-10deg);
    }
    60% {
        transform: translate(25px, 15px) scale(1.1) rotate(20deg);
    }
    80% {
        transform: translate(-25px, -15px) scale(0.9) rotate(-15deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}

/* Apply animation with unique durations and delays for each element */
.vector, .star-1, .group-lines, .scribble {
    animation: floatRotateScale 10s ease-in-out infinite alternate;
}

/* Different timing to vary speed and add unique delays */
.vector-2 {
    animation-duration: 12s;
    animation-delay: 0.5s;
}
.vector-3 {
    animation-duration: 14s;
    animation-delay: 1s;
}
.vector-4 {
    animation-duration: 11s;
    animation-delay: 0.3s;
}
.vector-5 {
    animation-duration: 9s;
    animation-delay: 0.7s;
}
.vector-6 {
    animation-duration: 13s;
    animation-delay: 1.2s;
}
.vector-7 {
    animation-duration: 10s;
    animation-delay: 0.2s;
}
.vector-8 {
    animation-duration: 12s;
    animation-delay: 0.8s;
}
.vector-9 {
    animation-duration: 11s;
    animation-delay: 0.4s;
}
.vector-10 {
    animation-duration: 9s;
    animation-delay: 0.6s;
}
.star-1 {
    animation-duration: 13s;
    animation-delay: 1s;
}
.group-lines {
    animation-duration: 10s;
    animation-delay: 0.9s;
}
.scribble {
    animation-duration: 11s;
    animation-delay: 0.3s;
}

/* Pulsing animation for  shape boxes, circles */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Rotate animation for the triangle */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Apply animation to box, circle to zoom in and out */
.box {
    animation: pulse 3s ease-in-out infinite;
}

.circle-shape {
    animation: pulse 6s ease-in-out infinite alternate;
}

.triangle-right {
    animation: spin 5s linear infinite;
}

/* screen size for mac */
@media screen and (min-height: 750px) and (max-height: 850px) {
    .graphics-container{
        top: 26.667vh !important;

    }
    .line{
        width: 32.933vw !important;
    }
    .and{
        left:23vw !important;
    }
    
    .l{
        left:  56vw !important;
    }
    .text-svg {

        width: 15vw !important;
    }
    .w{
        top: 12vh !important; left: 41vw !important;
    }
    .front-links{
        width: 130px !important;
    }

}
/* screen size for my lap full screen */
@media screen and (min-width: 1300px) and (max-width: 1400px) {
    .and{
        left:25vw !important;
    }
    .time{
        left: 90.5%; 
    }
    .date{
        left: 75.5%;  
        top: 88vh; 
    }
    .line{
        width: 31vw !important;
    }
    .graphics-container{
        top: 24.667vh !important;
    }
    .lines-container {
        top: 43vh !important;
    }
    .line1{
        width: 31.738vw !important;
        margin-left:10px;
    }
    .line2{
        width: 30.854vw !important;
        margin-right:20px;
    }
    .line3{
        width: 30.0vw !important;
        margin-right:15px;
    }
}
/* Screen size for my lap without full screen */
@media screen and (min-height: 550px) and (max-height: 700px) {
    .graphics-container{
        top: 20.667vh !important;
        height: 400px !important;
    }
    .date{
        left: 77.5%;  
        top: 88vh; 
    }
    .time{
        left: 90.5%; 
    }
    .w{
        top: 5vh !important; left: 41vw !important;
    } 
    .front-links{
        width: 130px !important;
    }
}
/* for A3 size */
@media print {
    /* Define page size */
    @page {
        size: A3;  /* Specifies A3 size */
        margin: 0; /* Removes default margins */
    }
    body {
        width: 297mm; /* A3 width in millimeters */
        height: 420mm; /* A3 height in millimeters */
        
    }
    .big-letter {
        font-size: 300px;
    }
    .couple-image {
        width: 1100px;
        height: 750px;
    }
    .w{
        top: 20vh; left: 38vw;
    }
    .and{
        top: 38vh; left:11vw;
    }
    .l{
        top: 38vh; left:  66vw;
    }
    .lines-container {
        
        top: 43.5vh;      
        height: 20vh !important;
        min-height: 550px;
        max-height: 550px;
        
    }
    .line {
        width: 52.933vw;
        height: 7px;
    }
    .line1{
        width: 56.933vw !important;
        margin-left:15px !important;
    }
    .line2{
        width: 54.933vw !important;
        margin-right:27px;
    }
    .line3{
        width: 53vw !important;
        margin-right:25px;
    }
    .vertical-line{    
        height: 120px;  
        width: 7px; 
    }
    
    .circle {
        width:120px; 
        height: 120px; 
        border: 7px solid white;
    }    
    * {
        animation: none !important;
        transition: none !important;
    }

    .graphics-container {   
        width: 1100px;
        height: 600px;
        min-height: 600px;  
        top: 30.667vh; 
        display: flex;
        z-index: 3;
        pointer-events: none;
        /* border: 1px wheat solid; */
    }
    .vector{
        width: 30px;
        height: 30px;
    }
    .graphic{
        height: 90px;
        width: 90px;
    }
    .graphic-4{
        top:18%;
        width: 110px;
        height: 83.34px;
    }
    .front-links{
        font-size: 15px;
        width: 185px;
    }
    .top-left {
        width: 200px;
    }
    
    .text-svg {
        position: absolute;
        width: 230px;
        overflow: visible; 
    }
    
    .text-animation {
        font-size: 22px;
        letter-spacing: 20px; 
    }
    .scribble{
        display: none;
    }
    .group-lines{
        display: none;
    }
    #scrollingText{
        display: none;
    }
    #scrollingText2{
        display: none;
    }
    #scrollingText3{
        display: none;
    }
    #scrollingText4{
        display: block;
    }
    .time{
        font-size: 15px;
        left: 91.5% !important;  
        top: 11.8vh; 
    }
    .red-circle{
        left: 7%;  
        top: 85.5vh;
        width: 75px !important;
        height: 75px !important;
        
    }
    .shapes{
        left: 79%;  
        top: 4.167vh !important; 
    }
    .uca{
        font-size: 15px;
        top: 92.5vh; 
        left: 7%;
        
    }
    .date{
        font-size: 15px;
        top: 93vh;
        left: 76%; 
    }
    .polygon{
        height: 70px !important;
        top: 91vh;
        left: 87% !important; 
    }
    .purple-box{
        display: none !important;
    }
    .rectangle-corner{
        display: none;
    }
    #rectangleLink{
        top: 48%;
        left:83.5% !important;
    }
    .line-shape{
        left: 7%;
        top: 95.5vh; 
    }
}
