* {
    font-family: 'W95FA', sans-serif;
}

input,
textarea,
button,
label {
    font-family: 'W95FA', sans-serif;
}

body {
    color: white;
    background-color: #55aaaa;
    margin: 0;
    overflow-x: hidden;
    line-height: 1.2;
}

a {
    text-decoration: none;
}

a:active,
a:focus {
    outline: 0;
    border: none;
}

p {
    font-size: 15px;
    margin: 0;
}

.desktop {
    display: flex;
    place-items: center;
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.icons {
    width: fit-content;
}

.icon-spot {
    width: 64px;
    height: 80px;
    text-align: center;
    border: solid 1px #fff0;
    margin: 10px;
    margin-bottom: 1.2rem;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.icon-spot img:not(.window-icon) {
    width: 36px;
    height: 36px;
    margin-bottom: 4px;
}

.icon-spot:hover {
    border-color: #fff8;
    border-style: dotted;
}

.empty {
    border: 0;
}

.white {
    color: white;
}

.black {
    color: black;
}

.icon-title {
    font-size: 14px;
    text-align: center;
    border: solid 1px #fff0;
    margin: 0;
    line-height: 1.1;
    word-wrap: break-word;
    max-width: 60px;
}

.icon-title:active {
    border-color: #fff8;
    border-style: dotted;
}

.centered {
    margin-left: auto;
    margin-right: auto;
}

.window-icon {
    width: 24px;
    height: 24px;
    float: left;
    margin-right: 5px;
}

.circle-mug {
    width: 100px;
    height: 100px;
    margin-right: 10px;
    float: left;
}

.portfolio-window {
    position: fixed;
    z-index: 0;
    width: 25%;
    right: 0;
    top: 0;
    padding-top: 4px;
    padding-right: 4px;
}

.portfolio-info {
    margin: 10px;
}

.address-window {
    width: 27%;
    position: fixed;
    z-index: 0;
    right: 0;
    top: 36%;
    padding-top: 4px;
    padding-right: 4px;
}

.address-form {
    width: 100%;
}

.address-div {
    width: 100%;
    margin-bottom: 5px;
    display: flex;
}

.address-box {
    width: 100%;
    height: 100%;
}

.address-txtarea {
    width: 100%;
    height: 10rem;
    margin: 5px 0 5px 0;
    resize: none;
}

.address-sendicon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 3px;
}

#win1,
#win2 {
    display: none;
    z-index: 1;
}

footer {
    padding: 2px;
    box-shadow: inset 1px 0 #fff;
    display: block;
    background-color: silver;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid #f4f4f4;
    border-bottom: 1px solid #4e4e4e;
    position: fixed;
    z-index: 99999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#start-button {
    width: 59px;
    margin-top: 2px;
}

#start-button:active {
    content: url("../img/start-pressed.png");
}

#portfolio-btn {
    height: 27.6px;
    display: block;
    position: absolute;
    margin-left: 66px;
    top: 4px;
}

#portfolio-btn:active {
    content: url("../img/portfolio-btn-pressed.png");
}

#time {
    border-top: 1px solid #868a8e;
    border-left: 1px solid #868a8e;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    position: absolute;
    bottom: 0.2rem;
    right: 12px;
    color: black;
}

/* Windows 95 adjustments */
.title-bar-text {
    font-size: 16px;
}

.window {
    touch-action: none;
}

.window-body {
    display: flex;
    flex-flow: wrap;
    font-size: 15px;
}

/* modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 50%;
}

.iframe-container {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.iframe-container iframe {
    margin: auto;
    display: block;
}


.modal-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    p {
        font-size: 12px;
    }

    .portfolio-window {
        width: 75%;
    }

    .address-window {
        top: 45%;
        width: 80%;
    }

    .modal-content {
        width: 100%;
    }
}

@media screen and (min-width: 701px) and (max-width: 1366px) {
    .portfolio-window {
        width: 30%;
    }

    .address-window {
        top: 48%;
        width: 35%;
    }
}

table.interactive tbody tr:hover {
    background-color: #0000FF !important;
    cursor: pointer;
}

table.interactive tbody tr:hover td {
    color: white !important;
    background-color: #0000FF !important;
}

table.interactive tbody tr:hover a {
    color: white !important;
}

table.interactive tbody tr:active {
    background-color: #000080 !important;
}

table.interactive tbody tr:active td {
    color: white !important;
    background-color: #000080 !important;
}

table.interactive tbody tr:has(p):hover {
    background-color: transparent !important;
    cursor: default !important;
}

table.interactive tbody tr:has(p):hover td {
    color: black !important;
    background-color: transparent !important;
}

table.interactive tbody tr:has(p):active {
    background-color: transparent !important;
}

table.interactive tbody tr:has(p):active td {
    color: black !important;
    background-color: transparent !important;
}