body {
    font-family: Arial, sans-serif;
    background-color: #000;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;  /* This makes sure children of body are stacked vertically */
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.frame-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2vw;
    width: 80vw; 
    height: 80vh; 
}

.frame {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* This will ensure that images do not overflow their containers */
}

.frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s; /* Optional: For a smooth transition effect when resizing */
}

.orange {
    background-image: url('your-border-design.png');
    background-repeat: repeat;
    background-size: cover;
}

.blue {
    background-image: url('your-border-design-2.png');
    background-repeat: repeat;
    background-size: cover;
}

.fullView {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
}

.fullView img {
    max-width: 60vw; 
    max-height: 60vh; 
    cursor: pointer;
}

#R1:target,
#S1:target,
#R2:target,
#S2:target,
#R3:target,
#S3:target {
    display: flex;
}

.project-title {
    font-size: 10em;
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}