* {
    box-sizing: border-box;
}

@font-face {
    font-family: "Pixel Digivolve";
    src: url("fonts/Pixel\ Digivolve.otf") format("truetype");
}

:root {
    --color-main: #49d7fa;
    --color-dark: #0e1259;
    --color-light: #e2feff;
    --color-window: #ffffff;
    --color-text: #121118;
}

body {
    margin: 0;
    font-family: Tahoma, Verdana, sans-serif;
    background-color: var(--color-dark);
}

#desktop {
    width: 100vw;
    height: 100vh;
    display: flex;
    position: relative;

    background-image: url("images/desktop-bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#sidebar {
    width: 100px;
    height: 100%;

    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding-top: 100px;
    padding-left: 180px;
    gap: 20px;
}

.desktop-icon {
    width: 80px;
    min-height: 75px;

    background: transparent;
    border: none;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    font-family: Tahoma, Verdana, sans-serif;
    font-size: 12px;

    cursor: pointer;
}

.icon-image {
    font-size: 50px;
    line-height: 1;
}

desktop-icon:hover {
    background-color: rgba(255, 255, 255, 0.35);
}

.desktop-icon:active {
    transform: translate(2px, 2px);
}

#main-window {
    z-index: 1;
    width: 1000px;
    height: 650px;
    
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.window {
    background-color: var(--color-window);
    border: 3px solid var(--color-dark);
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.35);
}

.title-bar {
    height: 36px;

    background-color: var(--color-main);
    color: white;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 8px;

    font-family: Tahoma, Verdana, sans-serif;
    font-size: 14px;
    font-weight: bold;
}

.window-buttons {
    display: flex;
    gap: 5px;
}

.window-buttons button {
    width: 24px;
    height: 24px;

    padding: 0;

    background-color: var(--color-main);
    color: var(--color-light);

    border: 2px solid var(--color-dark);

    font-family: Arial, sans-serif;
    font-weight: bold;

    cursor: pointer;
}

.window-buttons button:hover {
    background-color: var(--color-dark);
    color: white;
}

.welcome-text {
    width: 55%;
    padding: 25px;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-text h1 {
    font-family: "Pixel Digivolve", sans-serif;
    font-size: 60px;
    margin-bottom: 20px;
    text-align: center;
    
}

.welcome-text p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.start-button {
    width: 160px;
    height: 45px;
    align-self: center;

    background-color: var(--color-window);
    color: rgb(0, 0, 0);

    border: 3px solid var(--color-dark);

    font-family: Tahoma, Verdana, sans-serif;
    font-weight: bold;

    cursor: pointer;
}

.start-button:hover {
    background-color: var(--color-dark);
    color: white;
}

.welcome-image {
    width: 45%;
    height: 100%;
}

.welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screen {
    width: 100%;
    height: calc(100% - 36px);
}

#welcome-screen {
    display: flex;
}

#about-screen {
    display: none;
}

.about-top {
    display: flex;
    height: 45%;
}

.about-profile {
    width: 50%;

    display: flex;
    gap: 20px;

    padding: 20px;
}

.about-profile img {
    width: 180px;
    height: 180px;

    object-fit: cover;
}

.about-info {
    flex: 1;
}

.stand-photo {
    width: 50%;

    padding: 20px;
}

.stand-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.about-bottom {
    width: 75%;
    height: 55%;

    padding: 20px;

    display: flex;
    flex-direction: column;
  
}

#back-button {
    width: 150px;
    height: 40px;

    background-color: var(--color-window);
    color: rgb(0, 0, 0);
    border: 3px solid var(--color-dark);

    cursor: pointer;
    margin-top: auto;
}

#back-button:hover {
    background-color: var(--color-dark);
    color: white;
}

#product-window {
    z-index: 2;
    width: 450px;
    height: 280px;

    border: 3px solid rgb(0, 0, 0);
    background-color: #121118;

    position: absolute;
    right: 30px;
    bottom: 15px;
}

.product-content {
    position: relative;
    width: 100%;
    height: calc(100% - 36px);
    overflow: hidden;
}

.product-display {
    width: 100%;
    height: 100%;
    position: relative;
}

.product-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-display p {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);

    margin: 0;
    padding: 5px 12px;

    background-color: rgba(0, 0, 0, 0.75);
    color: white;

    font-family: Tahoma, Verdana, sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.product-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 40px;
    height: 50px;

    background-color: rgba(0, 0, 0, 0.65);
    color: white;

    border: 2px solid white;

    font-weight: bold;
    font-size: 18px;

    cursor: pointer;
    z-index: 3;
}

#previous-category {
    left: 10px;
}

#next-category {
    right: 10px;
}

.product-arrow:hover {
    background-color: var(--color-dark);
    color: white;
}

#catalog-button {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);

    width: 150px;
    height: 32px;

    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-dark);

    border: 2px solid var(--color-dark);

    font-family: Tahoma, Verdana, sans-serif;
    font-weight: bold;

    cursor: pointer;
    z-index: 4;
}

#catalog-button:hover {
    background-color: var(--color-main);
    color: white;
}

#work-chat {
    width: 220px;
    height: 360px;
    border: 3px solid rgb(0, 0, 0);
    position: absolute;
    right: 15px;
    top: 30px;
}
