.windows-bar {
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    width: auto;
    height: 30px; 
    background-color: var(--backgroundColor-2);
    margin: 0 10px;
    padding: 5px;
    border-radius: var(--radius) var(--radius) 0 0;
}

.window-controls {
    display: flex;
    gap: 10px;
    margin-right: 10px; 
}

.window-controls span {
    cursor: pointer;
    font-size: 18px; 
    color: var(--secondaryColor); 
    padding: 5px;
    transition: 400ms ease-in-out;
}

.window-controls span:hover {
    color: var(--quaternaryColor);
    transition: 400ms ease-in-out;
}

.window-controls button{
    padding: 0;
    cursor: pointer;
    transition: 400ms ease-in-out;
    border: none;
    background: none;
    color: var(--secondaryColor); 
}
.window-controls button:hover{
    color: var(--quaternaryColor);
    transition: 400ms ease-in-out;
}

/* 1/3 to the left */
.left-1-3 {
    display: flex;
    margin: 0 10px;
    width: auto;
    height: auto;
    border: solid;
    box-sizing: border-box;
    border-radius: 0 0 var(--radius) var(--radius);
    margin-bottom: 30px;
}

.left-1-3 a{
    text-decoration: underline;
    color: var(--backgroundColor-2);
    transition: 1s;
}
.left-1-3 a:hover{
    text-decoration: underline;
    color: var(--quaternaryColor);
    transition: 1s;
    text-shadow: 0 0 5px var(--quaternaryColor),
                 0 0 10px var(--quaternaryColor),
                 0 0 15px var(--quaternaryColor),
                 0 0 20px var(--quaternaryColor),
                 0 0 25px var(--quaternaryColor),
                 0 0 30px var(--quaternaryColor),
                 0 0 35px var(--quaternaryColor);
}

.left-one-third {
    width: 33.33%;
    border: solid 1px;
    border-radius: 0 0 0 var(--radius);
    flex: auto;
    flex-direction: column; 
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    max-height: 600px;
    overflow-y: auto;
}

.left-one-third img {
    border-radius: var(--radius);
    width: auto;
}

.left-two-thirds {
    width: 66.66%;
    border: solid 1px;
    border-radius: 0 0 var(--radius) 0;
    flex: auto;
    flex-direction: column;
    justify-content: space-between; 
    padding: 30px;
    max-height: 600px;
    overflow: auto;
}

.text-layout h1{
    color: var(--secondaryColor);
    padding: 0;
}
.text-layout h2{
    color: var(--secondaryColor);
    padding: 0;
}
.text-layout h3{
    color: var(--secondaryColor);
    padding: 0;
}

/* 1/3 to the right */
.right-1-3 {
    display: flex;
    margin: 0 10px;
    width: auto;
    height: auto;
    border: solid;
    box-sizing: border-box;
    border-radius: 0 0 var(--radius) var(--radius);
    margin-bottom: 30px;
}

.right-one-third {
    width: 33.33%;
    border: solid 1px;
    border-radius: 0 0 var(--radius) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    max-height: 600px;
    overflow-y: auto;
}
.right-one-third img {
    border-radius: var(--radius);
    width: auto;
}

.right-two-thirds {
    width: 66.66%;
    border: solid 1px;
    border-radius: 0 0 0 var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    padding: 30px;
    max-height: 600px;
    overflow: auto;
}

.left-one-third img,
.right-one-third img {
    width: 100%;
    max-height: 100%;
    object-fit: contain; 
    margin-top: 10px; 
}

@media only screen and (max-width: 1000px) {

    .left-1-3 {
        display: block
    }
    .left-one-third{
        width: auto; 
        float: none; 
        border-radius: 0 0 0 0;
    } 
    .left-two-thirds{
        width: auto; 
        float: none; 
    }
    .right-1-3{
        display: block; /* Changes flex to block */
    }
    .right-two-thirds{
        width: auto; 
        float: none; 
        border-radius: 0 0 0 0;
    } 
    .right-one-third{
        width: 100%; 
        float: none; 
    }
}