:root {
    --dark-color: #122c4b;
    --first-color: #99dbd4;
    --third-color: #74aed3;
}

html, body {
    font-family: Lato, Calibri, sans-serif;
    font-size: 1.1rem;
    background-color: #f2f2f2;
    color: #333;
    margin: 0;
    padding: 0;
    height: 100%;

}

h1, h2, h3 {
    font-family: "Poppins", Lato, Calibri, sans-serif;
    font-weight: lighter;
}

#loading-message {
    display: none;
    opacity: 0;
    color: salmon;
    margin-top: 1.15rem;
    text-align: left;
    font-size: 1.1rem;
    margin-left: 2%;
    transition: opacity ease-in-out .5s;
}

h1 {
    display: flex;
    font-size: 1.7rem;
    margin-top: 1.15rem;
    margin-bottom: 3%;
    color: var(--dark-color);
    letter-spacing: 0.22rem;
    max-width: 100%;
    white-space: nowrap;
}

.logo-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.institution-logo {
    width: auto;
    height: 100px;
    padding: 10px;
}

#oberon-logo {
    height: 150px;
}

#copyright {
    height: 30px;
    text-align: right;
    z-index: 1;
    background: #f2f2f2;
    padding-top: 15px;
}

#copyright p {
    font-size: 14px;
    padding-right: 3%;
    color: gray;

}

.flash-message {
    color: salmon;
    padding-top: 5px;
}

.loading-cursor {
    cursor: wait;
}

.loading-cursor .submit-button-container:hover input[type="submit"] {
    cursor: wait;
}

h1.fancy {
    text-transform: uppercase;
    font-family: "Raleway", cursive;
    width: 100%;
    transition: opacity ease-in-out .5s, margin-left .5s ease-in-out;
}

.animate-from-right {
    animation: slideFromRight 1s ease-out;
}

.myline {
    background: dimgray;
    border-radius: 100%;
    display: inline-flex;
    height: 1px;
    min-width: 1.15rem;
    transform: translate(0, .6em);
}

.myline.left {
    margin-right: 0.83rem;
    width: 20%;
}

.myline.right {
    margin-left: 0.83rem;
    width: 100%;
}

@keyframes slideFromRight {
    0% {
        transform: translateX(1%);
        opacity: 0;
    }
    100% {
        transform: translateX(0%);
        opacity: 1;
    }
}

h2 {
    font-size: 1.44rem;
    margin: 1.15rem 0;
    color: var(--third-color);
    font-weight: lighter;
    height: 1.78rem;
    font-family: "Poppins", "Calibri", sans-serif;
}

h3 {
    font-size: 1.22rem;
    margin: 1.15rem 0;
}

p {
    font-size: 1rem;
    line-height: 1.5;
    margin: .55rem 0;
}

em {
    transition: color .3s ease-in-out;
}

a {
    color: #007bff;
    text-decoration: none;
}

.header {
    display: flex;
    background: none;
    position: relative;
    overflow: hidden;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.15rem;
    margin-top: 0;
    border: black 1px;
    height: 4.1rem;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.30);
    padding: .55rem;
    padding-left: 4%;
    font-family: "Poppins", Calibri, sans-serif;
}


.header-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.header-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../../images/zebrafish-pattern.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 2;
}

.gradient-base {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e63bd 0%, #5da9c5 50%, #11afca 100%);
    opacity: 0.9;
    z-index: 1;
}

.fish-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.fish {
    position: absolute;
    opacity: 0.5;
    animation: swim 10s ease-in-out infinite;
}

.fish-artwork {
    width: 100%;
    height: 100%;
    background-image: url('../../images/zebra.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.fish.flipped .fish-artwork {
    transform: scaleX(-1);
}

.bubble-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.bubble {
    position: absolute;
    bottom: 0;
    background: rgba(147, 197, 253, 0.2);
    border: 1px solid rgba(147, 197, 253, 0.3);
    border-radius: 50%;
    animation: bubble-rise 2s linear infinite;
    opacity: 0;
}


@keyframes swim {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) translateX(10px) rotate(3deg);
    }
    50% {
        transform: translateY(-8px) translateX(-8px) rotate(-2deg);
    }
    75% {
        transform: translateY(-20px) translateX(5px) rotate(1deg);
    }
}

@keyframes bubble-rise {
    0% {
        transform: translateY(0);
        opacity: 0.9;
    }
    100% {
        transform: translateY(-85px);
        opacity: 0;
    }
}

.header-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 5px 0;
}

.header-content a {
    color: #575757;
    padding: .55rem 1.15rem;
    border-radius: 4px;
    transition: color 0.3s ease-in-out;
    text-decoration: none;
}

.header-content a:hover {
    color: #ffffff;
    cursor: pointer;
}

.header__logo a, .download-logo span {
    display: flex;
    font-weight: bold;
    font-family: "Unica One", "Poppins", sans-serif;
    font-size: 2.2rem;
    font-stretch: condensed;
    position: relative;
    top: 4px;
    left: -.55rem;
    background-image: linear-gradient(135deg, #ededed, #4acce1, #71cced, #9dc6fb);
    background-size: 500% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 2s ease-in-out, opacity 1s ease-in-out, padding 0.3s ease-in-out;
}

.download-logo span {
    font-size: 3rem;
    left: 0;
    margin-left: 1rem;
}

.round {
    background-color: #575757;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.hidden {
    opacity: 0;
}

.nulled {
    display: none;
    height: 0;
}

.header__logo a:hover {
    background-position: 80% 0;
}

@keyframes slide {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 80% 0;
    }
    100% {
        background-position: 0 0;
    }
}

.download-logo span {
    animation: slide 10s linear infinite;
}

.download-logo {
    display: flex;
    width: 18rem;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    transition: all 1s ease-in-out;
}

.header__nav {
    display: flex;
    width: 50%;
    justify-content: space-evenly;
    align-items: center;
    transition: padding 0.3s ease-in-out, font-size 0.3s ease-in-out;
}

.header__nav-item {
    padding: 0 .55rem;
    position: relative;
}

.header__nav a {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    transition: 0.2s, padding 0s;
}

.header__nav a:hover {
    color: #c3e3f3;
    transform: scale(1.1);
}

.header__logo {
    display: flex;
    flex-direction: row;
    align-content: center;
    width: 11.1rem;
    height: 100%;
}

.animated-svg {
    height: 4.44rem;
}

.header__logo .animated-svg {
    transform: translate(-10%, -7%);
}

.round .animated-svg {
    height: 3.5rem;
}

.avatar {
    margin-right: 1%;
    margin-left: 3%;
    position: relative;
    display: inline-block;
}

.avatar img {
    display: block;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    border: 2px solid #333;
    transition: all .2s ease-in-out;
}

.avatar img {
    display: block;
}

.avatar:not(.terms-avatar):hover img {
    opacity: 0.6;
    cursor: pointer;
}

.avatar:not(.logged-in):not(.terms-avatar):hover:after {
    content: "Log in";
    font-family: Calibri, sans-serif;
    position: absolute;
    width: 2.6rem;
    right: 50%;
    top: 70%;
    padding: .28rem .55rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: .89rem;
    text-align: center;
    border-radius: .5rem;
}

.avatar.logged-in:not(.terms-avatar):hover:after {
    content: "Log out";
    font-family: Calibri, sans-serif;
    position: absolute;
    width: 2.77rem;
    right: 110%;
    bottom: 1rem;
    padding: .28rem .55rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: .89rem;
    text-align: center;
}

@media (max-width: 840px) {
    .header__nav {
        width: 70%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header__nav a {
        padding: .28rem 1rem;
        font-size: .89rem;
    }

    #pre-upload-message, #post-upload-message {
        margin: 1.67rem;
        transform: translate(0, -3.33rem);
    }

    h1.fancy {
        font-size: 125%;

    }

    .image-title {
        text-align: center;
    }
}

@media (max-width: 710px) {
    .header__nav a {
        padding: .28rem 2rem;
        font-size: .89rem;
    }
}

@media (max-width: 590px) {
    .header__nav a {
        padding: .28rem 1rem;
    }
}

@media (max-width: 516px) {
    .header__nav a {
        padding: .1rem .5rem;
        transition: padding 0.2s;
    }
}

main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 92%;
    padding: 0 4%;
    transition: padding .5s ease-in-out, width .5s ease-in-out;
}

main a {
    color: var(--first-color);
    font-weight: normal;
    transition: color .5s ease-in-out;
}

main a:hover {
    cursor: pointer;
    color: var(--third-color);
}

.drop-areas {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 22.2rem;
    gap: 3%;
    padding-top: 1.11rem;
}

input[type="file" i] {
    cursor: pointer;
}

.drop-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44%;
    height: 22.2rem;
    border: 2px dashed #ccc;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
}

.file-input-container {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2%;
}

.file-input-icon {
    position: absolute;
    font-size: 2.78rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: linear-gradient(to right, #aaaaaa, #5aa0bc, #5da9c5, #11afca);
    background-size: 800% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all .5s ease-in-out;
}

.file-input-container label {
    position: relative;
    transform: translate(0, -200%);
    padding: .28rem;
    background-image: linear-gradient(to right, #aaaaaa, #5aa0bc, #5da9c5, #11afca);
    background-size: 800% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all .5s ease-in-out;
    cursor: pointer;
}

.drop-area:not(.file-uploaded):hover .file-input-icon {
    background-position: right center;
    cursor: pointer;
}

.drop-area:not(.file-uploaded):hover .file-input-container label {
    background-position: right center;
}

.file-input-container input[type="file"] {
    height: 100%;
    width: 100%;
    opacity: 0;
    position: absolute;
    z-index: 1;
}

#loading-widgets {
    display: none;
    width: 100%;
    position: relative;
    height: 20px;
    margin-bottom: 10px;
    margin-top: 10px;
}

#loading-bar-container {
    width: 80%;
    height: 50%;
    background: #ccc;
    border-radius: 3px;
    margin: 2%;
    overflow: hidden;
    transform: translateY(5px);
}

@keyframes spinner {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}

.spin::before {
    animation: 1.5s linear infinite spinner;
    animation-play-state: inherit;
    border: solid 5px #cfd0d1;
    border-bottom-color: #1c87c9;
    border-radius: 50%;
    content: "";
    height: 20px;
    width: 20px;
    right: -5%;
    top: 10px;
    position: absolute;
}

#loading-bar {
    height: 100%;
    background-image: linear-gradient(to right, #1e63bd, #5da9c5, #11afca);
    background-size: 120% auto;
    width: 0;
    transition: width ease-in-out .3s;
}


.buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 16.7rem;
    height: 22.2rem;
    padding: .28rem;
}

.list-choice {
    width: 100%;
    margin: 0 auto auto auto;
    position: relative;
    cursor: pointer;
}

.list-choice input[type="radio"] {
    position: absolute;
    left: -9999px;
}

.list-choice-title {
    width: 100%;
    display: block;
    background: #D8D8D8;
    text-align: center;
    padding: 0.5em 1em;
    box-sizing: border-box;
    color: #575757;
    border-radius: 0.2em;
}

.list-choice-title.checked {
    background-image: linear-gradient(135deg, #1e63bd, #5da9c5, #11afca);
    background-size: 100% auto;
    color: #fff;
}

.list-choice:hover .list-choice-title {
    color: white;
}

.list-choice:hover .list-choice-title {
    border-radius: 0.2em 0.2em 0 0;
}

.list-choice-objects label:nth-last-of-type(1) span {
    border-radius: 0 0 0.2em 0.2em;
}

.list-choice input[type="radio"] + span {
    color: #575757;
    background: #D8D8D8;
    padding: 0.5em 1em;
    display: block;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
    width: 100%;
}

.list-choice-objects {
    position: absolute;
    top: 0;
    padding-top: 2em;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    transition: all 250ms ease;
}

.list-choice:hover .list-choice-objects input[type="radio"] + span {
    position: relative;
    top: 0;
}

.list-choice:hover input[type="radio"] + span:hover {
    background-image: linear-gradient(135deg, #1e63bd, #5da9c5, #11afca);
    background-size: 100% auto;
    color: white;
}

.list-choice:hover input[type="radio"]:checked + span:hover {
    background-image: linear-gradient(135deg, #1e63bd, #5da9c5, #11afca);
    background-size: 100% auto;
    color: #FFF;
}

.list-choice input[type="radio"]:checked + span {
    background-image: linear-gradient(135deg, #1e63bd, #5da9c5, #11afca);
    background-size: 100% auto;
    color: #FFF;
    position: absolute;
    top: 0;
    border-radius: 0.2em;
}

.list-choice:hover input[type="radio"]:checked + span {
    border-radius: 0;
}

.list-choice:hover .list-choice-objects label:nth-last-of-type(1) input[type="radio"]:checked + span {
    border-radius: 0 0 0.2em 0.2em;
}

.list-choice:hover .list-choice-objects {
    max-height: 8.89rem;
}

#index-btn {
    width: 11rem;
    margin-left: auto;
    align-self: right;
    padding: .35rem 1rem;
    text-align: center;
    font-weight: normal;
    letter-spacing: .02em;
    font-family: "Lato", Calibri, sans-serif;
    font-size: .9rem;
    transition: all .3s ease-in-out, background-position .8s ease-in-out;
    background-image: linear-gradient(135deg, #1e63bd, #5da9c5, #11afca);
    background-size: 200% auto;
    color: white;
    border-radius: 10px;
    display: block;
    border: 0;
    box-shadow: 0 0 20px -7px #000000;
    cursor: pointer;
    justify-self: center;
    z-index: 2;
    opacity: 0.6;

}

#index-btn:hover {
    transform: scale(1.06);
    background-position: 80%;
}

.hide-instant {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: none !important;
}

.submit-button-container {
    width: 100%;
    margin: auto auto 0 auto;
}

.submit-button-container input[type="submit"] {
    width: 100%;
    background-image: linear-gradient(135deg, #1e63bd, #5da9c5, #11afca);
    background-size: 200% auto;
    box-shadow: 0 0 14px -7px #11afca;
    transition: all 1s ease-in-out;
    color: white;
    border: none;
    padding: 0.5em 1.1em;
    font-size: 1.1rem;
    box-sizing: border-box;
    text-align: center;
    vertical-align: center;
    display: block;
    border-radius: 0.2em;
    margin-bottom: .28rem;
}

.submitBtn {
    font-family: "Lato", Calibri, sans-serif;
    font-weight: lighter;
    font-size: 1.1rem;
}

.submit-button-container:hover input[type="submit"] {
    background-position: right center;
    cursor: pointer;
}

.section-container {
    position: relative;
    transition: opacity ease-in-out 1s;
}

.upload-main, .results-main {
    min-height: 83vh;
    transition: opacity ease-in-out 1s;
}

.tutorial-main-text {
    display: block;
    padding-left: 20px;
    color: gray;
    font-style: italic;
}

.section {
    padding: 2rem;
    min-height: 90vh;
    position: relative;
    transition: all 0.5s ease;
    margin: 0 .55rem;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    gap: 1.2rem;
    padding: 1.2rem;
}

.tutorial-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tutorial-video {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.5s;
    filter: blur(10px);
}

#section-credits {
    z-index: 1;
    background: #f2f2f2;
    min-height: auto;
}

#section-download {
    min-height: 85vh;
    padding-top: .5rem;
}

.scroll-down {
    position: fixed;
    bottom: 2%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    text-align: center;
    font-size: 24px;
    z-index: 0;
    animation: bounce 8s infinite;
    transition: opacity ease-in-out 1s;
}

@keyframes bounce {
    0%, 10%, 20%, 100% {
        transform: translateY(0);
    }
    5% {
        transform: translateY(-6px);
    }
    15% {
        transform: translateY(-3px);
    }
}

.video-container {
    position: relative;
    border-radius: 15px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    border-radius: 15px;
}

.video-overlay p {
    margin: 1.1rem;
}

.tutorial-video:not([data-playing]) ~ .video-overlay {
    opacity: 1;
}

.tutorial-video:hover {
    filter: none
}

.tutorial-video {
    border-radius: 15px;
}

.tutorial-text {
    padding: 1.2rem;
}

.tutorial-text p {
    text-align: justify;
    font-size: .9rem;
}

.tutorial-text p em,
.tutorial-text p a {
    color: var(--third-color);
    font-style: normal;
    font-weight: 400;
    transition: color ease-in-out .5s;
}

.tutorial-text p em:hover,
.tutorial-text p a:hover {
    color: var(--dark-color);
}

#section-presentation {
    background-image: linear-gradient(to bottom, #f2f2f2, #f2f2f2 90%, #e6e6e6 98%);
}

#section-tutorials {
    background-image: linear-gradient(to bottom, #e6e6e6 60%, #f2f2f2);
}

#section-terms {
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(to top, #e6e6e6 60%, #f2f2f2);
    padding-left: 3rem;
    padding-right: 3rem;
}

#section-terms h2 {
    font-family: "Poppins", Calibri, sans-serif;
}

#section-terms p {
    font-family: "Lato", Calibri, sans-serif;
    padding-top: .5rem;
}

.info-box-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    z-index: 0;
}

.info-box-container.reorder {
    flex-direction: column;
    align-items: center;
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 1.5rem;
}

.info-box {
    display: flex;
    flex: 1 1; /* grow and shrink equally, minimum width 0 */

    position: relative;
    overflow: hidden;
    padding: 2rem;
    margin: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 0 15px 15px 15px;
    box-shadow: 0 2px 5px 0 rgb(32 33 36 / 7%), 0 19px 38px 0 rgb(32 33 36 / 5%);
    justify-content: space-between;
    flex-direction: column;
    flex-wrap: wrap;
    gap: .55rem;
    width: auto;
    transition: width .5s ease-in-out, height .5s ease-in-out;
    z-index: 1;
    min-height: 20rem;
}

.banner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    margin-top: -20px;
    background: linear-gradient(90deg, rgb(202, 228, 246) -20%, rgba(183, 233, 242, 1), rgb(202, 228, 246) 120%);
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.30);
    z-index: 1;
}

.content {
    display: inline-block;
    padding-right: 100%;
    animation: scroll 60s linear infinite;
    font-family: Calibri, sans-serif;
    font-weight: lighter;
}

@keyframes scroll {
    0% {
        transform: translateX(70%);
    }
    100% {
        transform: translateX(-150%);
    }
}

#zotas-box {
    background-position: right top;
}

#software-image {
    --background-image-url: none;
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    opacity: 1;
}

#software-image::before {
    content: "";
    display: block;
    padding-top: 67.5%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: var(--background-image-url);
    transition: background-image 1s ease-in-out;
    border-radius: 15px;
    z-index: 1;
}

#software-image::after {
    content: "";
    border: 1px solid dimgray;
    border-radius: 15px;
    box-sizing: border-box;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;

}

.download-box {
    display: flex;
    padding: 0;
    margin: 0;
    justify-content: space-evenly;
    flex-direction: column;
    flex-wrap: wrap;
    gap: .55rem;
    width: auto;
    transition: width 0s ease-in-out, height .2s ease-in-out;
    z-index: 1;
    min-height: 20rem;
}

#software-box {
    min-width: 50vw;
}

.download-box:not(#software-box) {
    margin-right: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    height: 100%;
    margin-left: 1rem;
}

#download-title, #download-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 3rem;
}

.pdf {
    height: 85vh
}

#download-logo .zotas-logo-container {
    width: auto;
}

#download-title h2 {
    transform: none;
}

.info-box p, .info-box li {
    color: whitesmoke;
    text-align: justify;
    transition: all 0.5s ease-in-out, opacity 0s;
    font-size: 1.0rem;
}

.info-box li {
    line-height: 1.5lh;
}

.info-box .to-discover {
    opacity: 1;
    max-height: 60rem;
    overflow: hidden;
    transition: max-height 2.3s ease-in-out;
}

.info-box.collapsed .to-discover {
    opacity: 0;
    max-height: 0;
    max-width: 0;
    overflow: hidden;
    transition: max-height 0s;
}

.info-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../images/zf-bg-v1.png") no-repeat center;
    background-size: cover;
    transition: filter 0.5s ease-in-out;
    z-index: 0;
}

.info-box > * {
    position: relative;
    z-index: 1;
}

#zot-box:not(.collapsed)::before {
    filter: blur(8px);
}

#click-here-message, #click-to-register, #scroll-to-tutorial {
    text-align: right;
    width: 100%;
    transition: color .3s ease-in-out, height 2s ease-in-out;
    padding-bottom: 0;

}

#zot-box:hover #click-here-message em, #zotas-box:hover #click-to-register em, #zotas-box:hover #scroll-to-tutorial em {
    color: lightcoral;
    cursor: pointer;
}

.info-box h2, .download-box h2 {
    font-family: Poppins, Calibri, sans-serif;
    text-align: left;
}

.info-box p:not(.hidden):first-of-type {
    transition: opacity 0.5s;
}

.info-box p.hidden {
    opacity: 0;
}

span.material-icons {
    color: #f2f2f2;
}

.download-box .material-icons, .download-box h2 {
    transform: none;
    color: #3F4C7F;
}

.download-box .material-icons {
    font-size: 2rem;
}

#requirements {
    width: auto;
    background: #e6e6e6;
    border-radius: 0 0 15px 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: -1.3rem;
    padding: 1.3rem 1rem 1rem;
}

#requirements p, #requirements ul, .small {
    font-family: Calibri, sans-serif;
    margin: 0 .3rem;
    font-size: .9rem;
}

.small {
    display: block;
    min-width: fit-content;
}

@media (max-width: 1150px) {

    .tutorial-grid {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: auto auto auto;
        gap: 1.2rem;
        padding: 1.2rem;
    }

    .video-container {
        height: auto;
        width: 70%;
        margin-left: 15%;
        margin-right: 15%;
    }

    .download-box {
        width: 80vw;
        align-items: center;
    }
}

.section {
    transition: padding .5s ease-in-out;
}

myline.right {
    transition: margin-right .5s ease-in-out;
}


#download-link, #download-exp-link {
    display: none;
}


#version p {
    color: rgba(25, 25, 28, .7);
}

.download-text p {
    font-family: "Poppins", Calibri, sans-serif;
    font-size: 1.3rem;
}

.download-text em {
    font-style: normal;
    color: black;
}

.button-div {
    display: flex;
    flex-direction: row;
    justify-items: left;
    align-items: center;
    margin-top: 1.1rem;
    height: 3rem;
}

#download-experiment-div {
    opacity: .7;
}

@media (max-width: 990px) {
    main.home {
        padding: 0;
        width: 100%;
    }

    .section {
        padding-left: 0;
        padding-right: 0;
    }

    h1.fancy {
        margin-left: 1.2rem;
    }

    .myline.right {
        margin-right: 2.22rem;
    }

    #registration-message p {
        margin-right: 1rem;
    }

}

#download-app, #download-experiment {
    width: fit-content;
    margin: .5rem;
    align-self: center;
    right: 0;
    padding: .5rem 1rem;
    text-align: center;
    font-weight: lighter;
    font-family: "Lato", Calibri, sans-serif;
    font-size: .9rem;
    transition: all 1s ease-in-out;
    background-image: linear-gradient(135deg, #1e63bd 0%, #5da9c5 50%, #11afca 100%);
    background-size: 200% auto;
    color: white;
    border-radius: 10px;
    display: block;
    border: 0;
    box-shadow: 0 0 14px -7px #11afca;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;

}

#download-experiment {
    background-image: linear-gradient(to right, darkgray, #748db5);
    box-shadow: none;
    padding-right: 1.45rem;
}

button i {
    margin-right: .2rem;
}

#download-app:hover, #download-experiment:hover {
    background-position: right center;
    text-decoration: none;
}

#download-app:active {
    transform: scale(0.95);
}

#registration-message {
    font-family: "Raleway", Calibri, sans-serif;
    height: 0.3rem;
    color: salmon;
    text-align: end;
    padding-top: 0;
    z-index: 1;
}

#registration-message p {
    font-size: 14px;
    transform: translateX(2%);

}

@media (max-width: 768px) {
    .video-container {
        height: auto;
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

    .info-box p {
        text-align: left;
    }

    #click-here-message, #click-to-register {
        text-align: right;
    }

    .drop-areas {
        flex-direction: column;
        min-height: 40rem;
        align-items: center;
        justify-content: start;
    }

    .drop-area {
        width: 99%;
        height: 20rem;
    }

    .buttons-container {
        height: 8rem;
    }

}

@media (max-width: 1150px) {

    .welcome-message {
        display: none;
    }

    #registration-message p {
        transform: none;
    }
}

.blank {
    color: transparent;
}
