/* 1. Reset default browser margins */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 2. Center the slide inside the browser viewport */
body {
    background-color: #111111; /* Dark background to frame the slide */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden; /* Removes browser scrollbars */
}

/* 3. The 16:9 Google Slide container */
.slide-container {
    width: 100vw;
    height: calc(100vw * 9 / 16); /* Locks to 16:9 aspect ratio */
    max-width: calc(100vh * 16 / 9); /* Prevents vertical overflow */
    max-height: 100vh;
    
    /* Applies your background image */
    background-image: url('backrooms.png'); 
    background-size: contain; /* Shows the full image without cropping */
    background-position: center;
    background-repeat: no-repeat;
    
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7); /* Adds a subtle shadow */
}

/* 4. Safe overlay zone for text/content */
.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 4%; /* Responsive inner spacing */
    color: #ffffff;
    font-family: sans-serif;
}

.link-one {
    position: absolute;
    top: 54%;
    left: 7%;
    width: 25%;
    height: 19%;

    font-size: 50px;
    font-weight: bold;
    text-align: center;
    align-content: center;
    text-decoration: none;
    color: white;
    
    transform: perspective(1000px) rotateY(39deg) rotateX(351deg) rotateZ(353deg);
    
    outline: 1px solid red;
}

.link-two {
    position: absolute;
    top: 35%;
    left: 59%;
    width: 39%;
    height: 54%;
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    align-content: center;
    text-decoration: none;
    color: white;
    transform: perspective(1000px) rotateY(360deg) rotateX(358deg) rotateZ(0deg);
    outline: 1px solid #000000;
}