/* Ensure the body takes up the full viewport for percentages to work */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: row;
    /* justify-content: center; */
    align-items: center;
    background: rgba(206,207,214,255);

    
}

.container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#big-text-div{
    position: absolute;
    margin-right: 40%;
    margin-top: -15%
}

.love{
    position: relative;
    font-size: 11.65vw;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-bottom: 0vw;
    margin-right: 10%;
}

.light{
    font-size: 11.65vw;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-indent: 5vw;
    margin-top: -5vw;
    margin-right: 10%;
}


/* sign in */

.sign-buttons{
    height: 5vw;
    width: 100%;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
}

.sign-up{
    width: 175px;
    border-radius: 6vw;
    background-color: black;
    color: white;
    border: none;
    
    padding: 1vw 2vw;
    text-align: center;
    text-decoration: none;
    font-size: 1vw;
    margin: 1vw 2vw;

    cursor: pointer;
    justify-content: center;
    align-items: center;
}



.sign-in{
    width: 25vw;
    border-radius: 6vw;
    background-color: rgba(0, 0, 0, 0); /* Set transparency */
    color: white;
    border: none;
    padding: 1vw 2vw;
    text-align: center;
    text-decoration: none;
    font-size: 2vw;
    margin: 1vw 2vw;
    cursor: pointer;
}


.google-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Ensures it takes full width of its container */
}

#google-signin-container {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    width: 100%;
    margin-top: -3vh; /* Adjust spacing */
}

/* ---------------------------------------- */

/* traffic light */

.traffic-light-container {
    display: flex;
    flex-direction: column; /* Stack lights vertically */
    justify-content: center; /* Center within the container */
    align-items: center; /* Center horizontally */
    height: 10%;
    width: 10%;
}

.traffic-light {
    background-color: blue;
    position: absolute;
    left: 50%;
    background-color: black;
    width: 12vh;
    aspect-ratio: 882 / 286; /* Original aspect ratio for horizontal */
    border-radius: 30% / 92.5174824%;
    margin: auto;

    /* factor of 3.08391608 */

    /* to change size of traffic light change the min-width
    and min-height
    
    **NOTE** you will also need to change the max-width 
    and the max-height of the light containers below
    
    you may also need the left: XX% to center the traffic light
    how you need it to be
    */

    min-width: 46.2587412vw;
    min-height: 15vw;

    display: flex;
    aspect-ratio: 3.2/1;
    justify-content: center;
    align-items: center;
    gap: 5%;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    
    /* Rotate the entire traffic light */
    transform: rotate(90deg);
}



.red-light, .yellow-light, .green-light {
    width: 60vw;
    border-radius: 100%;
    aspect-ratio: 1 / 1;
    min-width: 3vw;
    min-height: 3vw;

    /* factor of 0.87 compared
    to traffic light size*/

    max-width: 13.05vw;
    max-height: 13.05vw;
}

.red-light {
    background-color: rgb(237, 34, 13);
}

.yellow-light {
    background-color: rgb(254, 174, 0);
}

.green-light {
    background-color: rgb(96, 217, 55);
}



/* traffic light buttons */

.light-button {
    background: none; /* Remove default background */
    border: none; /* Remove default border */
    padding: 0; /* Remove default padding */
    display: inline-flex; /* Align the image inside properly */
    border-radius: 50%; 
    overflow: hidden; /* Ensures the image stays within bounds */
}

.light-button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a hover effect */
}


/* smaller screens */

@media (max-width: 768px) {
    .love, .light {
        font-size: 15vw;
    }

    .traffic-light {
        width: 20vw;
    }

    .sign-buttons button {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
}
