g[id^="textButton"] {
    cursor: pointer;
    pointer-events: all;
}

.disable-hover {
    pointer-events: none;
}

[id^="textButton"]:hover {
    fill: #707070;
    fill-opacity: 0.5;
    cursor: pointer;
}

.disable-hover:hover {
    fill-opacity: 1;
    cursor: default;
}

#hecWebsiteContainer {
    position: fixed;
    top: 2%;
    left: 10%;
    /*width: 1000px;*/
    max-height: 90vh;
    background-color: white;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0px 160px 30px #707070;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 10;
    padding: 10px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

#projectIframe {
    width: auto;
    height: auto;
    overflow: hidden;
    border: none;
    max-width: 100%;
}

#closeIframeButton {
    position: relative;
    height: 44px;
    width: 20%;
    margin-top: 12px;
    margin-bottom: 10px;
    right: 15px;
    border: 1px solid #0092A6;
    background: white;
    font-size: 32px;
    cursor: pointer;
    color: white;
    background-color: #0092A6;
    z-index: 10;
    justify-content: center;
}

.visible {
    display: flex;
}

#infoPopup {
    position: fixed;
    top: 20%;
    left: 50%;
    padding: 20px;
    background-color: white;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0px 160px 30px #707070;
    width: 520px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transform: translateX(100%);
    opacity: 0;
    z-index: 10;
    overflow: hidden;
}

#fixedPopupItems {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

#buttonContainer {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

#imageContainer {
    position: absolute;
    left: 5px;
    z-index: 10;
}

#infoPNG {
    width: 100%;
    max-height: 90px;
    object-fit: cover;
}

.popupButton {
    cursor: pointer;
    border: none;
    padding: 10px 10px;
    border-radius: 10px;
    background-color: #2CA1E2;
    color: white;
    font-family: 'customRobotoRegular', sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.popupButton.disabled {
    opacity: 0;
    pointer-events: none;
    cursor: default;
}

.popupButton.enabled {
    opacity: 1;
    pointer-events: all;
    cursor: pointer;
}

#chevronLeft {
    width: 20px;
    height: 20px;
}

#chevronRight {
    width: 20px;
    height: 20px;
}

#closingButton {
    position: absolute;
    display: block;
    top: 15px;
    right: 15px;
    border: none;
    background: none;
    font-size: 32px;
    cursor: pointer;
    color: black;
    z-index: 20;
}

#prevButton {
    justify-content: flex-start;
    background-color: white;
    border: 2px solid #0092A6;
    height: 44px;
}

#nextButton {
    justify-content: flex-end;
    text-align: right;
    background-color: white;
    border: 2px solid #0092A6;
    height: 44px;
}

#showMoreButton {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #0092A6;
    height: 44px;
}

.showMoreButton-disable:hover {
    fill: inherit;
    fill-opacity: inherit;
}

#showMoreButtonIcon {
    margin-left: 10px;
    width: 20px;
    height: 20px;
    fill: white;
}

#scrollableContent {
    width: 100%;
    max-height: 50vh;
    overflow-y: auto;
    padding: 10px;
    margin-top: 10px;
}

#infoText {
    max-width: 100%;
    color: #555;
    text-align: left;
    line-height: 20px;
    hyphens: auto;
    font-family: 'customRobotoMedium', sans-serif;
    font-size: 14px;
}

#infoHeadline {
    font-family: 'customRobotoBold', sans-serif;
    font-size: 26px;
    color: #544c46;
    margin-bottom: 10px;
    margin-top: 20px;
    text-align: left;
    width: 100%;
}

#infoImage {
    padding-top: 50px;
    max-width: 100%;
    max-height: 300px;
    min-width: 500px;
    min-height: 300px;
    object-fit: contain;
    width: auto;
    height: auto;
    overflow: hidden;
}

#hecWebsiteLink {
    text-decoration: none;
}

@keyframes moveDiagonally {
    from {
        transform: translate(0px, 0px);
    }

    to {
        transform: translate(50px, -60px);
    }
}

#boat4 {
    animation: moveDiagonally 9s infinite alternate;
    transform-origin: center;
}

@keyframes small_move_left {
    from {
        transform: translateX(0px);
    }

    to {
        transform: translateX(-5px);
    }
}

#lighthouse_light1 {
    animation: small_move_left 1s infinite alternate;
}

@keyframes small_move_right {
    from {
        transform: translateX(0px);
    }

    to {
        transform: translateX(5px);
    }
}

#lighthouse_light2 {
    animation: small_move_right 1s infinite alternate;
}

@keyframes move_satelite_ray_diagonally {
    from {
        transform: translate(-1px, 1px);
    }

    to {
        transform: translate(3px, 3px);
    }
}

#satelite_ray {
    animation: move_satelite_ray_diagonally 0.75s infinite alternate;
}


@keyframes move_satelite_ray_diagonally_top {
    from {
        transfrom: translate(1px, -1px);
    }

    to {
        transform: translate(-3px, 3px);
    }
}

#crane_satelite_ray {
    animation: move_satelite_ray_diagonally_top 0.75s infinite alternate;
}

@keyframes moveAndMirror {

    0%,
    100% {
        transform: translateX(0%);
    }

    50% {
        transform: translateX(15%);
    }
}

#boat1 {
    animation: moveAndMirror 25s infinite ease-in-out;
    transform-origin: center;
}

#boat2 {
    animation: moveDiagonally 9s infinite alternate;
    transform-origin: center;
    animation-timing-function: ease-in-out;
}

@keyframes moveSmallerDiagonally {
    from {
        transform: translate(0px, 0px);
    }

    to {
        transform: translate(10px, -10px);
    }
}

#boat3 {
    animation: moveSmallerDiagonally 3s infinite alternate;
    transform-origin: center;
    animation-timing-function: ease-in-out;
}

@keyframes crane_small_move_right {
    from {
        transform: translateX(0px);
    }

    to {
        transform: translateX(40px);
    }
}

#boat3_crane {
    animation: crane_small_move_right 5s infinite alternate;
    transform-origin: center;
    animation-timing-function: ease-in-out;
}

.animate_text_random_Right {
    animation: text_Animation_Right 1s infinite;
}

.animate_text_random_Left {
    animation: text_Animation_Left 1s infinite;
}

.animate_text_random_Down {
    animation: text_Animation_Down 1s infinite;
}

.animate_text_random_Up {
    animation: text_Animation_Up 1s infinite;
}

@keyframes text_Animation_Right {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

@keyframes text_Animation_Left {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-10px);
    }
}

@keyframes text_Animation_Down {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}


@keyframes text_Animation_Up {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@font-face {
    font-family: 'customRobotoMedium';
    src: url(Fonts/Roboto-Medium.ttf) format('truetype');
    font-weight: normal;
    font-style: medium;
}

@font-face {
    font-family: 'customRobotoRegular';
    src: url(Fonts/Roboto-Regular.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'customRobotoBold';
    src: url(Fonts/Roboto-Bold.ttf) format('truetype');
    font-weight: bold;
    font-style: normal;
}

#bike {
    animation: bikeAnimation 2s infinite alternate;
}

@keyframes bikeAnimation {

    0%,
    100% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(15px);
    }
}

#plane {
    animation: move_satelite_ray_diagonally_top 2s infinite alternate;
}

.iframe_in_animation {
    animation: iframe_in_animation 0.5s ease forwards;
}

.iframe_out_animation {
    animation: iframe_out_animation 0.5s ease forwards;
}

@keyframes iframe_in_animation {
    0% { 
        opacity : 0;
        pointer-events: none;
    }

    100% {
        opacity: 1;
        pointer-events: all;
    }
}

@keyframes iframe_out_animation {
    0% { 
        opacity : 1;
        pointer-events: all;
    }

    100% {
        opacity: 0;
        pointer-events: none;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translate(0);
    }
}

@keyframes slideRight {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        transform: translate(100%, 0%);
        opacity: 0;
    }

    to {
        transform: translate(-30%, 0%);
        opacity: 1;
    }
}

@keyframes slideAwayToRight {
    from {
        transform: translate(-50%, 0%);
        opacity: 1;
    }

    to {
        transform: translate(100%, 0%);
        opacity: 0;
    }
}

@keyframes slideAwayToLeft {
    from {
        transform: translateX(0%);
        opacity: 1;
    }

    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes slideAwayToTop {
    from {
        transform: translateY(0%);
        opacity: 1;
    }

    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes slideAwayToBottom {
    from {
        transform: translateY(0%);
        opacity: 1;
    }

    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.animate_popup {
    animation: slideInFromRight 1s forwards;
}

@keyframes slideInFromTopLeft {
    from {
        transform: translate(-250%, -150%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -10%);
        opacity: 1;
    }
}

@keyframes slideInFromTopRight {
    from {
        transform: translate(100%, -100%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -10%);
        opacity: 1;
    }
}

@keyframes slideInFromBottomLeft {
    from {
        transform: translate(-200%, 100%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -10%);
        opacity: 1;
    }
}

@keyframes slideInFromBottomRight {
    from {
        transform: translate(100%, 100%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -10%);
        opacity: 1;
    }
}

.from_top_left {
    animation: slideInFromTopLeft 0.5s ease-in forwards;
}

.from_top_right {
    animation: slideInFromTopRight 0.5s ease-in forwards;
}

.from_bottom_right {
    animation: slideInFromBottomRight 0.5s ease-in forwards;
}

.from_bottom_left {
    animation: slideInFromBottomLeft 0.5s ease-in forwards;
}

.animate_popup_out_right {
    animation: slideAwayToRight 0.5s ease-out forwards;
}

.animate_popup_out_back {
    animation: fadeIntoBackground 0.5s ease-out forwards;
}

@keyframes fadeIntoBackground {
    from {
        transform: translate(-50%, 0%);
        opacity: 1;
    }

    to {
        transform: translate(-50%, 0%);
        opacity: 0;
    }
}