/* Common styles for all screen sizes */
body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #000626;
    font-family: Arial, sans-serif;
    color: #fff;
    font-size: 1.5vw; /* Set a base font size using vw */
}

#windowSize {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    background-color: #000;
    padding: 3vw;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 600px;
    min-width: 250px; /* Ensures legibility on smaller screens */
    outline: 1vw solid #fff; /* Outline to replace the separate element */
}

.dimensionContainer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 2vw;
}

.dimensionLabel {
    font-size: 3vw;
    margin-bottom: 1vw;
    text-align: left;
    color: yellow;
}

.dimensionValue {
    font-size: 6vw;
    text-align: left;
}

/* Media query for smaller screens */
@media screen and (max-width: 400px) {
    body {
        font-size: 2vw;
    }
    .dimensionLabel {
        font-size: 3vw;
    }
    .dimensionValue {
        font-size: 10vw;
    }
    #windowSize {
        padding: 1vw;
        width: 90%;
        outline: 0.3vw solid #fff; /* Adjust outline thickness for smaller screens */
    }
}

/* Media query for larger screens */
@media screen and (min-width: 800px) {
    body {
        font-size: 1vw;
    }
    .dimensionLabel {
        font-size: 1.5vw;
    }
    .dimensionValue {
        font-size: 3vw;
    }
    #windowSize {
        padding: 1.5vw;
        width: 90%;
        outline: 0.5vw solid #fff; /* Adjust outline thickness for larger screens */
    }
}