<script setup>
  import TwoGraff from '../assets/icons/2graff.svg'
  import TwoExtra from '../assets/icons/2extra.svg'
</script>

<template>
    <div id="titleTextContainer" class="uiStyle">
      <div id="mainTitleContainer">
        <div class="titleTextStyle" id="drag">
          <p><strong>DRAGs</strong></p>
          <p>AND</p>
        </div>
        <div class="titleTextStyle" id="nerd">
          <p><strong>NERDs</strong></p>
          <p>#</p>
        </div>
        <TwoGraff name="graffTwo" class="numberTwo" id="graffTwo"/>
        <TwoExtra name="extraTwo" class="numberTwo" id="extraTwo"/>
        <div class="subtitleTextStyle">
          <p id="subAccent">Drag shows + musique électronique,<br>synthés vidéos et autres performances nerds</p>
          <p>Thème / cyberpunk vs solarpunk</p>
        </div>
        <div id="infoContainer">
          <div class="subtitleTextStyle">
            <time datetime="2026-05-22T18:00" id="timeInfo">
              <p><strong>22 Mai</strong></p>
              <p>2026</p>
              <p>
              &emsp;&emsp;&emsp;&ensp;18h/ Forum
              <br>
              20h/ Début des shows
              <br>
              &emsp;&emsp; &rarr; &rarr; &rarr; jusqu'à 1h
              </p>
            </time>
          </div>
          <div id="placeInfo" class="subtitleTextStyle">
            <a href="https://grrrndzero.org/" target="_blank">
              <p><strong>Grrrnd Zero</strong></p>
              <p>60 Avenue de Bohlen</p>
              <p>69110 Vaux-en-Velin</p>
            </a>
          </div>
        </div>
      </div>

    </div>
</template>

<style scoped>
  /*================= Mise en page:
    => Mobile First : par défaut, moins de 500px
    => Tablette et PC format haut : de 500 à 1000px
    => PC large : à partir de 1000px
  */

  /*+++++++++++++++++ COPYBOX
      ================ PC HAUT/IPAD
      @media(min-width:650px){}
      ================ PC LARGE
      @media(min-width:1300px){}
  */
  .numberTwo{
    fill: currentColor;
    position: absolute;
    z-index: 1;
  }

  #graffTwo{
    height: 161px;
    width: auto;
    margin-left: 285px;
    margin-top: -99px;
    color: var(--main-color);
  }
  #extraTwo{
    height: 144px;
    width: auto;
    margin-left: 285px;
    margin-top: -99px;
    animation: none;
    color: var(--neon-color);
    mix-blend-mode: exclusion;
    transition: 3.33s ease;
  }

  /*================ PC HAUT/IPAD*/
  @media(min-width:650px){
    #graffTwo{
      height: 200px;
      margin-left: 500px;
      margin-top: -110px;
    }
    #extraTwo{
      height: 161px;
      margin-left: 500px;
      margin-top: -100px;
    }
  }
  /*================ PC LARGE*/
  @media(min-width:900px){
    #graffTwo{
      height: 333px;
      margin-left: 633px;
      margin-top: -233px;
    }
    #extraTwo{
      height: 277px;
      margin-left: 640px;
      margin-top: -233px;
    }
  }

  #titleTextContainer{
    width:99.8%;
    height:33%;
    position: relative;
    margin-top: 7.77%;
  }

  #mainTitleContainer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
  }

  .titleTextStyle{
    position: absolute;
    background-color: var(--back-color);
    color: var(--main-color);
    width: 85%;
    height: 27px;
    padding-bottom: 16.1px;
    padding-left: 7.77%;
    font-family: 'lineal';
    font-size: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 1;
  }
  .titleTextStyle p{
    color: var(--main-color);
  }
  #drag{
    margin-top: -100px;
    margin-left: 33px;
  }
  #nerd{
    margin-top: -50px;
    margin-left: -77px;
    justify-content: flex-start;
  }
  .titleTextStyle strong{
    font-family: 'pressStart2P';
    font-size: 50px;
  }

  .subtitleTextStyle{
    width: 100%;
    text-align: left;
    font-family: 'velvelyne';
    font-weight: bold;
    color: var(--main-color);
    font-size: 16.1px;
    margin-top: 7.77px;
  }
  .subtitleTextStyle strong{
    font-family: 'lineal';
    font-size: 23px;
    font-weight: normal;
  }
  .subtitleTextStyle p{
    margin: 0;
    padding: 0;
    margin-left: 16.1px;
    margin-right: 16.1px;
    line-height: 1.117em;
  }
  #subAccent{
    font-family: 'lineal';
    font-weight: normal;
    margin-bottom: 4.44px;
  }

  #infoContainer{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width:100%;
    height:50%;
  }
  #infoContainer div{
    width:50%;
    height:100%;
    padding:0;
  }
  #timeInfo{
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  #placeInfo{
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
  }

  #placeInfo a:hover{
  color: var(--accent-color);
  }

  /*================ MID FORMAT*/
  @media(min-width:650px){
    .titleTextStyle{
      width: 77%;
      height: 50px;
      padding-bottom: 16.1px;
      padding-left: 33px;
      font-size: 20px;
    }
    #drag{
      margin-top: -155px;
      margin-left: 217px;
    }
    #nerd{
      margin-top: -77px;
      margin-left: 0;
    }
    .titleTextStyle strong{
      font-size: 77px;
    }

    .subtitleTextStyle{
      font-size: 16.1px;
      margin-top: 13.12px;
    }
    .subtitleTextStyle strong{
      font-size: 33px;
      line-height: 1em;
    }
    .subtitleTextStyle p{
      margin: 0;
      padding: 0;
      margin-left: 16.1px;
      margin-right: 16.1px;
    }
  }
  /*================ PC LARGE*/
  @media(min-width:1300px){
    .titleTextStyle{
      width: 60%;
      height: 50px;
      padding-bottom: 16.1px;
      padding-left: 33px;
      font-size: 33px;
      color: var(--main-color);
    }
    #drag{
      margin-top: -150px;
      margin-left: 75px;
    }
    #nerd{
      margin-top: -75px;
      margin-left: -75px;
      justify-content: space-between;
      margin-right: 161px;
    }
    .titleTextStyle strong{
      font-size: 77px;
    }

    .subtitleTextStyle{
      font-size: 20px;
      margin-top: 13.12px;
    }
    .subtitleTextStyle strong{
      font-size: 33px;
      line-height: 1em;
    }
    .subtitleTextStyle p{
      margin: 0;
      padding: 0;
      margin-left: 16.1px;
      margin-right: 16.1px;
    }
  }
</style>

<script>
  export default {
    name : 'TitleText',
    mounted(){
      console.log("Title text is loaded!");
    }
  };
</script>
