#windows{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
 .window{
    resize: both;
    overflow: hidden;
    max-width: calc(100% - 6px);
    max-height: calc(100% - 6px);
    background-color: #D2A24C;
    border: solid black 3px;
    display: flex;
    flex-direction: column;
    width: 800px;
    height: fit-content;
    position: absolute;
    top: 10px;
    left: calc(50vw - 400px);
    border-radius: 30px;
    box-shadow: 15px 15px black;
    transition: transform 0.2s;
    transform-origin: bottom;
    z-index: 2;
    min-width: 180px;
    min-height: 60px;
}
 .window.image{
    min-width: 400px;
    min-height: 400px;
}
 .window.hidden{
    transform: scale(0);
}
 .window.closed{
    display: none;
}
 .window.active{
    z-index: 3;
}
 .window.fullscreen{
    min-height: calc(100% - 6px);
    min-width: calc(100% - 6px);
    border-radius: 0;
    transition: all 0.2s;
}
 .window .windowHead{
    background-color: #ECE6C2;
    display: flex;
    padding: 1rem 2rem;
    border-bottom: solid black 3px;
}
 .window .windowHead button{
    background: none;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    border: solid black 3px;
    margin-right: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;

}
.window .windowHead button:hover{
    background: #D2A24C;
}
 .window .windowHead button img{
    width: 15px;
}
 .window .windowBody{
    background-color: #ECE6C2;
    margin-top: 5rem;
    border-top: solid black 3px;
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;
    flex-grow: 1;
}
 .window.folder .windowBody{
    display: flex;
    padding-top: 20px;
    flex-wrap: wrap;
}

 .window.folder .windowBody .file img{
    width: 75px;
    height: 75px;
    object-fit: contain;

}
 .window.folder .windowBody .file figure{
    display: flex;
    flex-direction: column;
    margin: 0;
    align-items: center;
}
 .window.folder .windowBody .file{
    margin-inline: 1rem;
    height: fit-content;
    width: 150px;
    margin: 1rem;
}
 .window.folder .windowBody .file figure figcaption{
    font-size: 1.5rem;
    margin-top: 1rem;
    font-weight: bold;
    text-align: center;
}
 .window.folder .windowBody a{
    display: block;
    text-decoration: none;
    color: inherit;
}

 .window.email .windowBody form{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
 .window.email .windowBody form .form_section{
    display: flex;
    font-size: 2.5rem;
    padding: 0.5rem 2rem;
    border-bottom: solid black 3px;
    align-items: center;
    font-weight: bold;
}
 .window.email .windowBody form .form_section label{
    text-transform: uppercase;
    margin-right: 1rem;
}
 .window.email .windowBody form .form_section input{
    background: none;
    flex-grow: 1;
    border: none;
    outline: none;
    font-weight: bold;
}
 .window.email .windowBody form .message{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
 .window.email .windowBody form textarea{

    background: none;
    font-size: 2.5rem;
    border: none;
    outline: none;
    resize: none;
    padding: 1rem 2rem;
}
@media screen and (min-width: 900px){
    .window.email .windowBody form textarea{
        flex-grow: 1;
    }
}
 .window.email .windowBody form button{
    width: fit-content;
    margin: 3rem 2rem;
    font-size: 3rem;
    text-transform: uppercase;
    background-color: #D2A24C;
    border: none;
    padding: 0.5rem 3rem;
    font-weight: bold;
    border-radius: 15px;
    border: solid black 3px;
}
.window.email .windowBody form button:hover{
    color: #ECE6C2;
    background: #73BDA8;
}
 .window.text .windowBody {
    display: flex;
    flex-direction: column;
}
 .window.text .windowBody .edit{
    background-color: #d1ccb1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-block: 1rem;
}

 .window.text .windowBody .edit > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 2.5rem;
    margin-inline: 3rem;
   
}
 .window.text .windowBody .edit > div h2{
    font-size: 2rem;
    margin-bottom: 0;
    margin-top: 0.5rem;
}
 .window.text .windowBody .edit > div button{
    display: block;
    background: none;
    border: none;
    margin-inline: 0.5rem;
    color: black;
    width: fit-content;
}
.window.text .windowBody .edit > div > div{
    display: flex;
    justify-content: center;
}
.window.text .windowBody .edit > div button:hover{
    filter: brightness(0) saturate(100%) invert(73%) sepia(17%) saturate(699%) hue-rotate(112deg) brightness(91%) contrast(92%);
}
 .window.text .windowBody .edit > div button img{
    width: 30px;
}

 .window.text .windowBody > p{
    flex-grow: 1;
    padding: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    resize: none;
    outline: none;
}
 .window.text .windowBody > p span.bold{
    font-weight: bold;
}
 .window.text .windowBody > p span.italic{
    font-style: italic;
}
 .window.text .windowBody > p span.underline{
    text-decoration: underline;
}
 .window.text .windowBody > p span.back{
    display: block;
}
 .window.project .windowBody .thumbnail{
    margin-inline: 2rem;
    padding-block: 2rem;
    border-bottom: solid black 3px;
}
 .window.project .windowBody img{
    aspect-ratio: 16/9;
    width: 500px;
    height: auto;
    object-fit: cover;
    object-position: top;
    border: solid black 3px;
}
 .window.project .windowBody .description{
    font-size: 2rem;
    padding: 2rem;
}
 .window.project .windowBody .description h2{
    font-size: 2.5rem;
    margin-block: 1rem;
}
 .window.project .windowBody .description p{
    text-align: justify;
}
 .window.project .windowBody .description table td{
    padding-block: 1rem;
}
 .window.project .windowBody .description table tr td:first-child{
    font-weight: bold;
    padding-right: 5rem;
    white-space: nowrap;
}
 .window.project .windowBody .description table tr td:last-child{
    font-family: "Roboto", monospace;
}
 .window.project .windowBody .description a{
    color: #518677;
}
.window.project .windowBody .description a:hover{
    color: #D2A24C;
}

 .window.image .windowBody{
    background-color: #73BDA8;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow-y: hidden;
    margin-top: 0;
    position: relative;
}
 .window.image .windowBody .edit{
    position: absolute;
    top: 3rem;
    left: 50%;
    translate: -50% 0;
    z-index: 1;
}
 .window.image .windowBody .edit .range{
    width: fit-content;
    position: relative;
}
 .window.image .windowBody .edit .range label{
    position: absolute;
    left: 100%;
    top: 50%;
    translate: 0 -50%;
    color: #d1ccb1;
    font-size: 2.5rem;
    margin-left: 1rem;
    white-space: nowrap;
}
 .window.image .windowHead{
    border: none;
}

 .window.image .windowBody img{
    aspect-ratio: 1/1;
    width: 600px;
    height: auto;
    object-fit: contain;
    display: block;
    position: relative;
}
@keyframes upNdown {
    to{
        transform: translateY(-5px);
    }
    
}

@media screen and (max-width: 900px) {
     .window{
        min-height: calc(100% + 6px);
        width: 100vw;
        max-width: none;
        position: fixed;
        top: 0;
        left: 0;
        border-radius: 0;
        border: none;
        transition: all 0.2s;
        box-shadow: none;
        transform-origin: center;
        z-index: 1;
    }
     #windows .window:not(.folder)::after{
        content: "";
        width: 80%;
        height: 3px;
        background: black;
        position: absolute;
        left: 50%;
        bottom: 1.5rem;
        translate: -50% 0;
        position: absolute;
        border-radius: 30px;
        animation: upNdown infinite alternate 1.5s;
    }
     .window .windowHead{
        display: none;
    }
     .window .windowBody{
        margin-top: 0;
        border: none;
        position: relative;
        width: 100%;
        height: 100%;
    }
     .window.folder{
        background: none;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        justify-content: center;
        align-items: center;
    }
     .window.folder .windowBody{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        grid-auto-rows: auto;
        background: rgba(0,0,0,0.5);
        border-radius: 15px;
        padding: 2rem;
        row-gap: 2rem;
        transition: all 0.2s;
        flex-grow: unset;
        width: calc(100% - 10rem);
        margin-inline: auto;
        height: fit-content;
    }
     .window.folder .windowBody .file{
        width: 100%;
        margin-inline: 0;
    }
     .window.folder .windowBody .file img{
        aspect-ratio: 1/1;
        width: 50px;
        height: auto;
        background: #ECE6C2;
        border-radius: 15px;
        display: block;
        padding: 1rem;
    }
     .window.folder .windowBody .file figure figcaption{
        font-size: 1.5rem;
        color: #ECE6C2;
        text-transform: capitalize;
    }
    .file figure figcaption{
        text-transform: capitalize;
    }
     .window.folder.hidden{
        transform: scale(1);
        opacity: 0;
    }
     .window.folder.hidden .windowBody{
        scale: 0;
    }
     .window.text .windowBody .edit{
        padding-block: 3rem;
    }
     .window.email .windowBody{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
     .window.email .windowBody figure{
        margin: 0;
        background: #d1ccb1;
        padding-block: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
     .window.email .windowBody figure figcaption{
        font-size: 2rem;
        font-family: Lidja;
        margin-top: 1rem;
    }
     .window.email .windowBody figure img{
        width: 75px;
        border-radius: 100%;
        border: solid black 3px;
    }
     .window.email .windowBody .conversation{
        margin-top: 3rem;
    }
     .window.email .windowBody .conversation .time{
        width: fit-content;
        font-size: 1.5rem;
        margin-inline: auto;
        text-align: center;
    }
     .window.email .windowBody .conversation p{
        font-size: 2rem;
        width: 75%;
        margin-inline: 1rem;
        padding: 1rem;
        background: #73BDA8;
        color: #ECE6C2;
        border-radius: 15px;
    }

     .window.email .windowBody form .form_section.computer{
        display: none;
    }
    .window.email .windowBody form{
        justify-content: flex-end;
    }
     .window.email .windowBody form .message{
        flex-grow: unset;
        flex-direction: row;
        border: solid black 3px;
        margin-top: 3rem;
        margin-left: 5rem;
        margin-right: 1rem;
        margin-bottom: 5rem;
        border-radius: 30px;
        align-items: flex-end;
        justify-content: flex-end;
    }
     .window.email .windowBody form .message textarea{
        font-size: 2rem;
        padding: 1rem;
        width: 80%;
        height: fit-content;
        overflow: hidden
    };
     .window.email .windowBody form .message textarea::placeholder{
        white-space: nowrap;
    }
     .window.email .windowBody form .message button{
        padding: 1rem;
        font-size: 1.5rem;
        margin: 0;
        height: fit-content;
        width: 20%;
        border-radius: 30px;
    }
    #phoneMenu .window{
        scale: 0.8;
        position: static;
        border-radius: 15px;
        border: solid black 3px;
    }
    #phoneMenu .window .windowBody{
        overflow: hidden;
    }
    .window.project .windowBody img{
        width: 100%;
    }
    .window.project .windowBody .description table td{
        display: block;
    }
    .window.image .windowBody .edit{
        display: none;
    }
    .window.image{
        min-width: 100vw;
        min-height: 100%;
        width: 100vw;
        height: 100%;
    }
    .window.image .windowBody{
        width: 100%;
        height: 100%;
    }
    .window.image .windowBody img{
        aspect-ratio: auto;
        width: 100%;
    }
    .window.text .windowBody .edit > div button{
        margin-inline: 0;
    }
    .window.text .windowBody .edit > div button:hover{
        filter: none;
    }
    .window.text .windowBody .edit > div button:active{
        filter: brightness(0) saturate(100%) invert(73%) sepia(17%) saturate(699%) hue-rotate(112deg) brightness(91%) contrast(92%);
    }
    .window.text .windowBody > p{
        font-size: 2rem;
    }

    
    
}