<script setup="setup">
const route = useRoute()

const pot = computed(() => route.path)
const naManifestu = computed(() => route.path.indexOf('/pojmi') === 0)
</script>

<template>
<section class="noga">
    <div class="maska">
        <a href="maska.si">
            <img src="/images/maska-logo.svg" />
        </a>
    </div>
    <div class="kompot">
        <p>
            2024 <a href="kompot.si">Kompot</a>
        </p>
            
    </div>
    <div class="eu-projekti">
    <div class="eu-projekti-logos">
        <img src="/images/peripheralvisions.svg" />
        <img src="/images/eu-logo.svg" />
    </div>
    <p>Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or European Education and Culture Executive Agency (EACEA). Neither the European Union nor the granting authority can be held responsible for them.</p>
    </div>
</section>
</template>

<style scoped>
.noga {
    height: fit-content;
    background-color: black;
    z-index: 100;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-content: center;
    flex-wrap: wrap;
    padding: 2rem;
}

p, a {
    color: white;
    text-decoration: none;
}

.noga > div {
    position: relative;
    display: block;
    height: 70%;
    max-width: 30%;
    margin-top: auto;
    margin-bottom: auto;
    min-height: 2rem;
    height: fit-content;
}
img {
    width: 100%;
    height: auto;
}

.eu-projekti {
    padding: 1rem;
    display: flex;
    flex-direction: column;

    background-color: #D9D9D9;
    border-radius: 16px;

}

.eu-projekti-logos {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.eu-projekti-logos img {
    max-width: 40%;
}

.eu-projekti p {
    color: black;
}

@media screen and (max-width: 764px) {
    .noga {
        display: block;
    }
    .noga div {
        max-width: 100%;
    }

    .kompot {
        text-align: center;
    }
}


</style>
