/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

@font-face {
    font-family: 'Averta';
    src: url('../resources/fonts/Averta-Regular.otf') format("OpenType"), url("../resources/fonts/Averta-Bold.otf") format("OpenType"), url("../resources/fonts/Averta-Extrabold.otf") format("OpenType")
}

:root {
    --laptop-width: 70vw;
    --laptop-width-md: 80vw;
    --laptop-width-sm: 90vw;

    --worker-power-color: #d30c0c;
    --worker-power-highlight: #731313;

    --c02-color: #d30c0c;
    --c02-highlight: #731313;
}

*:not(input) {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input[type="text"] {
    -webkit-user-select: text
}

body {
    background-color: #2ABC96;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-family: 'Averta', sans-serif;
    font-size: 1rem;
}

@media (max-width: 1870px) {
    body {
        font-size: .8rem;
    }
}

/*
@media (min-width:1920px) and (max-width: 2047px) {
    body {
        font-size: .9rem;
    }
}*/

#background {
    z-index: -1;
    transform: translateZ(-1px);

}

.background-layer {
    z-index: inherit;
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: cover;
    background-position: center;
    -webkit-transition: -webkit-transform 0.2s linear;
    transition: -webkit-transform 0.2s linear;
    -o-transition: transform 0.2s linear;
    transition: transform 0.2s linear;
    transition: transform 0.2s linear, -webkit-transform 0.2s linear;
}

#background-layer-1 {
    background-image: url("../resources/imgs/background_1_full.png");
    /* background-image: url("../resources/imgs/Artboard\ 1.png"); */
    z-index: -2;
    -webkit-transform: translate(0, 0, -2px);
        -ms-transform: translate(0, 0, -2px);
            transform: translate(0, 0, -2px);
}

#background-layer-2 {
    background-image: url("../resources/imgs/background_2.png");
    z-index: -1;
    -webkit-transform: translate(0, 0, -1px);
        -ms-transform: translate(0, 0, -1px);
            transform: translate(0, 0, -1px);
}

#laptop {
    z-index: 2;
    -webkit-transform: translate(0, 0, 2px);
        -ms-transform: translate(0, 0, 2px);
            transform: translate(0, 0, 2px);
}

#laptop-wrapper {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translateX(-10vw);
    -ms-transform: translateX(-10vw);
    transform: translateX(-10vw);
}

#laptop {
    position: absolute;
    bottom: 30vh;
}

#keyboard-container {
    width: var(--laptop-width);
    left: calc(-1 * var(--laptop-width) / 2.2);
    height: 49vh;
    position: absolute;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    top: -1.5vh;
    pointer-events: none;
}

.keyboard-show {
    position: absolute;
    background-position: center;
    width: 100%;
    height: 100%;
}

/* #keyboard-bottom {
    background-color: #5080A0;
    border-radius: 20px 20px 105px 130px;
} */

/* #keyboard-bottom::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    width: 90px;
    height: 99px;
    background-color: #5080A0;
    bottom: 0px;
    left: 0px;
    border-radius: 0px 0px 99px 99px;
} */

#keyboard-inner {
    -webkit-transform: perspective(80vw) rotateX(70deg);
    transform: perspective(80vw) rotateX(70deg) translateZ(10px);
    background-color: #2D506D;
    height: 80%;
    width: 99.5%;
    border-style: solid;
    border-color: #5080A0;
    /* border-radius: 10px 10px 20px 60px;
    border-radius: 10px 10px 99px 99px; */
    border-bottom-right-radius: 96px 53px;
    border-bottom-left-radius: 80px 80px;
    border-top-left-radius: 10px 35px;
    border-top-right-radius: 10px;
    border-bottom-width: 45px;
    border-left-width: 10px;
    border-right-width: 0px;
    right: 0px;
    z-index: 10;
}

#keyboard-keys {
    background-color: #48667A;
    height: 81%;
    width: 92%;
    left: 4%;
    bottom: 10%;
    border-radius: 10px 10px 20px 20px;

}

.hinge {
    z-index: -1;
    position: absolute;
    height: 5vh;
    width: 5vw;
    background-color: #1d364b;
    bottom: -16vh;
    transform: translateZ(-1px);
}

#hinge-1 {
    left: 25vw;
}

#hinge-2 {
    right: 20vw;
}

#webcam {
    height: 3vh;
    width: 5vw;
    position: absolute;
    background-color: #1C262D;
    top: .6vh;
    border-radius: 25px 50px 25px 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#webcam-bubble {
    content: "";
    display: block;
    background-position: center;
    background-size: contain;
    background-image: url("../resources/imgs/bubble.png");
    width: 1.5vh;
    height: 1.5vh;
}

#monitor-frame {
    border-left: 5px solid #5080A0;
    position: absolute;
    top: -57vh;
    right: calc(-1 * (var(--laptop-width) - 140px) / 1.82);
    width: calc(var(--laptop-width) - 140px);
    background-color: #2D506D;
    height: 70vh;
    border-radius: 25px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#intro {
    width: 0px;
    height: 0px;
    pointer-events: none;
    overflow: hidden;
    position: relative;
}

.introduction #intro {
    pointer-events: all;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.introduction .screen-info {
    height: 0px;
    -ms-flex-preferred-size: 0px;
        flex-basis: 0px;
}

.introduction #intro .card {
    position: absolute;
    pointer-events: all;
    width: 50%;
    background-color: #45d1ac;
    -webkit-box-shadow: 1rem 1rem #29AB88;
            box-shadow: 1rem 1rem #29AB88;
    border-radius: 40px;
    padding: 5rem 3rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    opacity: 0;
    -webkit-transform: translateX(100vw);
        -ms-transform: translateX(100vw);
            transform: translateX(100vw);
    -webkit-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}

.introduction #intro .card.active {
    opacity: 1;
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);
}

.introduction #intro .card.visited {
    opacity: 0;
    -webkit-transform: translateX(-100vw);
        -ms-transform: translateX(-100vw);
            transform: translateX(-100vw);
}

.introduction #intro .card .news-items-go-back {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
    margin-left: auto;
}

.introduction #intro .card input[type=text] {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid black;
}

.introduction #intro .card input[type=text]:focus {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid black;
    outline: none;
}

.introduction #intro .card:has(svg) {
    padding: 1rem 3rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
}

/* #monitor-frame::before {
    content: "";
    position: absolute;
    width: 100%;
    background-color: #5080A0;
    height: 100%;
    left: -5px;
    border-radius: 25px;
    z-index: -1;
} */

#monitor-screen {
    background-color: #F5FDFF;
    width: 95%;
    height: 87%;
    border: 3px solid black;
    border-radius: 25px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    overflow: hidden;
}

.screen-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: 100%;
    max-height: 100%;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-preferred-size: 33%;
    flex-basis: 33%;
    border-left: 2px solid black;
    border-right: 2px solid black;
    overflow-x: hidden;
    -webkit-transition: height 0.3s linear;
    -o-transition: height 0.3s linear;
    transition: height 0.3s linear;
}

.screen-info:first-of-type {
    border-left: none;
}

.screen-info:last-of-type {
    border-right: none;
}

.screen-info-section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    overflow-y: hidden;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

.screen-info-section-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 1em;
    overflow-y: scroll;
    height: 100%;
    -webkit-transition: height 0.2s linear, display 0.3s linear;
    -o-transition: height 0.2s linear, display 0.3s linear;
    transition: height 0.2s linear, display 0.3s linear;
}

.screen-info-section.minimized {
    -webkit-box-flex: 0;
        -ms-flex-positive: 0;
            flex-grow: 0;
}

.minimized .screen-info-section-content {
    height: 0px;
    padding: 0px;
    overflow-y: hidden;
}


#status {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    color: #2ABC96;
    overflow-x: hidden;
}

#status>div:not(#map) {
    -ms-flex-negative: 100;
    flex-shrink: 100;
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
}

#location-value {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#location-value::before {
    content: "";
    background-image: url("../resources/imgs/ui/location.svg");
    width: 30px;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
}

.counter {
    width: 75%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: .5rem 1rem;
    font-size: 1.25rem;
}

@media (max-width:2040px) {
    .counter {
        width: calc(100% - 1rem);
    }
}

.value {
    border-radius: .5rem;
    color: white;
    background-color: #197fd3;
    padding: 0.25rem .5rem;
    margin-left: auto;
}

.value.percentage::after {
    content: "%";
}

.value.money::before {
    content: "$";
}

.value.money::after {
    content: "M";
}

#bank span:first-child {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#bank span:first-child::before{
    content: "";
    background-image: url("../resources/imgs/ui/coin.svg");
    width: 25px;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
}

#worker-power {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: .5rem;
    position: relative;
}

#worker-power > span:first-child {
    max-width: 100px;
}

#worker-power-wrapper {
    position: relative;
    display: inline-block;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

#worker-power #worker-power-background {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: absolute;
    width: 100%;
}

#worker-power #worker-power-background::before {
    content: "";
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
    background-color: #9d9d9d;
    -webkit-box-shadow: -3px 3px #cacaca;
            box-shadow: -3px 3px #cacaca;
    z-index: 2;
}

#worker-power #worker-power-background::after {
    content: "";
    width: 100%;
    height: 25px;
    border-radius: 40px 40px;
    display: block;
    background-color: #9d9d9d;
    -webkit-box-shadow: -3px 3px #cacaca;
            box-shadow: -3px 3px #cacaca;
    position: absolute;
    z-index: 1;
}

#worker-power #worker-power-value {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: absolute;
    width: 100%;
    min-width: 20%;
    max-width: 98%;
    -webkit-transition: width 0.3s linear, background-color 0.3s linear, -webkit-box-shadow 0.3s linear;
    transition: width 0.3s linear, background-color 0.3s linear, -webkit-box-shadow 0.3s linear;
    -o-transition: width 0.3s linear, background-color 0.3s linear, box-shadow 0.3s linear ;
    transition: width 0.3s linear, background-color 0.3s linear, box-shadow 0.3s linear ;
    transition: width 0.3s linear, background-color 0.3s linear, box-shadow 0.3s linear, -webkit-box-shadow 0.3s linear;
}

#worker-power #worker-power-value::before {
    content: "";
    width: 25px;
    height: 25px;
    margin-left: 7.5px;
    border-radius: 50%;
    display: block;
    -webkit-transition: background-color 0.3s linear, -webkit-box-shadow 0.3s linear;
    transition: background-color 0.3s linear, -webkit-box-shadow 0.3s linear;
    -o-transition: background-color 0.3s linear, box-shadow 0.3s linear ;
    transition: background-color 0.3s linear, box-shadow 0.3s linear ;
    transition: background-color 0.3s linear, box-shadow 0.3s linear, -webkit-box-shadow 0.3s linear;
    background-color: var(--worker-power-color);
    -webkit-box-shadow: inset 3px -3px var(--worker-power-highlight);
            box-shadow: inset 3px -3px var(--worker-power-highlight);
    z-index: 3;
}

#worker-power #worker-power-value::after {
    content: "";
    width: calc(100% - 7.5px);
    height: 15px;
    margin-left: 7.5px;
    border-radius: 40px 40px;
    display: block;
    -webkit-transition: background-color 0.3s linear, -webkit-box-shadow 0.3s linear;
    transition: background-color 0.3s linear, -webkit-box-shadow 0.3s linear;
    -o-transition: background-color 0.3s linear, box-shadow 0.3s linear ;
    transition: background-color 0.3s linear, box-shadow 0.3s linear ;
    transition: background-color 0.3s linear, box-shadow 0.3s linear, -webkit-box-shadow 0.3s linear;
    background-color: var(--worker-power-color);
    -webkit-box-shadow: inset 3px -3px var(--worker-power-highlight);
            box-shadow: inset 3px -3px var(--worker-power-highlight);
    position: absolute;
    z-index: 2;
}

#carbon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: .5rem;
    position: relative;
}

#carbon-wrapper {
    position: relative;
    display: inline-block;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-left: 15px;
}

#carbon #carbon-background {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: absolute;
    width: 100%;
}

#carbon #carbon-background::before {
    content: "";
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
    background-color: #9d9d9d;
    -webkit-box-shadow: -3px 3px #cacaca;
            box-shadow: -3px 3px #cacaca;
    z-index: 2;
}

#carbon #carbon-background::after {
    content: "";
    width: 100%;
    height: 25px;
    border-radius: 40px 40px;
    display: block;
    background-color: #9d9d9d;
    -webkit-box-shadow: -3px 3px #cacaca;
            box-shadow: -3px 3px #cacaca;
    position: absolute;
    z-index: 1;
}

#carbon #carbon-value {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: absolute;
    width: 100%;
    min-width: 20%;
    max-width: 98%;
    -webkit-transition: width 0.3s linear, background-color 0.3s linear, -webkit-box-shadow 0.3s linear;
    transition: width 0.3s linear, background-color 0.3s linear, -webkit-box-shadow 0.3s linear;
    -o-transition: width 0.3s linear, background-color 0.3s linear, box-shadow 0.3s linear ;
    transition: width 0.3s linear, background-color 0.3s linear, box-shadow 0.3s linear ;
    transition: width 0.3s linear, background-color 0.3s linear, box-shadow 0.3s linear, -webkit-box-shadow 0.3s linear;
}

#carbon #carbon-value::before {
    content: "";
    width: 25px;
    height: 25px;
    margin-left: 7.5px;
    border-radius: 50%;
    display: block;
    -webkit-transition: background-color 0.3s linear, -webkit-box-shadow 0.3s linear;
    transition: background-color 0.3s linear, -webkit-box-shadow 0.3s linear;
    -o-transition: background-color 0.3s linear, box-shadow 0.3s linear ;
    transition: background-color 0.3s linear, box-shadow 0.3s linear ;
    transition: background-color 0.3s linear, box-shadow 0.3s linear, -webkit-box-shadow 0.3s linear;
    background-color: var(--c02-color);
    -webkit-box-shadow: inset 3px -3px var(--c02-highlight);
            box-shadow: inset 3px -3px var(--c02-highlight);
    z-index: 3;
}

#carbon #carbon-value::after {
    content: "";
    width: calc(100% - 7.5px);
    height: 15px;
    margin-left: 7.5px;
    border-radius: 40px 40px;
    display: block;
    -webkit-transition: background-color 0.3s linear, -webkit-box-shadow 0.3s linear;
    transition: background-color 0.3s linear, -webkit-box-shadow 0.3s linear;
    -o-transition: background-color 0.3s linear, box-shadow 0.3s linear ;
    transition: background-color 0.3s linear, box-shadow 0.3s linear ;
    transition: background-color 0.3s linear, box-shadow 0.3s linear, -webkit-box-shadow 0.3s linear;
    background-color: var(--c02-color);
    -webkit-box-shadow: inset 3px -3px var(--c02-highlight);
            box-shadow: inset 3px -3px var(--c02-highlight);
    position: absolute;
    z-index: 2;
}

#map {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -ms-flex-preferred-size: 400px;
    flex-basis: 400px;
}

#phone-wrapper:hover {
    -webkit-transform: translateY(-10px) scale(1.1);
    -ms-transform: translateY(-10px) scale(1.1);
    transform: translateY(-10px) scale(1.1);
}

#phone-wrapper {
    position: absolute;
    bottom: 10vh;
    right: 5vw;
    height: 80vh;
    width: 20vw;
    -webkit-transition: -webkit-transform .5s cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: -webkit-transform .5s cubic-bezier(0.075, 0.82, 0.165, 1);
    -o-transition: transform .5s cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: transform .5s cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: transform .5s cubic-bezier(0.075, 0.82, 0.165, 1), -webkit-transform .5s cubic-bezier(0.075, 0.82, 0.165, 1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: end;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    image-rendering: crisp-edges;
}

#phone-wrapper.outside {
    -webkit-transform: translateX(100vw);
        -ms-transform: translateX(100vw);
            transform: translateX(100vw);
}

@media (max-width: 1870px) {
    #phone-wrapper {
        right: 0vw;
        height: 70vh;
        width: 20vw;
        -webkit-transform: translateY(20px) translateX(40px) scale(1);
        -ms-transform: translateY(20px) translateX(40px) scale(1);
        transform: translateY(20px) translateX(40px) scale(1);
    }

    #phone-wrapper:hover {
        -webkit-transform: translateY(-10px) translateX(-20px) scale(1.2);
        -ms-transform: translateY(-10px) translateX(-20px) scale(1.2);
        transform: translateY(-10px) translateX(-20px) scale(1.2);
    }
}

@media (min-width:1871px) and (max-width: 2047px) {
    #phone-wrapper {
        right: 2vh;
    }
}

/* #phone-frame::before {
    z-index: 0;
    content: "";
    background-color: #5080A0;
    height: 100%;
    width: 100%;
    border-radius: 25px;
    position: absolute;
    left: 10px;
} */

#phone-frame {
    border: 1px solid #5080A0;
    border-bottom: 2px solid #5080A0;
    border-right: 9px solid #5080A0;
    height: 59vh;
    width: 17vw;
    background-color: #2D506D;
    border-radius: 25px;
    z-index: 20;
    -webkit-transform: translate(0, 0, 20px);
        -ms-transform: translate(0, 0, 20px);
            transform: translate(0, 0, 20px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* Hide scrollbar for Chrome, Safari and Opera */
#phone-screen::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
#phone-screen {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

#phone-screen {
    height: 90%;
    width: 90%;
    border-radius: 10px;
    background-color: white;
    overflow-y: scroll;
}


@media (max-width: 1870px) {
    #laptop {
        bottom: 30vh;
    }

    #keyboard-container {
        width: var(--laptop-width-sm);
        left: calc(-1 * var(--laptop-width-sm) / 2.2);
    }

    #monitor-frame {
        right: calc(-1 * (var(--laptop-width-sm) - 70px) / 1.82);
        width: calc(var(--laptop-width-sm) - 70px);
        height: 80vh;
        top: -67vh
    }
}

@media (min-width:1871px) and (max-width: 2047px) {
    #keyboard-container {
        width: var(--laptop-width-md);
        left: calc(-1 * var(--laptop-width-md) / 2.2);
    }

    #monitor-frame {
        right: calc(-1 * (var(--laptop-width-md) - 140px) / 1.82);
        width: calc(var(--laptop-width-md) - 140px);
        height: 75vh;
        top: -62vh
    }
}


.phone-text {
    padding: 15px 15px;
    max-width: 70%;
    margin: 10px;
    border-radius: 30px;
}

.text-receive {
    background-color: #f19a9a;
    color: white;
}

.text-user {
    margin-left: auto;
    text-align: left;
}

.text-option {
    border: 4px solid #3ba7f400;
    position: relative;
    -webkit-transition: border-color 0.15s linear;
    -o-transition: border-color 0.15s linear;
    transition: border-color 0.15s linear;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.text-option.done {
    text-align: right;
}

.text-option::after {
    border-radius: 30px;
    top: -4px;
    left: -4px;
    display: block;
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    border: 4px dashed #3ba7f4;
}

.text-option.multiple::after {
    top: -2px;
    left: -2px;
    border: 2px dashed #b7e1ff;
}

.text-option.multiple.selected::after {
    top: -4px;
    left: -4px;
    border: 4px dashed #3ba7f4;
}

.text-option:hover {
    border-color: #3BA6F4;
}

.text-option.multiple:hover {
    border-color: #b7e1ff;
    border-width: 2px;
}

.text-option.multiple.selected:hover {
    border-color: #3BA6F4;
    border-width: 4px;
}

.text-response {
    background-color: #3BA6F4;
    color: white;
}

#social {
    overflow-y: scroll;
}

.minimized #social {
    overflow-y: hidden;
}

.text-social {
    width: 100%;
}

.text-social-body {
    background-color: #FFDFDC;
    color: #2D506D;
    max-width: 100%;
    border-bottom-right-radius: 0px;
}

.text-social-user {
    margin-top: -1em;
    margin-bottom: 1em;
    margin-right: 10px;
    color: #197fd3;
    margin-left: auto;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    background-color: #FFDFDC;
    padding: 15px 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 10px;

}

.text-social-body-by {
    color: #197fd3;
}

.text-social img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}

.text-social-body-hashtag {
    color: #197fd3;
}

.news-item-wrapper {
    position: relative;
    margin-top: 1em;
    margin-bottom: 1em;
}

.news-item {
    position: relative;
    /* background-color: #FFF2DE; */
    padding: 40px;
    border-top-right-radius: 40px 50%;
    border-bottom-right-radius: 40px 50%;
    border-top-left-radius: 40px 50%;
    border-bottom-left-radius: 40px 50%;
    overflow: hidden;
    text-align: center;
    z-index: 2;
    -webkit-transform: translate(0, 0, 2px);
        -ms-transform: translate(0, 0, 2px);
            transform: translate(0, 0, 2px);
    -webkit-transition: border-radius .3s linear;
    -o-transition: border-radius .3s linear;
    transition: border-radius .3s linear;

}

.news-item p {
    z-index: 20;
    -webkit-transform: translate(0, 0, 20px);
        -ms-transform: translate(0, 0, 20px);
            transform: translate(0, 0, 20px);
}

.news-item-back {
    position: absolute;
    bottom: 0px;
    left: 0;
    height: 99%;
    width: 95%;
    background-color: #d0aa6d;
    z-index: 1;
    -webkit-transform: translateX(-25px) translateY(.5em) translateZ(1px) rotateY(30deg) rotateX(30deg);
    transform: translateX(-25px) translateY(.5em) translateZ(1px) rotateY(30deg) rotateX(30deg);
    border-radius: 40px;

    -webkit-transition: background-color .3s linear, width .3s linear, -webkit-transform .3s linear;

    transition: background-color .3s linear, width .3s linear, -webkit-transform .3s linear;

    -o-transition: background-color .3s linear, transform .3s linear, width .3s linear;

    transition: background-color .3s linear, transform .3s linear, width .3s linear;

    transition: background-color .3s linear, transform .3s linear, width .3s linear, -webkit-transform .3s linear;
}

.unfolding .news-item {
    border-radius: 40px;

    /* animation: news-item-unfolding 0.5s linear alternate both; */
}


.unfolding .news-item-back {
    /* animation: unfolding 0.5s linear alternate both; */
    background-color: #FFF2DE;
    -webkit-transform: translateY(75%) rotateX(180deg);
    transform: translateY(75%) rotateX(180deg);
    width: 100%;
}


.news-item::after {
    content: "";
    position: absolute;
    /* background-color: #F5FDFF; */
    height: 100%;
    width: 100%;
    top: 0px;
    left: calc(-100% + 40px);
    border-top-right-radius: 40px 50%;
    border-bottom-right-radius: 40px 50%;
    -webkit-box-shadow: 0 0 0 9999px #FFF2DE;
    box-shadow: 0 0 0 9999px #FFF2DE;
    -webkit-transition: left .3s linear, width .3s linear;
    -o-transition: left .3s linear, width .3s linear;
    transition: left .3s linear, width .3s linear;
}


.unfolding .news-item::after {
    width: 100%;

    left: -105%
        /* animation: news-item-after-unfolding 0.5s linear alternate both; */
}

.news-item-text {
    position: absolute;
    padding: 40px;
    top: 0%;
    left: 40px;
    z-index: 10;
    transform: translateZ(10px);
    -webkit-transition: left .3s linear;
    -o-transition: left .3s linear;
    transition: left .3s linear;
    background-color: #FFF2DE;
    border-radius: 40px;
    height: 0px;
    -webkit-transition: height .1s linear;
    -o-transition: height .1s linear;
    transition: height .1s linear;
}

@media (max-width: 1870px) {
    .news-item {
        padding: 20px;
    }
}

@media (min-width:1871px) and (max-width: 2047px) {
    .news-item {
        padding: 30px;
    }
}

.unfolding .news-item-text {
    height: 700px;
    -webkit-transition: height .3s .3s linear;
    -o-transition: height .3s .3s linear;
    transition: height .3s .3s linear;

}

.unfolded .news-item-text {
    height: auto;
}

.news-item-content {
    color: rgba(0, 0, 0, 0);
    opacity: 0;
    -webkit-transition: color .1s linear, -webkit-transform .3s linear;
    transition: color .1s linear, -webkit-transform .3s linear;
    -o-transition: transform .3s linear, color .1s linear;
    transition: transform .3s linear, color .1s linear;
    transition: transform .3s linear, color .1s linear, -webkit-transform .3s linear;
}

.unfolding .news-item-content {
    color: #5B5B5B;
    height: auto;
    opacity: 1;
    -webkit-transition: color .5s .3s linear, -webkit-transform .3s linear;
    transition: color .5s .3s linear, -webkit-transform .3s linear;
    -o-transition: transform .3s linear, color .5s .3s linear;
    transition: transform .3s linear, color .5s .3s linear;
    transition: transform .3s linear, color .5s .3s linear, -webkit-transform .3s linear;
}

.news-item-title {
    font-size: 1.3em;
    -webkit-transition: -webkit-transform .3s linear;
    transition: -webkit-transform .3s linear;
    -o-transition: transform .3s linear;
    transition: transform .3s linear;
    transition: transform .3s linear, -webkit-transform .3s linear;
}

.news-item-logo {
    -webkit-transition: -webkit-transform .3s linear;
    transition: -webkit-transform .3s linear;
    -o-transition: transform .3s linear;
    transition: transform .3s linear;
    transition: transform .3s linear, -webkit-transform .3s linear;
}

.news-item-background {
    -webkit-transform: rotateY(30deg);
    transform: rotateY(30deg);
    -webkit-transition: -webkit-transform .3s linear;
    transition: -webkit-transform .3s linear;
    -o-transition: transform .3s linear;
    transition: transform .3s linear;
    transition: transform .3s linear, -webkit-transform .3s linear;
}

.news-item-text>* {
    -webkit-transform: rotateY(30deg);
    transform: rotateY(30deg);
    pointer-events: none;
}

.unfolding .news-item-text>* {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.unfolding .news-item-background>* {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.unfolding .news-item-text {
    left: 0;
}

.news-item-interact {
    position: absolute;
    z-index: 10;
    transform: translateZ(10px);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
    font-weight: 200;
}

.news-items-interact:hover {
    font-weight: 400;
    color: #134161;
}

.news-items-read-more {
    bottom: 1em;
    right: 2em;
    color: #1C262D;
    -webkit-transform: rotateY(30deg);
            transform: rotateY(30deg);
    background-image: url('../resources/imgs/ui/plus.svg');
    width: 48px;
    height: 40px;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 1;
}

.news-items-read-more:hover {
    background-image: url('../resources/imgs/ui/plus_hover.svg');
}

.news-items-read-more:active {
    background-image: url('../resources/imgs/ui/plus_pressed.svg');
}

.unfolding .news-items-read-more {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
    opacity: 0;
}

.unfolded .news-items-read-more {
    color: rgba(0, 0, 0, 0);
    pointer-events: none;
    background-image: none;
}

.news-items-go-back {
    top: 1em;
    left: 1em;
    color: rgba(0, 0, 0, 0);
    pointer-events: none;
    background-image: none;
    width: 44px;
    height: 30px;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0;
}


.unfolded .news-items-go-back {
    opacity: 1;
    color: #1C262D;
    pointer-events: all;
    background-image: url('../resources/imgs/ui/sageata.svg');
}

.unfolded .news-items-go-back:hover {
    background-image: url('../resources/imgs/ui/sageata_hover.svg');
}

.unfolded .news-items-go-back:active {
    background-image: url('../resources/imgs/ui/sageata_pressed.svg');
}

#map {
    border: 10px solid #FFAA00;
    border-radius: 40px;
    overflow: hidden;
}

.screen-info header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background-color: #002844;
    color: #2ABC96;
    padding: .25em .5em;
}

header.minimizeable::after {
    content: '';
    margin-left: auto;
    display: block;
    width: 44px;
    height: 30px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('../resources/imgs/ui/minus.svg');
}

header.minimizeable:hover::after {
    background-image: url('../resources/imgs/ui/minus_hover.svg');
}

header.minimizeable:active::after {
    background-image: url('../resources/imgs/ui/minus_pressed.svg');
}

.minimized header.minimizeable::after {
    background-image: url('../resources/imgs/ui/plus.svg');
}

.minimized header.minimizeable:hover::after {
    background-image: url('../resources/imgs/ui/plus_hover.svg');
}

.minimized header.minimizeable:active::after {
    background-image: url('../resources/imgs/ui/plus_pressed.svg');
}

#info-points {
    gap: 10px
}

.info-point-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.info-point-element {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.info-point-start-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 40px;
    height: 40px;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    -ms-flex-pack: distribute;
        justify-content: space-around;
}

.info-point-start-button.playing {
    background-image: url("../resources/imgs/ui/play_pause01.svg");
}

.info-point-start-button.playing:hover {
    background-image: url("../resources/imgs/ui/play_pause01_hover.svg");
}

.info-point-start-button.playing:active {
    background-image: url("../resources/imgs/ui/play_pause01_press.svg");
}

.info-point-start-button {
    background-image: url("../resources/imgs/ui/play_pause05.svg");
}

.info-point-start-button:hover {
    background-image: url("../resources/imgs/ui/play_pause05_hover.svg");
}

.info-point-start-button:active {
    background-image: url("../resources/imgs/ui/play_pause05_press.svg");
}

#about-modal {
    width: 80vw;
    height: 80vh;
    position: fixed;
    margin-left: auto;
    margin-top: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    z-index: 100;
    -webkit-transform: translate(0, 0, 100px);
        -ms-transform: translate(0, 0, 100px);
            transform: translate(0, 0, 100px);
    -webkit-transition: all 0.3s ease-in, background-color 0.2s ease-in, color 0.3s 0.5s ease-in;
    -o-transition: all 0.3s ease-in, background-color 0.2s ease-in, color 0.3s 0.5s ease-in;
    transition: all 0.3s ease-in, background-color 0.2s ease-in, color 0.3s 0.5s ease-in;
}

#about-modal.hidden {
    pointer-events: none;
}

#about-modal-content {
    padding: 2em 3em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    width: 100%;
    height: 100%;
    background-color: #29AB88;
    color: white;
    -webkit-transition: all 0.3s ease-in, background-color 0.2s ease-in, color 0.3s 0.5s ease-in;
    -o-transition: all 0.3s ease-in, background-color 0.2s ease-in, color 0.3s 0.5s ease-in;
    transition: all 0.3s ease-in, background-color 0.2s ease-in, color 0.3s 0.5s ease-in;
    z-index: 1;
    -webkit-transform: translate(0, 0, 100);
        -ms-transform: translate(0, 0, 100);
            transform: translate(0, 0, 100);
    -webkit-box-shadow: .5em .5em 1em black;
            box-shadow: .5em .5em 1em black;

}

#about-modal::before {
    content: "";
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    background-color: #002844b5;
}

#about-modal.hidden::before {
    display: none;
}

.hidden #about-modal-content {
    padding: 0px;
    overflow: hidden;
    width: 0px;
    height: 0px;
    position: absolute;
    background-color: #29AB8800;
    color: #FFFFFF00;
}

#accessibility {
    position: fixed;
    left: 0;
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    vertical-align: middle;
}

#font-size {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background-color: #002844;
    padding: 0.5em;
    color: #134161;
}

#font-size .font-size-dimension {
    cursor: pointer;
}

#font-size [data-size='0'] {
    font-size: 1rem;
}

#font-size [data-size='1'] {
    font-size: 1.25rem;
}

#font-size span[data-size='2'] {
    font-size: 1.5rem;
}

#font-size .selected {
    color: #29AB88;
}

@media (max-width: 1200px) {
    #about-modal-content {
        overflow: scroll;
    }
}

#about-modal header {
    text-align: center;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

#disclaimer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

#modal-close {
    background-image: url("../resources/imgs/ui/minus.svg");
    margin-left: auto;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#modal-close:hover {
    background-image: url("../resources/imgs/ui/minus_hover.svg");
}

#modal-close:active {
    background-image: url("../resources/imgs/ui/minus_pressed.svg");
}

#open-about-wrapper {
    position: absolute;
    top: 2em;
    right: 2em;
}

#open-about {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    border-radius: 50%;
    height: 1.5em;
    width: 1.5em;
    font-size: 1.5em;
    border: 4px solid #5080A0;
    color: #5080A0;
    font-weight: 600;
    -webkit-box-shadow: 2px 2px 8px black;
            box-shadow: 2px 2px 8px black;
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
}

#open-about:hover {
    border-color: black;
    color: black;
    -webkit-box-shadow: 0px 0px 4px black;
            box-shadow: 0px 0px 4px black;
}

#open-about:active {
    border-color: black;
    color: black;
    -webkit-box-shadow: inset 2px 2px black;
            box-shadow: inset 2px 2px black;
}

.credits-title {
    color: #2d3b4a;
}

.col-12 {
    width: 100%;
}

.col-6 {
    width: 100%;
}

@media (min-width:1800px) {
    .col-6 {
        width: 50%;
    }
}



#disclaimer h3, #disclaimer h4 {
    -webkit-margin-before: 0.5rem;
            margin-block-start: 0.5rem;
    -webkit-margin-after: 0.0rem;
            margin-block-end: 0.0rem;
}

#about-modal-sigla-afcn {
    background-image: url('../resources/imgs/Logo\ Pro\ Alb\ RGB.png');
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 100px;
}

@-webkit-keyframes unfolding {

    0% {
        background-color: none;
        -webkit-transform: translateX(-25px) translateY(.5em) rotateY(30deg) rotateX(30deg);
        transform: translateX(-25px) translateY(.5em) rotateY(30deg) rotateX(30deg);
    }

    50% {
        background-color: #FFF2DE;
        -webkit-transform: translateX(-25px) translateY(40%) rotateY(30deg) rotateX(90deg);
        transform: translateX(-25px) translateY(40%) rotateY(30deg) rotateX(90deg);
    }

    100% {
        background-color: #FFF2DE;
        -webkit-transform: translateY(75%) rotateX(180deg);
        transform: translateY(75%) rotateX(180deg);
        width: 100%;
    }
}

@keyframes unfolding {

    0% {
        background-color: none;
        -webkit-transform: translateX(-25px) translateY(.5em) rotateY(30deg) rotateX(30deg);
        transform: translateX(-25px) translateY(.5em) rotateY(30deg) rotateX(30deg);
    }

    50% {
        background-color: #FFF2DE;
        -webkit-transform: translateX(-25px) translateY(40%) rotateY(30deg) rotateX(90deg);
        transform: translateX(-25px) translateY(40%) rotateY(30deg) rotateX(90deg);
    }

    100% {
        background-color: #FFF2DE;
        -webkit-transform: translateY(75%) rotateX(180deg);
        transform: translateY(75%) rotateX(180deg);
        width: 100%;
    }
}

@-webkit-keyframes news-item-unfolding {
    100% {
        border-radius: 40px;
    }
}

@keyframes news-item-unfolding {
    100% {
        border-radius: 40px;
    }
}

@-webkit-keyframes news-item-after-unfolding {

    50% {
        width: 100%;
    }

    100% {
        width: 100%;

        left: -105%
    }
}

@keyframes news-item-after-unfolding {

    50% {
        width: 100%;
    }

    100% {
        width: 100%;

        left: -105%
    }
}