:root {
  --primary-navy: #1a2f4a;
  --accent-blue: #3b6ea5;
  --off-white: #f4f4f2;
  --bg-dark: #0d0d0d;
}

* {
        box-sizing: border-box;
}

body {
    background-color: black;
    margin: 0;
    padding: 0;
}

h1 {
    color: var(--accent-blue);
    font-weight: 800;
    text-align: center;
    font-size: 55px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

p {
    color: white;
    font-weight: 400;
    line-height: 1.7;
}

.content-section{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}


.trailer-image{
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background-color: black;
}

.employee-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}



.jon-image{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.text-box{
    background-color: rgba(26, 47, 74, 0.85);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    font-size: x-large;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.slideshow-container{
    max-width: 1000px;
    width: 90%;
    position: relative;
    margin: auto;
}

.item{
    display: none;
}

.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;
}
.next{
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover{
    background-color: rgba(0,0,0,0.8);
}

.dot{
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.active, .dot:hover{
    background-color: #717171;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4;}
    to {opacity: 1;}
}


@media (max-width: 768px) {
    .content-section{
        flex-direction: column;
        align-items: center;
    }

    .trailer-image{
        width: 90%;
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }

    .text-box p {
        width: 90%;
        max-width: 100%;
        font-size: 16px;
    }

    h1 {
        font-size: 1.5rem;
    }

    p{
        font-size: 1rem;
    }

    .employee-container {
    flex-direction: column;
    align-items: center;
    }
    .jon-image {
        width: 90%;
        max-width: 100%;
        height: 250px;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .prev, .next {
        padding: 20px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.2rem;
    }
    .text-box {
        padding: 12px;
    }
    .trailer-image, .jon-image {
        height: auto;
        width: 100%;
    }
    .prev, .next {
        padding: 10px;
        font-size: 18px;
    }
}