


body {
    /* background-color: rgb(155, 156, 179); */

    font-family: Verdana, Tahoma, sans-serif;
}



.header {
    height: 50px;
    /* background-image: url(../images/CC_logo_full.png);
    background-position: top right;
    background-repeat: no-repeat; */
    margin: 5px;
    width:100%;
    min-width: 600px;
    vertical-align: middle;
    line-height: 50px;
    color: #3b5999;
    /* text-align: center; */
}



.mouseHand {
    cursor:pointer;
    transition: opacity 0.25s ease;
}

.mouseHand:hover {
    opacity:0.5;
}

.responsive {
    display: block;
    width: 100%;
    max-width: 100%;
    /* height: 100%;
    max-height: 70vh; */
}

.divInDialog h2{
    font-size: 1em;
    text-align: center;
    padding: 20px 10px;
    background: linear-gradient(to bottom,rgb(0, 94, 218) 0%,rgb(3, 60, 165) 100%);
    color:white;
    font-family: Verdana,sans-serif;
}

.divInDialog{
    /* width:100%;
    max-width: 500px; */
    height: 70vh;
    overflow-y: auto;
}

.divInDialog img {
    margin:20px 0px;
}

/* .divInDialog h3{
    font-size: 2em;
    text-align: center;
    padding: 20px 20px;
    font-weight: bolder;
    font-family: Verdana,sans-serif;
}

.divInDialog ul {
    font-size: 19px;
    list-style: none;
    font-family: Georgia, Helvetica, sans-serif;
}

.divInDialog li {
    margin:20px 20px;
} */

.center{
    text-align: center;
}

.cpp, .x86asm {
    /* width: 58px;
    height: 58px; */
    border: solid 3px #AAB8BE;
    position: relative;
    display: block;
    height: 150px;
  }

.cpp.scanning::after,  .x86asm.scanning::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background-image: linear-gradient(to bottom,
      rgba(170, 184, 190, 0),
      rgba(247, 165, 160, 0.8));
    animation: scanning 2s linear 1;
    top:0px;
    left:0px;
    display: inline-block;
  }

  .x86asm.scanning::after{
    animation: scanning_asm 2s linear 1;
  }

  .x86asm {
    height: 520px;
  }
  
  @keyframes scanning {
      100% { transform: translate(0, 140px); }
  }

  @keyframes scanning_asm {
    100% { transform: translate(0, 500px); }
}






/********************** info ******************************/
.right-corder-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
}

    .right-corder-container .right-corder-container-button {
        height: 62px;
        width: 62px;
        border: none;
        background-color: #2A2A2A;
        border-radius: 62px;
        /*Transform the square into rectangle, sync that value with the width/height*/
        transition: all 300ms;
        /*Animation to close the button (circle)*/
        box-shadow: 2px 2px 5px rgb(45, 43, 43);
        cursor: pointer;
    }

        .right-corder-container .right-corder-container-button span {
            font-size: 50px;
            color: white;
            position: absolute;
            left: 25px;
            top: 20px;
            line-height: 20px;
        }

        .right-corder-container .right-corder-container-button:hover {
            transition: all 400ms cubic-bezier(.62, .1, .5, 1);
            width: 200px;
            border-top-right-radius: 5px;
            border-bottom-right-radius: 5px;
        }


        /*
Long text appears slowly with an animation. That code prepare the animation by hidding the text.
The use of display is not there because it does not work well with CSS3 animation.
*/

        .right-corder-container .right-corder-container-button .long-text {
            transition: opacity 1000ms;
            /*Only the text fadein/fadeout is animated*/
            opacity: 0;
            /*By default we do not display the text, we want the text to fade in*/
            color: white;
            white-space: nowrap;
            font-size: 0;
            /*Set to 0 to not have overflow on the right of the browser*/
            width: 0;
            /*Set to 0 to not have overflow on the right of the browser*/
            margin: 0;
            /*Set to 0 to not have overflow on the right of the browser*/
        }


           /*
            Animation to have a text that appear progressively. We need to play with a delay
            on the width and the font-size to not have the browser have the text appears on the right
            side of the browser view port. This has the side-effect of having an horizontal bar.
            */

            .right-corder-container .right-corder-container-button .long-text.show-long-text {
                transition: opacity 700ms, width 1ms linear 270ms, /*two thirds of the animation on the container width*/
                font-size 1ms linear 270ms;
                /*two thirds of the animation on the container width*/
                opacity: 1;
                margin-top: 2px;
                /*Center the position vertically*/
                margin-left: 40px;
                /*Center between the + and the right end side*/
                font-size: 20px;
                /*Text size, cannot be defined initially without moving the scrollbar*/
                width: auto;
                /*Required to be set with a delay (see animation) to not have scrollbar. Delay is to wait container to size up*/
            }