/* Main CSS for the webpage */

/* Sets a black background for the body and applies the "Open Sans" font family */
body {
    background-color: black;
    font-family:"pf-marlet-display";
}

/* Makes all elements like main, section, div, img, and button position absolute by default */
main, section, div, img, button {
    position: absolute;
}

/* Styles the main container, centering it with a background of aliceblue */
main {
    width: 1920px;
    height: 1080px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

/* Section takes up full width and height of main container, but only screen1 is visible initially */
section {
    width: 100%;
    height: 100%;
    display: none;
}

#screen1{
    display: block;
}

/* Positioning and styling for the image frames */
.frame {
    left: 650px;
    top: 110px;
    display: none; 
}

#frame1 {
    top: 100px;
    left: 800px;
    width: 20%;
    display: block; 
}

#frame2 {
    top: 100px;
    left: 800px;
    width: 20%;
    display: none; 
}

/* Container for the introduction text, positioned centrally with padding */
.intro-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    left: 300px;
    top: 100px;
    width: 1324px;
    height: 800px;
    gap: 1rem;

}

/* Elements inside intro-container are positioned normally (static, not absolute) */
.intro-container div,
.intro-container button {
    position: static;
}

/* Styles for the start button: full width/height, large font, centered text, orange color */
#start-btn{
    width: 100%;
    height: 100%;
    font-size: 2rem;
    font-weight: 900;
    display: flex;
    justify-content: center;
    align-items: end;
    padding: 90px;
    color: #e9eef2;
}


/* Styling for the history text box: a blue-bordered, white box with rounded corners */
.title {
    justify-self: start;
    text-align: center;
    color: #e9eef2;
    font-weight: 900;
    font-size: 5rem;
    left: 745px; 

}

.button-flex{
    height: 400px;
    display: flex;           
    justify-content: center; 
    align-items: center;     
    gap: 5rem;
}

/* Styles for the "Learn More" text: larger font and bold, with blue color */
.learn-more-txt{
    font-size: 2rem;
    font-weight: 200;
    color: #e9eef2;
    text-align: center;
}
#intro-subtext{
    font-style: italic;
}
/* Generic button styling: no background, border, or padding, only inheriting fonts */
button{
    background: none;
    border: none;
    border-radius: 0;
    font: inherit;
    cursor: pointer;
    outline: none;
    margin: 0;
    padding: 0;
    

}


.to-screen-btn{
    scale: 0.01;
    opacity: 0;
    border: #e9eef2 2px solid;
    width: 250px;                
    height: 250px;               
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    bottom: 20px; 
    left: 50%;
    z-index: 999; 
}

.to-screen-btn div {
    text-align: center;
    font-size: 2rem;
    line-height: 1.5;
    color: #e9eef2;
    transform: rotate(-45deg);
    cursor: pointer;
    position: relative;
}
.button-flex > button:nth-child(1) {
    background-image: url(../assets/images/special-features-btn.png);

}

.button-flex > button:nth-child(2) {
    background-image: url(../assets/images/history-highlights-btn.png);
    align-self: flex-end;
}
.button-flex > button:nth-child(3) {
    background-image: url(../assets/images/plan-visit-btn-btn.png);
}
  

.click-through {
    pointer-events: none;
}


.screen img {
    display: block;
}


#back-btn {
    border: #e9eef2 2px solid;
    width: 105px;
    height: 105px;
    left: 50px;
    bottom: 50px;
    cursor: pointer;
    display: flex;
    background-color: #b09a83;
    transform: rotate(45deg);
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 999;
    animation: bounceX 1s ease-in-out infinite; 
}

/* Keyframes for the bouncing effect on X-axis */
@keyframes bounceX {
    0% {
        transform: translateX(0) rotate(45deg); 
    }
    50% {
        transform: translateX(5px) rotate(45deg); 
    }
    100% {
        transform: translateX(0) rotate(45deg);
    }
}

#back-btn p{
    color: #354058;
    font-size: 6rem;
    font-weight: bolder;
    transform: rotate(-50deg);
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
}

.headline-div{
    width: 100%;
    height: 10%;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.headline {
    bottom: 55%;
    left: 51%;
    font-size: 4rem;
    transform: translate(-50%);
    border-radius: 5px;
    color: #e9eef2;
}

.headline-break{
    bottom: 0;
    font-style: italic;
    font-size: 2.5rem;
    color: #e9eef2;
}
.instruction{
    width: auto;
}


/* Screen 2 - Artifacts */

.podium{
    width: 100%;
    left: 38%;
    bottom: 40%;
}

.spotlight {
    position: absolute;
    top: -35%;
    left: 51%;
    width: 40%; 
    height: 100%; 
    transform: translateX(-50%);
    background: 
      linear-gradient(to bottom, rgba(221, 221, 221, 0.579) 10%, rgba(0, 0, 0, 0) 50%),
      linear-gradient(to bottom, rgba(138, 138, 138, 0.6) 30%, rgba(0, 0, 0, 0) 60%),
      linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 50%, rgba(0, 0, 0, 0) 70%); 
    pointer-events: none;
    z-index: 1; 
    clip-path: polygon(50% 30%, 100% 100%, 0% 100%); 
}

#instruction-screen2{
    color: #e9eef2;
    font-size: 2rem;
    bottom: 20%;
    left: 34%;
}

.artifact-image {
    left: 720px;
    top: 3rem;
    position: relative;
    z-index: 2; 
}

.artifact-title{
    left: 5%;
    top: 15%;
    font-size: 4rem;
    color: #e9eef2;
}
.artifact-subtitle{
    left: 5%;
    top: 24%;
    font-style: italic;
    font-size: 2rem;
    color: #e9eef2;
    font-weight: 200;

}
.artifact-description{
    left: 5%;
    top: 40%;
    height: 300px;
    width: 25%;
    font-size: 1.4rem;
    color: #e9eef2;
    font-weight: 100;
}

.artifact-facts {
    width: auto;
    display: grid;
    grid-template-columns: 1fr; 
    right: 22%;
    height: 280px;
    bottom: 5%;
    color: #e9eef2;
}
   
.fact-item {
    width: 300px;
    display: grid;
    grid-template-columns: 2fr 2fr; 
}
.fact-item p{
    width: 150%;
}
.detail{
    font-weight: 200;
    font-size: 1.1rem;
}
.fact-headline {

    font-weight: 500;
    font-size: 1.3rem;
}

ul{
    width: 180px;
    margin-left: 60px;
}
.fact-one{
    bottom: 100%;
}
.fact-two{
    bottom: 82%;
}
.fact-three{
    bottom: 20%;
}
.fact-four{
    bottom: 0%;
}
.artifact {
    position: absolute;  
    width: 100%;
    height: 100%; 
    left: 0;
    top: 0;
}
.artifact-container {
    position: relative;
    overflow: hidden;
    width: 100%;  
    height: 900px; 

}



/* Screen 3 - History and Highlights */
#instruction-screen3{
    color: #e9eef2;
    font-size: 1.5rem;
    bottom: 20%;
    left: 35%;
}
.history-grid {
    position: absolute;  
    width: 100%;
    height: 70%; 
    left: 0%;
    top: 5%;
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}
.plaque{
    width: 280px;
    height: 100px;
    background-color: #e9eef2;
    color: #354058;
    font-weight: 600;
    font-size: 1.3rem;
    padding: 0.5rem;
    border: 5px solid #b09a83;
    box-shadow: #000 0px 0px 5px;

}
.museums{
    cursor: pointer;
}
.left-side{
    width: 680px;
    height: 700px;
    left: 2%;
    top: 0%;
}

.histortyOne{
    width: 650px;
    height: 250px;
    top: 5%;
    right: 0;
}
#mid20-image{
    right: 0;
}
#plaque-mid20{
    bottom: 10%;
    left: 0;
    text-align: right;
}
.histortyTwo{
    bottom: 0;
    width: 650px;
    height: 380px;
    right: 0;
}
#seventys-image{
    right: 0;
}
#plaque-seventys{
    left: 0;
    bottom: 10%;
    text-align: right;

}
.middle{
    width: 400px;
    height: 670px;
    top: 0;
}

.histortyThree{
    width: 400px;
    height: 550px;
    top: 0;
    right: 0;
}

#plaque-20Cen{
    bottom: 0;
    right: 0;
}

.right-side{
    width: 680px;
    height: 700px;
    right: 2%;
    top: 0%;
}


.histortyFour{
    width: 590px;
    height: 316px;
    left: 0;
    top:  5%;
}
#plaque-eightys{
    right: 0;
    bottom: 0;
}
.histortyFive{
    width:  680px;
    height: 280px;
    bottom: 0;
}
#present-image{
    top: 0;
}
#present-Museum{
    right: 0;
    bottom: 10%;
}

/* Dark overlay style */
/* Ensure the overlay starts hidden */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.951);
    z-index: 1;
    transition: opacity 0.3s ease;
}

/* Modal styles (already provided earlier) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; 
}
.modal-content {
    height: inherit;
    width: 60%;
    right: 18%;
    top: 0;
    border-radius: 10px;
    text-align: center;
    padding: 1rem;
}
.museum-info{

    position: absolute;
    color: #e9eef2;
    border-radius: 10px;
    text-align: center;
    max-width: 650px;
    height: 680px;
    right: 0;
    top: 15%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
}
.museum-info h2{
    font-size: 4rem;
}
.museum-info p{
    font-weight: 200;
    font-size: 1.5rem;
}
.modal-content img {
    top: 15%;
    width: 35%;
    border-radius: 8px;
}
#museum-image1{
    filter: brightness(0.8);
}
#museum-image2{
    position: absolute;
    top: 50%;
    left: -10%;
    box-shadow: -5px 5px 20px #000;
}
.close {
    position: absolute;
    top: 8%;
    right: 15px;
    cursor: pointer;
}
.close i {
    font-size: 5rem; 
    color: #e9eef2;
    font-weight: 600;
    cursor: pointer;
}






/* Screen 4 - Plan Your Visit */
#instruction-screen4{
    color: #e9eef2;
    font-size: 1.5rem;
    right: 6%;
    bottom: 35%;
}

.item {
    width: 200px;
    height: 250px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-position: center;
    background-size: cover;
    box-shadow: 
        0 20px 30px rgba(188, 188, 188, 0.3) inset, /* Inner shadow */
        0 0px 60px rgba(0, 0, 0, 0.9); /* Outer shadow */
    transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;
}

.item:nth-child(1),
.item:nth-child(2) {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
}

.item:nth-child(3) {
    left: 60%;
}

.item:nth-child(4) {
    left: calc(50% + 420px);
}

.item:nth-child(5) {
    left: calc(50% + 650px);
}

.item:nth-child(6) {
    left: calc(50% + 870px);
    opacity: 0;
}
.item:nth-child(7) {
    left: calc(50% + 1020px);
    opacity: 0;
}

.content {
    background-color: #1d263bab;
    padding: 2rem;
    width: min(60vw, 700px);
    position: absolute;
    top: 50%;
    left: 3rem;
    transform: translateY(-50%);
    color: white;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    display: none;
}

.content .title {
    font-size: 3.5rem;
    text-align: left;

}

.content .description {
    line-height: 1.7;
    margin: 1rem 0 1.5rem;
    font-size: 1.8rem;
    font-weight: 400;
}

.content h3{
    font-size: 1.5rem;
}
.content ul{
    font-weight: 200;
    width: 100%;
    font-size: 1.5rem;
}
.item:nth-of-type(2) .content {
    display: block;
    animation: show 0.75s ease-in-out 0.3s forwards;
}

@keyframes show {
    0% {
        filter: blur(5px);
        transform: translateY(calc(-50% + 75px));
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

.nav {
    width: 10%;
    position: absolute;
    right:31%;
    bottom: 48%;
    transform: translateX(-50%);
    z-index: 5;
    user-select: none;

}

.nav .btn {
    border: 2px solid #e9eef2;
    border-radius: 50%;
    cursor: pointer;
}
.btn {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    background-color: #354058a6 ;
    color: #e9eef2;
    font-weight: 900;
    font-size: 4rem;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 12px;
}
.prev{
    left: 0px;
}
.next{
    right: 0px;
}
.legend {
    z-index: 2;
    width: 400px;
    height: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    right: 0;
    bottom: 30px;
}
  
.images-icon {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    width: 100%;
    height: 60px;
    background-color: #354058;
}
  
  
.images-icon p {
    width: 95%;
    margin-top: 0.5rem;
    font-size: 1.5rem;
    right: 0;
    text-align: right;
    color: #e9eef2; 
}
.images-icon img{
    left: 2rem;
}
.museum-icon {
    right: 0;
    bottom: -15px;
}

.specialty-icon{
    right: 0;
    height: 25%;
    rotate: 25deg;
}
