<template>
  <LayoutContainer>
    <div v-if="lgAndUp" class="activities">
      <v-row>
        <v-col cols="4">
          <v-img
            class="logo logo-jaune"
            src="/images/OpenTalent_LogoNoir_Jaune_white.png"
          ></v-img>
          <small class="text-logo-jaune">
            Orchestres, chorales, danse, théatre, cirque</small
          >
        </v-col>

        <v-col cols="3">
          <v-img
            class="logo logo-rouge"
            src="/images/OpenTalent_LogoNoir_rouge_manager_white.png"
          ></v-img>
          <small class="text-logo-rouge"
            >Fédérations, confédérations, collectivités</small
          >
        </v-col>

        <v-col cols="4">
          <v-img
            class="logo logo-bleu"
            src="/images/logo_school_white.png"
          ></v-img>
          <small class="text-logo-bleu"
            >Tous les établissements d'enseignement artistique</small
          >
        </v-col>
      </v-row>
    </div>

    <div class="footer">
      <div class="content-footer">
        <v-row>
          <v-col
            :cols="smAndDown ? 12 : 3"
            :class="smAndDown ? 'logo-opentalent-sm' : ''"
          >
            <v-img
              class="logo"
              src="/images/Logo-blanc.png"
              width="294px"
              height="49px"
            ></v-img>
          </v-col>

          <v-col :cols="smAndDown ? 6 : 2" :class="smAndDown ? 'link-sm' : ''">
            <v-row :class="smAndDown ? 'title-link-sm' : 'title-link'"
              >Liens Rapides</v-row
            >
            <v-row>
              <small class="small-link">A propos</small>
            </v-row>
            <v-row>
              <small class="small-link">Nos logiciels</small>
            </v-row>
            <v-row>
              <small class="small-link">Nos actus</small>
            </v-row>
          </v-col>

          <v-col :cols="smAndDown ? 6 : 2" :class="smAndDown ? 'link-sm' : ''">
            <v-row :class="smAndDown ? 'title-link-sm' : 'title-link'"
              >Informations</v-row
            >
            <v-row>
              <small class="small-link">FAQ</small>
            </v-row>
            <v-row>
              <small class="small-link">Nous rejoindre</small>
            </v-row>
            <v-row>
              <small class="small-link">Presse</small>
            </v-row>
            <v-row>
              <small class="small-link">CGV</small>
            </v-row>
          </v-col>

          <v-col :cols="smAndDown ? 6 : 2" :class="smAndDown ? 'link-sm' : ''">
            <v-row :class="smAndDown ? 'title-link-sm' : 'title-link'"
              >Espace client</v-row
            >
            <v-row>
              <small class="small-link">Mon compte</small>
            </v-row>
            <v-row>
              <small class="small-link">Nous contacter</small>
            </v-row>
          </v-col>

          <v-col :cols="smAndDown ? 6 : 2" :class="smAndDown ? 'link-sm' : ''">
            <v-row :class="smAndDown ? 'title-link-sm' : 'title-link'"
              >Liens Rapides</v-row
            >

            <v-row>
              <v-col :cols="smAndDown ? 4 : 2">
                <v-icon class="fab fa-facebook"></v-icon>
              </v-col>

              <v-col :cols="smAndDown ? 4 : 2">
                <v-icon class="fab fa-linkedin"></v-icon>
              </v-col>

              <v-col :cols="smAndDown ? 4 : 2">
                <v-icon class="fab fa-youtube"></v-icon>
              </v-col>
            </v-row>
          </v-col>
        </v-row>
      </div>
    </div>
  </LayoutContainer>
</template>

<script setup>
import { useDisplay } from "vuetify";
const { mdAndDown, smAndDown, lgAndUp } = useDisplay();
</script>

<style scoped>
.link-sm {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.logo-opentalent-sm {
  display: flex;
  justify-content: center;
  align-items: center;
}
.icon:nth-child(2) {
  margin-left: 10px;
}
.title-link,
.title-link-sm {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
  line-height: 20px;
  margin-bottom: 1rem;
}

.title-link-sm {
  margin-bottom: 0.1rem;
}

.small-link {
  margin-bottom: 0.5rem;
  font-family: "Barlow";
  font-style: normal;
  font-weight: 300;
  font-size: 0.7rem;
  line-height: 20px;

  /* identical to box height, or 143% */

  color: #ffffff;
}
.container {
  background: #091d20;
  color: aliceblue;
}

.activities {
  height: 12rem;
  background: #091d20;
  border-bottom: 0.4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0px 3px 24px rgba(0, 0, 0, 0.07);
}

.footer {
  margin-top: 2rem;
  margin-bottom: 6rem;
}

.logo {
  margin-top: 25px;
  margin-bottom: 21px;
  width: 141px;
  height: 77px;
}

.logo-jaune {
  margin-left: 307.74px;
}

.logo-rouge {
  margin-left: 117px;
}

.logo-bleu {
  margin-left: 91.74px;
}

.text-logo-jaune {
  margin-left: 10rem;
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  display: flex;
  align-items: center;

  color: #ecfbfc;

  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25),
    0px 4px 4px rgba(0, 0, 0, 0.25);
}

.text-logo-rouge {
  margin-left: 37.74px;
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  display: flex;
  align-items: center;

  color: #ecfbfc;

  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25),
    0px 4px 4px rgba(0, 0, 0, 0.25);
}

.text-logo-bleu {
  height: 24px;
  left: 897px;
  top: 7858px;
  margin-left: 25.74px;
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  display: flex;
  align-items: center;
  color: #ecfbfc;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25),
    0px 4px 4px rgba(0, 0, 0, 0.25);
}
</style>
