@font-face {
    font-family: 'Redaction';
    src: url('/fonts/Redaction_35-Bold.woff2') format('woff2');
}

body {
    margin: 0;
    padding: 0;
    background-color: #aaa;
    font-family: Arial, sans-serif;
}

.section {
    position: relative;
    width: calc(100vw - 70px);
    max-width: 1500px;
    max-height: calc(100vh - 70px);
    aspect-ratio: 16 / 9;
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #fff;
    border: 5px solid #000;
    border-radius: 20px;
}

#hero {
    background-color: rgb(68, 165, 230);
}

#hello {
    background-color: rgb(36, 120, 176);
}

#projects {
    background-color: rgb(21, 21, 21);
}

#explore-more {
    background-color: rgb(86, 157, 215);
}

#hero, #explore-more {
    justify-content: center;
    align-items: flex-end;
}

#herosvg, #exploresvg {
    width: 100%;
    min-width: 500px;
}

#window {
    position: relative;
    border-radius: 10px;
    background-color: #fff;
    border: 5px solid #000;
    margin: 5px;
    max-height: 90%;
    max-width: 800px;
}

.window-content {
    display: flex;
    max-height: calc(100% - 50px);
    flex-direction: row;
    margin: 10px 50px;
    overflow-y: scroll;
}

.window-content .text {
    font-family: 'Redaction', sans-serif;
    font-size: 1.2em;
    color: #000;
    margin: 0 20px;
    min-height: 300px;
}

.titlebar {
    width: 100%;
    height: 50px;
    background-color: #8c8c8c;
    border-bottom: 5px solid #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
}

.buttons .close,
.buttons .minimize,
.buttons .maximize {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 0 2px;
    border: 4px solid #000;
}

.buttons .close {
    background-color: rgb(213, 70, 70);
}

.buttons .minimize {
    background-color: rgb(194, 194, 97);
}

.buttons .maximize {
    background-color: rgb(90, 170, 90);
}

#profilephoto {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    border: 5px solid #000;
    margin-top: 20px;
}

#description {
    color: #000;
    font-family: 'Redaction', sans-serif;
    font-size: 1.5em;
    flex-grow: 2;
}

#computer {
    width: 600px;
    max-width: 95vw;
    min-width: 600px;
}

.project-content {
    display: flex;
    flex-direction: column;
    flex-grow: 2;
    padding: 50px 20px 10px;
    color: #fff;
    font-family: monospace;
    font-size: 1.3rem;
}

.project-content a, .project-content a:visited {
    color: #fff;
    text-decoration: underline;
}

#project-image {
    transform-style: preserve-3d;
    transform: rotateY(21deg) rotateX(-4deg) rotateZ(-5.5deg);
}

#FWDBTN,
#BKBTN {
    cursor: pointer;
}

#FWDBTN:hover .uuid-7cb1ae3f-9774-4b27-974e-f8689bf6f162,
#BKBTN:hover .uuid-7cb1ae3f-9774-4b27-974e-f8689bf6f162 {
    fill: #ffcf68;
}

.cls-1 {
    fill: red;
}

.cls-1,
.cls-2,
.cls-3,
.cls-4,
.cls-5,
.cls-6,
.cls-7,
.cls-8,
.cls-9,
.cls-10,
.cls-11,
.cls-12 {
    stroke-miterlimit: 10;
}

.cls-1,
.cls-2,
.cls-3,
.cls-6,
.cls-7,
.cls-8,
.cls-9 {
    stroke: #000;
}

.cls-1,
.cls-3,
.cls-6,
.cls-7,
.cls-9 {
    stroke-width: 7px;
}

.cls-2 {
    stroke-width: 15px;
}

.cls-2,
.cls-3 {
    fill: #ed1c24;
}

.cls-4,
.cls-7 {
    fill: #fff;
}

.cls-4,
.cls-5,
.cls-10,
.cls-11,
.cls-12 {
    stroke: #333;
    stroke-width: 7px;
}

.cls-5 {
    fill: #4c665a;
}

.cls-6 {
    fill: #fbe977;
}

.cls-8 {
    fill: #149a5b;
    stroke-width: 7px;
}

.cls-9 {
    fill: #aaa;
}

.cls-10 {
    fill: #736357;
}

.cls-11 {
    fill: #f2f2f2;
}

.cls-12 {
    fill: #534741;
}

.uuid-af95b670-6fb2-40ed-8c18-71b51020a221 {
    fill: #fff;
}

.uuid-af95b670-6fb2-40ed-8c18-71b51020a221,
.uuid-177340ae-386c-4285-8f02-4185dc9c1f32,
.uuid-7cb1ae3f-9774-4b27-974e-f8689bf6f162 {
    stroke: #000;
    stroke-miterlimit: 10;
}

.uuid-af95b670-6fb2-40ed-8c18-71b51020a221,
.uuid-7cb1ae3f-9774-4b27-974e-f8689bf6f162 {
    stroke-width: 7px;
}

.uuid-177340ae-386c-4285-8f02-4185dc9c1f32 {
    stroke-width: 13px;
}

.uuid-177340ae-386c-4285-8f02-4185dc9c1f32,
.uuid-7cb1ae3f-9774-4b27-974e-f8689bf6f162 {
    fill: #bcb19b;
}

.uuid-eecdcb07-5d3e-4db4-b4ec-109f6646df75 {
    letter-spacing: 0em;
}

.uuid-587759c1-9989-4314-9742-28028306c7c0,
.uuid-69a23152-6958-404b-bb6c-6e25398d1b7d {
    fill: #fff;
}

.uuid-587759c1-9989-4314-9742-28028306c7c0,
.uuid-69a23152-6958-404b-bb6c-6e25398d1b7d,
.uuid-905e4651-21a1-4576-8f22-53cf0929dc87,
.uuid-cbfa07a9-8d95-4356-8e58-ecda7e985f87,
.uuid-77b1c413-9530-488a-9976-96048dfb5c60,
.uuid-a0e74205-9fe9-440d-8aad-ab17cd30b1c9,
.uuid-abae51cc-4924-4913-8700-26d354a2198d,
.uuid-c6045707-8040-4978-9001-c33ebd4768da,
.uuid-975b24f9-1e9d-488f-9d3c-561c7a562c68 {
    stroke-miterlimit: 10;
}

.uuid-587759c1-9989-4314-9742-28028306c7c0,
.uuid-905e4651-21a1-4576-8f22-53cf0929dc87,
.uuid-abae51cc-4924-4913-8700-26d354a2198d,
.uuid-c6045707-8040-4978-9001-c33ebd4768da,
.uuid-975b24f9-1e9d-488f-9d3c-561c7a562c68 {
    stroke: #333;
    stroke-width: 6px;
}

.uuid-69a23152-6958-404b-bb6c-6e25398d1b7d,
.uuid-cbfa07a9-8d95-4356-8e58-ecda7e985f87,
.uuid-77b1c413-9530-488a-9976-96048dfb5c60,
.uuid-a0e74205-9fe9-440d-8aad-ab17cd30b1c9 {
    stroke: #000;
}

.uuid-69a23152-6958-404b-bb6c-6e25398d1b7d,
.uuid-a0e74205-9fe9-440d-8aad-ab17cd30b1c9 {
    stroke-width: 7px;
}

.uuid-905e4651-21a1-4576-8f22-53cf0929dc87 {
    fill: #4c665a;
}

.uuid-cbfa07a9-8d95-4356-8e58-ecda7e985f87 {
    fill: #9a4000;
    font-family: Arial-Black, 'Arial Black';
    font-size: 103.04px;
    font-weight: 800;
    stroke-width: 4px;
}

.uuid-77b1c413-9530-488a-9976-96048dfb5c60 {
    fill: #149a5b;
    stroke-width: 5px;
}

.uuid-0b5bdc7a-b67e-4a67-b9d4-b7c8efb6b650 {
    letter-spacing: -.07em;
}

.uuid-8fe2852b-6133-4c62-829d-276316151c4f {
    letter-spacing: -.02em;
}

.uuid-a0e74205-9fe9-440d-8aad-ab17cd30b1c9 {
    fill: #d05900;
}

.uuid-abae51cc-4924-4913-8700-26d354a2198d {
    fill: #736357;
}

.uuid-c6045707-8040-4978-9001-c33ebd4768da {
    fill: #f2f2f2;
}

.uuid-975b24f9-1e9d-488f-9d3c-561c7a562c68 {
    fill: #534741;
}

#CLOUD1,
#CLOUD2,
#CLOUD3,
#CLOUD4 {
    animation: float 6s ease-in-out infinite;
}

#CLOUD1, #CLOUD4 {
    animation-delay: 1s;
}

.o {
    animation-delay: 2s;
    transform-origin: bottom left;
    animation: tilt 10s ease-out infinite;
}

.o-front {
    animation-delay: 2s;
    transform-origin: bottom left;
    animation: tilt 10s ease-out infinite, flicker 10s ease-out infinite;
}

@keyframes flicker {
    0% {
        fill: #fbe977;
    }

    20%,
    22%,
    24%,
    26% {
        fill: #fbe977;
    }

    21%,
    23%,
    25%,
    27% {
        fill: #999;
    }

    96% {
        fill: #999;
    }

    98%,
    100% {
        fill: #fbe977;
    }
}

@keyframes tilt {
    0% {
        transform: translateY(0) rotate(0);
    }

    30% {
        transform: translateY(0) rotate(0);
    }

    30.5% {
        transform: rotate(5deg);
    }

    90% {
        transform: rotate(5deg);
        opacity: 1;
    }

    92% {
        transform: rotate(15deg);
        opacity: 1;
    }

    93% {
        transform: rotate(15deg);
        opacity: 0;
    }

    95% {
        transform: rotate(0deg);
        opacity: 0;
    }

    100% {
        transform: rotate(0deg);
        opacity: 1;
    }

}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 750px) {
    .section {
        max-width: calc(100vw - 30px);
        max-height: calc(100vh - 30px);
        margin: 10px auto;
        aspect-ratio: unset;
    }

    #window {
        max-height: 80%;
    }

    .window-content {
        flex-direction: column;
    }

    #herosvg, #exploresvg {
        min-width: 800px;
    }

    #projects {
        flex-direction: column;
        flex-grow: 1;
        max-height: none;
        max-width: calc(100vw - 30px);
        min-height: calc(100vh - 30px);
    }

    .project-content {
        flex-grow: unset;
        width: 100%;
        min-height: 300px;
        font-size: 1rem;
    }

    #computer {
        width: 100%;
        min-width: 100%;
    }
}

@media only screen and (max-width: 1050px) {
    #computer {
        width: 300px;
        min-width: 300px;
    }

    .project-content {
        font-size: 1rem;
    }
}