#content {
    padding: 0;
}

p {
    position: relative;
}

.about-div {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-section, .thoxt-row-section {
    display: block;
    position: relative;
    width: 100%;
    height: fit-content;
}

.about-image {
    width: 800px;
}

.title {
    font-family: 'antipol-variable', sans-serif;
    font-weight: 600;
    font-size: 9rem;
    line-height: 1ch;
    color: black;
    text-shadow: -5px 5px 0 var(--thoxt-lemon);
    transition: text-shadow 0.3s ease-in-out;
}

.subheading-cyan,
.subheading-lemon {
    font-family: 'antipol-variable', sans-serif;
    font-weight: medium;
    white-space: nowrap;
    font-size: 2.5rem;
    color: black;
    text-shadow: -3px 3px 0 var(--thoxt-white);
    background-color: var(--thoxt-lemon);
    width: fit-content;
    padding: 0 5px;
    line-height: 1;
    transition: background-color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

.subheading-cyan {
    background-color: var(--thoxt-cyan);
}

.text-section {
    text-align: center;
}

.section-yellow {
    background-color: var(--thoxt-lemon);
}
.section-black {
    background-color: black;
    color: white;
}
.section-grey {
    background-color: #f3f3f3;
}

.down-arrow {
    width: 70px;
    height: 70px;
    fill: black;
    position: fixed;
    bottom: 0;
    left: 45%;
    z-index: 1001;
}

.section-content:not(.top-section-content) {
    width: 1200px;
    margin: 40px;
    margin: auto;
}

.last-section p {
    margin: 40px 20px;
    font-size: 1em;
    line-height: 1.3em;
}

.section-content svg {
    fill: #000;
}

.sub-section {
    position: relative;
    width: 50%;
    text-align: center;
    line-height: 1.3em;
}

.sans {
    font-family: "Jost", sans-serif;
}

.intro {
    width: 700px;
    max-width: 90vw;
    font-size: .7em;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.background-text {
    pointer-events: none;
    cursor: default;
}

.cursor-blink {
    font-family: 'Jost', monospace;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.animate-type-in {
    animation: type-in 2s steps(40, end);
}

@keyframes type-in {
    from {
        width: 0;
    }
}

.typing-effect {
    display: inline-block;
    font-family: 'Jost', sans-serif;
    font-size: 1em;
    overflow: hidden;
    white-space: nowrap;
    border-right: 0.15em solid #222; /* Cursor effect */
    animation: typing 2.5s steps(14, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #222; }
}

.page-section img {
    position: relative;
    margin: 20px;
    border: 15px solid var(--thoxt-lemon);
}

.about-image-vert {
    height: 700px;
    max-height: 90vh;
    width: auto;
    max-width: 80vw;
    object-fit: scale-down;
}

.about-image-horiz {
    width: 1000px;
    max-width: 100vw;
    height: auto;
    object-fit: scale-down;
}

.about-image-smaller {
    width: 65vw;
    max-height: 100vh;
    object-fit: scale-down;
}

.intro-end {
    font-size: 1em;
    line-height: 1.3em;
    margin: 0;
}

.yellow-button {
    font-size: 1.5em;
    margin-right: 20px;
}

.thoxt-row {
    margin: 40px 0;
}

.thoxt-row-content {
    justify-content: center;
    flex-wrap: nowrap;
    font-family: 'Jost', sans-serif;
    text-align: left;
    margin: 0;
}

.thoxt-row img {
    border: none;
    margin: 0;
}

.slide1, .slide2 {
    animation: slideLeft 100s linear infinite;
}

.slide2 {
    animation-direction: reverse;
}

@keyframes slideLeft {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-50%);
    }
}

.right-menu .about-menu-item {
    height: inherit;
}

.right-menu {
    align-items: center;
}

.team-div img {
    width: 400px;
}

.team-div .top-section-content img {
    width: 600px;
}

@media screen and (max-width: 1000px) {

    p {
        padding-top: 10px;
    }

    .last-section p {
        font-size: .85em;
    }

    img {
        max-width: 100vw;
        margin-top: 10px;
    }

    .down-arrow {
        bottom: 50px;
    }

    .page-section {
        width: 100vw;
        height: fit-content;
        margin: 0;
        font-size: 2em;
        line-height: 1.3em;
    }

    .page-section img, .section-content img {
        margin: 20px 0;
        width: 100vw;
        border: none;
    }

    .features-block img {
        width: 100%;
    }

    .section-content {
        margin: 15px;
    }

    .top-section-content {
        margin-top: 80px;
    }

    .sub-section {
        width: 100%;
    }

    .flex {
        flex-direction: column;
        justify-content: space-evenly;
    }

    .flex-column {
        justify-content: space-evenly;
        height: 100%;
    }

    .about-image-vert {
        height: auto;
        width: 100%;
        max-height: 50vh;
    }

    .about-image-horiz {
        width: 100%;
    }

    .about-image-smaller {
        width: 100%;
    }
}