@import url("https://fonts.googleapis.com/css?family=Cinzel Decorative");

body{
    font-family: 'Convergence';
}

:root {
    --mainColor: #6aa5e7;
  }


.tooltip > .tooltip-inner {
    color: #ffda0b;
    font-weight: bold;
}

.white-line{
    background-color: white;
}

.a-href {
    background:
       linear-gradient(
         to right,
         var(--mainColor) 0%,
         var(--mainColor) 5px,
         transparent 5px
       );
      background-repeat: repeat-x;
        background-size: 200% 100%;
    color: #fff;
    padding-left: 10px;
    text-decoration: none;
    transition: all 0.5s ease-out;
  }
  
.a-href:hover {
    background:
        linear-gradient(
            to right,
            var(--mainColor) 0%,
            var(--mainColor) 5px,
            transparent
        );
    color: #aaa;
    background-position:right bottom;
    text-decoration: none;
}

/* BAckground colors */
.bg-faded{
    background-color: rgba(0, 0, 0, 0.37);
}

.bg-black{
    background-color: rgb(33, 38, 53);
}

.bg-Carousel{
    background-color: #111;
}

/* Carousel */
.img-fluid{
  display: block;
  margin: auto;
  height: 500px;
  object-fit: cover;
}

.carousel-caption{
  opacity:0;
  transition:500ms ease-in-out;
}
.carousel-item:hover .carousel-caption{
  opacity:1;
}

/* FOOTER STUFF */
.footer {
    position: relative ;
    left: 0;
    bottom: 0;
    width: 100%;
    color: #aaa; 
    text-align: left;
    background: #333;
}

.footer h3{ 
    color: white;
}

.footer-contact p { 
    word-wrap: break-word; 
}

.footer-contact p a { 
    color: #aaa; 
    border-bottom: 
    1px dashed #666; 
}

.footer-contact p a:hover, .footer-contact p a:focus { 
    color: #fff; 
    border-color: #aaa; 
}

.footer-social a { 
    display: inline-block; 
    margin-right: 20px; 
    margin-bottom: 8px; 
    color: #777; 
    border: 0; 
}

.footer-social a:hover, .footer-social a:focus { 
    color: #aaa; 
    border: 0; 
}

.footer-social i { 
    font-size: 24px; 
    vertical-align: middle; 
}

/* Parallax Background */
.parallax {
    /* The image used */
    background-image: url("../Asset/WEBDEV.png");
  
    /* Set a specific height */
    height: 500px;
  
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .caption {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    text-align: center;
    color: #000;
  }
  
  .caption span.border {
    background-color: #111;
    color: #fff;
    padding: 18px;
    font-size: 25px;
    letter-spacing: 10px;
  }

  /* HR DESIGN */
.fancy{
    height: 30px;
    border-style: solid;
    border-color: rgb(255, 255, 255);
    border-width: 2px 0 0 0;
    border-radius: 20px;
}

.fancy:before {
    display: block;
    content: "";
    height: 30px;
    margin-top: -31px;
    border-style: solid;
    border-color: rgb(255, 255, 255);
    border-width: 0 0 2px 0;
    border-radius: 20px;
    }
    

/* START OF THIS PAGE */
.ProjectPhantom{
    font-family: 'Cinzel Decorative';
}

/* Image P.Phantom */
.parallax2{
    background-image: url("../Asset/Apocalypse_town.PNG");

    position: relative;
    height: 400px;
    width: 100%;

    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: #000000a6;
    box-sizing: border-box;
    overflow: hidden;
    color: white;
    padding: 20px;
}
  
.box:before{
    content: '';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background: rgba(255, 255, 255, 0.274);
    transition:0.5s;
    pointer-events: none;
}
  
.box:hover:before{
    left:-50%;
    transform: skewX(10deg);
}

.learn{
    margin-top: 20%;
    margin-bottom: 20%;
    color: #797979a6;
}

.box:hover .learn{
    color: aliceblue;
    transition: 0.5s;
}

/* Image P.FYP */
.box2{
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    width: 100%;
    height: 100%;
    background: #000000a6;
    box-sizing: border-box;
    overflow: hidden;
    color: white;
    padding: 20px;
}
  
.box2:before{
    content: '';
    position:absolute;
    top:0;
    left:100%;
    width:100%;
    height:100%;
    background: rgba(255, 255, 255, 0.274);
    transition:0.5s;
    pointer-events: none;
}
  
.box2:hover:before{
    left:50%;
    transform: skewX(-15deg);
}

.box2:hover .learn{
    color: aliceblue;
    transition: 0.5s;
}

/* Project Phantom Main Parallax */
.parallaxPP{
    background-image: url("../Asset/Apocalypse_town.PNG");

    position: relative;
    height: 500px;
    width: 100%;

    border: 5px ridge black;

    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* EightGlyph HR */
.accessory {
    height: 6px;
    background-image: radial-gradient(closest-side, gray, rgba(128, 128, 128, 0) 100%);
    position: relative;
}

.accessory:before{
    content:'';
}

.accessory:after {
    content: '';
    position: absolute;
    top: 90%;
    left: 50%;
    display: block;
    background-color: #bfbfbf;
    transform: rotate(45deg);
    margin-top: -10px;
    border-radius: 4px 0;
    border: 7px solid rgba(255, 255, 255, 0.35);
    background-clip: padding-box;
    box-shadow: -10px 10px 0 rgba(255, 255, 255, 0.15), 10px -10px 0 rgba(255, 255, 255, 0.15);
}