@font-face {
    font-family: 'Neue Montreal';
    src: url('fonts/NeueMontreal-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    background-color: #070707;
    font-family: 'Neue Montreal', Arial, sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    position: relative;
    width: 415.46px;
    height: 66.66px;
}

.logo {
    width: 415.46px;
    height: 66.66px;
    position: absolute;
    margin-bottom: 10vh;
    opacity: 0;
}

.logo-container::after {
    content: '';
    position: absolute;
    width: 415.46px;
    height: 66.66px;
    background-color: #333333;
    mask: url('images/pardonmyfrench-logo.svg') no-repeat center;
    mask-size: contain;
    -webkit-mask: url('images/pardonmyfrench-logo.svg') no-repeat center;
    -webkit-mask-size: contain;
    mask-composite: exclude;
    -webkit-mask-composite: source-in;
    opacity: 0;
    animation: fadeIn 1.3s ease-in-out forwards;
    transition: background-color 0.3s ease-in-out;
    margin-bottom: 10vh;
    pointer-events: none;
}

.logo-container:has(.logo:hover)::after {
    background-color: #0038FB;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    color: #333333;
    font-size: 1.125rem;
}

.footer-left {
    padding-left: 7.75rem;
    padding-bottom: 7.75rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-in-out forwards;
    animation-delay: 0.5s;
}

.footer-right {
    padding-right: 7.75rem;
    padding-bottom: 7.75rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-in-out forwards;
    animation-delay: 0.5s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer a:hover {
    color: #0038FB;
}

@media (max-width: 768px) {
    .logo-container {
        width: 290px;
        height: 46.53px;
        margin-bottom: 15%;
    }

    .logo-container::after {
        width: 290px;
        height: 46.53px;
    }

    .logo {
        width: 290px;
        height: 46.53px;
    }


    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        margin-bottom: 25%;
    }

    .footer-left {
        padding-left: 0;
        padding-bottom: 0;
    }

    .footer-right {
        padding-right: 0;
        padding-bottom: 3.125rem;
    }
}