/* Base styles for body and html */
body, html {
    margin: 0;
    font-family: 'Outfit', Helvetica, sans-serif;
    background-color: black;
    color: white;
    height: 100%;
    overflow-x: hidden;
}

/* Header */
.about-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: fixed;
    z-index: 1000;
    background-color: transparent;
    transition: font-size 0.2s ease-in-out;
}

.about-logo {
    font-size: 6em; /* Doubled size */
    font-weight: bold;
    margin-left: 40px;
    margin-top: 30px;
    color: white;
    text-decoration: none;
    transition: font-size 0.3s ease-in-out;
}

/* Full-width image on top */
.full-width-image {
    width: 100%;
    height: auto;
}

.image-container {
    margin-top: -10px;
    position: relative;
    color: white;
}

.image-container img {
    width: 100%;
    height: 70vh;
    object-fit: cover;    
}

.centered-text {
    position: absolute;
    top: 50%;
    left: 40px;
    right: 80px;
    transform: translateY(-50%);
    width: calc(100% - 120px); /* 40px margin on both sides */
    text-align: left;
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.centered-text.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.centered-text.animate-out {
    opacity: 0;
    transform: translateX(-100%);
}

.centered-text .title {
    font-size: 2.8em; /* Doubled size */
    font-weight: bold;
    text-decoration: none;
}

.image-text {
    margin-top: 5px;
    font-size: 1.4em; /* Doubled size */
    font-weight: normal;
    text-decoration: none;
    width: 100%;
    text-align: justify;
}

.image-text p {
    margin: 0;
    line-height: 2.8em; /* Doubled size */
}

/* Small line spacing */
.small-line-spacing p {
    line-height: 1.4em; /* Smaller line spacing */
}

/* Video section */
.video-container {
    width: 100%;
    position: relative;
    margin-top: -10px;
}

.video-container video {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.centered-video-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -80%);
    font-size: 2em; /* Doubled size */
    font-weight: bold;
    color: white;
    text-align: center;
    transition: opacity 0.5s ease-in-out;
}

.play-button {
    position: absolute;
    top: calc(50% + 50px); /* Adjusted position */
    left: 50%;
    transform: translate(-50%, -40%);
    font-size: 5em; /* Doubled size */
    color: white;
    cursor: pointer;
    transition: opacity 0.5s ease-in-out;
}

/* Style for email address */
.email a {
    text-decoration: none;
    color: white;
}

/* MOBILE */
@media only screen and (max-width: 768px) {
    /* Reduced font sizes for mobile */
    .about-logo {
        font-size: 2em;
        margin-left: 60px;
        transition: none; /* Disable animation on mobile */
    }

    .centered-text {
        top: 50%;
        width: calc(100% - 120px); /* 40px margin on both sides */
        margin: 20px;
        top: calc(20% + 70px); /* Adjusted position */
        text-align: justify;
        transform: translateY(-50%);
    }

    .centered-text .title {
        font-size: 1.4em; /* Reduced size */
        top: calc(20% + 70px); /* Adjusted position */
    }

    .centered-text .image-text {
        font-size: 0.9em; /* Reduced size */
        text-align: justify;
    }

    .centered-video-text {
        font-size: 1em; /* Reduced size */
        left: 50%;
        transform: translate(-50%, -80%);
        top: calc(20% + 50px); /* Adjusted position */
        text-align: center;
    }

    .play-button {
        font-size: 2.5em; /* Reduced size */
        top: calc(35% + 50px); /* Adjusted position */
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
