* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: white;
    font-family: "Inter", Arial, sans-serif;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px 0px 40px;
}

h1 img {
    width: 500px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 600px) {

    header {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    h1 {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    h1 img {
        width: min(90%, 500px);
    }

}

h2 {
    margin-bottom: 30px;
    color: #1d4bde;
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: #1d4bde;
    font-size: 18px;
    font-weight: 500;
    opacity: 1.0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

nav a:hover {
    transform: translateY(-3px);
    /*color: #b5ff00;*/
    opacity: 0.8;
}

@media (max-width: 600px) {

    nav {
        gap: 25px;
    }

}

.showreel {
    width: 100%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-container {
    width: 100%;
    max-width: 1600px;
    aspect-ratio: 16 / 9;
    animation: fadeIn 0.8s ease-in 0.3s both;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.showreel-title {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
    color: #1d4bde;
    text-align: center;
}

@media (max-width: 600px) {

    .showreel {
        padding: 40px 20px;
    }

}

footer {
    display: flex;
    justify-content: center;
    padding: 80px 0 40px;
}

.footer-logo {
    width: 100px;
    max-width: 100px;
    height: auto;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1)
}

.footer-logo:hover {
    transform: translateY(-5px);
}

.contact-page {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 60px;
}

.contact-content {
    max-width: 420px;
}

.contact-image img {
    width: 320px;
    height: auto;
    animation: fadeInImage 0.8s ease forwards, float 6s ease-in-out infinite;
}

@media (max-width: 600px) {

    .contact-page {
        flex-direction: column;
        text-align: center;
        gap: 50px;
        margin: 60px auto;
        padding: 0 30px;
    }

    .contact-content {
        max-width: 100%;
    }

    .contact-image img {
        width: 70%;
        max-width: 320px;
    }

}

@keyframes fadeInImage {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }

}

.contact-content p {
    margin-bottom: 20px;
}

.contact-content > a {
    display: inline-block;
    margin-bottom: 20px;
    color: #1d4bde;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-content a:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

.socials {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    align-items: center;
}

.socials img {
    width: 24px;
    height: 24px;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.socials img:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

@media (max-width: 600px) {

    .socials {
        justify-content: center;
    }

}


/* PAGE FADE IN */

body {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}