html, body {
    height: 100%;
    margin: 0;
    font-family: 'Inter', 'Arial', sans-serif;
    background-color: #171717;
    font-size: 16px;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

header {
    position: relative;
    width: 100%;
    height: auto;
    text-align: center;
    background-color: #2980B9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-text a {
    text-decoration: none;
    color: inherit;
}

.header-text a:hover {
    text-decoration: none;
    color: inherit;
}

.title {
    margin: 0;
    font-size: 2.5em;
    color: white;
}

.subtitle {
    margin: 0;
    font-size: 1.5em;
    color: white;
}

.header-text .title, .header-text .subtitle {
    text-shadow: 2px 2px 0 #000;
}

.banner-image {
    width: 100%;
    height: auto;
}

.projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    flex: 1;
}

.project-box {
    display: flex;
    align-items: flex-start;
    width: 80%;
    max-width: 1000px;
    min-width: 400px;
    margin: 15px 0;
    background-color: #272727;
    border: 1px solid #272727;
    padding: 25px;
    transition: background-color 0.3s ease;
}

.project-box:hover {
    background-color: #2f2f2f;
}

.project-image {
    width: 350px;
    height: auto;
    max-width: none;
    margin-right: 25px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
}

.project-info {
    display: flex;
    flex-direction: column;
    color: #E5E5E5;
    max-width: 550px;
    margin-top: 0;
}

.project-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.project-info p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    flex: 1;
}

.content-box {
    width: 80%;
    max-width: 1000px;
    margin: 15px 0;
    background-color: #272727;
    border: 1px solid #272727;
    color: #E5E5E5;
    padding: 40px;
    transition: background-color 0.3s ease;
}

.content-box:hover {
    background-color: #2f2f2f;
}

.content-box h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.content-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 10px 0;
}

.content-box p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.content-box ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.content-box ul li {
    font-size: 1rem;
    line-height: 1.5;
    margin: 5px 0;
    padding-left: 25px;
    position: relative;
}

.content-box ul li::before {
    content: "–";
    position: absolute;
    left: 10px;
    color: #E5E5E5;
}

a {
    color: #6CB5F1;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    color: #E67E22;
    text-decoration: underline;
}

footer {
    background-color: #2980B9;
    color: white;
    padding: 20px 0;
    text-align: center;
    height: auto;
    justify-content: center;
    align-items: center;
}

.social-wrapper {
    display: flex;
    color: white;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.social-wrapper a {
    color: white;
    padding: 10px;
    text-decoration: none;
    display: inline-block;
}

.icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.social-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-giflarge {
    max-width: 600px;
    width: 100%;
    height: auto;
}

.two-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.column {
    flex: 1;
    min-width: 300px;
    box-sizing: border-box;
}

.newsletter {
    width: 80%;
    max-width: 1000px;
    margin: 15px 0;
    background-color: #272727;
    border: 1px solid #272727;
    padding: 25px;
    text-align: left;
    color: #E5E5E5;
    transition: background-color 0.3s ease;
}

.newsletter:hover {
    background-color: #2f2f2f;
}

.newsletter h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #E5E5E5;
}

.trailer {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #272727;
}

.trailer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-container {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
    width: 100%;
    height: auto;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.connect-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.connect-box {
    display: flex;
    align-items: flex-start;
    width: 80%;
    max-width: 1000px;
    margin: 15px 0;
    background-color: #272727;
    border: 1px solid #272727;
    padding: 25px;
    transition: background-color 0.3s ease;
}

.connect-box:hover {
    background-color: #2f2f2f;
}

.connect-image {
    width: 350px;
    height: auto;
    max-width: 100%;
    margin-right: 25px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
}

.connect-info {
    display: flex;
    flex-direction: column;
    color: #E5E5E5;
    max-width: 550px;
    margin-top: 0;
}

.connect-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #E5E5E5;
}

.connect-info h2 a {
    color: #6CB5F1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.connect-info h2 a:hover {
    color: #E67E22;
    text-decoration: underline;
}

.connect-info p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 5px 0;
    color: #E5E5E5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 20px 0 15px 0;
    color: #E5E5E5;
    text-align: center;
}

.section-title-box {
    margin: 20px 0 15px 0;
    padding-top: 40px;
}

.video-link {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    text-decoration: none;
}

.video-link:hover {
    text-decoration: underline;
}

@media (max-width: 800px) {
    
    .title {
        margin: 0;
        font-size: 2em;
        color: white;
    }

    .social-wrapper {
        gap: 10px;
        max-width: 400px;
        margin: 0 auto;
    }

    .social-wrapper a {
        padding: 4px;
    }

    .subtitle {
        margin: 0;
        font-size: 1em;
        color: white;
    }

    .header-text .title, .header-text .subtitle {
        text-shadow: 1px 1px 0 #000;
    }

    .banner-image {
        width: 100%;
    }

    .project-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .project-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
        max-width: none;
        border: 1px solid #E5E5E5;
        border-radius: 4px;
    }

    .project-info {
        align-items: center;
        text-align: center;
        max-width: 100%;
        width: 100%;
        margin-top: 0;
    }

    .project-info h2 {
        margin: 0 0 10px 0;
    }

    .project-info p {
        -webkit-line-clamp: 4;
    }

    .content-box {
        width: 90%;
        padding: 20px;
    }

    .content-box h2 {
        margin: 0 0 15px 0;
    }

    .content-box h3 {
        margin: 10px 0;
    }

    .content-box p {
        margin: 10px 0;
        -webkit-line-clamp: 4;
    }

    .content-box ul {
        margin: 10px 0;
    }

    .content-box ul li {
        margin: 5px 0;
        padding-left: 20px;
    }

    .content-box ul li::before {
        left: 5px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .carousel-container {
        max-width: 100%;
    }

    .connect section {
        margin: 10px 0;
    }

    .connect-box {
        flex-direction: column;
        align-items: flex-start;
        width: 90%;
        padding: 15px;
    }

    .connect-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
        border: 1px solid #E5E5E5;
        border-radius: 4px;
    }

    .connect-info {
        align-items: center;
        text-align: center;
        max-width: 100%;
        width: 100%;
        margin-top: 0;
    }

    .connect-info h2 {
        margin: 0 0 10px 0;
    }

    .connect-info p {
        -webkit-line-clamp: 4;
    }

    .newsletter {
        width: 90%;
        padding: 15px;
    }

    .newsletter h3 {
        font-size: 1.1rem;
    }

    .section-title-box {
        padding-top: 0px;
    }
}