@font-face {
    font-family: 'zt';
    src: url('fonts/ZTNature-Regular.woff2') format('woff2'), url('fonts/ZTNature-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'ztthin';
    src: url('fonts/ZTNature-Light.woff2') format('woff2'), url('fonts/ZTNature-Light.otf') format('opentype'); 
}

@font-face {
    font-family: 'suse';
    src: url('fonts/SUSE-Regular copy.ttf') format('truetype');
}

/* CSS Custom Variables */
:root {
    --foreground-color: #333;
    --background-color: #eee;
    --accent-color: #555555;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'suse';
    line-height: 1.6;
    color: var(--foreground-color);
    background-color: var(--background-color);
}

.hero {
    padding: 6rem 0 1rem 0;
}

.container {
    max-width: 100vw;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    align-items: start;
    justify-content: center;
    position: relative;
    margin-left: -130px;
}

h1 {
    font-family: 'zt';
    font-size: 38px;
    color: var(--foreground-color);
    line-height: 1.1;
    letter-spacing: .12rem;
    max-width: 600px;
}

h2 {
    font-family: 'ztthin';
    font-size: 26px;
    color: var(--foreground-color);
    line-height: 1.1;
    letter-spacing: .14rem;
    text-transform: uppercase;
}

p {
    font-size: 19px;
    text-align: left;
    line-height: 1.4;
    padding: auto 6rem;
}

/* home */

.hero-content lottie-player {
    height: 600px;
    width: 600px;
    position: static;
    flex-shrink: 0;
    opacity: .98;
}

.hero-content h1 {
    margin-top: 120px;
    margin-left: -110px;
    padding-right: 10px;
}

/* Header styles */
header {
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    background-color: var(--background-color);
    border-bottom: 2px solid var(--foreground-color);
    align-items: center;
    padding: 0.5rem 3rem 1rem;
}

header .container-home {
    display: flex;
    justify-content: space-between;
    background-color: var(--background-color);
    align-items: center;
    padding: 0.5rem 3rem 1rem;
}

.logo img {
    display: block;
    height: 38px;
    width: auto;
    max-width: 200px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-top: 1.7rem;
}

nav a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .02rem;
    color: var(--foreground-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

/* Main content styles */
main {
    min-height: calc(100vh - 200px);
}


/* Intro section */
.intro {
    padding: 0 6rem;
    text-align: center;
    margin-top: -140px;
}

.intro h2 {
    margin-bottom: 1.8rem;
    color: var(--foreground-color);
    text-align: left;
}


/* Research page styles */

.research-header {
    border-bottom: 1px solid var(--background-color);
    margin: 9rem 6rem 0;
}

.research-header h1 {
    color: var(--foreground-color);
    text-align: left;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    padding: 2rem 0 3rem 3rem;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-post {
    border: 1px solid var(--background-color);
    border-radius: 8px;
    background-color: var(--background-color);
}

.blog-post h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: .3rem;
    margin-top: 1.8rem;
    color: var(--foreground-color);
}

.blog-post .meta {
    font-size: 0.9rem;
    margin-bottom: .9rem;
    color: var(--foreground-color);
}

.blog-post p {
    color: var(--foreground-color);
    font-size: 1.1rem;
}

.blog-post a {
    text-decoration-line: none;
}

.sidebar {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
}

.sidebar h4 {
    margin-bottom: 1rem;
    color: var(--foreground-color);
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 0.5rem;
}

.sidebar a {
    color: #666;
    text-decoration: none;
}

.sidebar a:hover {
    color: var(--accent-color);
}

/* Blog post styles */
.blog-container {
    justify-content: center;
    padding: 8rem;
    max-width: 68vw;
    margin-left: 17vw;
}

.blog-title {
    margin-bottom: 2rem;
}

.blog-title h1 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
}

.blog-title .meta {
    font-size: .9rem;
}

.blog-content p {
    margin-bottom: 1rem;
}

.blog-content ul {
    margin: 1rem 2rem;
    margin-bottom: 1.7rem;
}

.blog-content li {
    margin-bottom: -8px;
}

.blog-footnote {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.blog-footnote p {
    font-size: .8rem;
}

sup {
    font-size: .6rem;
    margin-right: .1rem;
}

/* Contact form styles */
.contact-section {
    padding: 10rem 0 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 600px;
}

.contact-container h2 {
    text-align: left;
    margin-bottom: 4rem;
    color: var(--foreground-color);
}

.contact-form {
    background-color: var(--background-color);
    border-radius: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--foreground-color);
    font-family: 'suse';
    padding: 0.5rem 0.75rem 0 0.75rem;
    text-transform: uppercase;
    font-size: .9rem;
}

.form-group input,
.form-group textarea {
    width: 600px;
    padding: 0.75rem;
    border: 1px solid var(--background-color);
    border-radius: 0;
    font-size: .98rem;
    background-color: rgba(255, 255, 255, .8);
    font-family: 'suse';
    color: #333;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.btn {
    background-color: var(--foreground-color);
    color: var(--background-color);
    padding: 0.75rem 3rem;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    margin: auto 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #222;
}

/* Press page styles */
.press-content {
    padding: 10rem 12rem 0;
    margin: 0;
}

.press-content h1 {
    margin-bottom: 5rem;
    color: var(--foreground-color);
}

.press-section {
    margin-bottom: 1rem;
}

.press-section h2 {
    margin-bottom: 2rem;
    margin-top: 3rem;
    color: var(--foreground-color);
}

.press-with-animation {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 0;
    padding-bottom: 0;
}

.press-with-animation .text-content {
    flex: 1;
}

.press-with-animation lottie-player {
    flex-shrink: 0;
    width: auto;
    height: auto;
    transform: rotate(90deg);
    transform-origin: center;
    opacity: 0;
}

/* Team page styles */
.team-section {
    padding: 4rem 0;
    text-align: center;
}

.team-container {
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.password-form {
    margin: 8rem auto 2rem;
    background-color: var(--background-color);
    padding: 2rem 4rem;
}

.error-message {
    color: #dc3545;
    margin-top: 1rem;
    font-weight: 500;
}

/* Careers page styles */
.careers-section {
    padding: 8rem 6rem;
}

.careers-intro {
    margin-bottom: 3rem;
}

.careers-intro p {
    text-align: left;
    max-width: 600px;
    margin: 0;
}


.form-group-grey {
    background-color: var(--background-color);
    margin-bottom: 1.5rem;
}

.form-group-grey label{
    display: block;
    margin-bottom: 0.5rem;
    color: var(--foreground-color);
    font-family: 'suse';
    padding: 0.5rem 0.75rem 0 0.75rem;
    text-transform: uppercase;
    font-size: .9rem;
}

.form-group-grey input{
    width: 250px;
    padding: .8rem 1rem;
    background-color: rgba(255, 255, 255, .8);
    border-radius: 0;
    font-size: .98rem;
    font-family: 'suse';
    color: #333;
}

/* Footer styles */
footer {
    background-color: var(--background-color);
    border-top: 2px solid var(--foreground-color);
    padding: 2rem 6rem 3rem 6rem;
    margin-top: 0;
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--foreground-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.copyright {
    justify-content: end;
}
.copyright p {
    font-size: 0.8rem;
    color: var(--foreground-color);
}

/* Responsive design */

@media (max-width: 1024px) {
    h1 {
        font-size: 28px;
    }

    .hero-content lottie-player {
        width: 46vw;
    }

    .hero-content h1 {
        margin-left: -80px;
        margin-top: 170px;
    }

    .hero-content {
        margin-left: -80px;
    }

    .hero {
        padding: 8rem 0 0 0;
    }

    .blog-layout {
        grid-template-columns: 1fr 200px;
        gap: 1rem;
    }

    .blog-container {
        max-width: 80vw;
        margin-left: 10vw;
    }
    
}

@media (max-width: 768px) {
    ::-webkit-scrollbar {
        display: none;
    }
    body {
        overflow-x: hidden;
    }

    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 20px;
    }

    header {
        position: sticky;
        top: 0;
        z-index: 100;
        background-color: var(--background-color);
    }

    header .container-home {
        padding: 1rem 2rem 2rem;
        background-color: var(--background-color);
    }

    header .container {
        padding: 1rem 2rem;
        background-color: var(--background-color);
    }

    .hero {
        padding: 7rem 2rem 0;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
        overflow: hidden;
    }

    .hero-content lottie-player {
        width: 80vw;
        height: auto;
    }

    .hero-content h1 {
        margin-top: -80px;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }

    .research-header {
        margin: 0;
        padding: 5rem 3rem 3rem;
    }

    .blog-posts {
        margin: 0;
        padding: 0 5rem 0 3rem;
    }

    .blog-layout {
        grid-template-columns: 1fr;
        margin: 0;
        padding: 0;
    }

    .sidebar {
        display: none;
    }

    .blog-container {
        padding: 6rem 3.4rem;
        max-width: 100vw;
        margin-left: 0;
    }

    .blog-title h1 {
        font-size: 22px;
    }

    .blog-content ul {
        margin: 1rem 0.7rem;
    }

    .password-form {
        width: 100vw;
    }

    .contact-form {
        width: 60vw;
    }
    
    .contact-section {
        padding-top: 6rem;
    }

    .contact-container {
        align-items: start;
    }

    .contact-container h2 {
        margin-bottom: 2rem;
        text-align: left;
    }

    .form-group input, .form-group textarea {
        width: 100%;
    }
    
    .signup-content {
        padding: 10rem 2rem 2rem;
        margin-bottom: 40%;
    }

    .signup-header {
        margin-bottom: 2rem;
    }

    .signup-form {
        width: 65vw;
    }

    .signup-form input {
        width: 100%;
    }

    .signup-form button {
        width: 100%;
    }

    .signup-disclaimer p {
        width: 85vw;
    }

    footer {
        padding: 1.6rem 1rem .4rem;
    }
    
    footer .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .press-with-animation {
        flex-direction: column;
    }
    
    nav ul {
        gap: 1rem;
    }
}