
.none{
    display: none;
}

a{
    text-decoration:none;
    color: black;
}

.wrap {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1080px;
    margin: auto;
}

div#first {
    margin-top: 8%;
    padding: 0 15%;
}

#first h1 {
    margin: 3%;
    font-size: 4em;
}

.img_back {
    z-index: 1;
    position: absolute;
    width: 12%;
    opacity: 0.3;
}

.img_back img {
    width: 100%;
}

.img_back.img_one {
    top: 10%;
    right: 10%;
}

.img_back.img_three {
    top: 20%;
    left: 10%;
}

.img_back.img_twoo {
    opacity: 0.1;
    text-align: center;
    left: 44%;
    top: 95%;
}

.wrap {
    text-align: center;
}

div#first {
    padding: 0 18%;
    margin-top: 8%;
}

#first h1 {
    margin: 4%;
    font-size: 4em;
}

#first h1 {
    font-size: 8vw;
    line-height: 8vw;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 900;
    background: url(https://www.vmcdn.ca/f/files/halifaxtoday/images/fire/110618-fire-flames-adobestock_134229099.jpeg;w=1200;h=800;mode=crop);
    background-size: 40%;
    background-position: 50% 50%;
    -webkit-background-clip: text;
    color: rgba(0,0,0,0.08);
    animation: zoomout 10s ease 500ms forwards;
  }
  
  @keyframes zoomout {
    from {
      background-size: 40%;
    }
    to {
      background-size: 10%;
    }
  }

#guess_form, .new_game, .dice{
    pointer-events: all;
    position: relative;
    z-index: 2;
}

input#gest {
    width: 25%;
}

#guess_form{
    margin-top: 2%;
}

div#how_game {
    display: flex;
    justify-content: center;
    /* justify-content: space-evenly; */
}

.dice {
    flex-basis: 12%;
}

.dice i:hover{
    opacity: 0.7;
}

.dice i {
    font-size: 3em;
    cursor: pointer;
}

.dice span {
    font-weight: bold;
    display:block;
}

div#text_end {
    margin-top: 5%;
    color: white;
    background-color: black;
    width: fit-content;
    padding: 2% 5%;
    direction: rtl;
    margin: 1% auto;
}

.rap_frame{
    pointer-events: none;
}

.the_giph{
    width:60%;
    height:0;
    padding-bottom:30%;
    position:relative;
    margin-left: -10%;

}

/* anmates */
#first h3 {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    animation: fadeIn linear 4s;
    -webkit-animation: fadeIn linear 4s;
    -moz-animation: fadeIn linear 4s;
    -o-animation: fadeIn linear 4s;
    -ms-animation: fadeIn linear 4s;
  }
  
#first h4 {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    animation: fadeIn linear 7s;
    -webkit-animation: fadeIn linear 7s;
    -moz-animation: fadeIn linear 7s;
    -o-animation: fadeIn linear 7s;
    -ms-animation: fadeIn linear 7s;
  }
  
  @keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }
  
  @-moz-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }
  
  @-webkit-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }
  
  @-o-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }
  
  @-ms-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }
/* anmates */

@media only screen and (max-width: 600px) {
    div#first {
        padding: 0px 5%;
        margin: 6% 0 1%;
    }
    
    #first h1 {
        font-size: 4em;
        margin: 0;
        line-height: initial;
    }
    
    #first h3, #first h4 {
        font-size: 1.7em;
    }
    
    .dice {
        flex-basis: 32%;
        font-size: 1.4em;
    }
    
    .img_back.img_one {
        top: 13%;
        right: 0%;
    }
    
    .img_back {
        width: 20%;
    }
    
    .img_back.img_twoo {
        left: 39%;
        top: 100%;
    }
    
    .img_back.img_three {
        top: 15%;
        left: 1%;
    }
  
    input#gest {
        width: 50%;
        height: 2.7em;
    }

    #tor{
        font-size:13px;
    }

    .the_giph{
        width: 100%;
        height: 350px;
        margin-left: -50%;
        position: fixed;
    
    }

    .new_game {
        padding-top: 16%;
    }

    
  }