
@font-face{
  ;font-family:TransformersFont;
  src:url(fonts/TransformersMovie.ttf);
}

body {
  background:rgba(0, 0, 0, 1.0);
  color:rgba(255, 255, 255, 1.0);
  font-family: bilo, sans-serif;
  font-size: 17px;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 100px;
}

h1 {
  font-family: TransformersFont, sans-serif;
  font-size: 60px;
  letter-spacing: 1px;
}

h2 {
  font-family: TransformersFont, sans-serif;
  font-size: 35px;
  letter-spacing: 1px;
}

h3 {
  font-family: TransformersFont, sans-serif;
  font-size: 30px;
  letter-spacing: 1px;

}

h4{
  font-family: bilo, sans-serif;
  font-weight: 700;
  font-style: normal; 
  font-size: 24px;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-right: 5px;
  letter-spacing: 1px;
}

p {
  margin: 0px;
}

a:link{
  color:rgba(255, 255, 255, 1.0);
  text-decoration: none;
}

a:visited {
  color:rgb(255, 255, 255, 1.0);
}


/*----------------------------------------------------navatation bar----------------------------------------------------*/
  nav /* bar itself */ {
    font-family: TransformersFont, sans-serif;
    text-align: right;
    margin-right: 40px;
    margin-bottom: 10px;
  }

  nav a { /* for the buttons */
    display: inline-block;
    font-style: normal;
    font-size: 20px;
    letter-spacing: 1px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    transition: background-color 0.1s;
  }

  nav a:hover {
    background-color: rgba(208, 49, 45, 1.0);
    color: rgba(0, 0, 0, 1.0);
  }

/*----------------------------------------------------"transformers" glitch----------------------------------------------------*/
          /*    most settings copied from - https://codepen.io/mattgrosswork/pen/VwprebG    */
  .title {
    position: fixed;
    font-size: clamp(40px, 10vw, 100px);
    line-height: 1;
    display: inline-block;
    z-index: 2;
    letter-spacing: 1px;
    /* Bright things in dark environments usually cast that light, giving off a glow */
    filter: drop-shadow(0 1px 3px);
    }

  .title-container {
    position: fixed;
    padding-top: 525px;
    padding-left: 75px;
    text-align: left;
  }

  .layers {
    position: relative;
  }

  .layers::before,
  .layers::after {
    content: attr(data-text);
    position: absolute;
    width: 110%;
    z-index: -1;
  }

  .layers::before {
    top: 10px;
    left: 15px;
    color: rgba(255, 20, 20, 1.0);
  }

  .layers::after {
    top: 5px;
    left: -10px;
    color: rgba(34, 86, 145, 1.0);
  }

  .single-path {
    clip-path: polygon(
      0% 12%,
      53% 12%,
      53% 26%,
      25% 26%,
      25% 86%,
      31% 86%,
      31% 0%,
      53% 0%,
      53% 84%,
      92% 84%,
      92% 82%,
      70% 82%,
      70% 29%,
      78% 29%,
      78% 65%,
      69% 65%,
      69% 66%,
      77% 66%,
      77% 45%,
      85% 45%,
      85% 26%,
      97% 26%,
      97% 28%,
      84% 28%,
      84% 34%,
      54% 34%,
      54% 89%,
      30% 89%,
      30% 58%,
      83% 58%,
      83% 5%,
      68% 5%,
      68% 36%,
      62% 36%,
      62% 1%,
      12% 1%,
      12% 34%,
      60% 34%,
      60% 57%,
      98% 57%,
      98% 83%,
      1% 83%,
      1% 53%,
      91% 53%,
      91% 84%,
      8% 84%,
      8% 83%,
      4% 83%
    );
  }

  .paths {
    animation: paths 5s step-end infinite;
  }

  @keyframes paths {
    0% {
      clip-path: polygon(
        0% 43%,
        83% 43%,
        83% 22%,
        23% 22%,
        23% 24%,
        91% 24%,
        91% 26%,
        18% 26%,
        18% 83%,
        29% 83%,
        29% 17%,
        41% 17%,
        41% 39%,
        18% 39%,
        18% 82%,
        54% 82%,
        54% 88%,
        19% 88%,
        19% 4%,
        39% 4%,
        39% 14%,
        76% 14%,
        76% 52%,
        23% 52%,
        23% 35%,
        19% 35%,
        19% 8%,
        36% 8%,
        36% 31%,
        73% 31%,
        73% 16%,
        1% 16%,
        1% 56%,
        50% 56%,
        50% 8%
      );
    }

    5% {
      clip-path: polygon(
        0% 29%,
        44% 29%,
        44% 83%,
        94% 83%,
        94% 56%,
        11% 56%,
        11% 64%,
        94% 64%,
        94% 70%,
        88% 70%,
        88% 32%,
        18% 32%,
        18% 96%,
        10% 96%,
        10% 62%,
        9% 62%,
        9% 84%,
        68% 84%,
        68% 50%,
        52% 50%,
        52% 55%,
        35% 55%,
        35% 87%,
        25% 87%,
        25% 39%,
        15% 39%,
        15% 88%,
        52% 88%
      );
    }

    30% {
      clip-path: polygon(
        0% 53%,
        93% 53%,
        93% 62%,
        68% 62%,
        68% 37%,
        97% 37%,
        97% 89%,
        13% 89%,
        13% 45%,
        51% 45%,
        51% 88%,
        17% 88%,
        17% 54%,
        81% 54%,
        81% 75%,
        79% 75%,
        79% 76%,
        38% 76%,
        38% 28%,
        61% 28%,
        61% 12%,
        55% 12%,
        55% 62%,
        68% 62%,
        68% 51%,
        0% 51%,
        0% 92%,
        63% 92%,
        63% 4%,
        65% 4%
      );
    }

    45% {
      clip-path: polygon(
        0% 33%,
        2% 33%,
        2% 69%,
        58% 69%,
        58% 94%,
        55% 94%,
        55% 25%,
        33% 25%,
        33% 85%,
        16% 85%,
        16% 19%,
        5% 19%,
        5% 20%,
        79% 20%,
        79% 96%,
        93% 96%,
        93% 50%,
        5% 50%,
        5% 74%,
        55% 74%,
        55% 57%,
        96% 57%,
        96% 59%,
        87% 59%,
        87% 65%,
        82% 65%,
        82% 39%,
        63% 39%,
        63% 92%,
        4% 92%,
        4% 36%,
        24% 36%,
        24% 70%,
        1% 70%,
        1% 43%,
        15% 43%,
        15% 28%,
        23% 28%,
        23% 71%,
        90% 71%,
        90% 86%,
        97% 86%,
        97% 1%,
        60% 1%,
        60% 67%,
        71% 67%,
        71% 91%,
        17% 91%,
        17% 14%,
        39% 14%,
        39% 30%,
        58% 30%,
        58% 11%,
        52% 11%,
        52% 83%,
        68% 83%
      );
    }

    76% {
      clip-path: polygon(
        0% 26%,
        15% 26%,
        15% 73%,
        72% 73%,
        72% 70%,
        77% 70%,
        77% 75%,
        8% 75%,
        8% 42%,
        4% 42%,
        4% 61%,
        17% 61%,
        17% 12%,
        26% 12%,
        26% 63%,
        73% 63%,
        73% 43%,
        90% 43%,
        90% 67%,
        50% 67%,
        50% 41%,
        42% 41%,
        42% 46%,
        50% 46%,
        50% 84%,
        96% 84%,
        96% 78%,
        49% 78%,
        49% 25%,
        63% 25%,
        63% 14%
      );
    }

    90% {
      clip-path: polygon(
        0% 41%,
        13% 41%,
        13% 6%,
        87% 6%,
        87% 93%,
        10% 93%,
        10% 13%,
        89% 13%,
        89% 6%,
        3% 6%,
        3% 8%,
        16% 8%,
        16% 79%,
        0% 79%,
        0% 99%,
        92% 99%,
        92% 90%,
        5% 90%,
        5% 60%,
        0% 60%,
        0% 48%,
        89% 48%,
        89% 13%,
        80% 13%,
        80% 43%,
        95% 43%,
        95% 19%,
        80% 19%,
        80% 85%,
        38% 85%,
        38% 62%
      );
    }

    1%,
    7%,
    33%,
    47%,
    78%,
    93% {
      clip-path: none;
    }
  }

  .movement {
    position: relative;
    animation: movement 8s step-end infinite;
  }

  @keyframes movement {
    0% {
      top: 0px;
      left: -20px;
    }

    15% {
      top: 10px;
      left: 10px;
    }

    60% {
      top: 5px;
      left: -10px;
    }

    75% {
      top: -5px;
      left: 20px;
    }

    100% {
      top: 10px;
      left: 5px;
    }
  }

  .opacity {
    animation: opacity 5s step-end infinite;
  }

  @keyframes opacity {
    0% {
      opacity: 0.1;
    }

    5% {
      opacity: 0.7;
    }

    30% {
      opacity: 0.4;
    }

    45% {
      opacity: 0.6;
    }

    76% {
      opacity: 0.4;
    }

    90% {
      opacity: 0.8;
    }

    1%,
    7%,
    33%,
    47%,
    78%,
    93% {
      opacity: 0;
    }
  }

  .font {
    animation: font 7s step-end infinite;
  }

  @keyframes font {
    0% {
      font-weight: 100;
      color: rgba(255, 20, 20, 1.0);
      filter: blur(3px);
    }

    20% {
      font-weight: 500;
      color: rgba(255, 255, 255, 1.0);
      filter: blur(0);
    }

    50% {
      font-weight: 300;
      color: rgba(34, 86, 145, 1.0);
      filter: blur(2px);
    }

    60% {
      font-weight: 700;
      color: rgba(255, 255, 255, 1.0);
      filter: blur(0);
    }

    90% {
      font-weight: 500;
      color: rgba(255, 20, 20, 1.0);
      filter: blur(6px);
    }
  }

  .glitch span {
    animation: paths 5s step-end infinite;
  }

  .glitch::before {
    animation: paths 5s step-end infinite, opacity 5s step-end infinite,
      font 8s step-end infinite, movement 10s step-end infinite;
  }

  .glitch::after {
    animation: paths 5s step-end infinite, opacity 5s step-end infinite,
      font 7s step-end infinite, movement 8s step-end infinite;
  }

/*----------------------------------------------------changing images----------------------------------------------------*/
  .image-slideshow {
    position: fixed;
    top: 170px;
    right: 25px;
    }

  .image img {
    vertical-align: middle;
    max-width: 1250px;
  }

  .fade {
    animation-name: fade;
    animation-duration: 5s;
  }

  @keyframes fade {
    0% {opacity: 0}
    50% {opacity: 1}
    100% {opacity: 0}
  }

/*----------------------------------------------------movie page----------------------------------------------------*/
  .main {
    max-width: 920px;
    margin: 0 auto; 
  }

  .container {
    position: relative;
    margin: 50px;
  }

  .allmovies_container {
    position: relative;
    margin: auto;
    max-width:900px;
  }

  .movie_container {
    display: inline-block;
    vertical-align: top;
    max-width: 850px;
    padding: 10px;
  }

  .movie_container img {
    max-width: 310px;
    height: auto;
  }

  .movie_number {
    color: rgba(255, 255, 255, 1.0);
    background: rgba(60, 60, 60, 1.0);
    width: 45px;
    height:35px;
    text-align: center;
    float: right;
    vertical-align: center;
    font-size: 24px;
    font-weight: 800;
    border-radius: 9px;
    padding: 10px;
    margin-right: 5px;
    margin-top: 2px;
  }

  .info_container {
    display: inline-block;
    max-width: 475px;
    vertical-align: top;
    align-content: left;
    padding-left: 8px;
  }

  .column {
    display: inline-block;
    vertical-align: top;
  }

  .movietitle:hover {
    text-decoration: underline;
  }

  .preview-box {
    display: none; /* Initially hidden */
    background-color: rgba(160, 160, 160, 1.0);
    border: 1px solid #ccc;
    position: absolute;
    left: 400px;
    padding: 10px;
    overflow: auto;
  }

  .preview-text:hover + .preview-box {
      display: block;
  }

/*----------------------------------------------------songs page----------------------------------------------------*/
  .movietitlesongs {
    max-width: 900px;
    margin: auto;
    padding-top: 20px;
    line-height: 125%;
  }

  .soundtrack-section {
    max-width: 900px;
    margin: auto;
  }

  .songs-section {
    height:auto;
    margin:auto;
    max-width:920px;
    justify-content: center;
    display:flex;
    flex-wrap:wrap;
    padding-bottom: 15px;
  }

  .song-box {
    width: 285px;
    height: auto;
    overflow: auto;
    border:solid white 2px;
    margin: 8px;
  }

  .song-box img {
    display: inline-block;
    align-content: left;
    max-height: 100px;
    padding: 10px;
  }

  .song-box-info {
    display: inline-block;
    vertical-align: top;
    align-content: left;
    max-width: 150px;
    padding-top: 10px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 10px;
  }

  .song-box:hover {
    background-color: rgba(208, 49, 45, 0.8);
    color: rgba(0, 0, 0, 1.0);
    border:solid black 2px;
  }

/*----------------------------------------------------transformers list----------------------------------------------------*/
  #autobot-container {
    font-family: TransformersFont, sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    width: 125px;
    height: 40px;
    background: rgba(34, 86, 145, 1.0);
    z-index: 1;
    position: absolute;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 5px;
    padding-top: 8px;
    line-height: 100%;
    border-top-right-radius: 30px;
    margin: 5px;
  }

  #decepticons-container {
    font-family: TransformersFont, sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    width: 125px;
    height: 40px;
    background: rgba(112, 79, 162, 1.0);
    z-index: 1;
    position: absolute;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 5px;
    padding-top: 8px;
    line-height: 100%;
    border-top-right-radius: 30px;
    margin: 5px;
  }

  #maximals-container {
    font-family: TransformersFont, sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    width: 125px;
    height: 40px;
    background: rgba(94, 158, 53, 1.0);
    z-index: 1;
    position: absolute;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 5px;
    padding-top: 8px;
    line-height: 100%;
    border-top-right-radius: 30px;
    margin: 5px;
  }

  #terrocons-container {
    font-family: TransformersFont, sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    width: 125px;
    height: 40px;
    background: rgba(255, 143, 21, 1.0);
    z-index: 1;
    position: absolute;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 5px;
    padding-top: 8px;
    line-height: 100%;
    border-top-right-radius: 30px;
    margin: 5px;
  }

  #dinobots-container {
    font-family: TransformersFont, sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    width: 125px;
    height: 40px;
    background: rgba(208, 49, 45, 1.0);
    z-index: 1;
    position: absolute;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 5px;
    padding-top: 8px;
    line-height: 100%;
    border-top-right-radius: 30px;
    margin: 5px;
  }
  #other-container {
    font-family: TransformersFont, sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    width: 125px;
    height: 40px;
    background: rgba(175, 175, 175, 1.0);
    z-index: 1;
    position: absolute;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 5px;
    padding-top: 8px;
    line-height: 100%;
    border-top-right-radius: 30px;
    margin: 5px;
}
  .movietitlelist {
    max-width: 900px;
    margin: auto;
    padding-top: 20px;
    line-height: 125%;
  }
  .characterlist-section {
    height:auto;
    margin:auto;
    max-width:920px;
    justify-content: center;
    display:flex;
    flex-wrap:wrap;
    padding-bottom: 15px;
  }

  .bluecharacter-container {
    width: 170px; 
    height: 320px; 
    overflow: hidden; 
    border: 2px solid rgba(34, 86, 145, 1.0);
    margin: 5px;
    border-top-right-radius: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .bluecharacter-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .bluecharactername-container {
    font-family: TransformersFont, sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    width: 100%;
    height: 45px;
    background: rgba(34, 86, 145, 1.0);
    z-index: 1;
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 5px;
    padding-top: 8px;
    line-height: 100%;
  }

  .purplecharacter-container {
    width: 170px; 
    height: 320px; 
    overflow: hidden; 
    border: 2px solid rgba(112, 79, 162, 1.0);
    margin: 5px;
    border-top-right-radius: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .purplecharacter-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .purplecharactername-container {
    font-family: TransformersFont, sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    width: 100%;
    height: 45px;
    background: rgba(112, 79, 162, 1.0);
    z-index: 1;
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 5px;
    padding-top: 8px;
    line-height: 100%;
  }

  .greencharacter-container {
    width: 170px; 
    height: 320px; 
    overflow: hidden; 
    border: 2px solid rgba(94, 158, 53, 1.0);
    margin: 5px;
    border-top-right-radius: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .greencharacter-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .greencharactername-container {
    font-family: TransformersFont, sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    width: 100%;
    height: 45px;
    background: rgba(94, 158, 53, 1.0);
    z-index: 1;
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 5px;
    padding-top: 8px;
    line-height: 100%;
  }

  .orangecharacter-container {
    width: 170px; 
    height: 320px; 
    overflow: hidden; 
    border: 2px solid rgba(255, 143, 21, 1.0);
    margin: 5px;
    border-top-right-radius: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .orangecharacter-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .orangecharactername-container {
    font-family: TransformersFont, sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    width: 100%;
    height: 45px;
    background: rgba(255, 143, 21, 1.0);
    z-index: 1;
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 5px;
    padding-top: 8px;
    line-height: 100%;
  }

  .redcharacter-container {
    width: 170px; 
    height: 320px; 
    overflow: hidden; 
    border: 2px solid rgba(208, 49, 45, 1.0);
    margin: 5px;
    border-top-right-radius: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .redcharacter-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .redcharactername-container {
    font-family: TransformersFont, sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    width: 100%;
    height: 45px;
    background: rgba(208, 49, 45, 1.0);
    z-index: 1;
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 5px;
    padding-top: 8px;
    line-height: 100%;
  }

  .greycharacter-container {
    width: 170px; 
    height: 320px; 
    overflow: hidden; 
    border: 2px solid rgba(175, 175, 175, 1.0);
    margin: 5px;
    border-top-right-radius: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .greycharacter-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .greycharactername-container {
    font-family: TransformersFont, sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    width: 100%;
    height: 45px;
    background: rgba(175, 175, 175, 1.0);
    z-index: 1;
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 5px;
    padding-top: 8px;
    line-height: 100%;
  }